Uses of Class
opennlp.tools.dictionary.Dictionary
Packages that use Dictionary
Package
Description
-
Uses of Dictionary in opennlp.tools.dictionary
Methods in opennlp.tools.dictionary that return DictionaryModifier and TypeMethodDescriptionstatic DictionaryDictionary.parseOneEntryPerLine(Reader in) Reads aDictionarywhich 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 aDictionaryNameFinderwith the providedDictionaryandDictionaryNameFinder.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 allStringListwhich are in the currentNGramModel.NGramModel.toDictionary(boolean caseSensitive) Creates a dictionary which contains allStringLists 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 DictionaryAbstractBottomUpParser.buildDictionary(opennlp.tools.util.ObjectStream<opennlp.tools.parser.Parse> data, opennlp.tools.parser.HeadRules rules, int cutoff) Creates a n-gramDictionaryfrom the specified data stream usingHeadRulesand specified cut-off.static DictionaryAbstractBottomUpParser.buildDictionary(opennlp.tools.util.ObjectStream<opennlp.tools.parser.Parse> data, opennlp.tools.parser.HeadRules rules, opennlp.tools.util.TrainingParameters params) Creates a n-gramDictionaryfrom the specified data stream using the specified head rule and specified cut-off.Constructors in opennlp.tools.parser with parameters of type DictionaryModifierConstructorDescriptionAbstractParserEventStream(opennlp.tools.util.ObjectStream<opennlp.tools.parser.Parse> d, opennlp.tools.parser.HeadRules rules, opennlp.tools.parser.ParserEventTypeEnum etype, Dictionary dict) -
Uses of Dictionary in opennlp.tools.parser.chunking
Constructors in opennlp.tools.parser.chunking with parameters of type DictionaryModifierConstructorDescriptionInstantiates aBuildContextGeneratorfor making decisions about combining constituents using aDictionary.ParserEventStream(opennlp.tools.util.ObjectStream<opennlp.tools.parser.Parse> d, opennlp.tools.parser.HeadRules rules, opennlp.tools.parser.ParserEventTypeEnum etype, Dictionary dict) -
Uses of Dictionary in opennlp.tools.parser.treeinsert
Constructors in opennlp.tools.parser.treeinsert with parameters of type DictionaryModifierConstructorDescriptionParserEventStream(opennlp.tools.util.ObjectStream<opennlp.tools.parser.Parse> d, opennlp.tools.parser.HeadRules rules, opennlp.tools.parser.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 DictionaryPOSTaggerME.buildNGramDictionary(opennlp.tools.util.ObjectStream<opennlp.tools.postag.POSSample> samples, int cutoff) Constructs annGram dictionaryfrom anObjectStreamof samples.Constructors in opennlp.tools.postag with parameters of type DictionaryModifierConstructorDescriptionDefaultPOSContextGenerator(int cacheSize, Dictionary dict) Deprecated.Initializes aDefaultPOSContextGeneratorinstance. -
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 SentenceDetectorFactorySentenceDetectorFactory.create(String subclassName, String languageCode, boolean useTokenEnd, Dictionary abbrDictionary, char[] eosChars) Instantiates aSentenceDetectorFactoryvia a givensubclassName.protected voidSentenceDetectorFactory.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.SentenceDetectorME(SentenceModel model, Dictionary abbDict) Instantiates aSentenceDetectorMEwith an existingSentenceModel.ThreadSafeSentenceDetectorME(SentenceModel model, Dictionary abbDict) Deprecated.Instantiates aThreadSafeSentenceDetectorMEwith an existingSentenceModel. -
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 TokenizerFactoryTokenizerFactory.create(String subclassName, String languageCode, Dictionary abbreviationDictionary, boolean useAlphaNumericOptimization, Pattern alphaNumericPattern) Factory method the framework uses instantiate a newTokenizerFactory.protected voidTokenizerFactory.init(String languageCode, Dictionary abbreviationDictionary, boolean useAlphaNumericOptimization, Pattern alphaNumericPattern) Constructors in opennlp.tools.tokenize with parameters of type DictionaryModifierConstructorDescriptionThreadSafeTokenizerME(TokenizerModel model, Dictionary abbDict) Deprecated.Instantiates aThreadSafeTokenizerMEwith an existingTokenizerModel.TokenizerFactory(String languageCode, Dictionary abbreviationDictionary, boolean useAlphaNumericOptimization, Pattern alphaNumericPattern) Instantiates aTokenizerFactory.TokenizerME(TokenizerModel model, Dictionary abbDict) Instantiates aTokenizerMEwith an existingTokenizerModel. -
Uses of Dictionary in opennlp.tools.util.featuregen
Methods in opennlp.tools.util.featuregen with parameters of type DictionaryModifier and TypeMethodDescriptionvoidDictionaryFeatureGenerator.setDictionary(String name, Dictionary dict) voidDictionaryFeatureGenerator.setDictionary(Dictionary dict) Constructors in opennlp.tools.util.featuregen with parameters of type DictionaryModifierConstructorDescriptionDictionaryFeatureGenerator(String prefix, Dictionary dict) Initializes aDictionaryFeatureGeneratorwith the specified parameters.Initializes aDictionaryFeatureGeneratorwith the specifiedDictionary. -
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 TypeMethodDescriptionvoidDictionarySerializer.serialize(Dictionary dictionary, OutputStream out)
DefaultPOSContextGenerator(Dictionary)instead.