since manatee 2.28
Searching the left and right context at the same time is only possible with these operators. The standard CQL only allows searching the left context or the right context but not both at the same time.
Use meet in CQL to easily set the left and right context for the query.
This CQL will find all nouns which have the verb to be 3 tokens to the left or 3 tokens to the right:
(meet [tag = "N.*"] [tag = "VB.*"] -3 3)
Only the first part, i.e. [tag="N.*"], is highlighted as KWIC in the concordance, the [tag="VB.*"] is used as a contextual filter.
Use union to collect the results of two meet queries and display them in one concordance.
This CQL will:
Note that each meet as well as union have to be inside its own pair of brackets.
(union (meet [tag="N.*"] [tag="VB.*"] -3 3) (meet [tag="A.*"] [tag="VB.*"] -2 2))
This query will combine instances nouns preceded by competent with adjectives followed by competence:
(union(meet [tag="N.*"] [lemma="competent"] -2 -1)(meet [tag="J.*"] [lemma="competence"] 1 2))
Both meet and union may occur wherever a positional attribute is required (where a pair of square brackets is required) and can be combined with within/containing queries.
< s/> containing (meet [lemma="have"] [tag="P.*"] -3 5) containing (meet [tag="N.*"] [lemma="blue"] -4 2)
Your 5 days to get up-to-date with the latest developments in corpus-driven lexicography and to activate and enhance your corpus query skills with some of the top experts in the field.
learn more >