This is a little space for sharing CQP macros. Each macro here should be listed within a <file> environment that can be directly copy/pasted to a macro file which can be ready by the CQP. Each macro should be prefixed with a comment block containing the following information:
# 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[lemma, know]
#
# 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"]
;