since manatee 2.84

Using Word Sketch data in CQL

Concordances generated form Word Sketch data, i.e. those containing collocations, can be used in CQL. To generate such a concordance, use this syntax:


Relation is the name of the relation as it appears in the header of the column on the word sketch screen. You can often guess the name by using a regular expression like this:


You may have to refer to the actual word sketch screen in the case of some rare relation names.

Remember that word sketches are generated from lempos, so to generate a concordance with test being the object of conduct, use this:


A regular expression can be used for all three values.

This query searches all concordances where blood-n (n = noun) modifies test-n (n = noun).

[ws("test-n",".*modifiers of.*","blood-n")]

The above CQL can be used anywhere where a positional attribute, i.e. a pair of square brackets, is required. To generate a concordance where the collocation blood test is preceded or followed by the verb to be, use this:

(meet [ws("test-n",".*modifiers of.*","blood-n")] [tag="VB.*"] 1 2)