Dear All, Can you please suggest me the possible difference between
getSuggestion and InfixSuggester.lookup in terms of the suggestions
provided by both of these.
On 9/5/2013 1:04 PM, Ankit Murarka wrote:
Hello All,
I would like to know the basic difference between providing a phrase
suggestion based on
String[]
suggestionMatcher=getSuggestion(suggestedPhrase,phraseRecommender);
and providing phrase suggestion based on :
List<LookupResult> list=ainfixSuggester.lookup(suggestedPhrase,false,
100);
For the latter, what I understood is that the AnalyzingInfixSuggester
will provide me suggestions even if the entered phrase is found
anywhere in the line (whether its a prefix/suffix/a part of token
etc..and hence the name infix)
For the former, I am a bit confused..I am looking for a more concrete
description of the both.
Can anyone please explain me both the parts as well as basic
difference between the both..
--
Regards
Ankit Murarka
"What lies behind us and what lies before us are tiny matters compared with what
lies within us"
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org