> B = A;
> C = Last;
> PP = [pos="IN"] [pos="JJ"]+ [pos="NNS?"];
> group PP matchend lemma by match word;
> PP1 = subset PP where match: "in";
> PP2 = subset PP1 where matchend: [lemma = "time"];
PP2 contains instances of in ... time(s)
> A = intersection B C; |
|
> A = union B C; |
|
> A = difference B C; |
intersection (or inter) yields matches common to B and C; union (or join) matches from either B or C; difference (or diff) matches from B that are not in C
> cut A 50;
(first 50 matches)
or select a range of matches (as with the restricted cat command)
> cut A 50 99;
(51
– 100
match)
NB: cut A 50; is exactly the same as cut A 0 49;
> "time" cut 50;
The main purpose of this usage is to reduce memory consumption and processing time in Web interfaces and similar applications by stopping query execution early if a sufficient number of matches has been found. For internal reasons, this optimization cannot be applied to queries with alignment constraints (see Sec. 5.2); but the cut modifier still guarantees that only the first matches will be returned.