blob: 9caa15b3645b8a4557e375f7fe932bf5678774ba [file] [log] [blame]
Nils Diewaldbd56adc2014-06-22 18:44:53 +00001<main>
Nils Diewald2329e1d2014-06-12 16:07:57 +00002
Nils Diewaldbd56adc2014-06-22 18:44:53 +00003%# Store the id of an active section in the session, so the system is able to directly scroll to the relevant section
4%# This should be stored when clicking on a specific query
5%# but the remembered section contains the id - not the query
Nils Diewald2329e1d2014-06-12 16:07:57 +00006
Nils Diewald1eba6572014-06-17 19:49:53 +00007<h2>KorAP-Tutorial</h2>
Nils Diewald2329e1d2014-06-12 16:07:57 +00008
Nils Diewald0d2dcc82014-06-18 17:10:49 +00009<!--
Nils Diewaldbd56adc2014-06-22 18:44:53 +000010<p>Links to Blog, FAQ, About, Contact ...</p>
Nils Diewald2329e1d2014-06-12 16:07:57 +000011<ul>
12 <li>Introduction to KorAP</li>
13 <li>How to use Poliqarp+ QL?</li>
14 <li>How to use Cosmas-II QL?</li>
15 <li>How to use CQL?</li>
16</ul>
Nils Diewald0d2dcc82014-06-18 17:10:49 +000017-->
Nils Diewald2329e1d2014-06-12 16:07:57 +000018
Nils Diewaldbd56adc2014-06-22 18:44:53 +000019<section id="intro">
20<h3>Introduction</h3>
Nils Diewald2329e1d2014-06-12 16:07:57 +000021<p>This is a Tutorial to KorAP. It may be maintained separately (as a Wiki?) and
Nils Diewald0d2dcc82014-06-18 17:10:49 +000022has some nice features - like embedded example queries - just click on the queries below:</p>
Nils Diewald2329e1d2014-06-12 16:07:57 +000023
24%= korap_tut_query poliqarp => '[base=baum]'
25
Nils Diewald2329e1d2014-06-12 16:07:57 +000026%= korap_tut_query cosmas2 => 'der /w5 Baum'
27
Nils Diewald0d2dcc82014-06-18 17:10:49 +000028<p>And here is a short cheat sheet for foundries and layers</p>
Nils Diewaldbd56adc2014-06-22 18:44:53 +000029</section>
Nils Diewald2329e1d2014-06-12 16:07:57 +000030
Nils Diewaldbd56adc2014-06-22 18:44:53 +000031<section id="cheatsheet">
32 <h3>Cheatsheet</h3>
33 <ul>
34 <li><strong>base</strong>
35 <ul>
36 <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>
37 </ul>
38 </li>
39 <li><strong>cnx</strong>
40 <ul>
41 <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>
42 <li><strong>p</strong> (Token:Part of Speech): All pos infos are written in capital letters and are based on STTS</li>
43 <li><strong>syn</strong> (Token:Syntactical information): Includes token based information like @PREMOD, @NH, @MAIN ...</li>
44 <li><strong>m</strong> (Token:Morphosyntactical information): Includes information about tense (&quot;PRES&quot; ...), mode (&quot;IND&qut;), number (&quot;PL&quot; ...) etc.</li>
45 <li><strong>c</strong> (Span:Phrases): Only nominal phrases are available and all nominal phrases are written in lower case (&quot;np&quot;)</li>
46 </ul>
47 </li>
48 <li><strong>corenlp</strong>
49 <ul>
50 <li><strong>ne_hgc_175m_600</strong> (Token:Named Entity): Contains named entities like &quot;I-PER&quot;, &quot;I-ORG&quot; etc. </li>
51 <li><strong>ne_dewac_175_175m_600</strong> (Token:Named Entity): see above</li>
52 </ul>
53 </li>
54 <li><strong>tt</strong>
55 <ul>
56 <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>
57 <li><strong>p</strong> (Token:Part of Speech): All pos infos are written in capital letters and are based on STTS</li>
58 </ul>
59 </li>
60 <li><strong>mate</strong>
61 <ul>
62 <li><strong>l</strong> (Token:Lemma): All lemmas are written in lower case. Composita stay intact (e.g. &quot;buchstabenbezeichnung&quot;)</li>
63 <li><strong>p</strong> (Token:Part of Speech): All pos infos are written in capital letters and are based on STTS</li>
64 <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>
65 </ul>
66 </li>
67 <li><strong>opennlp</strong>
68 <ul>
69 <li><strong>p</strong> (Token:Part of Speech): All pos infos are written in capital letters and are based on STTS</li>
70 </ul>
71 </li>
72 <li><strong>xip</strong>
73 <ul>
74 <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>
75 <li><strong>p</strong> (Token:Part of Speech): All pos infos are written in capital letters and are based on STTS</li>
76 <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>
77 </ul>
78 </li>
79 </ul>
80</section>
Nils Diewald2329e1d2014-06-12 16:07:57 +000081
Nils Diewaldbd56adc2014-06-22 18:44:53 +000082</main>