Package org.predict4all.nlp.language
Interface BaseWordDictionary
-
- All Known Implementing Classes:
FrenchBaseWordDictionary
public interface BaseWordDictionary
A language specific dictionary : contains lower case words and their unigram frequencies.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
containsWord(String word)
double
getFrequency(String word)
void
initialize()
boolean
isInitialized()
-
-
-
Method Detail
-
isInitialized
boolean isInitialized()
-
initialize
void initialize() throws IOException
- Throws:
IOException
-
containsWord
boolean containsWord(String word)
-
getFrequency
double getFrequency(String word)
-
-