Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
en:cnk:intercorp:verze13ud [2022/06/25 16:32] – [Examples of queries] alexandrrosen | en:cnk:intercorp:verze13ud [2022/06/26 11:45] – [Examples of queries] alexandrrosen |
---|
<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%%''). |
| |
* 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%%''). |
| |
=== Prepositional cases === | === Nouns with a preposition attached === |
| |
<code>[case_lemma="about" & case="Acc"]</code> | <code>[case_lemma="about" & case="Acc"]</code> |
| |
* Finds accusative nominals, i.e. pronominal forms such as //her// or //themselves//, preceded by the preposition //about//. In English, only such forms are annotated as ''%%case="Acc"%%''. For nouns, the ''case'' attribute is not specified.((In the current release, only very few occurrences of personal pronouns in the subject position (such as //she//) are annotated as ''%%case="Nom"%%''.)) | * [[https://www.korpus.cz/kontext/view?q=~eOAK2og4uUoQ|This query]] finds accusative nominals, i.e. pronominal forms such as //her// or //themselves//, preceded by the preposition //about//. In English, only such forms are annotated as ''%%case="Acc"%%''. For nouns, the ''case'' attribute is not specified.((In the current release, only very few occurrences of personal pronouns in the subject position (such as //she//) are annotated as ''%%case="Nom"%%''.)) |
* To extend the search to all nouns, drop ''%%case="Acc"%%''. The query ''%%[case_lemma="about"]%%'' finds all nominals governing the preposition //about//, i.e. all nominals in prepositional phrases beginning with this preposition, including sentences such as //‘May I ask **what** this is all about, sir?’ said Bigwig.// | * To extend the search to all nouns, drop ''%%case="Acc"%%''. The query ''%%[case_lemma="about"]%%'' finds all nominals governing the preposition //about//, i.e. all nominals in prepositional phrases beginning with this preposition, including sentences such as //‘May I ask **what** this is all about, sir?’ said Bigwig.// |
* 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 conjuncts, e.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> |