LanguageTool Change Log: 2.6 (2014-06-30) -Breton: -updated FSA spelling dictionary from An Drouizig Breton Spellchecker 0.12 -updated POS dictionary from Apertium (svn r53329) -improved several rules -Catalan: -fixed false alarms -added and improved rules -updated tagger dictionary -Morfologik spellchecking rule is enabled for use in LibreOffice/OpenOffice extension. The Hunspell spellchecker should be manually disabled in LibreOffice/OpenOffice for the results to be visible. -English: -The spelling rule now accepts words with hyphens if the parts are valid words. For example, "web-based" is accepted now. This avoids a lot of false alarms. -fixed a thread-safety problem in the synthesizer -added/improved several rules -Esperanto: -added several rules -French: -updated POS tag dictionary and Hunspell dictionary to Dicollecte-5.1 -added/improved several rules -German: -fixed false alarm for words like "Stil-" in phrases like "Stil- und Grammatikprüfung" (issue #93) -added/improved several rules -detect wrong uppercase spelling in sentences like "Die Blaue Tür" -Greek: -added two new punctuation rules -Japanese: -added some rules, thanks to github user Shugyousha -Polish: -added/improved many rules -improved disambiguation -improved spell-checking of foreign words with apostrophes -Portuguese: -added/improved several rules -a total of 3534 compound words -Russian: -added big wordlist to spellcheck dictionary. Thanks for wordlist to Dmitri Gabinski -fixed wrong tag in tagger dictionary: ADJ_Comp --> ADJ_Sup, ADJ_S --> ADJ_Com -added/improved several rules -Spanish: -added and improved several rules -Asturian, Italian, Lithuanian, Malayalam, Swedish, and Tagalog have been switched to an SRX-based sentence tokenizer implementation. -Wikipedia: -The deprecated options check-dump and wiki-index have been removed from org.languagetool.dev.wikipedia.Main. Please use check-data and index-data instead. -API: -Almost all deprecated methods and classes have been removed. If you're upgrading from a version earlier than 2.5, we recommend to upgrade to 2.5 first, fix all deprecation warnings, and then upgrade to 2.6. -If you extend the 'Language' class and don't implement the getSentenceTokenizer() method, your language now uses SimpleSentenceTokenizer. This is a very simple tokenizer and you probably want to implement getSentenceTokenizer() to return a LocalSRXSentenceTokenizer instead that's adapted to your needs. -Rule.supportsLanguage() now also works for PatternRules (i.e. rules loaded from XML files). It used to always return 'false' for those rules. -The public field Language.DEMO has been removed. It is now only available internally for tests, together with the demo language itself and DemoChunker. -JLanguageTool.printIfVerbose() has been changed from protected to private, as it was not used anywhere and it's not really useful to extend JLanguageTool. -JLanguageTool.getAllActiveRules() has been fixed to not return rules that have the default="off" attribute (unless they have been enabled explicitly) -StringTools.isAlphabetic() has been removed as it was a workaround for Java 6 which is not supported anymore -ContractionSpellingRule.isDictionaryBasedSpellingRule() now returns false -Specific rules can be enabled for use in LibreOffice/OpenOffice extension with the new useInOffice() method. This is done, for example, for enabling Catalan Morfologik spelling rule. -Embedded server: -The HTTP server now also accepts a --config option so that the maximum request size can be limited with the 'maxTextLength' parameter (this used to be working only for the HTTPS server) -The HTTP and HTTPS servers now accept a new option 'maxCheckTimeMillis' in the property configuration file to specify a maximum duration of a single check. Checks that take longer (e.g. because generating spell corrections is slow for some languages) will stop with an exception. -GUI: -Improved configuration dialog -Allow the user to change the font of the main editing area -Rule syntax: -It is now possible to specify case sensitivity of individual exceptions and tokens in a pattern (both in grammar and disambiguation XML rules). Simply use case_sensitive="yes" or case_sensitive="no". -The 'url' element can now be added to the 'rulegroup' so that all rules of a rule group share the same URL. -Internals: -Fixed bug with longer complex strings of tokens to be unified -Fixed bug in a disambiguator where tokens with min="0" were mislocated Reproducible: Always
Ping.
Thanks for the report. Fixed in cvs.