Nastavení

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
en:cnk:intercorp:verze13ud [2022/06/25 16:49]
Alexandr Rosen [Examples of queries]
en:cnk:intercorp:verze13ud [2022/06/26 11:45] (current)
Alexandr Rosen [Examples of queries]
Line 355: Line 355:
 <code>[deprel="nsubj" & p_lemma="sing"]</code>  <code>[deprel="nsubj" & p_lemma="sing"]</code> 
  
-  * [[https://www.korpus.cz/kontext/view?q=~CKymagKES4Gm|This query]] finds subjects of the verb //sing//. One of the results is the sentence //**The __birds__** sing sweetly in these trees.//+  * [[https://www.korpus.cz/kontext/view?q=~CKymagKES4Gm|This query]] finds subjects of the verb //sing//. One of the results is the sentence //The **birds** sing sweetly in these trees.//
   * The most frequent lexemes filling the subject slot of //sing// can be found from the list of keyword lemmas (in the KonText menu:  ''%%Frequency / Lemmas%%'').   * The most frequent lexemes filling the subject slot of //sing// can be found from the list of keyword lemmas (in the KonText menu:  ''%%Frequency / Lemmas%%'').
  
Line 365: Line 365:
   * The verbs governing the subject can be listed using in the frequency distribution according to the ''p_lemma'' attribute (in the KonText menu: ''%%Frequency / Custom... / Attribute: p_lemma%%'').   * The verbs governing the subject can be listed using in the frequency distribution according to the ''p_lemma'' attribute (in the KonText menu: ''%%Frequency / Custom... / Attribute: p_lemma%%'').
  
-=== Prepositions ===+=== Nouns with a preposition attached ===
  
 <code>[case_lemma="about" & case="Acc"]</code> <code>[case_lemma="about" & case="Acc"]</code>
Line 373: Line 373:
   * The governing verbs can be listed using frequency distribution according to the ''p_lemma'' attribute (in the KonText menu: ''%%Frequency / Custom... / Attribute: p_lemma%%'').   * The governing verbs can be listed using frequency distribution according to the ''p_lemma'' attribute (in the KonText menu: ''%%Frequency / Custom... / Attribute: p_lemma%%'').
  
 +=== Direct or indirect objects, also as conjuncts ===
  
 +<code>[deprel="i?obj" | deprel="conj" & p_deprel="i?obj"]</code>
  
-<code>[deprel="obj" & case="Dat" deprel="conj" & p_deprel="obj" & case="Dat"]</code> +  * [[https://www.korpus.cz/kontext/view?q=~TwkkE2u668ya|This query]] finds direct or indirect objects, even as non-initial conjunctse.g. in the sentence //In Trump, they have found a shameless **frontman** and TV **personality** who will do their bidding.// 
-- Finds dative objects, even non-initial conjuncts+  * Note that for coordinated constituents, a separate concordance is shown for each conjunct. 
-Such a query finds e.g. the sentence //In Trump, they have found a shameless **frontman** and TV **personality** who will do their bidding.//+  * Either the keyword's ''deprel'' denotes the direct or indirect object (''%%deprel="i?obj"%%'', or -- equivalently -- ''%%deprel="obj|iobj"%%''), or the keyword's ''deprel'' is ''conj'' (''%%deprel="conj"%%'') and depends on a direct or indirect object (''%%p_deprel="i?obj"%%''), i.e. it is the non-initial conjunct in a coordination that should all be treated as a direct or indirect object.
  
 <code>[deprel="nsubj" & upos="PROPN" | deprel="conj" & p_deprel="nsubj" & upos="PROPN"]</code>  <code>[deprel="nsubj" & upos="PROPN" | deprel="conj" & p_deprel="nsubj" & upos="PROPN"]</code>