Class EntrySuggestion
java.lang.Object
org.apache.lucene.analysis.hunspell.EntrySuggestion
Suggestion to add/edit dictionary entries to generate a given list of words created by
WordFormGenerator.compress(java.util.List<java.lang.String>, java.util.Set<java.lang.String>, java.lang.Runnable)
.-
Method Summary
-
Method Details
-
getEntriesToEdit
- Returns:
- the existing dictionary entries whose flags would need changing to accommodate the given word list
-
getEntriesToAdd
- Returns:
- new dictionary entries to be added to accommodate the given word list
-
getExtraGeneratedWords
- Returns:
- additional words generated by union of
getEntriesToAdd()
andgetEntriesToEdit()
which weren't in the given list of words
-
toString
-