since manatee 2.32 A global condition is used to compare positions between each other.
First the user must label the positions which will be compared with a number followed by a colon, e.g. 2:[ ]. Then a condition must be added to the very end of the query after an ampersand &.
This query will find any two tokens whose tag is the same, i.e. two nouns, two adjectives, two verbs etc.:
1: 2: & 1.tag = 2.tag
More than one position can be labelled to be used in the condition.
This query is an extension of the previous one. It finds two words with the same tag and another word with a distance of up to 10 words, whose lemma is the same as the lemma of the first one. For example: Maltwhisky is made from malted