On 2014-09-09 22:38, Dominique Pellé wrote:

> * why does your example give a message in
>   the java rule.  Why can't we use <message…></message>
>   instead?

You're right, my example was misleading. <message> can be used.

> * you wrote that args="no:1" refers to the token.
>   What about if we need to use this for one of the
>    <exception>...</exception> inside a token?

We could introduce more attributes like maybe 'regexp_negate'.

> In other words, the rule matches token "(.*)-tu"  where
> the POS of portion in parentheses has to be a verb (V.*).
> But there is an exception if the POS of partion in parenthesis
> matches "V.* 2 .*". So that rule would correctly:

Couldn't that also be expressed with "V.* [13] .*"?

Regards
  Daniel


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to