Nils Diewald | bd56adc | 2014-06-22 18:44:53 +0000 | [diff] [blame] | 1 | <main> |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 2 | |
Nils Diewald | bd56adc | 2014-06-22 18:44:53 +0000 | [diff] [blame] | 3 | %# 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 Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 6 | |
Nils Diewald | 1eba657 | 2014-06-17 19:49:53 +0000 | [diff] [blame] | 7 | <h2>KorAP-Tutorial</h2> |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 8 | |
Nils Diewald | 0d2dcc8 | 2014-06-18 17:10:49 +0000 | [diff] [blame] | 9 | <!-- |
Nils Diewald | bd56adc | 2014-06-22 18:44:53 +0000 | [diff] [blame] | 10 | <p>Links to Blog, FAQ, About, Contact ...</p> |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 11 | <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 Diewald | 0d2dcc8 | 2014-06-18 17:10:49 +0000 | [diff] [blame] | 17 | --> |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 18 | |
Nils Diewald | bd56adc | 2014-06-22 18:44:53 +0000 | [diff] [blame] | 19 | <section id="intro"> |
| 20 | <h3>Introduction</h3> |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 21 | <p>This is a Tutorial to KorAP. It may be maintained separately (as a Wiki?) and |
Nils Diewald | 0d2dcc8 | 2014-06-18 17:10:49 +0000 | [diff] [blame] | 22 | has some nice features - like embedded example queries - just click on the queries below:</p> |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 23 | |
| 24 | %= korap_tut_query poliqarp => '[base=baum]' |
| 25 | |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 26 | %= korap_tut_query cosmas2 => 'der /w5 Baum' |
| 27 | |
Nils Diewald | 0d2dcc8 | 2014-06-18 17:10:49 +0000 | [diff] [blame] | 28 | <p>And here is a short cheat sheet for foundries and layers</p> |
Nils Diewald | bd56adc | 2014-06-22 18:44:53 +0000 | [diff] [blame] | 29 | </section> |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 30 | |
Nils Diewald | bd56adc | 2014-06-22 18:44:53 +0000 | [diff] [blame] | 31 | <section id="cheatsheet"> |
| 32 | <h3>Cheatsheet</h3> |
| 33 | <ul> |
| 34 | <li><strong>base</strong> |
| 35 | <ul> |
| 36 | <li>Supports two types of spans: <strong><s></strong> for sentences and <strong><p></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 "Leitfähigkeit" is matched by the lemmas "leit" and "fähigkeit" - not by the lemma "leitfähigkeit"</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 ("PRES" ...), mode ("IND&qut;), number ("PL" ...) etc.</li> |
| 45 | <li><strong>c</strong> (Span:Phrases): Only nominal phrases are available and all nominal phrases are written in lower case ("np")</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 "I-PER", "I-ORG" 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. "Normalbedingung")</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. "buchstabenbezeichnung")</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 ("tense:pres" ...), mode ("mood:ind&qut;), number ("number:pl" ...), gender ("gender:masc" 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 "Leitfähigkeit" is matched by the lemmas "leiten" and "Fähigkeit" - and by a merged and pretty useless "leitenfähigkeit" (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 ("NP", "NPA", "NOUN", "VERB", "PREP", "AP" ...)</li> |
| 77 | </ul> |
| 78 | </li> |
| 79 | </ul> |
| 80 | </section> |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 81 | |
Nils Diewald | bd56adc | 2014-06-22 18:44:53 +0000 | [diff] [blame] | 82 | </main> |