Hi Daniel,

Struggling with this one. I modified your suggestion to the following (due
to an error):

<token postag='ADJ|RP|RPN' postag_regexp='yes' regexp='yes'>.*க்</token>

<suggestion><match no="1" regexp_match=".*க்" regexp_replace="" /> <match
no="2" /></suggestion>

So there are no errors, but I am getting this failure to detect:

Tamil: Did expect one error in: &quot;நல்லக் கதைகளைக் கேட்க அவனுக்கு
ஆசை.&quot; (Rule: Ends_in_A_5[1]:[.*க்/ADJ|RP|RPN,
க[ா-ௌ]?(([க-ஹ][ா-்]?)+)?]:முதல் சொல்லின் இறுதி எழுத்து அ (5)), but found 0.

If I am reading the above correctly, the 'க்' is being attached to the
front the POS tagged word, is it? It should come after.

Thanks for for your help. -e.

On 26 July 2014 02:09, Daniel Naber <daniel.na...@languagetool.org> wrote:

> 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
>
------------------------------------------------------------------------------
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

Reply via email to