On 2014-09-12 21:18, Jaume OrtolĂ  i Font wrote:

> Another option. Use distance=1 and add replacement pairs (n nn, nn n,
> t tt, tt t).
> 
> I made optimizations in the morfologik speller specifically for this
> use. What happens with performance?

Indeed, that works without decreasing performance. But in the meanwhile 
I found other common misspellings that we provided no suggestion for, so 
I have implemented the fallback approach (use edit dist=2 only if edit 
dist=1 doesn't return anything) for now:
garentee
greatful
hipocrit
mischevious
hygeine
rythem
vacume
vehical

Regards
  Daniel


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to