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