blob: 311ed429b474e03399ff56abaf640ecc792d0ec7 [file] [log] [blame]
Akronf4a7cf42018-01-09 15:58:45 +01001# To mark queries as 'not available in the specific corpus',
2# prepend the string '** ' to the query.
Akrona7cfd902017-12-21 19:28:36 +01003{
4 Q => {
5 _ => sub { shift->config('Kalamar')->{'examplecorpus'} },
6 -dereko => {
7 poliqarp => {
8 simple => 'Baum',
9 simpleseq => 'der Baum',
Akronf4a7cf42018-01-09 15:58:45 +010010 simpleci => 'laufen/i',
Akronbee660d2018-02-14 15:57:02 +010011 complexpos => '[pos=ADJA]',
12 re => '"l(au|ie)fen"',
13 rex => '"l(au|ie)fen"/x',
14 recontext => '".*?l(au|ie)fen.*?"',
15 simplex => 'trenn/xi',
16 rexi => '"l(au|ie)fen"/xi',
17 complexorth => '[orth=Baum]',
18 complexre => '[orth="l(au|ie)fen"/xi]',
19 complexlemma => '[base=Baum]',
20 complexplural => '[mate/m=number:pl]',
21 neg1 => '[pos!=ADJA]',
22 neg2 => '[!pos=ADJA]',
23 span => '<corenlp/c=NP>',
24 and => '[orth=laufe/i & base=Lauf]',
25 andneg1 => '[orth=laufe/i & base!=Lauf]',
26 andneg2 => '[orth=laufe/i & !base=Lauf]',
27 or => '[base=laufen | base=gehen]',
28 group => '[(base=laufen | base=gehen) & tt/pos=VVFIN]',
29 seq => 'der alte Mann',
30 seqcomplex => '[orth=der][orth=alte][orth=Mann]',
31 seqcomplexempty => '[orth=der][][orth=Mann]',
32 seqspan => '<base/s=s>[orth=Der]',
33 seqor => 'der [orth=alte | orth=junge] Mann',
34 seqorgroup1 => '(dem jungen | der alte) Mann',
35 seqorgroup2 => 'der (junge | alte) Mann',
36 repmanual => 'der der der',
37 repsimple => 'der{3}',
38 repcomplex => '[orth=der]{3}',
39 repre => '"la.*?"/i{3}',
40 repanno => '[base=ein][tt/p=ADJA]{3,4}[corenlp/p=NN]',
41 seqopt1 => '[base=die][tt/pos=ADJA]?[base=Baum]',
42 seqopt2 => '[base=die][tt/pos=ADJA]{,1}[base=Baum]',
43 seqstar => '[base=die][tt/pos=ADJA]*[base=Baum]',
44 seqplus1 => '[base=die][tt/pos=ADJA]+[base=Baum]',
45 seqplus2 => '[base=die][tt/pos=ADJA]{1,}[base=Baum]',
46 seqplus3 => '[base=die][tt/pos=ADJA][tt/pos=ADJA]*[base=Baum]',
47 seqdistance1 => '[base=die][][base=Baum]',
48 seqdistance2 => '[base=die][]{2}[base=Baum]',
49 seqdistance3 => '[base=die][]{2,}[base=Baum]',
50 seqdistance4 => '[base=die][]{,3}[base=Baum]',
51 seqdistanceopt => '[base=die][]?[base=Baum]',
52 seqdistancestar => '[base=die][]*[base=Baum]',
53 seqdistanceplus => '[base=die][]+[base=Baum]',
54 poscontains => 'contains(<base/s=s>, [tt/p=KOUS])',
55 posstartswith => 'startsWith(<base/s=s>, [tt/p=KOUS])',
56 posendswith => 'endsWith(<base/s=s>, [opennlp/p=NN])',
57 posmatches => 'matches(<base/s=s>,[tt/p=CARD][tt/p="N.*"])',
58 posoverlaps => 'overlaps([][tt/p=ADJA],{1:[tt/p=ADJA]}[])',
59 classes => 'der {1:{2:[]} Mann}',
60 focus => 'focus(der {Baum})',
61 focusempty => 'focus(der {[]} Mann)',
62 focusextension => 'focus(der alte und {[]})',
63 focusrelevance => 'focus(contains(er []{,10} sagte, {Baum}))'
Akrona7cfd902017-12-21 19:28:36 +010064 }
65 }
66 }
67};