Hi, replying to an old thread here: I have set English to accept words with hyphens if the parts are valid words. For example, "web-based" is accepted now. Unusual or wrong hyphenations will also be accepted, but there were just too many false alarms for my taste.
Regards Daniel On 2013-12-03 11:28, Andriy Rysin wrote: > Hi Daniel > > I was thinking about regex but didn't want to overcomplicate or slow > down the logic. > But inconsistency you pointed definitely is not good. > I've pushed the change. > > Thanks, > Andriy > > 2013/12/3 Daniel Naber <list2...@danielnaber.de>: >> On 2013-12-02 22:58, Andriy Rysin wrote: >> >>> ahh, my apologies it was committed but never pushed (too much >>> distraction lately), should be in repository now. >> >> Thanks, it's there and I did some tiny whitespace cleanups. There is >> also another issue which I just found: compoundChar is once used as a >> string, then as a regex: >> >> 1. word.contains(compoundChar) >> 2. word.split(compoundChar) >> >> I think it should be a regex, and the variable and methods should be >> called compoundRegex. What do you think? Could you change that? >> >> Regards >> Daniel >> ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ Languagetool-devel mailing list Languagetool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-devel