lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sidhant Aggarwal <sidhan...@me.com>
Subject Partial SpellChecking
Date Mon, 26 Feb 2018 15:30:57 GMT
I am using Lucene to perform spell checking. I am using 
https://lucene.apache.org/core/5_4_1/suggest/org/apache/lucene/search/spell/SpellChecker.html

What I really want is, for example, I have a word:
spellingmistake

And now I type:
speli. 

In this case, I want to spellchecker to return me the correct word or at least return spell.
So to achieve this while indexing the dictionary in the indexwriter config I used a EdgeNGramTokenizer
assuming it would work for this case. But unfortunately, it is not working.

How do I get this working?

Thanks,
Sidhant
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
    • Unnamed multipart/related (inline, None, 0 bytes)
View raw message