Thanks. I corrected the rule for 'shall' and Maven gives no errors.

For 'establish', I guessed that by adding an exception for the postag JJ, 
(=established), Maven would not give an error. My guess was correct. (And the 
original rule was faulty, because it should have been about the verb only.)

For 'do', the related test sentence 
(https://github.com/languagetool-org/languagetool/commit/03cadb4fb393c042104d2dcce63662ce9e63402f)
 is "Anatomy and geometry are fused in one, and each does something to the 
other." I guessed that if I add an exception for 'something', Maven would not 
give an error:
            <pattern>
                <marker>
                    <token inflected="yes">do<exception postag_regexp="yes" 
postag="NNS?"/></token>
                </marker>
            <token><exception>not</exception><exception 
postag="PRP"/><exception>something</exception></token>
            </pattern>

Sure enough, the exception for 'something' prevents the Maven error message. 
But why? How can I know (without guessing) the cause of a Maven error message 
in the context of the test sentences? (The Surefire message in 
org.languagetool.JLanguageToolTest.txt is the same as the Maven message.)

Thanks and regards,

Mike

-----Original Message-----
From: Daniel Naber [mailto:daniel.na...@languagetool.org] 
Sent: 12 August 2016 20:10

Here it's used with the second person, so I assume the rule doesn't 
apply and should maybe be made more strict?

Regards
  Daniel


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to