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:kurz:hledani_v_paralelnim_korpusu [2022/11/23 12:53] – [Selecting languages] Alexandr Rosenen:kurz:hledani_v_paralelnim_korpusu [2022/11/23 15:09] (current) – [Entering a query] Alexandr Rosen
Line 10: Line 10:
  
 [[https://kontext.korpus.cz/first_form|KonText]] is an integrated interface for searching both monolingual and parallel corpora. After entering your user ID and password a page with a default corpus opens (e.g. **syn2015**). After clicking **All corpora** and **InterCorp** a list of  available languages shows up.  [[https://kontext.korpus.cz/first_form|KonText]] is an integrated interface for searching both monolingual and parallel corpora. After entering your user ID and password a page with a default corpus opens (e.g. **syn2015**). After clicking **All corpora** and **InterCorp** a list of  available languages shows up. 
 +
 +For a detailed description of KonText and its features see the [[https://wiki.korpus.cz/doku.php/en:manualy:kontext:index|KonText interface manual]]. 
 +Here you find only a few basic hints and specifics of using KonText to query InterCorp.
  
 ====Selecting languages==== ====Selecting languages====
Line 19: Line 22:
 ====Entering a query==== ====Entering a query====
  
-You can choose from six **Query Types** (see below)All types of queries except **Basic** are case-sensitive and can handle regular expressions. For the query type **Word Form** the default is case-insensitive but **Match case** can be turned on. For the second and other languages you can also specify whether the concordances should or should not include terms specified in the query box. +You can switch between the simple and **Advanced Query** optionsIn the Advanced Query option you can use the [[en:pojmy:cql|Corpus Query Language]]. Using the **CQL** language you can search for one or more word forms according to the given expression. While entering morphological tags for Czech the user might find useful the helper option **insert tag**, which allows to enter codes at the appropriate position of the tag using a menu of attributes and their corresponding values. All languages include the **insert "within"** option, which helps to filter the query results according to metadata, ie bibliographic and other data relating to the texts. For a list of attributes and their values, see [[http://ucnk.ff.cuni.cz/intercorp/?req=page:metadata&lang=en|here]]. The 'attribute="value"' pairs can be combined using the operator & (logical conjunction). The whole "within" condition must be placed at the end of a query, following expressions specifying one or more positions (in brackets). A single query can include multiple "within" conditions. The following two example queries produce identical results, namely sentences including nouns in the vocative case in original Czech dramas:
- +
-  * **Basic** - searches for the given word form, case-insensitive, if the given form is at the same time a basic dictionary form ([[en:pojmy:lemma|lemma]]), searches also for all of its inflected forms +
-  * **Lemma** - searches for all forms of the given lemma +
-  * **Phrase** - searches for the given sequence of word forms +
-  * **Word form** - searches for the given word form +
-  * **Character** - search for word forms containing the given sequence of characters +
-  * **CQL** - searches for one or more word forms according to the given expression in the [[https://www.sketchengi.co.uk/corpus-querying/|**CQL**]] query language. While entering morphological tags for Czech the user might find useful the helper option **insert tag**, which allows to enter codes at the appropriate position of the tag using a menu of attributes and their corresponding values. All languages include the **insert "within"** option, which helps to filter the query results according to metadata, ie bibliographic and other data relating to the texts. For a list of attributes and their values, see [[http://ucnk.ff.cuni.cz/intercorp/?req=page:metadata&lang=en|here]]. The 'attribute="value"' pairs can be combined using the operator & (logical conjunction). The whole "within" condition must be placed at the end of a query, following expressions specifying one or more positions (in brackets). A single query can include multiple "within" conditions. The following two example queries produce identical results, namely sentences including nouns in the vocative case in original Czech dramas:+
  
 <code> <code>