Uses of Class
opennlp.tools.dictionary.Dictionary
Packages that use Dictionary
Package
Description
Package related to parsing and storing dictionaries.
Package related to finding proper names and numeric amounts.
Package related to computing and storing n-gram frequencies.
Package containing common code for performing full syntactic parsing.
Package containing code for performing full syntactic parsing using shift/reduce-style decisions.
Package containing experimental code for performing full syntactic
parsing using attachment decisions.
Package related to part-of-speech tagging.
Package related to identifying sentence boundaries.
Contains classes related to finding token or words in a string.
This package contains classes for generating sequence features.
-
Uses of Dictionary in opennlp.tools.cmdline.namefind
Methods in opennlp.tools.cmdline.namefind that return DictionaryModifier and TypeMethodDescriptionstatic Dictionary
CensusDictionaryCreatorTool.createDictionary
(ObjectStream<StringList> sampleStream) Creates a dictionary. -
Uses of Dictionary in opennlp.tools.dictionary
Methods in opennlp.tools.dictionary that return DictionaryModifier and TypeMethodDescriptionstatic Dictionary
Dictionary.parseOneEntryPerLine
(Reader in) Reads aDictionary
which has one entry per line. -
Uses of Dictionary in opennlp.tools.namefind
Constructors in opennlp.tools.namefind with parameters of type DictionaryModifierConstructorDescriptionDictionaryNameFinder
(Dictionary dictionary) Initializes aDictionaryNameFinder
with the providedDictionary
andDictionaryNameFinder.DEFAULT_TYPE
.DictionaryNameFinder
(Dictionary dictionary, String type) -
Uses of Dictionary in opennlp.tools.ngram
Methods in opennlp.tools.ngram that return DictionaryModifier and TypeMethodDescriptionNGramModel.toDictionary()
Creates a dictionary which contain allStringList
which are in the currentNGramModel
.NGramModel.toDictionary
(boolean caseSensitive) Creates a dictionary which contains allStringList
s which are in the currentNGramModel
. -
Uses of Dictionary in opennlp.tools.parser
Fields in opennlp.tools.parser declared as DictionaryMethods in opennlp.tools.parser that return DictionaryModifier and TypeMethodDescriptionstatic Dictionary
AbstractBottomUpParser.buildDictionary
(ObjectStream<Parse> data, HeadRules rules, int cutoff) Creates a n-gramDictionary
from the specified data stream usingHeadRules
and specified cut-off.static Dictionary
AbstractBottomUpParser.buildDictionary
(ObjectStream<Parse> data, HeadRules rules, TrainingParameters params) Creates a n-gramDictionary
from the specified data stream using the specified head rule and specified cut-off.Constructors in opennlp.tools.parser with parameters of type DictionaryModifierConstructorDescriptionAbstractParserEventStream
(ObjectStream<Parse> d, HeadRules rules, ParserEventTypeEnum etype, Dictionary dict) -
Uses of Dictionary in opennlp.tools.parser.chunking
Constructors in opennlp.tools.parser.chunking with parameters of type DictionaryModifierConstructorDescriptionInstantiates aBuildContextGenerator
for making decisions about combining constituents using aDictionary
.ParserEventStream
(ObjectStream<Parse> d, HeadRules rules, ParserEventTypeEnum etype, Dictionary dict) -
Uses of Dictionary in opennlp.tools.parser.treeinsert
Constructors in opennlp.tools.parser.treeinsert with parameters of type DictionaryModifierConstructorDescriptionParserEventStream
(ObjectStream<Parse> d, HeadRules rules, ParserEventTypeEnum etype, Dictionary dict) -
Uses of Dictionary in opennlp.tools.postag
Fields in opennlp.tools.postag declared as DictionaryMethods in opennlp.tools.postag that return DictionaryModifier and TypeMethodDescriptionstatic Dictionary
POSTaggerME.buildNGramDictionary
(ObjectStream<POSSample> samples, int cutoff) Constructs anGram dictionary
from anObjectStream
of samples.Constructors in opennlp.tools.postag with parameters of type DictionaryModifierConstructorDescriptionDefaultPOSContextGenerator
(int cacheSize, Dictionary dict) Initializes aDefaultPOSContextGenerator
instance.Initializes aDefaultPOSContextGenerator
instance. -
Uses of Dictionary in opennlp.tools.sentdetect
Methods in opennlp.tools.sentdetect that return DictionaryModifier and TypeMethodDescriptionSentenceDetectorFactory.getAbbreviationDictionary()
SentenceModel.getAbbreviations()
Methods in opennlp.tools.sentdetect with parameters of type DictionaryModifier and TypeMethodDescriptionstatic SentenceDetectorFactory
SentenceDetectorFactory.create
(String subclassName, String languageCode, boolean useTokenEnd, Dictionary abbrDictionary, char[] eosChars) Instantiates aSentenceDetectorFactory
via a givensubclassName
.protected void
SentenceDetectorFactory.init
(String languageCode, boolean useTokenEnd, Dictionary abbreviationDictionary, char[] eosCharacters) Constructors in opennlp.tools.sentdetect with parameters of type DictionaryModifierConstructorDescriptionSentenceDetectorFactory
(String languageCode, boolean useTokenEnd, Dictionary abbreviationDictionary, char[] eosCharacters) Creates aSentenceDetectorFactory
. -
Uses of Dictionary in opennlp.tools.tokenize
Methods in opennlp.tools.tokenize that return DictionaryModifier and TypeMethodDescriptionTokenizerFactory.getAbbreviationDictionary()
TokenizerModel.getAbbreviations()
Methods in opennlp.tools.tokenize with parameters of type DictionaryModifier and TypeMethodDescriptionstatic TokenizerFactory
TokenizerFactory.create
(String subclassName, String languageCode, Dictionary abbreviationDictionary, boolean useAlphaNumericOptimization, Pattern alphaNumericPattern) Factory method the framework uses instantiate a newTokenizerFactory
.protected void
TokenizerFactory.init
(String languageCode, Dictionary abbreviationDictionary, boolean useAlphaNumericOptimization, Pattern alphaNumericPattern) Constructors in opennlp.tools.tokenize with parameters of type DictionaryModifierConstructorDescriptionTokenizerFactory
(String languageCode, Dictionary abbreviationDictionary, boolean useAlphaNumericOptimization, Pattern alphaNumericPattern) Instantiates aTokenizerFactory
. -
Uses of Dictionary in opennlp.tools.util.featuregen
Methods in opennlp.tools.util.featuregen with parameters of type DictionaryModifier and TypeMethodDescriptionvoid
DictionaryFeatureGenerator.setDictionary
(String name, Dictionary dict) void
DictionaryFeatureGenerator.setDictionary
(Dictionary dict) Constructors in opennlp.tools.util.featuregen with parameters of type Dictionary -
Uses of Dictionary in opennlp.tools.util.model
Methods in opennlp.tools.util.model that return DictionaryMethods in opennlp.tools.util.model with parameters of type DictionaryModifier and TypeMethodDescriptionvoid
DictionarySerializer.serialize
(Dictionary dictionary, OutputStream out)