Thanks a lot. I've used this is the rule I just submitted for approval.

kb


Daniel Naber wrote thus at 02:18 AM 19-05-14:
>On 2014-05-18 13:10, Kumara Bhikkhu wrote:
>
> > Can someone tell me how I can create a pattern that can match a noun
> > phrase that can be one or multiple words long?
>
>You can use this to match the beginning of a plural noun phrase:
>
>    <token chunk="B-NP-plural"/>
>
>Use 'B-NP-singular' instead for singular noun phrases.
>
>To match not just the beginning but the complete phrase:
>
>   <token chunk="B-NP-singular" min="0"/>
>   <token chunk="I-NP-singular" min="0" max="-1"/>
>   <token chunk="E-NP-singular"/>
>
>B means 'beginning' (i.e. the first word), I means 'inside', E means
>'end' (i.e. the last word). min="0" means that this part is optional.
>max="-1" means there can be any number of these tokens.
>
>Regards
>   Daniel
>
>
>------------------------------------------------------------------------------
>"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>Instantly run your Selenium tests across 300+ browser/OS combos.
>Get unparalleled scalability from the best Selenium testing platform available
>Simple to use. Nothing to install. Get started now for free."
>http://p.sf.net/sfu/SauceLabs
>_______________________________________________
>Languagetool-devel mailing list
>Languagetool-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/languagetool-devel


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to