There are no markers in your pattern. Add those ; it might help.

> Hi,
>
> I'm having difficulty implementing the "skip" feature in general, and
> "skip=-1" in particular. Would appreciate some guidance here.
>
> This is the errorneous sentence I'd like to trap:
>
> <example type='incorrect'>எழிலை <marker>என்ன
> என்று</marker>
> சொல்வேன்!</example>
>
> My pattern is as follows:
>
>         <pattern>
>             <token>என்ன</token>
>             <token skip="-1">என்று</token>
<marker>
>             <token>!</token>
</marker>
>             <token postag="SENT_END"></token>
>         </pattern>
>
> What I get is type="junit.framework.AssertionFailedError"  error.
>
> Thanks again,
> Elanjelian
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/_______________________________________________
> Languagetool-devel mailing list
> Languagetool-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/languagetool-devel
>



------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to