W dniu 2013-01-24 23:03, Daniel Naber pisze:
> Hi,
>
> our Wiki says: "It [Morfologik speller] does not support replacement
> patterns (as defined by REP command in hunspell)".
>
> This has nothing to do with the spell checking as such, it's just how the
> suggestions are sorted, or am I missing something? Then this could easily
> be added as a next step, after the suggestions have been retrieved.

You are missing something. Namely, some suggestions cannot be found by 
the current algorithm because they involve too many changes (in terms of 
the editing distance). Think of diacritics - all diacritics, even if the 
changes involved are minor, are counted as the same as individual 
characters. In hunspell, this makes it easier to add more plausible 
replacements, and is very useful. Also, breaking a word into several 
ones is impossible.

This should be added in the process of suggestion creation. It is easy 
to implement if you know how to traverse the automaton.

Regards,
Marcin

>
> Regards
>   Daniel
>
> [1] http://wiki.languagetool.org/hunspell-support
>


------------------------------------------------------------------------------
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/learnnow-d2d
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to