AplikaceAplikace
Nastavení

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:manualy:alpha [2022/12/07 20:11] – [Příklady použití] milickaen:manualy:alpha [2023/02/12 02:30] (current) – [Application examples] milicka
Line 4: Line 4:
 [{{ :manualy:alpha.png?300|Rozhraní aplikace Alpha}}] [{{ :manualy:alpha.png?300|Rozhraní aplikace Alpha}}]
  
-The [[http://www.alpha.korpus.cz|Alpha]] application is as a natural language to Corpus Query Language ([[pojmy:cql|CQL]]) translator.+The [[http://alpha.korpus.cz|Alpha]] application is as a natural language to Corpus Query Language ([[pojmy:cql|CQL]]) translator.
  
 If you write your queries in Czech, it will translate them into CQL formalism suitable for direct use in [[manualy:kontext:index|KonText]] search engine, including morphological tags etc.  It will respond to English queries with tags typical for [[https://universaldependencies.org/|Universal Dependencies]]. These are so far only usable with [[https://wiki.korpus.cz/doku.php/cnk:intercorp:verze13ud|InterCorp corpora in version 13UD]], which are annotated according to this standard. If you write your queries in Czech, it will translate them into CQL formalism suitable for direct use in [[manualy:kontext:index|KonText]] search engine, including morphological tags etc.  It will respond to English queries with tags typical for [[https://universaldependencies.org/|Universal Dependencies]]. These are so far only usable with [[https://wiki.korpus.cz/doku.php/cnk:intercorp:verze13ud|InterCorp corpora in version 13UD]], which are annotated according to this standard.
Line 11: Line 11:
  
  
-===== Příklady použití ===== +===== Application examples ===== 
-Change the corpus name to ''%%intercorp_v13ud_de%%'', then try query //find all lemmata that begin with "schei" and are dependent on an object//, Alpha should translate this sentence as ''%%[lemma="schei.*" & p_deprel="obj"]%%''.+Try query //In a German corpus, find all lemmata that begin with "Schei" and are dependent on an object//, Alpha should translate this sentence as ''%%[lemma="Schei.*" & p_deprel="obj"]%%'' after presing the Enter or clicking on the "Vyhledej v korpusu" button, the query is performed by the //Kontext// tool.
  
-Or you can try Czech language: //najdi slovo „na“  následované lemmatem „hrad“//, this query translates as ''%%[lc="na"][lemma="hrad"]%%''. Note that the words you want to find must be in **quotes**, this will make it clear if you want to find for example //a noun// i.e. ''%%[upos="NOUN|PROPN"]%%'', or //a noun//, i.e. ''%%[word="a"][word="noun"]%%''.+Or you can try Czech language: //najdi slovo „na“  následované lemmatem „hrad“//, this query translates as ''%%[lc="na"][lemma="hrad"]%%''. Note that the words you want to find must be in **quotes**, this will make it clear if you want to //find a noun// i.e. ''%%[upos="NOUN|PROPN"]%%'', or //find „a noun//, i.e. ''%%[word="a"][word="noun"]%%''.
  
  
-===== Jak citovat Alphu =====+===== How to cite Alpha =====
  
 <WRAP round tip 80%> <WRAP round tip 80%>
-Milička, J.: Alpha: Překladač z přirozeného jazyka do CQL. FF UK. Praha 2020. Dostupný z WWW: <http://www.alpha.korpus.cz>.+Milička, J.: Alpha: Natural Language to Corpus Query Language Translator. FF UK. Praha 2020. Available from WWW: <http://www.alpha.korpus.cz>.
 </WRAP> </WRAP>