Thank, Jaume. I didn't know there's such to tag.

Jaume Ortolà i Font wrote thus at 04:59 PM 28-01-14:
2014-01-28 Kumara Bhikkhu <<mailto:kumara.bhik...@gmail.com>kumara.bhik...@gmail.com>
Can a token be a mixture of postags and words? Example: Can a token
match send_end or of|into? If not, how do I indicate this?


Yes, you can write this:

<or>
  <token postag="SENT_END" />
  <token regexp="yes">of|into</token>
<or>

It's equivalent to using two similar rules at the same time, one with "sent_end" and the other one with "of|into".

This is a recent addition to the syntax. I am not sure if the backreferences work always properly with the or-statement.

Jaume
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&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