Add CQP tutorial part 1 (originally by Elena Irimia)
Change-Id: I428d8bc8c91afd495242e786225391b863c0566c
diff --git a/kalamar.queries.dict b/kalamar.queries.dict
index 289f58c..70c291f 100644
--- a/kalamar.queries.dict
+++ b/kalamar.queries.dict
@@ -61,6 +61,52 @@
focusempty => 'focus(der {[]} Mann)',
focusextension => 'focus(der alte und {[]})',
focusrelevance => 'focus(contains(er []{,10} sagte, {Baum}))'
+ },
+ cqp => {
+ simplesquote => "'Baum'",
+ simpledquote => '"Baum"',
+ re => '"(Tannen)?baum"',
+ simpleseq1 => '"der" "Baum"',
+ simpleseq2 => "'der' 'Baum'",
+ simplescflag => '"laufen"%c',
+ simplesidia1 => '"Fraulein"%d',
+ simplesegidia2 => '"Fraulein"%cd',
+ regexqu1 => '"It\'s"',
+ regexequ1 => '\'It\'\'s\'',
+ compsl1 => '[orth="Baum"]',
+ compsl2 => '"Baum"',
+ compsse => '[orth="l(au|ie)fen"%c]',
+ compsbase => '[base="Baum"]',
+ compspos => '[pos="ADJA"]',
+ compstoken1 => '[marmot/m="number":"pl"]',
+ compstoken2 => '[marmot/m=\'tense\':\'pres\']',
+ compstokenverb => '[orth=\'https://de.wikipedia.org\'%l]',
+ neg1 => '[pos!="ADJA"] "Haare"',
+ neg2 => '[!pos="ADJA"] "Haare"',
+ empseq => '[]',
+ spansegm => '<corenlp/c=NP>',
+ parseg => '[orth="laufe"%c & base="Lauf"]',
+ parsegamp1 => '[orth="laufe"%c & base!="Lauf"]',
+ parsegamp2 => '[base="laufen" | base="gehen"]',
+ parsegalt => '[base="laufen" | base="gehen"]',
+ parsegcb => '[(base="laufen" | base="gehen") & tt/pos="VVFIN"]',
+ parsegrb => '[(base="laufen" | base="gehen") & (tt/pos="VVFIN")]',
+ parsegneg1 => '[(!(base="laufen" | base="gehen")) & (tt/pos="VVFIN")]',
+ parsegneg2 => '[!(base="laufen") & !(base="gehen") & (tt/pos="VVFIN")]',
+ parsegneg3 => '[!base="laufen" & !base="gehen" & tt/pos="VVFIN"]',
+ parsegneg4 => '[base!="laufen" & base!="gehen" & tt/pos="VVFIN"]',
+ syntop1 => '"der" "alte" "Mann"',
+ syntop2 => '[orth="der"][orth="alte"][orth="Mann"]',
+ syntop3 => '[orth="der"][][orth="Mann"]',
+ posfirst1 => '<base/s=s>[orth="Der"]',
+ posfirst2 => '<s>[orth="Der"]',
+ posaend1 => '</base/s=s>[orth="Der"]',
+ posaend2 => '</s>[orth="Der"]',
+ posend1 => '[orth="Mann"]</base/s=s>',
+ posend2 => '[orth="Mann"]</s>',
+ posbbeg1 => '[orth="Mann"]<base/s=s>',
+ posbbeg2 => '[orth="Mann"]<s>',
+ posbbeg3 => '"für" []{20,25} "uns"</s>'
}
}
}