Looking at an English language book I have bear vs bare. <!-- this is an example rule: --> <rule id="CONFUSION_OF_BARE_BEAR" name="confusion of bare/bear"> <pattern> <token>bare</token>
</pattern> <message>Did you mean <suggestion>bare</suggestion>?</message> <example type="incorrect">You have <marker>bear</marker> feet.</example> <example type="correct">You have bare feet.</example> </rule> I'd like to say <token>bare</token> followed by any noun? I'm getting an error There are problems with your rule: The rule did not find the expected error in 'You have bear feet.' The sentence was analyzed like this: <S> You[you/PRP,B-NP-singular|E-NP-singular] have[have/VB,B-VP] bear[bear/NN:UN,bear/NNS,B-NP-plural] feet[foot/NNS,E-NP-plural].[./.,</S>,O] The rule found an unexpected error in 'You have bare feet.' Suggestions please TiA -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Languagetool-devel mailing list Languagetool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-devel