I am actually handling special cases for abbreviations with dots.
I think we don't want to mask any real problems and 99% of the case
dot (even at the end of the token) means regexp. I was thinking to
have a special handling for regexp="no", e.g. if regexp="no" is found
we could set up a new forceNoRegexp flag and then we skip the warning.

Andriy

2015-05-03 10:27 GMT-04:00 Dominique Pellé <dominique.pe...@gmail.com>:
> Andriy Rysin <ary...@gmail.com> wrote:
>
>> I started working on some abbreviations with dots in Ukrainian and
>> added some of them to the dictionary. But now when I specify
>> <token>рр.</token> in rules LT warns me:
>> token [2], contains "рр." that is not marked as regular expression but
>> probably is one
>>
>> I can remove it by making a token regex and escaping the dot but it'll
>> make the match slower. Is there a better way to turn off this message?
>
> We could avoid this warning when the dot is the final character of the token.
> But are you sure that you want such token anyway?  The dot is generally
> a token separator.
>
> Regards
> Dominique
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Languagetool-devel mailing list
> Languagetool-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/languagetool-devel

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to