On 2014-08-11 01:47, Andriy Rysin wrote: > I was writing a rule were I had to catch a phrase with last word being > noun, but only if that noun is not part of adverb chunk (with another > word following). The best way to do that seems to use adverb chunk in > exception but looks like this is not supported.
Sorry for the late reply. If by chunks you mean phrases (and not chunks in the sense that the Language class has getChunker() implemented): the reason that they are not supported is probably that adding support might be difficult. The matching algorithm is already complicated. Note that you can use <antipattern> to specify patterns that prevent matching. These match on the whole sentence, though, not at a specific token. Regards Daniel ------------------------------------------------------------------------------ _______________________________________________ Languagetool-devel mailing list Languagetool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-devel