On 2013-09-17 10:31, Jaume Ortolà i Font wrote:

> I will try to implement it. What would be the best way to do it? I see
> that the "Simple German" (de-DE-x-simple-language) is implemented in a
> module outside the other German variants. Will it be necessary to do
> it this way?

We decided to think of simple German as independent of German, so it got 
its own Maven project. A better way to do it is probably as for British 
English, which has its own rule file. But actually just 
enabling/disabling existing rules isn't done anywhere yet. What about 
having a class ValenciaCatalan that extends Catalan.java and implements 
new methods like:
List<String> getEnabledRules()
List<String> getDisabledRules()
Doesn't look that elegant though. So what about doing it like for 
British English and moving all the specific rules to a new grammar.xml?

Regards
  Daniel

-- 
http://www.danielnaber.de


------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Languagetool-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to