Hi,

W dniu 2013-10-03 06:24, Kumara Bhikkhu pisze:
> Can the one who created this contact me personally? It's not triggering
> "He tried not to laugh_s_."
> I don't know how to correct it.

I'll write this on the list -- "laughs" is also plural of "laugh", which 
is excluded by the exception below (NNS). Unfortunately, without this 
exception, a lot of false alarms are found.

Now, maybe we could have a second variant of the rule that takes "not" 
+"to", and then the exception would not be required. This would have to 
be tested on a large corpus.

Regards,
Marcin
>
>
> <rule id="TO_NON_BASE" name="'to' + non-base form">
> <pattern>
> <token>to</token>
> <marker>
> <token postag="VBZ"><exception>is</exception><exception
> postag="NNS|NNP|NNPS" postag_regexp="yes"></exception></token>
> </marker>
> </pattern>
> <message>You might need to use the base form of the verb here:
> <suggestion><match no="2" postag="VBP"></match></suggestion>.</message>
> <short>Grammatical problem</short>
> <example type="correct">I was surprised to <marker>learn</marker>
> this.</example>
> <example type="correct">He spoke to chosen people.</example>
> <example correction="learn" type="incorrect">I was surprised to
> <marker>learns</marker> this.</example>
> </rule>
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
>
>
>
> _______________________________________________
> Languagetool-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/languagetool-devel
>


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Languagetool-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to