lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Björn Kremer <...@patorg.de>
Subject Re: [Lucene.Net] new feature for the lucene SpellChecker
Date Thu, 10 Nov 2011 13:26:55 GMT
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
>
>

Mime
View raw message