[prev in list] [next in list] [prev in thread] [next in thread]
List: lucene-user
Subject: Partial SpellChecking
From: Sidhant Aggarwal <sidhant92 () me ! com>
Date: 2018-02-26 15:30:57
Message-ID: a845707f-9188-4c59-b0b0-a3e18eb83f67 () me ! com
[Download RAW message or body]
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
[Attachment #3 (multipart/related)]
[Attachment #5 (unknown)]
<html><body><div>I am using Lucene to perform spell checking. I am \
using </div><div><a \
href="https://lucene.apache.org/core/5_4_1/suggest/org/apache/lucene/search/spell/Spel \
lChecker.html">https://lucene.apache.org/core/5_4_1/suggest/org/apache/lucene/search/spell/SpellChecker.html</a></div><div><br \
data-mce-bogus="1"></div><div>What I really want is, for example, I have a \
word:</div><div>spellingmistake</div><div><br data-mce-bogus="1"></div><div>And now I \
type:</div><div>speli. </div><div><br></div><div>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.</div><div><br data-mce-bogus="1"></div><div>How do I get this \
working?</div><div><br \
data-mce-bogus="1"></div><div>Thanks,</div><div>Sidhant</div></body></html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic