Click here to Skip to main content
16,018,949 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am creating the simple console application for spell checking. I have 20 documents. Now from the code I give a misspelled word and I want that from my 20 documents this word is searched and the message "Did You Mean: correctly spelled word" is displayed.
Please help me as I am new to lucene.
Is their any dll or any references of code to add?:confused:

Thanks in advance!
Posted
Updated 8-Mar-11 3:25am
v3
Comments
Sandeep Mewara 8-Mar-11 2:13am    
Not clear.
Nikam Chaitrali C 9-Mar-11 1:31am    
Thank You......

1 solution

I have found this helpful site: http://www.devatwork.nl/index.php/articles/lucenenet/alternatives-did-you-mean-lucenenet/[^]. The help revolves around the SpellChecker library which used to be in the Lucene core. It is now in a separate project so you'll also have to download that.

This page also has some useful hints on how to achieve your goal: http://stackoverflow.com/questions/348093/did-you-mean-feature-in-lucene-net[^].

Happy coding!
 
Share this answer
 
Comments
fjdiewornncalwe 8-Mar-11 17:10pm    
+5. Awesome find.
Manfred Rudolf Bihy 9-Mar-11 3:52am    
Thanks Markus.
Nikam Chaitrali C 9-Mar-11 1:30am    
Thank You.
Manfred Rudolf Bihy 9-Mar-11 3:53am    
If you found my answer helpful I'd appreciate if you voted on it. If this helped solve your issues mark my solution as accepted. Thanks!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900