Package com.gengoai.hermes.lexicon
Class PersistentLexicon
- java.lang.Object
-
- com.gengoai.hermes.lexicon.Lexicon
-
- com.gengoai.hermes.lexicon.PersistentLexicon
-
- All Implemented Interfaces:
Extractor
,PrefixSearchable
,WordList
,Serializable
,Iterable<String>
,Predicate<HString>
- Direct Known Subclasses:
DiskLexicon
public abstract class PersistentLexicon extends Lexicon
Base class for lexicon implementations that are persistent, meaning added entries are persisted between runs.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PersistentLexicon()
-
Method Summary
-
Methods inherited from class com.gengoai.hermes.lexicon.Lexicon
add, addAll, entries, extract, get, getMaxLemmaLength, getMaxTokenLength, getName, getProbability, getProbability, getProbability, getProbability, getTag, getTag, isCaseSensitive, isProbabilistic, match, match, normalize, size, test
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface com.gengoai.hermes.lexicon.PrefixSearchable
isPrefixMatch, isPrefixMatch, prefixes
-
-