blob: 459572c0a83c62a96149c5bfe16e1adb7853e111 [file] [log] [blame]
Nils Diewald2329e1d2014-06-12 16:07:57 +00001<div style="padding: 20pt">
2
3<p>Links to Blog, FAQ, About, Contact ...</p>
4
Nils Diewald1eba6572014-06-17 19:49:53 +00005<h2>KorAP-Tutorial</h2>
Nils Diewald2329e1d2014-06-12 16:07:57 +00006
Nils Diewald0d2dcc82014-06-18 17:10:49 +00007<!--
Nils Diewald2329e1d2014-06-12 16:07:57 +00008<ul>
9 <li>Introduction to KorAP</li>
10 <li>How to use Poliqarp+ QL?</li>
11 <li>How to use Cosmas-II QL?</li>
12 <li>How to use CQL?</li>
13</ul>
Nils Diewald0d2dcc82014-06-18 17:10:49 +000014-->
Nils Diewald2329e1d2014-06-12 16:07:57 +000015
16<p>This is a Tutorial to KorAP. It may be maintained separately (as a Wiki?) and
Nils Diewald0d2dcc82014-06-18 17:10:49 +000017has some nice features - like embedded example queries - just click on the queries below:</p>
Nils Diewald2329e1d2014-06-12 16:07:57 +000018
19%= korap_tut_query poliqarp => '[base=baum]'
20
Nils Diewald2329e1d2014-06-12 16:07:57 +000021%= korap_tut_query cosmas2 => 'der /w5 Baum'
22
Nils Diewald0d2dcc82014-06-18 17:10:49 +000023<p>And here is a short cheat sheet for foundries and layers</p>
Nils Diewald2329e1d2014-06-12 16:07:57 +000024
Nils Diewald0d2dcc82014-06-18 17:10:49 +000025<ul>
26 <li><strong>base</strong>
27 <ul>
28 <li>Supports two types of spans: <strong>&lt;s&gt;</strong> for sentences and <strong>&lt;p&gt;</strong> for paragraphs - this will likely change in the next index version. These spans lack prefix information!</li>
29 </ul>
30 </li>
31 <li><strong>cnx</strong>
32 <ul>
33 <li><strong>l</strong> (Token:Lemma): All lemmas are written in lower case. Composita are split, e.g. the token &quot;Leitfähigkeit&quot; is matched by the lemmas &quot;leit&quot; and &quot;fähigkeit&quot; - not by the lemma &quot;leitfähigkeit&quot;</li>
34 <li><strong>p</strong> (Token:Part of Speech): All pos infos are written in capital letters and are based on STTS</li>
35 <li><strong>syn</strong> (Token:Syntactical information): Includes token based information like @PREMOD, @NH, @MAIN ...</li>
36 <li><strong>m</strong> (Token:Morphosyntactical information): Includes information about tense (&quot;PRES&quot; ...), mode (&quot;IND&qut;), number (&quot;PL&quot; ...) etc.</li>
37 <li><strong>c</strong> (Span:Phrases): Only nominal phrases are available and all nominal phrases are written in lower case (&quot;np&quot;)</li>
38 </ul>
39 </li>
40 <li><strong>corenlp</strong>
41 <ul>
42 <li><strong>ne_hgc_175m_600</strong> (Token:Named Entity): Contains named entities like &quot;I-PER&quot;, &quot;I-ORG&quot; etc. </li>
43 <li><strong>ne_dewac_175_175m_600</strong> (Token:Named Entity): see above</li>
44 </ul>
45 </li>
46 <li><strong>tt</strong>
47 <ul>
48 <li><strong>l</strong> (Token:Lemma): All non-noun lemmas are written in lower case, nouns are written upper case. Composita stay intact (e.g. &quot;Normalbedingung&quot;)</li>
49 <li><strong>p</strong> (Token:Part of Speech): All pos infos are written in capital letters and are based on STTS</li>
50 </ul>
51 </li>
52 <li><strong>mate</strong>
53 <ul>
54 <li><strong>l</strong> (Token:Lemma): All lemmas are written in lower case. Composita stay intact (e.g. &quot;buchstabenbezeichnung&quot;)</li>
55 <li><strong>p</strong> (Token:Part of Speech): All pos infos are written in capital letters and are based on STTS</li>
56 <li><strong>m</strong> (Token:Morphosyntactical information): Includes information about tense (&quot;tense:pres&quot; ...), mode (&quot;mood:ind&qut;), number (&quot;number:pl&quot; ...), gender (&quot;gender:masc&quot; etc.</li>
57 </ul>
58 </li>
59 <li><strong>opennlp</strong>
60 <ul>
61 <li><strong>p</strong> (Token:Part of Speech): All pos infos are written in capital letters and are based on STTS</li>
62 </ul>
63 </li>
64 <li><strong>xip</strong>
65 <ul>
66 <li><strong>l</strong> (Token:Lemma): All non-noun lemmas are written in lower case, nouns are written upper case. Composita are split, e.g. the token &quot;Leitfähigkeit&quot; is matched by the lemmas &quot;leiten&quot; and &quot;Fähigkeit&quot; - and by a merged and pretty useless &quot;leitenfähigkeit&quot; (This is going to change)</li>
67 <li><strong>p</strong> (Token:Part of Speech): All pos infos are written in capital letters and are based on STTS</li>
68 <li><strong>c</strong> (Span:Phrases): Some phrases to create sentences, all upper case (&quot;NP&quot;, &quot;NPA&quot;, &quot;NOUN&quot;, &quot;VERB&quot;, &quot;PREP&quot;, &quot;AP&quot; ...)</li>
69 </ul>
70 </li>
71</ul>
Nils Diewald2329e1d2014-06-12 16:07:57 +000072
73</div>