On 2014-07-25 17:03, Elanjelian Venugopal wrote: > I am trying to capture an error pattern where a letter is attached as > a suffix to a POS tagged word. And the suggestion should strip of the > suffix.
I haven't tested it, but something like this should work: <token postag='ADJ|RP' postag_regexp='yes' regexp="yes">.*க்</token> <suggestion regexp_match=".*க்" regexp_replace="">/1</suggestion> Regards Daniel ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Languagetool-devel mailing list Languagetool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-devel