-
- All Known Implementing Classes:
DefaultEnglishDictionary
public interface EnglishDictionary
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static EnglishDictionarydefaultInstance()booleanisVerb(String term)This method returns true if the given term is the verb.Optional<String>lemmatize(String term)Convert the given word to lemma word.
-
-
-
Method Detail
-
isVerb
boolean isVerb(String term)
This method returns true if the given term is the verb.- Parameters:
term- is verb?- Returns:
- if the given term is verb, then return true, otherwise false.
-
lemmatize
Optional<String> lemmatize(String term)
Convert the given word to lemma word.- Parameters:
term- to lemma word- Returns:
- lemma word of term
-
defaultInstance
static EnglishDictionary defaultInstance()
-
-