Both sides previous revisionPrevious revisionNext revision | Previous revision |
en:manualy:alpha [2022/12/14 12:08] – vaclavcvrcek | en:manualy:alpha [2024/10/19 17:02] (current) – [How to cite Alpha] milicka |
---|
| |
===== Application examples ===== | ===== 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 a noun// i.e. ''%%[upos="NOUN|PROPN"]%%'', or //find „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"]%%''. |
<WRAP round tip 80%> | <WRAP round tip 80%> |
Milička, J.: Alpha: Natural Language to Corpus Query Language Translator. FF UK. Praha 2020. Available from 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>. |
| |
| Milička, J., & Šebestová, D. (2024). Query a corpus in near-natural language: A human-friendly corpus query language not only for linguists. In S. Buschfeld, P. Ronan, T. Neumaier, A. Weilinghoff, & L. Westermayer (Eds.), //Crossing Boundaries through Corpora: Innovative Approaches to Corpus Linguistics.// John Benjamins. |
</WRAP> | </WRAP> |
| |
| |