smile.nlp.dictionary
Interface Dictionary
-
- All Known Subinterfaces:
- Abbreviations, Punctuations, StopWords
- All Known Implementing Classes:
- EnglishDictionary, EnglishPunctuations, EnglishStopWords, SimpleDictionary
public interface DictionaryA dictionary is a set of words in some natural language.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description booleancontains(java.lang.String word)Returns true if this dictionary contains the specified word.java.util.Iterator<java.lang.String>iterator()Returns an iterator over the elements in this dictionary.intsize()Returns the number of elements in this dictionary.
-
-
-
Method Detail
-
contains
boolean contains(java.lang.String word)
Returns true if this dictionary contains the specified word.
-
size
int size()
Returns the number of elements in this dictionary.
-
iterator
java.util.Iterator<java.lang.String> iterator()
Returns an iterator over the elements in this dictionary.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG