Hello,

I am trying to develop a rule for Khmer but want to make sure it is
efficient.

I am trying to detect a misuse of the Khmer character ៈ
Many times people use the  ៈ character in place of a Latin colon, when they
should not (it creates problems when you try to lay out a book for instance
in InDesign).
So I want to create a rule that asks the user to use the Latin colon rather
than the Khmer character  ៈ except in Khmer words that actually end in
the  ៈ character.
There are 365 Khmer words that can end in a  ៈ character.

What is the best way to implement this rule? I assume a list of exceptions
365 words long in the grammar.xml would not be the best way? Or is that not
a problem (since that is the easiest way for me since I don't know Java
that well)?

Thanks for your time,
Nathan
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to