Uses of Class
opennlp.tools.dictionary.Dictionary
-
Packages that use Dictionary Package Description opennlp.tools.cmdline.namefind opennlp.tools.dictionary Package related to parsing and storing dictionaries.opennlp.tools.namefind Package related to finding proper names and numeric amounts.opennlp.tools.ngram Package related to computing and storing n-gram frequencies.opennlp.tools.parser Package containing common code for performing full syntactic parsing.opennlp.tools.parser.chunking Package containing code for performing full syntactic parsing using shift/reduce-style decisions.opennlp.tools.parser.treeinsert Package containing experimental code for performing full syntactic parsing using attachment decisions.opennlp.tools.postag Package related to part-of-speech tagging.opennlp.tools.sentdetect Package related to identifying sentence boundaries.opennlp.tools.tokenize Contains classes related to finding token or words in a string.opennlp.tools.util.featuregen This package contains classes for generating sequence features.opennlp.tools.util.model -
-
Uses of Dictionary in opennlp.tools.cmdline.namefind
Methods in opennlp.tools.cmdline.namefind that return Dictionary Modifier and Type Method Description static DictionaryCensusDictionaryCreatorTool. createDictionary(ObjectStream<StringList> sampleStream)Creates a dictionary. -
Uses of Dictionary in opennlp.tools.dictionary
Methods in opennlp.tools.dictionary that return Dictionary Modifier and Type Method Description static 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 Dictionary Constructor Description DictionaryNameFinder(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 Dictionary Modifier and Type Method Description DictionaryNGramModel. toDictionary()Creates a dictionary which contain allStringListwhich are in the currentNGramModel.DictionaryNGramModel. 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 Dictionary Modifier and Type Field Description protected DictionaryAbstractParserEventStream. dictMethods in opennlp.tools.parser that return Dictionary Modifier and Type Method Description static DictionaryAbstractBottomUpParser. buildDictionary(ObjectStream<Parse> data, HeadRules rules, int cutoff)Creates a n-gramDictionaryfrom the specified data stream usingHeadRulesand specified cut-off.static DictionaryAbstractBottomUpParser. buildDictionary(ObjectStream<Parse> data, HeadRules rules, 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 Dictionary Constructor Description AbstractParserEventStream(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 Dictionary Constructor Description BuildContextGenerator(Dictionary dict)Instantiates aBuildContextGeneratorfor 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 Dictionary Constructor Description ParserEventStream(ObjectStream<Parse> d, HeadRules rules, ParserEventTypeEnum etype, Dictionary dict) -
Uses of Dictionary in opennlp.tools.postag
Fields in opennlp.tools.postag declared as Dictionary Modifier and Type Field Description protected DictionaryPOSTaggerFactory. ngramDictionaryprotected DictionaryPOSTaggerME. ngramDictionaryMethods in opennlp.tools.postag that return Dictionary Modifier and Type Method Description static DictionaryPOSTaggerME. buildNGramDictionary(ObjectStream<POSSample> samples, int cutoff)Constructs anGram dictionaryfrom anObjectStreamof samples.Constructors in opennlp.tools.postag with parameters of type Dictionary Constructor Description DefaultPOSContextGenerator(int cacheSize, Dictionary dict)Initializes aDefaultPOSContextGeneratorinstance.DefaultPOSContextGenerator(Dictionary dict)Initializes aDefaultPOSContextGeneratorinstance. -
Uses of Dictionary in opennlp.tools.sentdetect
Methods in opennlp.tools.sentdetect that return Dictionary Modifier and Type Method Description DictionarySentenceDetectorFactory. getAbbreviationDictionary()DictionarySentenceModel. getAbbreviations()Methods in opennlp.tools.sentdetect with parameters of type Dictionary Modifier and Type Method Description static SentenceDetectorFactorySentenceDetectorFactory. create(String subclassName, String languageCode, boolean useTokenEnd, Dictionary abbreviationDictionary, char[] eosCharacters)protected voidSentenceDetectorFactory. init(String languageCode, boolean useTokenEnd, Dictionary abbreviationDictionary, char[] eosCharacters)static SentenceModelSentenceDetectorME. train(String languageCode, ObjectStream<SentenceSample> samples, boolean useTokenEnd, Dictionary abbreviations)Deprecated.static SentenceModelSentenceDetectorME. train(String languageCode, ObjectStream<SentenceSample> samples, boolean useTokenEnd, Dictionary abbreviations, TrainingParameters mlParams)Deprecated.Constructors in opennlp.tools.sentdetect with parameters of type Dictionary Constructor Description SentenceDetectorFactory(String languageCode, boolean useTokenEnd, Dictionary abbreviationDictionary, char[] eosCharacters)Creates aSentenceDetectorFactory.SentenceModel(String languageCode, MaxentModel sentModel, boolean useTokenEnd, Dictionary abbreviations)SentenceModel(String languageCode, MaxentModel sentModel, boolean useTokenEnd, Dictionary abbreviations, char[] eosCharacters)Deprecated.UseSentenceModel(String, MaxentModel, Map, SentenceDetectorFactory)instead and pass in aSentenceDetectorFactorySentenceModel(String languageCode, MaxentModel sentModel, boolean useTokenEnd, Dictionary abbreviations, char[] eosCharacters, Map<String,String> manifestInfoEntries)Deprecated.UseSentenceModel(String, MaxentModel, Map, SentenceDetectorFactory)instead and pass in aSentenceDetectorFactorySentenceModel(String languageCode, MaxentModel sentModel, boolean useTokenEnd, Dictionary abbreviations, Map<String,String> manifestInfoEntries) -
Uses of Dictionary in opennlp.tools.tokenize
Methods in opennlp.tools.tokenize that return Dictionary Modifier and Type Method Description DictionaryTokenizerFactory. getAbbreviationDictionary()DictionaryTokenizerModel. getAbbreviations()Methods in opennlp.tools.tokenize with parameters of type Dictionary Modifier and Type Method Description static 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 Dictionary Constructor Description TokenizerFactory(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 Dictionary Modifier and Type Method Description voidDictionaryFeatureGenerator. setDictionary(String name, Dictionary dict)voidDictionaryFeatureGenerator. setDictionary(Dictionary dict)Constructors in opennlp.tools.util.featuregen with parameters of type Dictionary Constructor Description DictionaryFeatureGenerator(String prefix, Dictionary dict)DictionaryFeatureGenerator(Dictionary dict) -
Uses of Dictionary in opennlp.tools.util.model
Methods in opennlp.tools.util.model that return Dictionary Modifier and Type Method Description DictionaryDictionarySerializer. create(InputStream in)Methods in opennlp.tools.util.model with parameters of type Dictionary Modifier and Type Method Description voidDictionarySerializer. serialize(Dictionary dictionary, OutputStream out)
-