These constructions are easily programmed in Hunspell as well.
But most of the time, application switch of checking words containing numbers.

There are parameters for these word forms and all numbers in the Dutch Hunspell.

Ruud


On 27-12-12 18:00, Dominique Pellé wrote:
Hi

Hunspell spelling checker or FSA spelling dictionaries have no regexp
mechanism to specify valid words.

It would be useful if we could specify valid words with a regexp.

For example, in French, I'm currently seeing spurious spelling errors for
first, second, third when written as: 1er, 1ere, 2e, 3e, 4e (etc) (= French
for: 1st, 2nd, 3rd, 4th...) with LanguageTool-2.0 (release candidate).
These could easily be specified with a regexp "1ere?|[2-9]e|[1-9][0-9]+e".

Such regexp(s) could be checked in Java before probing the Hunspell
or FSA spelling dictionary.

Do you think that would be a useful addition or is there a
better alternative?

Regards
-- Dominique



------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712


_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to