You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by startrekfan75 <st...@freenet.de> on 2011/11/02 18:17:44 UTC
[Lucene.Net] new feature for the lucene SpellChecker
Hi,
I'd like to suggest a new feature for the lucene SpellChecker. I have
implemented a little autocomplete function in the SpellChecker class. Of
course it's only very basic and simple implementation. But it's works
very good. This function can e.g. help users to complete their input in
the search mask.
I attached the code.(or link: http://pastebin.de/19834 /
http://www.file-upload.net/download-3851729/SpellChecker.cs.html) Feel
free to use and optimize it. There are no restrictions from my side.
Thank you
Re: [Lucene.Net] new feature for the lucene SpellChecker
Posted by Björn Kremer <bk...@patorg.de>.
Hello,
here is a little optimization for the autocomplete function(see
attachment or http://pastebin.de/20088). The autocomplete function
compares the string distance for better matches now.
Björn
Am 02.11.2011 18:17, schrieb startrekfan75:
> Hi,
>
> I'd like to suggest a new feature for the lucene SpellChecker. I have
> implemented a little autocomplete function in the SpellChecker class.
> Of course it's only very basic and simple implementation. But it's
> works very good. This function can e.g. help users to complete their
> input in the search mask.
>
> I attached the code.(or link: http://pastebin.de/19834 /
> http://www.file-upload.net/download-3851729/SpellChecker.cs.html) Feel
> free to use and optimize it. There are no restrictions from my side.
>
> Thank you
>
>