user:cqp_macros:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
user:cqp_macros:start [2010/11/29 09:18] – TjPFzmKwQmhyzNSx 142.35.45.220user:cqp_macros:start [2010/12/03 09:31] (current) – old revision restored eros
Line 1: Line 1:
-BpZ4DW  <a href="http://jadgxejptyel.com/">jadgxejptyel</a>, [url=http://olpjfualpcwh.com/]olpjfualpcwh[/url][link=http://djbujljikeug.com/]djbujljikeug[/link], http://kxonnuddiuob.com/+====== CQP Macro Library ====== 
 + 
 +This is a little space for sharing CQP macrosEach macro here should be listed within a ''<file>'' environment that can be directly copy/pasted to macro file which can be ready by the CQP. Each macro should be prefixed with a comment block containing the following information: 
 + 
 +  * a short description of what the macros does 
 +  * (if applicable) a description of the positional and structural parameters on which the macro relies  
 +  * (if applicable) a description of the parameters and their default values (if applicable) 
 +  * one or more examples 
 +  * author information 
 +  * date of the last change 
 + 
 +===== Find passive verb form ===== 
 + 
 +<file> 
 +# Find passive of a particular verb. 
 +
 +# Positional parameters 
 +# pos Part-of-Speech (Penn Tagset as in TreeTagger) 
 +
 +# Arguments 
 +# $0 Additional positional attribute to match 
 +# $1 Pattern 
 +
 +# Example 
 +# /passive[lemmaknow] 
 +
 +# Author: Richard Eckart 
 +# Date:   30 Aug 2007 
 + 
 +MACRO passive(2) 
 +    ( 
 +        ( 
 +            [pos="(V([BH]|(B[PZDNG])))"]  
 +            [pos="VVN"] 
 +        )  
 +        | 
 +        ( 
 +            [pos="VH[ZP]"]  
 +            [pos="VBN"
 +        ) 
 +    ) 
 +    [$0="$1" & pos="VVN"
 +
 +</file>
  • user/cqp_macros/start.1291018710.txt.gz
  • Last modified: 2010/11/29 09:18
  • by 142.35.45.220