Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractBottomUpParser - Class in opennlp.tools.parser
-
Abstract class which contains code to tag and chunk parses for bottom up parsing and leaves implementation of advancing parses and completing parses to extend class.
- AbstractBottomUpParser(POSTagger, Chunker, HeadRules, int, double) - Constructor for class opennlp.tools.parser.AbstractBottomUpParser
- AbstractContextGenerator - Class in opennlp.tools.parser
-
Abstract class containing many of the methods used to generate contexts for parsing.
- AbstractContextGenerator() - Constructor for class opennlp.tools.parser.AbstractContextGenerator
- AbstractEventStream<T> - Class in opennlp.tools.util
-
A base
ObjectStreamimplementation for events. - AbstractEventStream(ObjectStream) - Constructor for class opennlp.tools.util.AbstractEventStream
-
Initializes an
AbstractEventStreamwith a sampleIterator. - AbstractParserEventStream - Class in opennlp.tools.parser
-
Abstract class extended by parser event streams which perform tagging and chunking.
- AbstractParserEventStream(ObjectStream, HeadRules, ParserEventTypeEnum) - Constructor for class opennlp.tools.parser.AbstractParserEventStream
- AbstractParserEventStream(ObjectStream, HeadRules, ParserEventTypeEnum, Dictionary) - Constructor for class opennlp.tools.parser.AbstractParserEventStream
- AbstractXmlFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- add(char) - Method in class opennlp.tools.stemmer.PorterStemmer
-
Add a character to the word being stemmed.
- add(CharSequence) - Method in class opennlp.tools.ngram.NGramCharModel
-
Adds an
ngram. - add(CharSequence, int, int) - Method in class opennlp.tools.ngram.NGramCharModel
-
Adds a
CharSequencethat will be ngrammed into chars. - add(CharSequence, int, int) - Method in class opennlp.tools.ngram.NGramModel
-
Adds character NGrams to the current instance.
- add(String...) - Method in class opennlp.tools.languagemodel.NGramLanguageModel
-
Adds further tokens.
- add(StringList) - Method in class opennlp.tools.ngram.NGramModel
-
Adds one NGram, if it already exists the count increase by one.
- add(StringList, int, int) - Method in class opennlp.tools.ngram.NGramModel
-
Adds NGrams up to the specified length to the current instance.
- addCutoffAndIterations(Map, int, int) - Static method in class opennlp.tools.util.model.ModelUtil
-
Adds
cutoffanditerationstomanifestInfoEntries. - addFeatureGenerator(AdaptiveFeatureGenerator) - Method in class opennlp.tools.namefind.DefaultNameContextGenerator
- additionalContext(String[], Map) - Static method in class opennlp.tools.namefind.NameFinderEventStream
-
Generated previous decision features for each token based on contents of the specified
prevMap. - AdditionalContextFeatureGenerator - Class in opennlp.tools.util.featuregen
-
The
AdditionalContextFeatureGeneratorgenerates the context from the passed in additional context. - AdditionalContextFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.AdditionalContextFeatureGenerator
- AggregateCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
CharSequenceNormalizerimplementation that aggregates the functionality of other normalizers. - AggregateCharSequenceNormalizer(CharSequenceNormalizer...) - Constructor for class opennlp.tools.util.normalizer.AggregateCharSequenceNormalizer
- AggregatedFeatureGenerator - Class in opennlp.tools.util.featuregen
-
The
AggregatedFeatureGeneratoraggregates a set offeature generatorsand calls them to generate the features. - AggregatedFeatureGenerator(Collection) - Constructor for class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
-
Initializes an
AggregatedFeatureGeneratorvia specifiedgenerators. - AggregatedFeatureGenerator(AdaptiveFeatureGenerator...) - Constructor for class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
-
Initializes an
AggregatedFeatureGeneratorvia specifiedgenerators. - AggregatedFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesAggregatedFeatureGeneratorinstances whenAggregatedFeatureGeneratorFactory.create()is called. - AggregatedFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.AggregatedFeatureGeneratorFactory
- Among - Class in opennlp.tools.stemmer.snowball
-
Internal class used by Snowball stemmers
- Among(String, int, int) - Constructor for class opennlp.tools.stemmer.snowball.Among
- Among(String, int, int, String, MethodHandles.Lookup) - Constructor for class opennlp.tools.stemmer.snowball.Among
- AncoraSpanishHeadRules - Class in opennlp.tools.parser.lang.es
-
Class for storing the Ancora Spanish head rules associated with parsing.
- AncoraSpanishHeadRules(Reader) - Constructor for class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
-
Creates a new set of head rules based on the specified reader.
- AncoraSpanishHeadRules.HeadRulesSerializer - Class in opennlp.tools.parser.lang.es
- ARABIC - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- arabicStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- arabicStemmer() - Constructor for class opennlp.tools.stemmer.snowball.arabicStemmer
- areOutcomesCompatible(String[]) - Method in class opennlp.tools.namefind.BilouCodec
-
B requires CL or L, C requires BL, L requires B, O requires any valid combo/unit, U requires none. - areOutcomesCompatible(String[]) - Method in class opennlp.tools.namefind.BioCodec
- asStringSet() - Method in class opennlp.tools.dictionary.Dictionary
-
Converts this
Dictionaryto aSet<String>. - ATTACH_DAUGHTER - Static variable in class opennlp.tools.parser.treeinsert.Parser
-
Outcome used when a node should be attached as a daughter to another node.
- ATTACH_SISTER - Static variable in class opennlp.tools.parser.treeinsert.Parser
-
Outcome used when a node should be attached as a sister to another node.
- AttachContextGenerator - Class in opennlp.tools.parser.treeinsert
-
Generates predictive contexts for deciding how constituents should be attached.
- AttachContextGenerator(Set) - Constructor for class opennlp.tools.parser.treeinsert.AttachContextGenerator
-
Instantiates an
AttachContextGeneratorfor making decisions about attachments. - attributes() - Method in record class opennlp.tools.dictionary.serializer.Entry
-
Returns the value of the
attributesrecord component. - Attributes - Class in opennlp.tools.dictionary.serializer
-
The
Attributesclass stores name value pairs. - Attributes() - Constructor for class opennlp.tools.dictionary.serializer.Attributes
B
- BagOfWordsFeatureGenerator - Class in opennlp.tools.doccat
-
Generates a feature for each word in a document.
- BagOfWordsFeatureGenerator() - Constructor for class opennlp.tools.doccat.BagOfWordsFeatureGenerator
-
Instantiates a default
BagOfWordsFeatureGeneratorinstance. - BaseModel - Class in opennlp.tools.util.model
-
This is a common base model which can be used by the components' specific model classes.
- BaseToolFactory - Class in opennlp.tools.util
-
Base class for all tool
factories. - BaseToolFactory() - Constructor for class opennlp.tools.util.BaseToolFactory
-
All subclasses should have an empty constructor
- between(int, int, int) - Static method in class opennlp.tools.util.Version
-
Checks whether a
versionis in between an interval and its boundaries. - BigramNameFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Adds bigram features based on tokens and token classes.
- BigramNameFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.BigramNameFeatureGenerator
- BigramNameFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesBigramNameFeatureGeneratorinstances whenBigramNameFeatureGeneratorFactory.create()is called. - BigramNameFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.BigramNameFeatureGeneratorFactory
- BilouCodec - Class in opennlp.tools.namefind
-
The default
SequenceCodecimplementation according to theBILOUscheme. - BilouCodec() - Constructor for class opennlp.tools.namefind.BilouCodec
- BilouNameFinderSequenceValidator - Class in opennlp.tools.namefind
-
A
SequenceValidatorimplementation for theBilouCodec. - BilouNameFinderSequenceValidator() - Constructor for class opennlp.tools.namefind.BilouNameFinderSequenceValidator
- BioCodec - Class in opennlp.tools.namefind
-
The default
SequenceCodecimplementation according to theBIOscheme: B: 'beginning' of a NE I: 'inside', the word is inside a NE O: 'outside', the word is a regular word outside a NE See also the paper by Roth D. and Ratinov L.: Design Challenges and Misconceptions in Named Entity Recognition. - BioCodec() - Constructor for class opennlp.tools.namefind.BioCodec
- BrownBigramFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Generates Brown cluster features for token bigrams.
- BrownBigramFeatureGenerator(BrownCluster) - Constructor for class opennlp.tools.util.featuregen.BrownBigramFeatureGenerator
-
Initializes a
BrownBigramFeatureGeneratorgenerator via a specifiedBrownCluster. - BrownCluster - Class in opennlp.tools.util.featuregen
-
Class to load a Brown cluster document in the format:
word\tword_class\tprob. - BrownCluster(InputStream) - Constructor for class opennlp.tools.util.featuregen.BrownCluster
-
Instatiates a
BrownClusterand its related token to cluster map via anInputStream. - BrownCluster.BrownClusterSerializer - Class in opennlp.tools.util.featuregen
- BrownClusterBigramFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesBrownBigramFeatureGeneratorinstances whenBrownClusterBigramFeatureGeneratorFactory.create()is called. - BrownClusterBigramFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.BrownClusterBigramFeatureGeneratorFactory
- BrownClusterSerializer() - Constructor for class opennlp.tools.util.featuregen.BrownCluster.BrownClusterSerializer
- BrownClusterTokenClassFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesBrownTokenClassFeatureGeneratorinstances whenBrownClusterTokenClassFeatureGeneratorFactory.create()is called. - BrownClusterTokenClassFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.BrownClusterTokenClassFeatureGeneratorFactory
- BrownClusterTokenFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesBrownTokenFeatureGeneratorinstances whenBrownClusterTokenFeatureGeneratorFactory.create()is called. - BrownClusterTokenFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.BrownClusterTokenFeatureGeneratorFactory
- BrownTokenClasses - Class in opennlp.tools.util.featuregen
-
Obtain the paths listed in the pathLengths array from the Brown class.
- BrownTokenClasses() - Constructor for class opennlp.tools.util.featuregen.BrownTokenClasses
- BrownTokenClassFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Generates
BrownClusterfeatures for current token and token class. - BrownTokenClassFeatureGenerator(BrownCluster) - Constructor for class opennlp.tools.util.featuregen.BrownTokenClassFeatureGenerator
-
Instantiates a
BrownTokenClassFeatureGeneratorvia a specifiedBrownCluster. - BrownTokenFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Generates
BrownClusterfeatures for current token. - BrownTokenFeatureGenerator(BrownCluster) - Constructor for class opennlp.tools.util.featuregen.BrownTokenFeatureGenerator
-
Instantiates a
BrownTokenFeatureGeneratorvia a specifiedBrownCluster. - BuildContextGenerator - Class in opennlp.tools.parser.chunking
-
Generates predictive contexts for deciding how constituents should be combined.
- BuildContextGenerator - Class in opennlp.tools.parser.treeinsert
-
Creates the features or contexts for the building phase of parsing.
- BuildContextGenerator() - Constructor for class opennlp.tools.parser.chunking.BuildContextGenerator
-
Instantiates a
BuildContextGeneratorfor making decisions about combining constituents. - BuildContextGenerator() - Constructor for class opennlp.tools.parser.treeinsert.BuildContextGenerator
-
Instantiates a
BuildContextGeneratorfor making decisions. - BuildContextGenerator(Dictionary) - Constructor for class opennlp.tools.parser.chunking.BuildContextGenerator
-
Instantiates a
BuildContextGeneratorfor making decisions about combining constituents using aDictionary. - buildDictionary(ObjectStream, HeadRules, int) - Static method in class opennlp.tools.parser.AbstractBottomUpParser
-
Creates a n-gram
Dictionaryfrom the specified data stream usingHeadRulesand specified cut-off. - buildDictionary(ObjectStream, HeadRules, TrainingParameters) - Static method in class opennlp.tools.parser.AbstractBottomUpParser
-
Creates a n-gram
Dictionaryfrom the specified data stream using the specified head rule and specified cut-off. - buildNGramDictionary(ObjectStream, int) - Static method in class opennlp.tools.postag.POSTaggerME
-
Constructs an
nGram dictionaryfrom anObjectStreamof samples. - BUILT - Static variable in class opennlp.tools.parser.treeinsert.Parser
-
Label used to distinguish build nodes from non-built nodes.
- ByteArraySerializer - Class in opennlp.tools.util.model
-
An
ArtifactSerializerimplementation for binary data, kept inbyte[]. - ByteArraySerializer() - Constructor for class opennlp.tools.util.model.ByteArraySerializer
C
- CachedFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Caches features of the aggregated
generators. - CachedFeatureGenerator(AdaptiveFeatureGenerator) - Constructor for class opennlp.tools.util.featuregen.CachedFeatureGenerator
- CachedFeatureGenerator(AdaptiveFeatureGenerator...) - Constructor for class opennlp.tools.util.featuregen.CachedFeatureGenerator
-
Deprecated.
- CachedFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesCachedFeatureGeneratorinstances whenCachedFeatureGeneratorFactory.create()is called. - CachedFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.CachedFeatureGeneratorFactory
- calculateBigramMLProbability(String, String, Collection) - Static method in class opennlp.tools.ngram.NGramUtils
-
calculate the probability of a bigram in a vocabulary using maximum likelihood estimation
- calculateBigramPriorSmoothingProbability(String, String, Collection, Double) - Static method in class opennlp.tools.ngram.NGramUtils
-
calculate the probability of a bigram in a vocabulary using prior Laplace smoothing algorithm
- calculateLaplaceSmoothingProbability(StringList, Iterable, Double) - Static method in class opennlp.tools.ngram.NGramUtils
-
calculate the probability of a ngram in a vocabulary using Laplace smoothing algorithm
- calculateMissingNgramProbabilityMass(StringList, double, Iterable) - Static method in class opennlp.tools.ngram.NGramUtils
-
calculate the probability of a ngram in a vocabulary using the missing probability mass algorithm
- calculateNgramMLProbability(StringList, Iterable) - Static method in class opennlp.tools.ngram.NGramUtils
-
calculate the probability of a ngram in a vocabulary using maximum likelihood estimation
- calculateProbability(String...) - Method in class opennlp.tools.languagemodel.NGramLanguageModel
- calculateTrigramLinearInterpolationProbability(String, String, String, Collection, Double, Double, Double) - Static method in class opennlp.tools.ngram.NGramUtils
-
calculate the probability of a trigram in a vocabulary using a linear interpolation algorithm
- calculateTrigramMLProbability(String, String, String, Iterable) - Static method in class opennlp.tools.ngram.NGramUtils
-
calculate the probability of a trigram in a vocabulary using maximum likelihood estimation
- calculateUnigramMLProbability(String, Collection) - Static method in class opennlp.tools.ngram.NGramUtils
-
calculate the probability of a unigram in a vocabulary using maximum likelihood estimation
- CATALAN - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- catalanStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- catalanStemmer() - Constructor for class opennlp.tools.stemmer.snowball.catalanStemmer
- categorize(String[]) - Method in class opennlp.tools.doccat.DocumentCategorizerME
- categorize(String[], Map) - Method in class opennlp.tools.doccat.DocumentCategorizerME
-
Categorize the given
textprovided as tokens along with the provided extra information. - CharacterNgramFeatureGenerator - Class in opennlp.tools.util.featuregen
-
The
CharacterNgramFeatureGeneratoruses character ngrams to generate features about each token. - CharacterNgramFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.CharacterNgramFeatureGenerator
-
Initializes a
CharacterNgramFeatureGeneratorwith default values for ngrams. - CharacterNgramFeatureGenerator(int, int) - Constructor for class opennlp.tools.util.featuregen.CharacterNgramFeatureGenerator
-
Initializes a
CharacterNgramFeatureGeneratorwith the specified parameters. - CharacterNgramFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesCharacterNgramFeatureGeneratorinstances whenCharacterNgramFeatureGeneratorFactory.create()is called. - CharacterNgramFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.CharacterNgramFeatureGeneratorFactory
- CheckContextGenerator - Class in opennlp.tools.parser.chunking
-
Generates predictive context for deciding when a constituent is complete.
- CheckContextGenerator - Class in opennlp.tools.parser.treeinsert
-
Generates predictive context for deciding when a constituent is complete.
- CheckContextGenerator() - Constructor for class opennlp.tools.parser.chunking.CheckContextGenerator
-
Instantiates a
CheckContextGeneratorfor generating predictive context for deciding when a constituent is complete. - CheckContextGenerator(Set) - Constructor for class opennlp.tools.parser.treeinsert.CheckContextGenerator
-
Instantiates a
CheckContextGeneratorfor making decisions using apunctSet. - chunk(String[], String[]) - Method in class opennlp.tools.chunker.ChunkerME
- chunk(String[], String[]) - Method in class opennlp.tools.chunker.ThreadSafeChunkerME
- chunkAsSpans(String[], String[]) - Method in class opennlp.tools.chunker.ChunkerME
- chunkAsSpans(String[], String[]) - Method in class opennlp.tools.chunker.ThreadSafeChunkerME
- ChunkContextGenerator - Class in opennlp.tools.parser
-
Creates predictive context for the pre-chunking phases of parsing.
- ChunkContextGenerator() - Constructor for class opennlp.tools.parser.ChunkContextGenerator
-
Initializes a
ChunkContextGeneratorinstance. - ChunkContextGenerator(int) - Constructor for class opennlp.tools.parser.ChunkContextGenerator
-
Initializes a
ChunkContextGeneratorinstance with a customcacheSize. - ChunkerCrossValidator - Class in opennlp.tools.chunker
-
Cross validator for
Chunker. - ChunkerCrossValidator(String, TrainingParameters, ChunkerFactory, ChunkerEvaluationMonitor...) - Constructor for class opennlp.tools.chunker.ChunkerCrossValidator
-
Initializes a
ChunkerCrossValidatorinstance via given parameters. - ChunkerEvaluator - Class in opennlp.tools.chunker
-
The
ChunkerEvaluatormeasures the performance of the givenChunkerwith the provided referencesamples. - ChunkerEvaluator(Chunker, ChunkerEvaluationMonitor...) - Constructor for class opennlp.tools.chunker.ChunkerEvaluator
-
Initializes a
ChunkerEvaluatorinstance with the givenChunker. - ChunkerEventStream - Class in opennlp.tools.chunker
-
Class for creating an event stream out of data files for training a
Chunker. - ChunkerEventStream(ObjectStream, ChunkerContextGenerator) - Constructor for class opennlp.tools.chunker.ChunkerEventStream
-
Creates a new event stream based on the specified data stream using the given context generator.
- ChunkerFactory - Class in opennlp.tools.chunker
- ChunkerFactory() - Constructor for class opennlp.tools.chunker.ChunkerFactory
-
Creates a
ChunkerFactorythat provides the default implementation of the resources. - ChunkerME - Class in opennlp.tools.chunker
-
The class represents a maximum-entropy-based
Chunker. - ChunkerME(String) - Constructor for class opennlp.tools.chunker.ChunkerME
-
Initializes a
Chunkerby downloading a default model. - ChunkerME(ChunkerModel) - Constructor for class opennlp.tools.chunker.ChunkerME
-
Initializes a
Chunkerwith the specifiedChunkerModel. - ChunkerModel - Class in opennlp.tools.chunker
-
The
ChunkerModelis the model used by a learnableChunker. - ChunkerModel(File) - Constructor for class opennlp.tools.chunker.ChunkerModel
-
Initializes a
ChunkerModelinstance via a validFile. - ChunkerModel(InputStream) - Constructor for class opennlp.tools.chunker.ChunkerModel
-
Initializes a
ChunkerModelinstance via a validInputStream. - ChunkerModel(String, MaxentModel, int, Map, ChunkerFactory) - Constructor for class opennlp.tools.chunker.ChunkerModel
-
Initializes a
ChunkerModelinstance via given parameters. - ChunkerModel(String, MaxentModel, Map, ChunkerFactory) - Constructor for class opennlp.tools.chunker.ChunkerModel
-
Initializes a
ChunkerModelinstance via given parameters. - ChunkerModel(String, MaxentModel, ChunkerFactory) - Constructor for class opennlp.tools.chunker.ChunkerModel
-
Initializes a
ChunkerModelinstance via given parameters. - ChunkerModel(String, SequenceClassificationModel, Map, ChunkerFactory) - Constructor for class opennlp.tools.chunker.ChunkerModel
-
Initializes a
ChunkerModelinstance via given parameters. - ChunkerModel(URL) - Constructor for class opennlp.tools.chunker.ChunkerModel
-
Initializes a
ChunkerModelinstance via a validURL. - ChunkerModel(Path) - Constructor for class opennlp.tools.chunker.ChunkerModel
-
Initializes a
ChunkerModelinstance via a validPath. - ChunkerModelSerializer - Class in opennlp.tools.util.model
-
An
ArtifactSerializerimplementation formodels. - ChunkerModelSerializer() - Constructor for class opennlp.tools.util.model.ChunkerModelSerializer
- ChunkSampleSequenceStream - Class in opennlp.tools.chunker
-
A
SequenceStreamimplementation encapsulatingsamples. - ChunkSampleSequenceStream(ObjectStream, ChunkerContextGenerator) - Constructor for class opennlp.tools.chunker.ChunkSampleSequenceStream
- ChunkSampleStream - Class in opennlp.tools.chunker
-
Parses the conll 2000 shared task shallow parser training data.
- ChunkSampleStream - Class in opennlp.tools.parser
- ChunkSampleStream(ObjectStream) - Constructor for class opennlp.tools.chunker.ChunkSampleStream
-
Initializes a
instance. - ChunkSampleStream(ObjectStream) - Constructor for class opennlp.tools.parser.ChunkSampleStream
-
Initializes a
instance. - clearAdaptiveData() - Method in class opennlp.tools.namefind.DefaultNameContextGenerator
- clearAdaptiveData() - Method in class opennlp.tools.namefind.DictionaryNameFinder
- clearAdaptiveData() - Method in class opennlp.tools.namefind.NameFinderME
- clearAdaptiveData() - Method in class opennlp.tools.namefind.RegexNameFinder
- clearAdaptiveData() - Method in class opennlp.tools.namefind.ThreadSafeNameFinderME
- clearAdaptiveData() - Method in class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
-
Calls the
AdaptiveFeatureGenerator.clearAdaptiveData()method on all aggregatedfeature generators. - clearAdaptiveData() - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
- clearAdaptiveData() - Method in class opennlp.tools.util.featuregen.DocumentBeginFeatureGenerator
- clearAdaptiveData() - Method in class opennlp.tools.util.featuregen.PreviousMapFeatureGenerator
- clearAdaptiveData() - Method in class opennlp.tools.util.featuregen.PreviousTwoMapFeatureGenerator
- clearAdaptiveData() - Method in class opennlp.tools.util.featuregen.WindowFeatureGenerator
- close() - Method in class opennlp.tools.chunker.ChunkSampleSequenceStream
- close() - Method in class opennlp.tools.chunker.ThreadSafeChunkerME
- close() - Method in class opennlp.tools.langdetect.ThreadSafeLanguageDetectorME
- close() - Method in class opennlp.tools.lemmatizer.LemmaSampleSequenceStream
- close() - Method in class opennlp.tools.lemmatizer.ThreadSafeLemmatizerME
- close() - Method in class opennlp.tools.namefind.NameSampleSequenceStream
- close() - Method in class opennlp.tools.namefind.ThreadSafeNameFinderME
- close() - Method in class opennlp.tools.postag.POSSampleSequenceStream
- close() - Method in class opennlp.tools.postag.ThreadSafePOSTaggerME
- close() - Method in class opennlp.tools.sentdetect.ThreadSafeSentenceDetectorME
- close() - Method in class opennlp.tools.tokenize.ThreadSafeTokenizerME
- close() - Method in class opennlp.tools.tokenize.TokenizerStream
- close() - Method in class opennlp.tools.util.AbstractEventStream
- close() - Method in class opennlp.tools.util.CollectionObjectStream
- close() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner.TrainingSampleStream
- close() - Method in class opennlp.tools.util.FilterObjectStream
- close() - Method in class opennlp.tools.util.model.UncloseableInputStream
-
This method does not have any effect, as the
InputStreamcannot be closed. - collapsePunctuation(Parse[], Set) - Static method in class opennlp.tools.parser.AbstractBottomUpParser
-
Removes the punctuation from the specified set of
chunks, adds it to the parses adjacent to the punctuation is specified, and returns a new array of parses with the punctuation removed. - CollectionObjectStream<E> - Class in opennlp.tools.util
- CollectionObjectStream(Collection) - Constructor for class opennlp.tools.util.CollectionObjectStream
- compareToIgnoreCase(StringList) - Method in class opennlp.tools.util.StringList
-
Compares to
token listand ignores the case of the tokens. - COMPLETE - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
Outcome used when a constituent is complete.
- ConfigurablePOSContextGenerator - Class in opennlp.tools.postag
-
A configurable
context generatorfor aPOSTagger. - ConfigurablePOSContextGenerator(int, AdaptiveFeatureGenerator) - Constructor for class opennlp.tools.postag.ConfigurablePOSContextGenerator
-
Initializes a
ConfigurablePOSContextGeneratorinstance. - ConfigurablePOSContextGenerator(AdaptiveFeatureGenerator) - Constructor for class opennlp.tools.postag.ConfigurablePOSContextGenerator
-
Initializes a
ConfigurablePOSContextGeneratorinstance. - Cons - Class in opennlp.tools.parser
-
Holds feature information about a specific
Parsenode. - Cons(String, String, int, boolean) - Constructor for class opennlp.tools.parser.Cons
- CONT - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
Prefix for outcomes continuing a constituent.
- contains(CharSequence) - Method in class opennlp.tools.ngram.NGramCharModel
-
Checks if the given
ngramis contained in aNGramCharModel. - contains(String) - Method in class opennlp.tools.dictionary.Index
-
Checks if at least one
StringListcontains the specifiedtoken. - contains(StringList) - Method in class opennlp.tools.dictionary.Dictionary
-
Checks if this dictionary has the given entry.
- contains(StringList) - Method in class opennlp.tools.ngram.NGramModel
-
Checks fit he given tokens are contained by the current instance.
- containsComma() - Method in class opennlp.tools.util.featuregen.StringPattern
- containsDigit() - Method in class opennlp.tools.util.featuregen.StringPattern
- containsHyphen() - Method in class opennlp.tools.util.featuregen.StringPattern
- containsLetters() - Method in class opennlp.tools.util.featuregen.StringPattern
- containsPeriod() - Method in class opennlp.tools.util.featuregen.StringPattern
- containsSlash() - Method in class opennlp.tools.util.featuregen.StringPattern
- CONTINUE - Static variable in class opennlp.tools.namefind.BilouCodec
- CONTINUE - Static variable in class opennlp.tools.namefind.BioCodec
- CONTINUE - Static variable in class opennlp.tools.namefind.NameFinderME
- convertTag(String) - Method in class opennlp.tools.postag.POSTagFormatMapper
-
Converts a given tag to the specified format.
- convertTag(String) - Method in class opennlp.tools.postag.POSTagFormatMapper.NoOp
- convertTags(List) - Method in class opennlp.tools.postag.POSTagFormatMapper
-
Converts a list of tags to the specified format.
- convertTags(List) - Method in class opennlp.tools.postag.POSTagFormatMapper.NoOp
- create() - Method in class opennlp.tools.util.featuregen.AggregatedFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.BigramNameFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.BrownClusterBigramFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.BrownClusterTokenClassFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.BrownClusterTokenFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.CachedFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.CharacterNgramFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.DefinitionFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.DictionaryFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.DocumentBeginFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.PosTaggerFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.POSTaggerNameFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.PrefixFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.PreviousMapFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.SentenceFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.SuffixFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.TokenClassFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.TokenFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.TokenPatternFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.TrigramNameFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.WindowFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.WordClusterFeatureGeneratorFactory
- create(InputStream) - Method in class opennlp.tools.parser.lang.en.HeadRules.HeadRulesSerializer
- create(InputStream) - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules.HeadRulesSerializer
- create(InputStream) - Static method in class opennlp.tools.postag.POSDictionary
-
Creates a new
POSDictionaryfrom anInputStream. - create(InputStream) - Method in class opennlp.tools.postag.POSTaggerFactory.POSDictionarySerializer
- create(InputStream) - Method in class opennlp.tools.util.featuregen.BrownCluster.BrownClusterSerializer
- create(InputStream) - Method in class opennlp.tools.util.featuregen.WordClusterDictionary.WordClusterDictionarySerializer
- create(InputStream) - Method in class opennlp.tools.util.model.ByteArraySerializer
- create(InputStream) - Method in class opennlp.tools.util.model.ChunkerModelSerializer
- create(InputStream) - Method in class opennlp.tools.util.model.DictionarySerializer
- create(InputStream) - Method in class opennlp.tools.util.model.GenericModelSerializer
- create(InputStream) - Method in class opennlp.tools.util.model.POSModelSerializer
- create(InputStream, EntryInserter) - Static method in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor
- create(InputStream, FeatureGeneratorResourceProvider) - Static method in class opennlp.tools.util.featuregen.GeneratorFactory
-
Creates an
AdaptiveFeatureGeneratorfrom an provided XML descriptor. - create(Class, ArtifactProvider) - Static method in class opennlp.tools.util.BaseToolFactory
-
Instantiates a
BaseToolFactoryvia a givensubclassName. - create(String) - Static method in class opennlp.tools.chunker.ChunkerFactory
-
Instantiates a
ChunkerFactoryvia a givensubclassName. - create(String) - Static method in class opennlp.tools.langdetect.LanguageDetectorFactory
-
Instantiates a
LanguageDetectorFactoryvia a givensubclassName. - create(String) - Static method in class opennlp.tools.lemmatizer.LemmatizerFactory
-
Instantiates a
LemmatizerFactoryvia a givensubclassName. - create(String, byte[], Map, TagDictionary) - Static method in class opennlp.tools.postag.POSTaggerFactory
-
Instantiates a
POSTaggerFactoryvia a givensubclassName. - create(String, byte[], Map, SequenceCodec) - Static method in class opennlp.tools.namefind.TokenNameFinderFactory
-
Initializes a
TokenNameFinderFactoryinstance via given parameters. - create(String, String, boolean, Dictionary, char[]) - Static method in class opennlp.tools.sentdetect.SentenceDetectorFactory
-
Instantiates a
SentenceDetectorFactoryvia a givensubclassName. - create(String, String, Dictionary, boolean, Pattern) - Static method in class opennlp.tools.tokenize.TokenizerFactory
-
Factory method the framework uses instantiate a new
TokenizerFactory. - create(String, FeatureGenerator[]) - Static method in class opennlp.tools.doccat.DoccatFactory
-
Factory method the framework uses create a new
DoccatFactory. - create(String, ArtifactProvider) - Static method in class opennlp.tools.util.BaseToolFactory
-
Instantiates a
BaseToolFactoryvia a givensubclassName. - create(ParserModel) - Static method in class opennlp.tools.parser.ParserFactory
-
Instantiates a
Parservia a givenmodeland default configuration parameters (see:AbstractBottomUpParser). - create(ParserModel, int, double) - Static method in class opennlp.tools.parser.ParserFactory
-
Instantiates a
Parservia a givenmodeland other configuration parameters. - createArtifactMap() - Method in class opennlp.tools.postag.POSTaggerFactory
- createArtifactMap() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- createArtifactMap() - Method in class opennlp.tools.tokenize.TokenizerFactory
- createArtifactMap() - Method in class opennlp.tools.util.BaseToolFactory
-
A model's implementation should call this constructor that creates a model programmatically.
- createArtifactSerializers() - Static method in class opennlp.tools.namefind.TokenNameFinderModel
-
Create the
serializers. - createArtifactSerializersMap() - Method in class opennlp.tools.postag.POSTaggerFactory
- createArtifactSerializersMap() - Method in class opennlp.tools.util.BaseToolFactory
-
Creates a
Mapwith pairs of keys andArtifactSerializer. - createContextGenerator() - Method in class opennlp.tools.namefind.TokenNameFinderFactory
-
Creates and configures a new
NameContextGeneratorin a default combination. - createContextGenerator() - Method in class opennlp.tools.sentiment.SentimentFactory
-
Creates a new
context generator. - createDefaultTrainingParameters() - Static method in class opennlp.tools.util.model.ModelUtil
-
Creates the default
TrainingParametersin case they are not provided. - createDocumentBuilder() - Static method in class opennlp.tools.util.XmlUtil
-
Create a new
DocumentBuilderwhich processes XML securely. - createEmptyTagDictionary() - Method in class opennlp.tools.postag.POSTaggerFactory
- createEndOfSentenceScanner(char[]) - Method in class opennlp.tools.sentdetect.lang.Factory
- createEndOfSentenceScanner(String) - Method in class opennlp.tools.sentdetect.lang.Factory
- createFeatureGenerators() - Method in class opennlp.tools.namefind.TokenNameFinderFactory
-
Creates the
AdaptiveFeatureGenerator. - createFeatureGenerators() - Method in class opennlp.tools.postag.POSTaggerFactory
-
Creates the
AdaptiveFeatureGenerator. - createFeatures(List, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.AdditionalContextFeatureGenerator
- createFeatures(List, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
-
Calls the
AdaptiveFeatureGenerator.createFeatures(List, String[], int, String[])method on all aggregatedfeature generators. - createFeatures(List, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.BigramNameFeatureGenerator
- createFeatures(List, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.BrownBigramFeatureGenerator
- createFeatures(List, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.BrownTokenClassFeatureGenerator
- createFeatures(List, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.BrownTokenFeatureGenerator
- createFeatures(List, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
- createFeatures(List, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.CharacterNgramFeatureGenerator
- createFeatures(List, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
- createFeatures(List, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.DocumentBeginFeatureGenerator
- createFeatures(List, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.InSpanGenerator
- createFeatures(List, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.OutcomePriorFeatureGenerator
- createFeatures(List, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.PosTaggerFeatureGenerator
- createFeatures(List, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.POSTaggerNameFeatureGenerator
- createFeatures(List, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.PrefixFeatureGenerator
- createFeatures(List, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.PreviousMapFeatureGenerator
- createFeatures(List, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.PreviousTwoMapFeatureGenerator
-
Generates previous decision features for the token based on contents of the previous map.
- createFeatures(List, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.SentenceFeatureGenerator
- createFeatures(List, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.SuffixFeatureGenerator
- createFeatures(List, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.TokenClassFeatureGenerator
- createFeatures(List, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.TokenFeatureGenerator
- createFeatures(List, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.TokenPatternFeatureGenerator
- createFeatures(List, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.TrigramNameFeatureGenerator
- createFeatures(List, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.WindowFeatureGenerator
- createFeatures(List, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.WordClusterFeatureGenerator
- createManifestEntries() - Method in class opennlp.tools.doccat.DoccatFactory
- createManifestEntries() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- createManifestEntries() - Method in class opennlp.tools.tokenize.TokenizerFactory
- createManifestEntries() - Method in class opennlp.tools.util.BaseToolFactory
- createSaxParser() - Static method in class opennlp.tools.util.XmlUtil
-
Create a new
SAXParserwhich processes XML securely. - createSentenceContextGenerator(String) - Method in class opennlp.tools.sentdetect.lang.Factory
- createSentenceContextGenerator(String, Set) - Method in class opennlp.tools.sentdetect.lang.Factory
- createSentenceContextGenerator(Set, char[]) - Method in class opennlp.tools.sentdetect.lang.Factory
- createSequenceCodec() - Method in class opennlp.tools.namefind.TokenNameFinderFactory
- createSequenceValidator() - Method in class opennlp.tools.namefind.BilouCodec
- createSequenceValidator() - Method in class opennlp.tools.namefind.BioCodec
- createTagDictionary(File) - Method in class opennlp.tools.postag.POSTaggerFactory
-
Initializes a
TagDictionaryfrom adictionary file. - createTagDictionary(InputStream) - Method in class opennlp.tools.postag.POSTaggerFactory
-
Initializes a
TagDictionaryfrom adictionary stream. - createTokenContextGenerator(String, Set) - Method in class opennlp.tools.tokenize.lang.Factory
-
Initializes a customized
TokenContextGeneratorvia a set ofabbreviations. - CrossValidationPartitioner<E> - Class in opennlp.tools.util.eval
-
Provides access to training and test partitions for n-fold cross validation.
- CrossValidationPartitioner(Collection, int) - Constructor for class opennlp.tools.util.eval.CrossValidationPartitioner
-
Initializes
CrossValidationPartitionerinstance. - CrossValidationPartitioner(ObjectStream, int) - Constructor for class opennlp.tools.util.eval.CrossValidationPartitioner
-
Initializes
CrossValidationPartitionerinstance. - CrossValidationPartitioner.TrainingSampleStream<E> - Class in opennlp.tools.util.eval
-
The
CrossValidationPartitioner.TrainingSampleStreamwhich iterates over all training elements. - currentVersion() - Static method in class opennlp.tools.util.Version
- CUSTOM - Enum constant in enum class opennlp.tools.postag.POSTagFormat
- cutoff(int, int) - Method in class opennlp.tools.ngram.NGramCharModel
-
Deletes all ngram which do appear less than the
cutoffUndervalue and more often than thecutoffOvervalue. - cutoff(int, int) - Method in class opennlp.tools.ngram.NGramModel
-
Deletes all ngram which do appear less than the cutoffUnder value and more often than the cutoffOver value.
D
- DANISH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- danishStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- danishStemmer() - Constructor for class opennlp.tools.stemmer.snowball.danishStemmer
- decode(List) - Method in class opennlp.tools.namefind.BilouCodec
- decode(List) - Method in class opennlp.tools.namefind.BioCodec
- decodeLemmas(String[], String[]) - Static method in class opennlp.tools.lemmatizer.LemmatizerME
-
Decodes the lemma from the word and the induced lemma class.
- DEFAULT_ALPHANUMERIC - Static variable in class opennlp.tools.tokenize.lang.Factory
- DEFAULT_BEAM_SIZE - Static variable in class opennlp.tools.chunker.ChunkerME
- DEFAULT_BEAM_SIZE - Static variable in class opennlp.tools.lemmatizer.LemmatizerME
- DEFAULT_BEAM_SIZE - Static variable in class opennlp.tools.namefind.NameFinderME
- DEFAULT_BEAM_SIZE - Static variable in class opennlp.tools.postag.POSTaggerME
-
The default beam size value is 3.
- DEFAULT_CHUNK_SIZE - Static variable in class opennlp.tools.langdetect.LanguageDetectorConfig
- DEFAULT_LANGUAGE_DETECTOR_CONFIG - Static variable in class opennlp.tools.langdetect.LanguageDetectorConfig
- DEFAULT_MAX_LENGTH - Static variable in class opennlp.tools.langdetect.LanguageDetectorConfig
- DEFAULT_MIN_CONSEC_IMPROVEMENTS - Static variable in class opennlp.tools.langdetect.LanguageDetectorConfig
- DEFAULT_MIN_DIFF - Static variable in class opennlp.tools.langdetect.LanguageDetectorConfig
- defaultAdvancePercentage - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
The default amount of probability mass required of advanced outcomes.
- defaultBeamSize - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
The default beam size used if no beam size is given.
- DefaultChunkerContextGenerator - Class in opennlp.tools.chunker
-
Features based on chunking model described in Fei Sha and Fernando Pereira.
- DefaultChunkerContextGenerator() - Constructor for class opennlp.tools.chunker.DefaultChunkerContextGenerator
-
Initializes a
DefaultChunkerContextGeneratorinstance. - DefaultChunkerSequenceValidator - Class in opennlp.tools.chunker
-
The default chunker
SequenceValidatorimplementation. - DefaultChunkerSequenceValidator() - Constructor for class opennlp.tools.chunker.DefaultChunkerSequenceValidator
- DefaultEndOfSentenceScanner - Class in opennlp.tools.sentdetect
-
Default implementation of the
EndOfSentenceScanner. - DefaultEndOfSentenceScanner(char[]) - Constructor for class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
-
Initializes the current instance.
- defaultEosCharacters - Static variable in class opennlp.tools.sentdetect.lang.Factory
- DefaultLanguageDetectorContextGenerator - Class in opennlp.tools.langdetect
-
A context generator for
language detector. - DefaultLanguageDetectorContextGenerator(int, int, CharSequenceNormalizer...) - Constructor for class opennlp.tools.langdetect.DefaultLanguageDetectorContextGenerator
-
Creates a customizable
DefaultLanguageDetectorContextGeneratorthat computes ngrams from text. - DefaultLemmatizerContextGenerator - Class in opennlp.tools.lemmatizer
-
Simple feature generator for learning statistical lemmatizers.
- DefaultLemmatizerContextGenerator() - Constructor for class opennlp.tools.lemmatizer.DefaultLemmatizerContextGenerator
- DefaultLemmatizerSequenceValidator - Class in opennlp.tools.lemmatizer
-
The default lemmatizer
SequenceValidatorimplementation. - DefaultLemmatizerSequenceValidator() - Constructor for class opennlp.tools.lemmatizer.DefaultLemmatizerSequenceValidator
- DefaultNameContextGenerator - Class in opennlp.tools.namefind
-
A
NameContextGeneratorimplementation for determining contextual features for atag-chunkstyle named-entity recognizer. - DefaultNameContextGenerator(AdaptiveFeatureGenerator...) - Constructor for class opennlp.tools.namefind.DefaultNameContextGenerator
-
Creates a name context generator with the specified
feature generators. - DefaultPOSContextGenerator - Class in opennlp.tools.postag
-
A default
context generatorfor aPOSTagger. - DefaultPOSContextGenerator(int, Dictionary) - Constructor for class opennlp.tools.postag.DefaultPOSContextGenerator
-
Initializes a
DefaultPOSContextGeneratorinstance. - DefaultPOSContextGenerator(Dictionary) - Constructor for class opennlp.tools.postag.DefaultPOSContextGenerator
-
Initializes a
DefaultPOSContextGeneratorinstance. - DefaultPOSSequenceValidator - Class in opennlp.tools.postag
-
The default POS tagger
SequenceValidatorimplementation. - DefaultPOSSequenceValidator(TagDictionary) - Constructor for class opennlp.tools.postag.DefaultPOSSequenceValidator
- DefaultSDContextGenerator - Class in opennlp.tools.sentdetect
-
Generate event contexts for maxent decisions for sentence detection.
- DefaultSDContextGenerator(char[]) - Constructor for class opennlp.tools.sentdetect.DefaultSDContextGenerator
-
Creates a new instance with no induced abbreviations.
- DefaultSDContextGenerator(Set, char[]) - Constructor for class opennlp.tools.sentdetect.DefaultSDContextGenerator
-
Creates a new
SDContextGeneratorinstance which uses the set of induced abbreviations. - DefaultTokenContextGenerator - Class in opennlp.tools.tokenize
-
A default
TokenContextGeneratorwhich produces events for maxent decisions for tokenization. - DefaultTokenContextGenerator() - Constructor for class opennlp.tools.tokenize.DefaultTokenContextGenerator
-
Initializes a plain
DefaultTokenContextGeneratorinstance. - DefaultTokenContextGenerator(Set) - Constructor for class opennlp.tools.tokenize.DefaultTokenContextGenerator
-
Initializes a customized
DefaultTokenContextGeneratorinstance via a set ofinducedAbbreviations. - DefinitionFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesOutcomePriorFeatureGeneratorinstances whenDefinitionFeatureGeneratorFactory.create()is called. - DefinitionFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.DefinitionFeatureGeneratorFactory
- DEGREES_MIN_SEC_LAT_LON - Enum constant in enum class opennlp.tools.namefind.RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER
- DetokenizationDictionary - Class in opennlp.tools.tokenize
- DetokenizationDictionary(File) - Constructor for class opennlp.tools.tokenize.DetokenizationDictionary
-
Initializes a
DetokenizationDictionaryinstance via a validFile. - DetokenizationDictionary(InputStream) - Constructor for class opennlp.tools.tokenize.DetokenizationDictionary
-
Initializes a
DetokenizationDictionaryinstance via a validInputStream. - DetokenizationDictionary(String[], DetokenizationDictionary.Operation[]) - Constructor for class opennlp.tools.tokenize.DetokenizationDictionary
-
Initializes a
DetokenizationDictionaryinstance. - DetokenizationDictionary(Path) - Constructor for class opennlp.tools.tokenize.DetokenizationDictionary
-
Initializes a
DetokenizationDictionaryinstance via a validPath. - DetokenizationDictionary.Operation - Enum Class in opennlp.tools.tokenize
- detokenize(String[]) - Method in class opennlp.tools.tokenize.DictionaryDetokenizer
- detokenize(String[], String) - Method in class opennlp.tools.tokenize.DictionaryDetokenizer
- DEV_VERSION - Static variable in class opennlp.tools.util.Version
- Dictionary - Class in opennlp.tools.dictionary
-
An iterable and serializable dictionary implementation.
- Dictionary() - Constructor for class opennlp.tools.dictionary.Dictionary
-
Initializes an empty
Dictionary. - Dictionary(boolean) - Constructor for class opennlp.tools.dictionary.Dictionary
-
Initializes an empty
Dictionary. - Dictionary(InputStream) - Constructor for class opennlp.tools.dictionary.Dictionary
-
Initializes the
Dictionaryfrom an existing dictionary resource. - DictionaryDetokenizer - Class in opennlp.tools.tokenize
-
A rule based detokenizer.
- DictionaryDetokenizer(DetokenizationDictionary) - Constructor for class opennlp.tools.tokenize.DictionaryDetokenizer
-
Initializes a
DictionaryDetokenizerinstance. - DictionaryEntryPersistor - Class in opennlp.tools.dictionary.serializer
-
A persistor used by for reading and writing
dictionariesof all kinds. - DictionaryEntryPersistor() - Constructor for class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor
- DictionaryFeatureGenerator - Class in opennlp.tools.util.featuregen
-
The
DictionaryFeatureGeneratoruses aDictionaryNameFinderto generate features for detected names based on theInSpanGenerator. - DictionaryFeatureGenerator(String, Dictionary) - Constructor for class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
-
Initializes a
DictionaryFeatureGeneratorwith the specified parameters. - DictionaryFeatureGenerator(Dictionary) - Constructor for class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
-
Initializes a
DictionaryFeatureGeneratorwith the specifiedDictionary. - DictionaryFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesDictionaryFeatureGeneratorinstances whenDictionaryFeatureGeneratorFactory.create()is called. - DictionaryFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.DictionaryFeatureGeneratorFactory
- DictionaryLemmatizer - Class in opennlp.tools.lemmatizer
-
A
Lemmatizerimplementation that works by simple dictionary lookup into aMapbuilt from a file containing, for each line: - DictionaryLemmatizer(File) - Constructor for class opennlp.tools.lemmatizer.DictionaryLemmatizer
-
Initializes a
DictionaryLemmatizerand relatedHashMapfrom the input tab separated dictionary. - DictionaryLemmatizer(File, Charset) - Constructor for class opennlp.tools.lemmatizer.DictionaryLemmatizer
-
Initializes a
DictionaryLemmatizerand relatedHashMapfrom the input tab separated dictionary. - DictionaryLemmatizer(InputStream) - Constructor for class opennlp.tools.lemmatizer.DictionaryLemmatizer
-
Initializes a
DictionaryLemmatizerand relatedHashMapfrom the input tab separated dictionary. - DictionaryLemmatizer(InputStream, Charset) - Constructor for class opennlp.tools.lemmatizer.DictionaryLemmatizer
-
Initializes a
DictionaryLemmatizerand relatedHashMapfrom the input tab separated dictionary. - DictionaryLemmatizer(Path) - Constructor for class opennlp.tools.lemmatizer.DictionaryLemmatizer
-
Initializes a
DictionaryLemmatizerand relatedHashMapfrom the input tab separated dictionary. - DictionaryNameFinder - Class in opennlp.tools.namefind
-
This is a
Dictionarybasedname finder. - DictionaryNameFinder(Dictionary) - Constructor for class opennlp.tools.namefind.DictionaryNameFinder
-
Initializes a
DictionaryNameFinderwith the providedDictionaryandDictionaryNameFinder.DEFAULT_TYPE. - DictionaryNameFinder(Dictionary, String) - Constructor for class opennlp.tools.namefind.DictionaryNameFinder
- DictionarySerializer - Class in opennlp.tools.util.model
-
An
ArtifactSerializerimplementation fordictionaries. - DictionarySerializer() - Constructor for class opennlp.tools.util.model.DictionarySerializer
- digits() - Method in class opennlp.tools.util.featuregen.StringPattern
-
Retrieves the number of digits.
- DoccatCrossValidator - Class in opennlp.tools.doccat
-
Cross validator for
DocumentCategorizer. - DoccatCrossValidator(String, TrainingParameters, DoccatFactory, DoccatEvaluationMonitor...) - Constructor for class opennlp.tools.doccat.DoccatCrossValidator
-
Instantiates a
DoccatCrossValidatorwith the givengenerators. - DoccatFactory - Class in opennlp.tools.doccat
-
The factory that provides Doccat default implementations and resources.
- DoccatFactory() - Constructor for class opennlp.tools.doccat.DoccatFactory
-
Instantiates a
DoccatFactorythat provides the default implementation of the resources. - DoccatFactory(FeatureGenerator[]) - Constructor for class opennlp.tools.doccat.DoccatFactory
-
Instantiates a
DoccatFactorythat provides the default implementation of the resources. - DoccatModel - Class in opennlp.tools.doccat
-
A model for document categorization
- DoccatModel(File) - Constructor for class opennlp.tools.doccat.DoccatModel
-
Initializes a
DoccatModelinstance via a validFile. - DoccatModel(InputStream) - Constructor for class opennlp.tools.doccat.DoccatModel
-
Initializes a
DoccatModelinstance via a validInputStream. - DoccatModel(String, MaxentModel, Map, DoccatFactory) - Constructor for class opennlp.tools.doccat.DoccatModel
-
Initializes a
DoccatModelinstance via given parameters. - DoccatModel(URL) - Constructor for class opennlp.tools.doccat.DoccatModel
-
Initializes a
DoccatModelinstance via a validURL. - DoccatModel(Path) - Constructor for class opennlp.tools.doccat.DoccatModel
-
Initializes a
DoccatModelinstance via a validPath. - DocumentBeginFeatureGenerator - Class in opennlp.tools.util.featuregen
-
This feature generator creates document begin features.
- DocumentBeginFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.DocumentBeginFeatureGenerator
- DocumentBeginFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesDocumentBeginFeatureGeneratorinstances whenDocumentBeginFeatureGeneratorFactory.create()is called. - DocumentBeginFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.DocumentBeginFeatureGeneratorFactory
- DocumentCategorizerEvaluator - Class in opennlp.tools.doccat
-
The
DocumentCategorizerEvaluatormeasures the performance of the givenDocumentCategorizerwith the provided referencesamples. - DocumentCategorizerEvaluator(DocumentCategorizer, DoccatEvaluationMonitor...) - Constructor for class opennlp.tools.doccat.DocumentCategorizerEvaluator
-
Initializes a
DocumentCategorizerEvaluatorinstance. - DocumentCategorizerEventStream - Class in opennlp.tools.doccat
-
Iterator-like class for modeling document classification events.
- DocumentCategorizerEventStream(ObjectStream) - Constructor for class opennlp.tools.doccat.DocumentCategorizerEventStream
-
Initializes a
DocumentCategorizerEventStreamvia samples. - DocumentCategorizerEventStream(ObjectStream, FeatureGenerator...) - Constructor for class opennlp.tools.doccat.DocumentCategorizerEventStream
-
Initializes a
DocumentCategorizerEventStreamvia samples andfeature generators. - DocumentCategorizerME - Class in opennlp.tools.doccat
-
A Max-Ent based implementation of
DocumentCategorizer. - DocumentCategorizerME(DoccatModel) - Constructor for class opennlp.tools.doccat.DocumentCategorizerME
-
Initializes a
DocumentCategorizerMEinstance with a doccat model. - DocumentSampleStream - Class in opennlp.tools.doccat
-
Reads in string encoded training samples, parses them and outputs
DocumentSampleobjects. - DocumentSampleStream(ObjectStream) - Constructor for class opennlp.tools.doccat.DocumentSampleStream
-
Initializes a
instance. - DONE - Static variable in class opennlp.tools.parser.treeinsert.Parser
-
Outcome used when a constituent needs an no additional parent node/building.
- downloadModel(String, ModelType, Class) - Static method in class opennlp.tools.util.DownloadUtil
-
Triggers a download for the specified
ModelType. - downloadModel(URL, Class) - Static method in class opennlp.tools.util.DownloadUtil
-
Downloads a model from a
URL. - DownloadUtil - Class in opennlp.tools.util
-
This class facilitates the downloading of pretrained OpenNLP models.
- DownloadUtil() - Constructor for class opennlp.tools.util.DownloadUtil
- dropOverlappingSpans(Span[]) - Static method in class opennlp.tools.namefind.NameFinderME
-
Removes
spanswith are intersecting or crossing in any way. - DUTCH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- dutchStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- dutchStemmer() - Constructor for class opennlp.tools.stemmer.snowball.dutchStemmer
E
- EMAIL - Enum constant in enum class opennlp.tools.namefind.RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER
- EmojiCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
EmojiCharSequenceNormalizerimplementation that normalizes text in terms of emojis. - EmojiCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.EmojiCharSequenceNormalizer
- EmptyLinePreprocessorStream - Class in opennlp.tools.sentdetect
-
ObjectStreamto clean up empty lines for empty line separated document streams.
- Skips empty line at training data start
- Transforms multiple empty lines in a row into one
- Replaces white space lines with empty lines
- TODO: Terminates last document with empty line if it is missing
This stream should be used by the components that mark empty lines to mark document boundaries. - EmptyLinePreprocessorStream(ObjectStream) - Constructor for class opennlp.tools.sentdetect.EmptyLinePreprocessorStream
- encode(Span[], int) - Method in class opennlp.tools.namefind.BilouCodec
- encode(Span[], int) - Method in class opennlp.tools.namefind.BioCodec
- encodeLemmas(String[], String[]) - Static method in class opennlp.tools.lemmatizer.LemmatizerME
-
Encodes the word given its lemmas.
- ENGLISH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- englishStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- englishStemmer() - Constructor for class opennlp.tools.stemmer.snowball.englishStemmer
- EntityLinkerFactory - Class in opennlp.tools.entitylinker
-
Generates a
EntityLinkerinstances via apropertiesfile configuration. - EntityLinkerFactory() - Constructor for class opennlp.tools.entitylinker.EntityLinkerFactory
- Entry - Record Class in opennlp.tools.dictionary.serializer
-
An
Entryis aStringListwhich can optionally be mapped to attributes. - Entry(StringList, Attributes) - Constructor for record class opennlp.tools.dictionary.serializer.Entry
-
Creates an instance of a
Entryrecord class. - EntryInserter - Interface in opennlp.tools.dictionary.serializer
- eosCharacters - Static variable in class opennlp.tools.sentdetect.lang.th.SentenceContextGenerator
- equals(Object) - Method in class opennlp.tools.dictionary.Dictionary
- equals(Object) - Method in record class opennlp.tools.dictionary.serializer.Entry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.langdetect.ProbingLanguageDetectionResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class opennlp.tools.ngram.NGramCharModel
- equals(Object) - Method in class opennlp.tools.ngram.NGramModel
- equals(Object) - Method in class opennlp.tools.parser.lang.en.HeadRules
- equals(Object) - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- equals(Object) - Method in class opennlp.tools.parser.ParserModel
- equals(Object) - Method in class opennlp.tools.postag.POSDictionary
- equals(Object) - Method in class opennlp.tools.postag.POSModel
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.catalanStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.danishStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.dutchStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.englishStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.finnishStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.frenchStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.germanStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.hungarianStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.indonesianStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.irishStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.italianStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.norwegianStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.porterStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.portugueseStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.romanianStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.russianStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.spanishStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.swedishStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- equals(Object) - Method in class opennlp.tools.tokenize.TokenizerModel
- equals(Object) - Method in class opennlp.tools.util.StringList
- equals(Object) - Method in class opennlp.tools.util.Version
- evaluate(ObjectStream, int) - Method in class opennlp.tools.chunker.ChunkerCrossValidator
-
Starts the evaluation.
- evaluate(ObjectStream, int) - Method in class opennlp.tools.doccat.DoccatCrossValidator
-
Starts the evaluation.
- evaluate(ObjectStream, int) - Method in class opennlp.tools.langdetect.LanguageDetectorCrossValidator
-
Starts the evaluation.
- evaluate(ObjectStream, int) - Method in class opennlp.tools.namefind.TokenNameFinderCrossValidator
-
Starts the evaluation.
- evaluate(ObjectStream, int) - Method in class opennlp.tools.postag.POSTaggerCrossValidator
-
Starts the evaluation.
- evaluate(ObjectStream, int) - Method in class opennlp.tools.sentdetect.SDCrossValidator
-
Starts the evaluation.
- evaluate(ObjectStream, int) - Method in class opennlp.tools.sentiment.SentimentCrossValidator
-
Performs evaluation
- evaluate(ObjectStream, int) - Method in class opennlp.tools.tokenize.TokenizerCrossValidator
-
Starts the evaluation.
- evaluate(ObjectStream) - Method in class opennlp.tools.util.eval.Evaluator
-
Reads all
sample objectsand evaluates each instance via theEvaluator.evaluateSample(Object)method. - evaluateSample(T) - Method in class opennlp.tools.util.eval.Evaluator
-
Evaluates the given reference object.
- Evaluator<T> - Class in opennlp.tools.util.eval
-
An abstract base class for evaluators.
- Evaluator(EvaluationMonitor...) - Constructor for class opennlp.tools.util.eval.Evaluator
- EVENT_MODEL_SEQUENCE_TRAINER - Enum constant in enum class opennlp.tools.ml.TrainerFactory.TrainerType
- EVENT_MODEL_TRAINER - Enum constant in enum class opennlp.tools.ml.TrainerFactory.TrainerType
- EventTraceStream - Class in opennlp.tools.util
- EventTraceStream(ObjectStream, Writer) - Constructor for class opennlp.tools.util.EventTraceStream
-
Initializes an
EventTraceStream. - extractArtifactSerializerMappings(InputStream) - Static method in class opennlp.tools.util.featuregen.GeneratorFactory
- extractFeatures(String[], Map) - Method in class opennlp.tools.doccat.BagOfWordsFeatureGenerator
- extractFeatures(String[], Map) - Method in class opennlp.tools.doccat.NGramFeatureGenerator
F
- Factory - Class in opennlp.tools.sentdetect.lang
- Factory - Class in opennlp.tools.tokenize.lang
- Factory() - Constructor for class opennlp.tools.sentdetect.lang.Factory
- Factory() - Constructor for class opennlp.tools.tokenize.lang.Factory
- FeatureGeneratorUtil - Class in opennlp.tools.util.featuregen
-
This class provide common utilities for feature generation.
- FeatureGeneratorUtil() - Constructor for class opennlp.tools.util.featuregen.FeatureGeneratorUtil
- FilterObjectStream<S,
T> - Class in opennlp.tools.util -
Abstract base class for filtering
streams. - find(String) - Method in class opennlp.tools.namefind.RegexNameFinder
-
Finds
spanswith character indices, rather than word. - find(String[]) - Method in class opennlp.tools.namefind.DictionaryNameFinder
- find(String[]) - Method in class opennlp.tools.namefind.NameFinderME
- find(String[]) - Method in class opennlp.tools.namefind.RegexNameFinder
- find(String[]) - Method in class opennlp.tools.namefind.ThreadSafeNameFinderME
- find(String[], String[][]) - Method in class opennlp.tools.namefind.NameFinderME
-
Generates name tags for the given sequence, typically a sentence, returning
token spansfor any identified names. - FINNISH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- finnishStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- finnishStemmer() - Constructor for class opennlp.tools.stemmer.snowball.finnishStemmer
- FRENCH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- frenchStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- frenchStemmer() - Constructor for class opennlp.tools.stemmer.snowball.frenchStemmer
G
- generate(char[], int, String) - Static method in class opennlp.tools.ngram.NGramGenerator
-
Generates nGrams based on a
char[]input. - generate(List, int, String) - Static method in class opennlp.tools.ngram.NGramGenerator
-
Creates nGrams separated by the separator param value i.e.
- generateEvents(String[], String[], Object[], POSContextGenerator) - Static method in class opennlp.tools.postag.POSSampleEventStream
- generateEvents(String[], String[], NameContextGenerator) - Static method in class opennlp.tools.namefind.NameFinderEventStream
-
Generates
eventsfor each token in asentencewith the specifiedoutcomesusing the specifiedNameContextGenerator. - generateEvents(String[], String[], POSContextGenerator) - Static method in class opennlp.tools.postag.POSSampleEventStream
- generateOutcomes(Span[], String, int) - Static method in class opennlp.tools.namefind.NameFinderEventStream
-
Deprecated, for removal: This API element is subject to removal in a future version.
- GeneratorFactory - Class in opennlp.tools.util.featuregen
-
Creates a set of feature generators based on a provided XML descriptor.
- GeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.GeneratorFactory
- GeneratorFactory.AbstractXmlFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
- GenericModelSerializer - Class in opennlp.tools.util.model
-
An
ArtifactSerializerimplementation formodels. - GenericModelSerializer() - Constructor for class opennlp.tools.util.model.GenericModelSerializer
- GERMAN - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- germanStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- germanStemmer() - Constructor for class opennlp.tools.stemmer.snowball.germanStemmer
- getAbbreviationDictionary() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- getAbbreviationDictionary() - Method in class opennlp.tools.tokenize.TokenizerFactory
- getAbbreviations() - Method in class opennlp.tools.sentdetect.SentenceModel
- getAbbreviations() - Method in class opennlp.tools.tokenize.TokenizerModel
- getAccuracy() - Method in class opennlp.tools.doccat.DocumentCategorizerEvaluator
-
accuracy = correctly categorized documents / total documents - getAccuracy() - Method in class opennlp.tools.langdetect.LanguageDetectorEvaluator
- getAllPosTags() - Method in class opennlp.tools.postag.POSTaggerME
- getAllResults(double[]) - Method in class opennlp.tools.doccat.DocumentCategorizerME
- getAlphanumeric(String) - Method in class opennlp.tools.tokenize.lang.Factory
-
Gets the alphanumeric pattern for a language.
- getAlphaNumericPattern() - Method in class opennlp.tools.tokenize.TokenizerFactory
- getArtifact(String) - Method in class opennlp.tools.util.model.BaseModel
- getArtifactSerializerClass() - Method in class opennlp.tools.dictionary.Dictionary
- getArtifactSerializerClass() - Method in class opennlp.tools.parser.lang.en.HeadRules
- getArtifactSerializerClass() - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- getArtifactSerializerClass() - Method in class opennlp.tools.postag.POSDictionary
- getArtifactSerializerClass() - Method in class opennlp.tools.postag.POSModel
- getArtifactSerializerClass() - Method in class opennlp.tools.util.featuregen.BrownCluster
- getArtifactSerializerClass() - Method in class opennlp.tools.util.featuregen.WordClusterDictionary
- getArtifactSerializerMapping() - Method in class opennlp.tools.util.featuregen.BrownClusterBigramFeatureGeneratorFactory
- getArtifactSerializerMapping() - Method in class opennlp.tools.util.featuregen.BrownClusterTokenClassFeatureGeneratorFactory
- getArtifactSerializerMapping() - Method in class opennlp.tools.util.featuregen.BrownClusterTokenFeatureGeneratorFactory
- getArtifactSerializerMapping() - Method in class opennlp.tools.util.featuregen.DictionaryFeatureGeneratorFactory
- getArtifactSerializerMapping() - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getArtifactSerializerMapping() - Method in class opennlp.tools.util.featuregen.POSTaggerNameFeatureGeneratorFactory
- getArtifactSerializerMapping() - Method in class opennlp.tools.util.featuregen.WordClusterFeatureGeneratorFactory
- getAttachModel() - Method in class opennlp.tools.parser.ParserModel
- getAvailableModels() - Static method in class opennlp.tools.util.DownloadUtil
- getBestCategory(double[]) - Method in class opennlp.tools.doccat.DocumentCategorizerME
- getBestSentiment(double[]) - Method in class opennlp.tools.sentiment.SentimentME
-
Returns the best chosen sentiment for the given probability distribution.
- getBool(String) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getBool(String, boolean) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getBuildModel() - Method in class opennlp.tools.parser.ParserModel
- getCachedFeatureGenerator() - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
- getCategory(int) - Method in class opennlp.tools.doccat.DocumentCategorizerME
- getCheckModel() - Method in class opennlp.tools.parser.ParserModel
- getChunkerSequenceModel() - Method in class opennlp.tools.chunker.ChunkerModel
- getChunkSize() - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
-
After processing a chunk of this size, the probing detection will compute probabilities and determine if there is enough confidence to stop.
- getContext(int, Object[], String[]) - Method in class opennlp.tools.postag.DefaultPOSContextGenerator
-
Returns the context for making a postag decision at the specified token
indexgiven the specifiedtokensand previoustags. - getContext(int, String[], String[], Object[]) - Method in class opennlp.tools.lemmatizer.DefaultLemmatizerContextGenerator
- getContext(int, String[], String[], Object[]) - Method in class opennlp.tools.namefind.DefaultNameContextGenerator
-
Finds the context for finding names at the specified index.
- getContext(int, String[], String[], Object[]) - Method in class opennlp.tools.postag.ConfigurablePOSContextGenerator
-
Returns the context for making a postag decision at the specified token
indexgiven the specifiedtokensand previoustags. - getContext(int, String[], String[], Object[]) - Method in class opennlp.tools.postag.DefaultPOSContextGenerator
-
Returns the context for making a postag decision at the specified token
indexgiven the specifiedtokensand previoustags. - getContext(int, String[], String[], Object[]) - Method in class opennlp.tools.sentiment.SentimentContextGenerator
-
Returns the context.
- getContext(int, String[], String[], String[]) - Method in class opennlp.tools.chunker.DefaultChunkerContextGenerator
- getContext(int, String[], String[], String[]) - Method in class opennlp.tools.lemmatizer.DefaultLemmatizerContextGenerator
- getContext(int, String[], String[], String[]) - Method in class opennlp.tools.parser.ChunkContextGenerator
- getContext(int, TokenTag[], String[], Object[]) - Method in class opennlp.tools.chunker.DefaultChunkerContextGenerator
- getContext(int, TokenTag[], String[], Object[]) - Method in class opennlp.tools.parser.ChunkContextGenerator
- getContext(CharSequence) - Method in class opennlp.tools.langdetect.DefaultLanguageDetectorContextGenerator
- getContext(CharSequence, int) - Method in class opennlp.tools.sentdetect.DefaultSDContextGenerator
- getContext(Object) - Method in class opennlp.tools.parser.chunking.BuildContextGenerator
- getContext(Object) - Method in class opennlp.tools.parser.chunking.CheckContextGenerator
- getContext(Object) - Method in class opennlp.tools.parser.treeinsert.AttachContextGenerator
- getContext(Object) - Method in class opennlp.tools.parser.treeinsert.BuildContextGenerator
- getContext(Object) - Method in class opennlp.tools.parser.treeinsert.CheckContextGenerator
- getContext(String[]) - Method in class opennlp.tools.sentiment.SentimentContextGenerator
-
Returns the context
- getContext(String, int) - Method in class opennlp.tools.tokenize.DefaultTokenContextGenerator
- getContext(Parse[], int) - Method in class opennlp.tools.parser.chunking.BuildContextGenerator
-
Finds the predictive context used to determine how constituent at the specified
indexshould be combined with other constituents. - getContext(Parse[], int) - Method in class opennlp.tools.parser.treeinsert.BuildContextGenerator
-
Finds the contexts/features for the decision to build a new constituent for the specified parse at the specified
index. - getContext(Parse[], int, List, int) - Method in class opennlp.tools.parser.treeinsert.AttachContextGenerator
-
Finds the predictive contextual features about an attachment.
- getContext(Parse[], String, int, int) - Method in class opennlp.tools.parser.chunking.CheckContextGenerator
-
Finds predictive context for deciding whether the specified constituents between the specified
startandendindex can be combined to form a new constituent of the specifiedtype. - getContext(Parse, Parse[], int, boolean) - Method in class opennlp.tools.parser.treeinsert.CheckContextGenerator
-
Finds the predictive context used to determine how constituent at the specified
indexshould be combined with aparentconstituent. - getContextGenerator() - Method in class opennlp.tools.chunker.ChunkerFactory
- getContextGenerator() - Method in class opennlp.tools.langdetect.LanguageDetectorFactory
- getContextGenerator() - Method in class opennlp.tools.lemmatizer.LemmatizerFactory
- getContextGenerator() - Method in class opennlp.tools.parser.ParserChunkerFactory
- getContextGenerator() - Method in class opennlp.tools.tokenize.TokenizerFactory
- getCount(CharSequence) - Method in class opennlp.tools.ngram.NGramCharModel
-
Retrieves the count of the given
ngram. - getCount(StringList) - Method in class opennlp.tools.ngram.NGramModel
-
Retrieves the count of the given ngram.
- getCurrent() - Method in class opennlp.tools.stemmer.snowball.SnowballProgram
-
Get the current string.
- getCurrentBuffer() - Method in class opennlp.tools.stemmer.snowball.SnowballProgram
-
Get the current buffer containing the stem.
- getCurrentBufferLength() - Method in class opennlp.tools.stemmer.snowball.SnowballProgram
-
Get the valid length of the character array in
SnowballProgram.getCurrentBuffer(). - getDefaultRegexNameFinders(Map, RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER...) - Static method in class opennlp.tools.namefind.RegexNameFinderFactory
-
Allows for use of selected Defaults as well as regexes from external configuration.
- getDefaultRegexNameFinders(RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER...) - Static method in class opennlp.tools.namefind.RegexNameFinderFactory
-
Retrieves a
RegexNameFinderthat will utilize specified default regexes. - getDescriptorElements(InputStream) - Static method in class opennlp.tools.util.featuregen.GeneratorFactory
-
Provides a
Listwith all the elements in the xml feature descriptor. - getDictMap() - Method in class opennlp.tools.lemmatizer.DictionaryLemmatizer
- getDocumentAccuracy() - Method in class opennlp.tools.doccat.DoccatCrossValidator
- getDocumentAccuracy() - Method in class opennlp.tools.langdetect.LanguageDetectorCrossValidator
- getDocumentCount() - Method in class opennlp.tools.doccat.DoccatCrossValidator
- getDocumentCount() - Method in class opennlp.tools.doccat.DocumentCategorizerEvaluator
- getDocumentCount() - Method in class opennlp.tools.langdetect.LanguageDetectorCrossValidator
- getDocumentCount() - Method in class opennlp.tools.langdetect.LanguageDetectorEvaluator
- getDouble(String) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getDouble(String, double) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getEndOfSentenceScanner() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- getEosCharacters() - Method in class opennlp.tools.sentdetect.SentenceModel
- getEOSCharacters() - Method in class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
- getEOSCharacters() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- getEOSCharacters(String) - Method in class opennlp.tools.sentdetect.lang.Factory
- getEventModelSequenceTrainer(TrainingParameters, Map) - Static method in class opennlp.tools.ml.TrainerFactory
-
Retrieves an
EventModelSequenceTrainerthat fits the given parameters. - getEventTrainer(TrainingParameters, Map) - Static method in class opennlp.tools.ml.TrainerFactory
-
Works just like
TrainerFactory.getEventTrainer(TrainingParameters, Map, TrainingConfiguration)except thatTrainingConfigurationis initialized with default values. - getEventTrainer(TrainingParameters, Map, TrainingConfiguration) - Static method in class opennlp.tools.ml.TrainerFactory
-
Retrieves an
EventTrainerthat fits the given parameters. - getFactory() - Method in class opennlp.tools.chunker.ChunkerModel
- getFactory() - Method in class opennlp.tools.doccat.DoccatModel
- getFactory() - Method in class opennlp.tools.langdetect.LanguageDetectorModel
- getFactory() - Method in class opennlp.tools.lemmatizer.LemmatizerModel
- getFactory() - Method in class opennlp.tools.namefind.TokenNameFinderModel
- getFactory() - Method in class opennlp.tools.postag.POSModel
- getFactory() - Method in class opennlp.tools.sentdetect.SentenceModel
- getFactory() - Method in class opennlp.tools.sentiment.SentimentModel
- getFactory() - Method in class opennlp.tools.tokenize.TokenizerModel
- getFeatureGenerators() - Method in class opennlp.tools.doccat.DoccatFactory
- getFloat(String) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getFloat(String, float) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getFMeasure() - Method in class opennlp.tools.chunker.ChunkerCrossValidator
- getFMeasure() - Method in class opennlp.tools.chunker.ChunkerEvaluator
- getFMeasure() - Method in class opennlp.tools.namefind.TokenNameFinderCrossValidator
- getFMeasure() - Method in class opennlp.tools.namefind.TokenNameFinderEvaluator
- getFMeasure() - Method in class opennlp.tools.sentdetect.SDCrossValidator
- getFMeasure() - Method in class opennlp.tools.sentdetect.SentenceDetectorEvaluator
- getFMeasure() - Method in class opennlp.tools.sentiment.SentimentCrossValidator
-
Returns the F-Measure
- getFMeasure() - Method in class opennlp.tools.sentiment.SentimentEvaluator
- getFMeasure() - Method in class opennlp.tools.tokenize.TokenizerCrossValidator
- getFMeasure() - Method in class opennlp.tools.tokenize.TokenizerEvaluator
- getGenerators() - Method in class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
-
Retrieves a
Collectionsof all aggregatedfeature generators. - getGuessedFormat() - Method in class opennlp.tools.postag.POSTagFormatMapper
- getGuessedFormat() - Method in class opennlp.tools.postag.POSTagFormatMapper.NoOp
- getHead(Parse[], String) - Method in class opennlp.tools.parser.lang.en.HeadRules
- getHead(Parse[], String) - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- getHeadRules() - Method in class opennlp.tools.parser.ParserModel
- getIndex(String) - Method in class opennlp.tools.doccat.DocumentCategorizerME
- getInitialChunks(Parse) - Static method in class opennlp.tools.parser.AbstractParserEventStream
- getInitialChunks(Parse) - Static method in class opennlp.tools.parser.ChunkSampleStream
- getInstance() - Static method in class opennlp.tools.util.normalizer.EmojiCharSequenceNormalizer
- getInstance() - Static method in class opennlp.tools.util.normalizer.NumberCharSequenceNormalizer
- getInstance() - Static method in class opennlp.tools.util.normalizer.ShrinkCharSequenceNormalizer
- getInstance() - Static method in class opennlp.tools.util.normalizer.TwitterCharSequenceNormalizer
- getInstance() - Static method in class opennlp.tools.util.normalizer.UrlCharSequenceNormalizer
- getInt(String) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getInt(String, int) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getLanguage() - Method in class opennlp.tools.util.model.BaseModel
- getLanguageCode() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- getLanguageCode() - Method in class opennlp.tools.tokenize.TokenizerFactory
- getLemmatizerSequenceModel() - Method in class opennlp.tools.lemmatizer.LemmatizerModel
- getLinker(String, EntityLinkerProperties) - Static method in class opennlp.tools.entitylinker.EntityLinkerFactory
-
Retrieves a
EntityLinkerinstance matching thepropertiesconfiguration. - getLinker(EntityLinkerProperties) - Static method in class opennlp.tools.entitylinker.EntityLinkerFactory
-
Retrieves a
EntityLinkerinstance matching thepropertiesconfiguration. - getLong(String) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getLong(String, long) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getMajor() - Method in class opennlp.tools.util.Version
- getManifestProperty(String) - Method in class opennlp.tools.util.model.BaseModel
- getMatchingPatterns() - Method in class opennlp.tools.namefind.RegexNameFinder
- getMaxentModel() - Method in class opennlp.tools.doccat.DoccatModel
- getMaxentModel() - Method in class opennlp.tools.langdetect.LanguageDetectorModel
- getMaxentModel() - Method in class opennlp.tools.sentdetect.SentenceModel
- getMaxentModel() - Method in class opennlp.tools.sentiment.SentimentModel
- getMaxentModel() - Method in class opennlp.tools.tokenize.TokenizerModel
- getMaxLength() - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
- getMaxTokenCount() - Method in class opennlp.tools.dictionary.Dictionary
- getMinConsecImprovements() - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
-
If this value equals
0, probing detection will rely solely onLanguageDetectorConfig.getMinDiff() - getMinDiff() - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
-
If this value equals
0, probing detection will rely solely onLanguageDetectorConfig.getMinConsecImprovements() - getMinor() - Method in class opennlp.tools.util.Version
- getMinTokenCount() - Method in class opennlp.tools.dictionary.Dictionary
- getNameFinderSequenceModel() - Method in class opennlp.tools.namefind.TokenNameFinderModel
- getNGrams(String[], int) - Static method in class opennlp.tools.ngram.NGramUtils
-
Get the ngrams of dimension n of a certain input sequence of tokens.
- getNGrams(StringList, int) - Static method in class opennlp.tools.ngram.NGramUtils
-
Get the ngrams of dimension n of a certain input sequence of tokens.
- getNMinusOneTokenFirst(StringList) - Static method in class opennlp.tools.ngram.NGramUtils
-
get the (n-1)th ngram of a given ngram, that is the same ngram except the last word in the ngram
- getNMinusOneTokenLast(StringList) - Static method in class opennlp.tools.ngram.NGramUtils
-
get the (n-1)th ngram of a given ngram, that is the same ngram except the first word in the ngram
- getNumberOfCacheHits() - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
- getNumberOfCacheMisses() - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
- getNumberOfCategories() - Method in class opennlp.tools.doccat.DocumentCategorizerME
- getOrderedTags(List, List, int) - Method in class opennlp.tools.postag.POSTaggerME
- getOrderedTags(List, List, int, double[]) - Method in class opennlp.tools.postag.POSTaggerME
- getParserChunkerModel() - Method in class opennlp.tools.parser.ParserModel
- getParserTaggerModel() - Method in class opennlp.tools.parser.ParserModel
- getParserType() - Method in class opennlp.tools.parser.ParserModel
- getPOSContextGenerator() - Method in class opennlp.tools.postag.POSTaggerFactory
- getPOSContextGenerator(int) - Method in class opennlp.tools.postag.POSTaggerFactory
- getPositions(char[]) - Method in class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
- getPositions(CharSequence) - Method in class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
- getPositions(StringBuffer) - Method in class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
- getPosSequenceModel() - Method in class opennlp.tools.postag.POSModel
- getProbabilities() - Method in class opennlp.tools.tokenize.ThreadSafeTokenizerME
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
ThreadSafeTokenizerME.probs()instead. - getPunctuationTags() - Method in class opennlp.tools.parser.lang.en.HeadRules
- getPunctuationTags() - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- getRegexMap() - Method in interface opennlp.tools.namefind.RegexNameFinderFactory.RegexAble
- getResultBuffer() - Method in class opennlp.tools.stemmer.PorterStemmer
-
Returns a reference to a character buffer containing the results of the stemming process.
- getResultLength() - Method in class opennlp.tools.stemmer.PorterStemmer
-
Returns the length of the word resulting from the stemming process.
- getRevision() - Method in class opennlp.tools.util.Version
- getRightFrontier(Parse, Set) - Static method in class opennlp.tools.parser.treeinsert.Parser
-
Returns the right frontier of the specified
treewith nodes ordered from deepest to shallowest. - getSDContextGenerator() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- getSentenceProbabilities() - Method in class opennlp.tools.sentdetect.SentenceDetectorME
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
SentenceDetectorME.probs()instead. - getSentenceProbabilities() - Method in class opennlp.tools.sentdetect.ThreadSafeSentenceDetectorME
-
Deprecated.Use
ThreadSafeSentenceDetectorME.probs()instead. - getSequenceCodec() - Method in class opennlp.tools.namefind.TokenNameFinderModel
- getSequenceModelTrainer(TrainingParameters, Map) - Static method in class opennlp.tools.ml.TrainerFactory
-
Retrieves a
SequenceTrainerthat fits the given parameters. - getSequenceValidator() - Method in class opennlp.tools.chunker.ChunkerFactory
- getSequenceValidator() - Method in class opennlp.tools.lemmatizer.LemmatizerFactory
- getSequenceValidator() - Method in class opennlp.tools.parser.ParserChunkerFactory
- getSequenceValidator() - Method in class opennlp.tools.postag.POSTaggerFactory
- getSpanType() - Method in class opennlp.tools.namefind.RegexNameFinder
- getStr(String) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getStr(String, String) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getSupportedLanguages() - Method in class opennlp.tools.langdetect.LanguageDetectorME
- getSupportedLanguages() - Method in class opennlp.tools.langdetect.ThreadSafeLanguageDetectorME
- getTagDictionary() - Method in class opennlp.tools.postag.POSTaggerFactory
- getTags(String) - Method in class opennlp.tools.postag.POSDictionary
-
Returns a list of valid tags for the specified
word. - getTestSampleStream() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner.TrainingSampleStream
-
Retrieves the
ObjectStreamover the test/evaluations elements and poisons thisCrossValidationPartitioner.TrainingSampleStream. - getToken(int) - Method in class opennlp.tools.util.StringList
- getTokenizer() - Method in class opennlp.tools.sentiment.SentimentFactory
- getTokenProbabilities() - Method in class opennlp.tools.tokenize.TokenizerME
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
TokenizerME.probs()instead. - getTrainerType(Parameters) - Static method in class opennlp.tools.ml.TrainerFactory
-
Determines the
TrainerFactory.TrainerTypebased on theParameters.ALGORITHM_PARAMvalue. - getType() - Method in interface opennlp.tools.namefind.RegexNameFinderFactory.RegexAble
- getValue() - Method in class opennlp.tools.util.MutableInt
- getValue(String) - Method in class opennlp.tools.dictionary.serializer.Attributes
-
Retrieves the value for the given key or
nullif attribute it not set. - getVersion() - Method in class opennlp.tools.util.model.BaseModel
- getWordAccuracy() - Method in class opennlp.tools.lemmatizer.LemmatizerEvaluator
-
Accuracy is defined as:
word accuracy = correctly detected tags / total words - getWordAccuracy() - Method in class opennlp.tools.postag.POSEvaluator
-
Accuracy defined as:
word accuracy = correctly detected tags / total words - getWordAccuracy() - Method in class opennlp.tools.postag.POSTaggerCrossValidator
- getWordClasses(String, BrownCluster) - Static method in class opennlp.tools.util.featuregen.BrownTokenClasses
-
It provides a list containing the pathLengths for a token if found in the Map:token,BrownClass.
- getWordCount() - Method in class opennlp.tools.lemmatizer.LemmatizerEvaluator
- getWordCount() - Method in class opennlp.tools.postag.POSEvaluator
- getWordCount() - Method in class opennlp.tools.postag.POSTaggerCrossValidator
- Glove - Class in opennlp.tools.util.wordvector
-
GloVe is an unsupervised learning algorithm for obtaining vector representations for words.
- GREEK - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- greekStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- greekStemmer() - Constructor for class opennlp.tools.stemmer.snowball.greekStemmer
- guessFormat(POSModel) - Static method in class opennlp.tools.postag.POSTagFormatMapper
-
Guesses the
POSTagFormatof a givenPOSModel
H
- hashCode() - Method in class opennlp.tools.dictionary.Dictionary
- hashCode() - Method in record class opennlp.tools.dictionary.serializer.Entry
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.langdetect.ProbingLanguageDetectionResult
-
Returns a hash code value for this object.
- hashCode() - Method in class opennlp.tools.ngram.NGramCharModel
- hashCode() - Method in class opennlp.tools.ngram.NGramModel
- hashCode() - Method in class opennlp.tools.parser.lang.en.HeadRules
- hashCode() - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- hashCode() - Method in class opennlp.tools.parser.ParserModel
- hashCode() - Method in class opennlp.tools.postag.POSDictionary
- hashCode() - Method in class opennlp.tools.postag.POSModel
- hashCode() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.catalanStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.danishStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.dutchStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.englishStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.finnishStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.frenchStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.germanStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.hungarianStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.indonesianStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.irishStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.italianStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.norwegianStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.porterStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.portugueseStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.romanianStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.russianStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.spanishStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.swedishStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- hashCode() - Method in class opennlp.tools.tokenize.TokenizerModel
- hashCode() - Method in class opennlp.tools.util.StringList
- hashCode() - Method in class opennlp.tools.util.Version
- hasNext() - Method in class opennlp.tools.tokenize.lang.en.TokenSampleStream
- hasNext() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner
-
Checks if there are more partitions available.
- HeadRules - Class in opennlp.tools.parser.lang.en
-
Class for storing the English
HeadRulesassociated with parsing. - HeadRules(Reader) - Constructor for class opennlp.tools.parser.lang.en.HeadRules
-
Creates a new set of head rules based on the specified reader.
- HeadRules.HeadRulesSerializer - Class in opennlp.tools.parser.lang.en
- HeadRulesSerializer() - Constructor for class opennlp.tools.parser.lang.en.HeadRules.HeadRulesSerializer
- HeadRulesSerializer() - Constructor for class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules.HeadRulesSerializer
- HUNGARIAN - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- hungarianStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- hungarianStemmer() - Constructor for class opennlp.tools.stemmer.snowball.hungarianStemmer
I
- INCOMPLETE - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
Outcome used when a constituent is incomplete.
- increment() - Method in class opennlp.tools.util.MutableInt
-
Adds
1to the curren value. - Index - Class in opennlp.tools.dictionary
-
This classes indexes
string lists. - Index(Iterator) - Constructor for class opennlp.tools.dictionary.Index
- INDONESIAN - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- indonesianStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- indonesianStemmer() - Constructor for class opennlp.tools.stemmer.snowball.indonesianStemmer
- init() - Method in class opennlp.tools.langdetect.LanguageDetectorFactory
- init() - Method in class opennlp.tools.parser.treeinsert.ParserEventStream
- insert(Entry) - Method in interface opennlp.tools.dictionary.serializer.EntryInserter
- InSpanGenerator - Class in opennlp.tools.util.featuregen
-
Generates features if the tokens are recognized by the provided
TokenNameFinder. - InSpanGenerator(String, TokenNameFinder) - Constructor for class opennlp.tools.util.featuregen.InSpanGenerator
-
Initializes a
InSpanGeneratorinstance. - INSTANCE - Static variable in class opennlp.tools.tokenize.SimpleTokenizer
-
Use this static reference to retrieve an instance of the
SimpleTokenizer. - instantiateSequenceCodec(String) - Static method in class opennlp.tools.namefind.TokenNameFinderFactory
-
Initializes a
SequenceCodecinstance via given parameters. - intern(String) - Static method in class opennlp.tools.util.jvm.StringInterners
-
Interns and returns a reference to the representative instance for any collection of string instances that are equal to each other.
- IRISH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- irishStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- irishStemmer() - Constructor for class opennlp.tools.stemmer.snowball.irishStemmer
- isAllCapitalLetter() - Method in class opennlp.tools.util.featuregen.StringPattern
- isAllDigit() - Method in class opennlp.tools.util.featuregen.StringPattern
- isAllHiragana() - Method in class opennlp.tools.util.featuregen.StringPattern
- isAllKatakana() - Method in class opennlp.tools.util.featuregen.StringPattern
- isAllLetter() - Method in class opennlp.tools.util.featuregen.StringPattern
- isAllLowerCaseLetter() - Method in class opennlp.tools.util.featuregen.StringPattern
- isCaseSensitive() - Method in class opennlp.tools.dictionary.Dictionary
- isCaseSensitive() - Method in class opennlp.tools.postag.POSDictionary
- isCaseSensitive() - Method in class opennlp.tools.util.StringList
- isInitialCapitalLetter() - Method in class opennlp.tools.util.featuregen.StringPattern
- isLoadedFromSerialized() - Method in class opennlp.tools.util.model.BaseModel
- isSnapshot() - Method in class opennlp.tools.util.Version
- isUseAlphaNumericOptimization() - Method in class opennlp.tools.tokenize.TokenizerFactory
- isUseTokenEnd() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- isValid(Parameters) - Static method in class opennlp.tools.ml.TrainerFactory
- ITALIAN - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- italianStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- italianStemmer() - Constructor for class opennlp.tools.stemmer.snowball.italianStemmer
- iterator() - Method in class opennlp.tools.dictionary.Dictionary
- iterator() - Method in class opennlp.tools.dictionary.serializer.Attributes
-
Iterates over the keys.
- iterator() - Method in class opennlp.tools.ngram.NGramCharModel
- iterator() - Method in class opennlp.tools.ngram.NGramModel
-
Retrieves an
Iteratorover allStringListentries. - iterator() - Method in class opennlp.tools.postag.POSDictionary
-
Retrieves an
Iteratorover all words in the dictionary. - iterator() - Method in class opennlp.tools.util.StringList
J
- jpnEosCharacters - Static variable in class opennlp.tools.sentdetect.lang.Factory
L
- labelGaps(Stack) - Method in class opennlp.tools.parser.lang.en.HeadRules
- labelGaps(Stack) - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- LanguageDetectorConfig - Class in opennlp.tools.langdetect
- LanguageDetectorConfig() - Constructor for class opennlp.tools.langdetect.LanguageDetectorConfig
- LanguageDetectorCrossValidator - Class in opennlp.tools.langdetect
-
Cross validator for
LanguageDetector. - LanguageDetectorCrossValidator(TrainingParameters, LanguageDetectorFactory, LanguageDetectorEvaluationMonitor...) - Constructor for class opennlp.tools.langdetect.LanguageDetectorCrossValidator
-
Initializes a
LanguageDetectorCrossValidatorwith the givenparameters. - LanguageDetectorEvaluator - Class in opennlp.tools.langdetect
-
The
LanguageDetectorEvaluatormeasures the performance of the givenLanguageDetectorwith the provided referenceLanguageSamples. - LanguageDetectorEvaluator(LanguageDetector, LanguageDetectorEvaluationMonitor...) - Constructor for class opennlp.tools.langdetect.LanguageDetectorEvaluator
-
Initializes an instance to evaluate a
LanguageDetector. - LanguageDetectorEventStream - Class in opennlp.tools.langdetect
-
Iterator-like class for modeling an event stream of
samples. - LanguageDetectorEventStream(ObjectStream, LanguageDetectorContextGenerator) - Constructor for class opennlp.tools.langdetect.LanguageDetectorEventStream
-
Initializes an instance via samples and feature generators.
- LanguageDetectorFactory - Class in opennlp.tools.langdetect
-
Default factory used by
LanguageDetector. - LanguageDetectorFactory() - Constructor for class opennlp.tools.langdetect.LanguageDetectorFactory
- LanguageDetectorME - Class in opennlp.tools.langdetect
-
Implements a learnable
LanguageDetector. - LanguageDetectorME(LanguageDetectorModel) - Constructor for class opennlp.tools.langdetect.LanguageDetectorME
-
Initializes an instance with a specific
LanguageDetectorModel. - LanguageDetectorModel - Class in opennlp.tools.langdetect
-
The
LanguageDetectorModelis the model used by a learnableLanguageDetector. - LanguageDetectorModel(File) - Constructor for class opennlp.tools.langdetect.LanguageDetectorModel
-
Initializes a
LanguageDetectorModelinstance via a validFile. - LanguageDetectorModel(InputStream) - Constructor for class opennlp.tools.langdetect.LanguageDetectorModel
-
Initializes a
LanguageDetectorModelinstance via a validInputStream. - LanguageDetectorModel(URL) - Constructor for class opennlp.tools.langdetect.LanguageDetectorModel
-
Initializes a
LanguageDetectorModelinstance via a validURL. - LanguageDetectorModel(MaxentModel, Map, LanguageDetectorFactory) - Constructor for class opennlp.tools.langdetect.LanguageDetectorModel
-
Initializes a
LanguageDetectorModelinstance via given parameters. - LanguageDetectorSampleStream - Class in opennlp.tools.langdetect
-
This class reads in string encoded
training samples, parses them and outputsLanguageSampleobjects. - LanguageDetectorSampleStream(ObjectStream) - Constructor for class opennlp.tools.langdetect.LanguageDetectorSampleStream
-
Initializes a
instance. - languages() - Method in record class opennlp.tools.langdetect.ProbingLanguageDetectionResult
-
Returns the value of the
languagesrecord component. - LAST - Static variable in class opennlp.tools.namefind.BilouCodec
- LEMMA_NUMBER - Static variable in class opennlp.tools.lemmatizer.LemmatizerME
- LemmaSampleEventStream - Class in opennlp.tools.lemmatizer
-
Class for creating an event stream out of data files for training a probabilistic
Lemmatizer. - LemmaSampleEventStream(ObjectStream, LemmatizerContextGenerator) - Constructor for class opennlp.tools.lemmatizer.LemmaSampleEventStream
-
Creates a new event stream based on the specified data stream using a
LemmatizerContextGenerator. - LemmaSampleSequenceStream - Class in opennlp.tools.lemmatizer
-
A
SequenceStreamimplementation encapsulatingsamples. - LemmaSampleSequenceStream(ObjectStream, LemmatizerContextGenerator) - Constructor for class opennlp.tools.lemmatizer.LemmaSampleSequenceStream
- LemmaSampleStream - Class in opennlp.tools.lemmatizer
-
Reads data for training and testing the
Lemmatizer. - LemmaSampleStream(ObjectStream) - Constructor for class opennlp.tools.lemmatizer.LemmaSampleStream
-
Initializes a
instance. - lemmatize(String[], String[]) - Method in class opennlp.tools.lemmatizer.DictionaryLemmatizer
- lemmatize(String[], String[]) - Method in class opennlp.tools.lemmatizer.LemmatizerME
- lemmatize(String[], String[]) - Method in class opennlp.tools.lemmatizer.ThreadSafeLemmatizerME
- lemmatize(List, List) - Method in class opennlp.tools.lemmatizer.DictionaryLemmatizer
- lemmatize(List, List) - Method in class opennlp.tools.lemmatizer.LemmatizerME
- lemmatize(List, List) - Method in class opennlp.tools.lemmatizer.ThreadSafeLemmatizerME
- LemmatizerEvaluator - Class in opennlp.tools.lemmatizer
-
The
LemmatizerEvaluatormeasures the performance of the givenLemmatizerwith the provided referencesamples. - LemmatizerEvaluator(Lemmatizer, LemmatizerEvaluationMonitor...) - Constructor for class opennlp.tools.lemmatizer.LemmatizerEvaluator
-
Initializes a
LemmatizerEvaluatorinstance with the givenLemmatizer. - LemmatizerFactory - Class in opennlp.tools.lemmatizer
-
The factory that provides
Lemmatizerdefault implementation and resources. - LemmatizerFactory() - Constructor for class opennlp.tools.lemmatizer.LemmatizerFactory
-
Instantiates a
LemmatizerFactorythat provides the default implementation of the resources. - LemmatizerME - Class in opennlp.tools.lemmatizer
-
A probabilistic
Lemmatizerimplementation. - LemmatizerME(LemmatizerModel) - Constructor for class opennlp.tools.lemmatizer.LemmatizerME
- LemmatizerModel - Class in opennlp.tools.lemmatizer
-
The
LemmatizerModelis the model used by a learnableLemmatizer. - LemmatizerModel(File) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
-
Initializes a
LemmatizerModelinstance via a validFile. - LemmatizerModel(InputStream) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
-
Initializes a
LemmatizerModelinstance via a validInputStream. - LemmatizerModel(String, MaxentModel, int, Map, LemmatizerFactory) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
-
Initializes a
LemmatizerModelinstance via given parameters. - LemmatizerModel(String, MaxentModel, Map, LemmatizerFactory) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
-
Initializes a
LemmatizerModelinstance via given parameters. - LemmatizerModel(String, MaxentModel, LemmatizerFactory) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
-
Initializes a
LemmatizerModelinstance via given parameters. - LemmatizerModel(String, SequenceClassificationModel, Map, LemmatizerFactory) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
-
Initializes a
LemmatizerModelinstance via given parameters. - LemmatizerModel(URL) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
-
Initializes a
LemmatizerModelinstance via a validURL. - LemmatizerModel(Path) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
-
Initializes a
LemmatizerModelinstance via a validPath. - length() - Method in record class opennlp.tools.langdetect.ProbingLanguageDetectionResult
-
Returns the value of the
lengthrecord component. - LogPrintStream - Class in opennlp.tools.log
-
This class serves as an adapter for a
Loggerused within aPrintStream. - LogPrintStream(Logger) - Constructor for class opennlp.tools.log.LogPrintStream
-
Creates a
LogPrintStreamfor the givenLogger. - LogPrintStream(Logger, Level) - Constructor for class opennlp.tools.log.LogPrintStream
- lookupToken(String) - Method in class opennlp.tools.util.featuregen.BrownCluster
-
Check if a token is in the Brown:paths, token map.
- lookupToken(String) - Method in class opennlp.tools.util.featuregen.WordClusterDictionary
M
- mergeReportIntoManifest(Map, Map, String) - Static method in class opennlp.tools.parser.chunking.Parser
- MGRS - Enum constant in enum class opennlp.tools.namefind.RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER
- ModelUtil - Class in opennlp.tools.util.model
-
Utility class for handling of
models. - MOVE_BOTH - Enum constant in enum class opennlp.tools.tokenize.DetokenizationDictionary.Operation
-
Attaches the token to the token on the left and right sides.
- MOVE_LEFT - Enum constant in enum class opennlp.tools.tokenize.DetokenizationDictionary.Operation
-
Attaches the token to the token on the left side.
- MOVE_RIGHT - Enum constant in enum class opennlp.tools.tokenize.DetokenizationDictionary.Operation
-
Attaches the token to the token on the right side.
- MutableInt - Class in opennlp.tools.util
-
This is a non-thread safe mutable int.
- MutableInt(int) - Constructor for class opennlp.tools.util.MutableInt
N
- NameFinderEventStream - Class in opennlp.tools.namefind
-
Class for creating an event stream out of data files for training an
TokenNameFinder. - NameFinderEventStream(ObjectStream, String, NameContextGenerator, SequenceCodec) - Constructor for class opennlp.tools.namefind.NameFinderEventStream
- NameFinderME - Class in opennlp.tools.namefind
-
A maximum-entropy-based
name finderimplementation. - NameFinderME(TokenNameFinderModel) - Constructor for class opennlp.tools.namefind.NameFinderME
-
Initializes a
NameFinderMEwith aTokenNameFinderModel. - NameFinderSequenceValidator - Class in opennlp.tools.namefind
-
The default name finder
SequenceValidatorimplementation. - NameFinderSequenceValidator() - Constructor for class opennlp.tools.namefind.NameFinderSequenceValidator
- NameSampleDataStream - Class in opennlp.tools.namefind
-
The
NameSampleDataStreamclass converts tagged tokens provided by a DataStream toNameSampleobjects. - NameSampleDataStream(ObjectStream) - Constructor for class opennlp.tools.namefind.NameSampleDataStream
-
Initializes a
NameSampleDataStreamwith givenpsisamples. - NameSampleSequenceStream - Class in opennlp.tools.namefind
-
A
SequenceStreamimplementation encapsulatingsamples. - NameSampleSequenceStream(ObjectStream) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
-
Initializes a
NameSampleSequenceStreamwith givenpsisamples. - NameSampleSequenceStream(ObjectStream, NameContextGenerator) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
- NameSampleSequenceStream(ObjectStream, NameContextGenerator, boolean) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
- NameSampleSequenceStream(ObjectStream, NameContextGenerator, boolean, SequenceCodec) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
- NameSampleSequenceStream(ObjectStream, AdaptiveFeatureGenerator) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
- NameSampleSequenceStream(ObjectStream, AdaptiveFeatureGenerator, boolean) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
- NameSampleTypeFilter - Class in opennlp.tools.namefind
-
A
streamwhich removesname sampleswhich do not have a certain type. - NameSampleTypeFilter(String[], ObjectStream) - Constructor for class opennlp.tools.namefind.NameSampleTypeFilter
-
Initializes a
NameSampleTypeFilter. - NameSampleTypeFilter(Set, ObjectStream) - Constructor for class opennlp.tools.namefind.NameSampleTypeFilter
-
Initializes a
NameSampleTypeFilter. - NewlineSentenceDetector - Class in opennlp.tools.sentdetect
-
The Newline
SentenceDetectorassumes that sentences are line delimited and recognizes one sentence per non-empty line. - NewlineSentenceDetector() - Constructor for class opennlp.tools.sentdetect.NewlineSentenceDetector
- next() - Method in class opennlp.tools.tokenize.lang.en.TokenSampleStream
- next() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner
-
Retrieves the next training and test partitions.
- NEXT_PREFIX - Static variable in class opennlp.tools.util.featuregen.WindowFeatureGenerator
- NGramCharModel - Class in opennlp.tools.ngram
-
The
NGramCharModelcan be used to create character ngrams. - NGramCharModel() - Constructor for class opennlp.tools.ngram.NGramCharModel
-
Initializes an empty instance.
- NGramFeatureGenerator - Class in opennlp.tools.doccat
-
Generates ngram features for a document.
- NGramFeatureGenerator() - Constructor for class opennlp.tools.doccat.NGramFeatureGenerator
-
Instantiates an
NGramFeatureGeneratorinstance with a Bi grams config. - NGramFeatureGenerator(int, int) - Constructor for class opennlp.tools.doccat.NGramFeatureGenerator
-
Instantiates an
NGramFeatureGeneratorinstance with configurable ngram parameters. - NGramGenerator - Class in opennlp.tools.ngram
-
Generates an nGram, via an optional separator, and returns the grams as a list of strings
- NGramGenerator() - Constructor for class opennlp.tools.ngram.NGramGenerator
- NGramLanguageModel - Class in opennlp.tools.languagemodel
-
A
LanguageModelbased on aNGramModelusing Stupid Backoff to get the probabilities of the ngrams. - NGramLanguageModel() - Constructor for class opennlp.tools.languagemodel.NGramLanguageModel
-
Initializes an
NGramLanguageModelwithNGramLanguageModel.DEFAULT_N. - NGramLanguageModel(int) - Constructor for class opennlp.tools.languagemodel.NGramLanguageModel
-
Initializes an
NGramLanguageModelwith the givennfor the ngram size. - NGramLanguageModel(InputStream) - Constructor for class opennlp.tools.languagemodel.NGramLanguageModel
-
Initializes a
NGramLanguageModelinstance via a validInputStream. - NGramLanguageModel(InputStream, int) - Constructor for class opennlp.tools.languagemodel.NGramLanguageModel
-
Initializes a
NGramLanguageModelinstance via a validInputStream. - NGramModel - Class in opennlp.tools.ngram
-
The
NGramModelcan be used to crate ngrams and character ngrams. - NGramModel() - Constructor for class opennlp.tools.ngram.NGramModel
-
Instantiates an empty
NGramModelinstance. - NGramModel(InputStream) - Constructor for class opennlp.tools.ngram.NGramModel
-
Instantiates a
NGramModelvia anInputStreamreference. - NGramUtils - Class in opennlp.tools.ngram
-
Utility class for ngrams.
- NGramUtils() - Constructor for class opennlp.tools.ngram.NGramUtils
- NO_SPLIT - Static variable in class opennlp.tools.sentdetect.SentenceDetectorME
-
Constant indicates no sentence split.
- NO_SPLIT - Static variable in class opennlp.tools.tokenize.TokenizerME
-
Constant indicates no token split.
- NON_ATTACH - Static variable in class opennlp.tools.parser.treeinsert.Parser
-
Outcome used when a node should not be attached to another node.
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.AggregateCharSequenceNormalizer
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.EmojiCharSequenceNormalizer
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.NumberCharSequenceNormalizer
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.ShrinkCharSequenceNormalizer
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.TwitterCharSequenceNormalizer
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.UrlCharSequenceNormalizer
- NORWEGIAN - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- norwegianStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- norwegianStemmer() - Constructor for class opennlp.tools.stemmer.snowball.norwegianStemmer
- NumberCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
NumberCharSequenceNormalizerimplementation that normalizes text in terms of numbers. - NumberCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.NumberCharSequenceNormalizer
- numberOfGrams() - Method in class opennlp.tools.ngram.NGramCharModel
-
Retrieves the total count of all Ngrams.
- numberOfGrams() - Method in class opennlp.tools.ngram.NGramModel
-
Retrieves the total count of all Ngrams.
O
- opennlp.tools.chunker - package opennlp.tools.chunker
- opennlp.tools.dictionary - package opennlp.tools.dictionary
- opennlp.tools.dictionary.serializer - package opennlp.tools.dictionary.serializer
- opennlp.tools.doccat - package opennlp.tools.doccat
- opennlp.tools.entitylinker - package opennlp.tools.entitylinker
- opennlp.tools.langdetect - package opennlp.tools.langdetect
- opennlp.tools.languagemodel - package opennlp.tools.languagemodel
- opennlp.tools.lemmatizer - package opennlp.tools.lemmatizer
- opennlp.tools.log - package opennlp.tools.log
- opennlp.tools.ml - package opennlp.tools.ml
- opennlp.tools.namefind - package opennlp.tools.namefind
- opennlp.tools.ngram - package opennlp.tools.ngram
- opennlp.tools.parser - package opennlp.tools.parser
- opennlp.tools.parser.chunking - package opennlp.tools.parser.chunking
- opennlp.tools.parser.lang.en - package opennlp.tools.parser.lang.en
- opennlp.tools.parser.lang.es - package opennlp.tools.parser.lang.es
- opennlp.tools.parser.treeinsert - package opennlp.tools.parser.treeinsert
- opennlp.tools.postag - package opennlp.tools.postag
- opennlp.tools.sentdetect - package opennlp.tools.sentdetect
- opennlp.tools.sentdetect.lang - package opennlp.tools.sentdetect.lang
- opennlp.tools.sentdetect.lang.th - package opennlp.tools.sentdetect.lang.th
-
Package related to the processing of Thai data.
- opennlp.tools.sentiment - package opennlp.tools.sentiment
- opennlp.tools.stemmer - package opennlp.tools.stemmer
- opennlp.tools.stemmer.snowball - package opennlp.tools.stemmer.snowball
- opennlp.tools.tokenize - package opennlp.tools.tokenize
- opennlp.tools.tokenize.lang - package opennlp.tools.tokenize.lang
- opennlp.tools.tokenize.lang.en - package opennlp.tools.tokenize.lang.en
- opennlp.tools.util - package opennlp.tools.util
- opennlp.tools.util.eval - package opennlp.tools.util.eval
- opennlp.tools.util.featuregen - package opennlp.tools.util.featuregen
- opennlp.tools.util.jvm - package opennlp.tools.util.jvm
- opennlp.tools.util.model - package opennlp.tools.util.model
- opennlp.tools.util.normalizer - package opennlp.tools.util.normalizer
- opennlp.tools.util.wordvector - package opennlp.tools.util.wordvector
- OTHER - Static variable in class opennlp.tools.namefind.BilouCodec
- OTHER - Static variable in class opennlp.tools.namefind.BioCodec
- OTHER - Static variable in class opennlp.tools.namefind.NameFinderME
- OTHER - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
Outcome for token which is not contained in a basal constituent.
- OutcomePriorFeatureGenerator - Class in opennlp.tools.util.featuregen
-
The definition feature maps the underlying distribution of outcomes.
- OutcomePriorFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.OutcomePriorFeatureGenerator
P
- parse(InputStream) - Static method in class opennlp.tools.util.wordvector.Glove
-
Parses a glove vector plain text file.
- parse(String) - Static method in enum class opennlp.tools.tokenize.DetokenizationDictionary.Operation
- parse(String) - Static method in class opennlp.tools.util.Version
- parse(Parse) - Method in class opennlp.tools.parser.AbstractBottomUpParser
- parse(Parse, int) - Method in class opennlp.tools.parser.AbstractBottomUpParser
- parseOneEntryPerLine(Reader) - Static method in class opennlp.tools.dictionary.Dictionary
-
Reads a
Dictionarywhich has one entry per line. - Parser - Class in opennlp.tools.parser.chunking
-
A shift reduce style
Parserimplementation based on Adwait Ratnaparkhi's 1998 thesis. - Parser - Class in opennlp.tools.parser.treeinsert
-
A built-attach
Parserimplementation. - Parser(ParserModel) - Constructor for class opennlp.tools.parser.chunking.Parser
-
Instantiates a
Parservia a givenmodel. - Parser(ParserModel) - Constructor for class opennlp.tools.parser.treeinsert.Parser
-
Instantiates a
Parservia a givenmodel. - Parser(ParserModel, int, double) - Constructor for class opennlp.tools.parser.chunking.Parser
-
Instantiates a
Parservia a givenmodeland other configuration parameters. - Parser(ParserModel, int, double) - Constructor for class opennlp.tools.parser.treeinsert.Parser
-
Instantiates a
Parservia a givenmodeland other configuration parameters. - ParserChunkerFactory - Class in opennlp.tools.parser
- ParserChunkerFactory() - Constructor for class opennlp.tools.parser.ParserChunkerFactory
- ParserChunkerSequenceValidator - Class in opennlp.tools.parser
-
The parser chunker
SequenceValidatorimplementation. - ParserChunkerSequenceValidator(String[]) - Constructor for class opennlp.tools.parser.ParserChunkerSequenceValidator
- ParserEventStream - Class in opennlp.tools.parser.chunking
-
Wrapper class for one of four
shift-reduce parserevent streams. - ParserEventStream - Class in opennlp.tools.parser.treeinsert
-
Wrapper class for one of four
built-attach parserevent streams. - ParserEventStream(ObjectStream, HeadRules, ParserEventTypeEnum) - Constructor for class opennlp.tools.parser.chunking.ParserEventStream
- ParserEventStream(ObjectStream, HeadRules, ParserEventTypeEnum) - Constructor for class opennlp.tools.parser.treeinsert.ParserEventStream
- ParserEventStream(ObjectStream, HeadRules, ParserEventTypeEnum, Dictionary) - Constructor for class opennlp.tools.parser.chunking.ParserEventStream
- ParserEventStream(ObjectStream, HeadRules, ParserEventTypeEnum, Dictionary) - Constructor for class opennlp.tools.parser.treeinsert.ParserEventStream
- ParserFactory - Class in opennlp.tools.parser
- ParserModel - Class in opennlp.tools.parser
-
This is the default
ParserModelimplementation. - ParserModel(File) - Constructor for class opennlp.tools.parser.ParserModel
-
Initializes a
ParserModelinstance via a validFile. - ParserModel(InputStream) - Constructor for class opennlp.tools.parser.ParserModel
-
Initializes a
ParserModelinstance via a validInputStream. - ParserModel(String, MaxentModel, MaxentModel, MaxentModel, POSModel, ChunkerModel, HeadRules, ParserType) - Constructor for class opennlp.tools.parser.ParserModel
-
Initializes a
ParserModelinstance via given parameters. - ParserModel(String, MaxentModel, MaxentModel, MaxentModel, POSModel, ChunkerModel, HeadRules, ParserType, Map) - Constructor for class opennlp.tools.parser.ParserModel
-
Initializes a
ParserModelinstance via given parameters. - ParserModel(String, MaxentModel, MaxentModel, POSModel, ChunkerModel, HeadRules, ParserType, Map) - Constructor for class opennlp.tools.parser.ParserModel
-
Initializes a
ParserModelinstance via given parameters. - ParserModel(URL) - Constructor for class opennlp.tools.parser.ParserModel
-
Initializes a
ParserModelinstance via a validURL. - ParserModel(Path) - Constructor for class opennlp.tools.parser.ParserModel
-
Initializes a
ParserModelinstance via a validPath. - ParseSampleStream - Class in opennlp.tools.parser
- ParseSampleStream(ObjectStream) - Constructor for class opennlp.tools.parser.ParseSampleStream
-
Initializes a
instance. - pathLengths - Static variable in class opennlp.tools.util.featuregen.BrownTokenClasses
- PENN - Enum constant in enum class opennlp.tools.postag.POSTagFormat
- populatePOSDictionary(ObjectStream, MutableTagDictionary, int) - Static method in class opennlp.tools.postag.POSTaggerME
-
Populates a
POSDictionaryfrom anObjectStreamof samples. - PORTER - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- porterStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- porterStemmer() - Constructor for class opennlp.tools.stemmer.snowball.porterStemmer
- PorterStemmer - Class in opennlp.tools.stemmer
-
A
Stemmer, implementing the Porter Stemming Algorithm - PorterStemmer() - Constructor for class opennlp.tools.stemmer.PorterStemmer
- PORTUGUESE - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- portugueseStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- portugueseStemmer() - Constructor for class opennlp.tools.stemmer.snowball.portugueseStemmer
- POSDictionary - Class in opennlp.tools.postag
-
Provides a means of determining which tags are valid for a particular word based on a
TagDictionaryread from a file. - POSDictionary() - Constructor for class opennlp.tools.postag.POSDictionary
-
Initializes an empty case sensitive
POSDictionary. - POSDictionary(boolean) - Constructor for class opennlp.tools.postag.POSDictionary
-
Initializes an empty
POSDictionary. - POSDictionarySerializer() - Constructor for class opennlp.tools.postag.POSTaggerFactory.POSDictionarySerializer
- POSEvaluator - Class in opennlp.tools.postag
-
The
POSEvaluatormeasures the performance of the givenPOSTaggerwith the provided referencesamples. - POSEvaluator(POSTagger, POSTaggerEvaluationMonitor...) - Constructor for class opennlp.tools.postag.POSEvaluator
-
Initializes the current instance.
- POSModel - Class in opennlp.tools.postag
-
The
POSModelis the model used by a learnablePOSTagger. - POSModel(File) - Constructor for class opennlp.tools.postag.POSModel
- POSModel(InputStream) - Constructor for class opennlp.tools.postag.POSModel
-
Initializes a
POSModelinstance via a validInputStream. - POSModel(String, MaxentModel, int, Map, POSTaggerFactory) - Constructor for class opennlp.tools.postag.POSModel
-
Initializes a
POSModelinstance via given parameters. - POSModel(String, MaxentModel, Map, POSTaggerFactory) - Constructor for class opennlp.tools.postag.POSModel
-
Initializes a
POSModelinstance via given parameters. - POSModel(String, SequenceClassificationModel, Map, POSTaggerFactory) - Constructor for class opennlp.tools.postag.POSModel
-
Initializes a
POSModelinstance via given parameters. - POSModel(URL) - Constructor for class opennlp.tools.postag.POSModel
- POSModel(Path) - Constructor for class opennlp.tools.postag.POSModel
- POSModelSerializer - Class in opennlp.tools.util.model
-
An
ArtifactSerializerimplementation formodels. - POSModelSerializer() - Constructor for class opennlp.tools.util.model.POSModelSerializer
- POSSampleEventStream - Class in opennlp.tools.postag
-
Reads the
samplesfrom anIteratorand converts those samples intoeventswhich can be used by the maxent library for training. - POSSampleEventStream(ObjectStream) - Constructor for class opennlp.tools.postag.POSSampleEventStream
-
Initializes the current instance with given samples and a
DefaultPOSContextGenerator. - POSSampleEventStream(ObjectStream, POSContextGenerator) - Constructor for class opennlp.tools.postag.POSSampleEventStream
-
Initializes the current instance with the given samples and a
POSContextGenerator. - POSSampleSequenceStream - Class in opennlp.tools.postag
-
A
SequenceStreamimplementation encapsulatingsamples. - POSSampleSequenceStream(ObjectStream) - Constructor for class opennlp.tools.postag.POSSampleSequenceStream
- POSSampleSequenceStream(ObjectStream, POSContextGenerator) - Constructor for class opennlp.tools.postag.POSSampleSequenceStream
- PosSampleStream - Class in opennlp.tools.parser
- PosSampleStream(ObjectStream) - Constructor for class opennlp.tools.parser.PosSampleStream
-
Initializes a
instance. - POSTagFormat - Enum Class in opennlp.tools.postag
-
Defines the format for part-of-speech tagging, i.e.
- POSTagFormatMapper - Class in opennlp.tools.postag
-
A mapping implementation for converting between different POS tag formats.
- POSTagFormatMapper.NoOp - Class in opennlp.tools.postag
- POSTaggerCrossValidator - Class in opennlp.tools.postag
- POSTaggerCrossValidator(String, TrainingParameters, File, byte[], Map, Integer, String, POSTagFormat, POSTaggerEvaluationMonitor...) - Constructor for class opennlp.tools.postag.POSTaggerCrossValidator
-
Initializes a
POSTaggerCrossValidatorthat builds a ngram dictionary dynamically. - POSTaggerCrossValidator(String, TrainingParameters, File, byte[], Map, Integer, String, POSTaggerEvaluationMonitor...) - Constructor for class opennlp.tools.postag.POSTaggerCrossValidator
-
Initializes a
POSTaggerCrossValidatorthat builds a ngram dictionary dynamically. - POSTaggerCrossValidator(String, TrainingParameters, POSTaggerFactory, POSTagFormat, POSTaggerEvaluationMonitor...) - Constructor for class opennlp.tools.postag.POSTaggerCrossValidator
-
Creates a
POSTaggerCrossValidatorusing the givenPOSTaggerFactory. - POSTaggerCrossValidator(String, TrainingParameters, POSTaggerFactory, POSTaggerEvaluationMonitor...) - Constructor for class opennlp.tools.postag.POSTaggerCrossValidator
-
Creates a
POSTaggerCrossValidatorusing the givenPOSTaggerFactory. - POSTaggerFactory - Class in opennlp.tools.postag
-
The factory that provides
POSTaggerdefault implementations and resources. - POSTaggerFactory() - Constructor for class opennlp.tools.postag.POSTaggerFactory
-
Initializes a
POSTaggerFactorythat provides the default implementation of the resources. - POSTaggerFactory(byte[], Map, TagDictionary) - Constructor for class opennlp.tools.postag.POSTaggerFactory
-
Initializes a
POSTaggerFactoryfrom a given set of the resources. - POSTaggerFactory.POSDictionarySerializer - Class in opennlp.tools.postag
- PosTaggerFeatureGenerator - Class in opennlp.tools.util.featuregen
-
A POS tagging driven feature generator.
- PosTaggerFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.PosTaggerFeatureGenerator
- PosTaggerFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesPosTaggerFeatureGeneratorinstances whenPosTaggerFeatureGeneratorFactory.create()is called. - PosTaggerFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.PosTaggerFeatureGeneratorFactory
- POSTaggerME - Class in opennlp.tools.postag
-
A
part-of-speech taggerimplementation that uses maximum entropy. - POSTaggerME(String) - Constructor for class opennlp.tools.postag.POSTaggerME
-
Initializes a
POSTaggerMEby downloading a default model for a givenlanguage. - POSTaggerME(String, POSTagFormat) - Constructor for class opennlp.tools.postag.POSTaggerME
-
Initializes a
POSTaggerMEby downloading a default model for a givenlanguage. - POSTaggerME(POSModel) - Constructor for class opennlp.tools.postag.POSTaggerME
-
Initializes a
POSTaggerMEwith the providedmodel. - POSTaggerME(POSModel, POSTagFormat) - Constructor for class opennlp.tools.postag.POSTaggerME
-
Initializes a
POSTaggerMEwith the providedmodel. - POSTaggerNameFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Adds the token POS tag as feature.
- POSTaggerNameFeatureGenerator(POSModel) - Constructor for class opennlp.tools.util.featuregen.POSTaggerNameFeatureGenerator
-
Initializes a
POSTaggerNameFeatureGeneratorwith the specifiedPOSModel. - POSTaggerNameFeatureGenerator(POSTagger) - Constructor for class opennlp.tools.util.featuregen.POSTaggerNameFeatureGenerator
-
Initializes a
POSTaggerNameFeatureGeneratorwith the specifiedPOSTagger. - POSTaggerNameFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesPOSTaggerNameFeatureGeneratorinstances whenPOSTaggerNameFeatureGeneratorFactory.create()is called. - POSTaggerNameFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.POSTaggerNameFeatureGeneratorFactory
- predict(String) - Method in class opennlp.tools.sentiment.SentimentME
- predict(String[]) - Method in class opennlp.tools.sentiment.SentimentME
- predictLanguage(CharSequence) - Method in class opennlp.tools.langdetect.LanguageDetectorME
- predictLanguage(CharSequence) - Method in class opennlp.tools.langdetect.ThreadSafeLanguageDetectorME
- predictLanguages(CharSequence) - Method in class opennlp.tools.langdetect.LanguageDetectorME
- predictLanguages(CharSequence) - Method in class opennlp.tools.langdetect.ThreadSafeLanguageDetectorME
- predictLemmas(int, String[], String[]) - Method in class opennlp.tools.lemmatizer.LemmatizerME
-
Predict all possible lemmas (using a default upper bound).
- predictNextTokens(String...) - Method in class opennlp.tools.languagemodel.NGramLanguageModel
- predictSES(String[], String[]) - Method in class opennlp.tools.lemmatizer.LemmatizerME
-
Predict Short Edit Script (automatically induced lemma class).
- PrefixFeatureGenerator - Class in opennlp.tools.util.featuregen
-
A feature generator implementation that generates prefix-based features.
- PrefixFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.PrefixFeatureGenerator
-
Intializes a default
PrefixFeatureGenerator. - PrefixFeatureGenerator(int) - Constructor for class opennlp.tools.util.featuregen.PrefixFeatureGenerator
-
Intializes a
PrefixFeatureGeneratorwith the specifiedprefixLength. - PrefixFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesPrefixFeatureGeneratorinstances whenPrefixFeatureGeneratorFactory.create()is called. - PrefixFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.PrefixFeatureGeneratorFactory
- PREV_PREFIX - Static variable in class opennlp.tools.util.featuregen.WindowFeatureGenerator
- PreviousMapFeatureGenerator - Class in opennlp.tools.util.featuregen
-
This
AdaptiveFeatureGeneratorgenerates features indicating the outcome associated with a previously occurring word. - PreviousMapFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.PreviousMapFeatureGenerator
- PreviousMapFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesPreviousMapFeatureGeneratorinstances whenPreviousMapFeatureGeneratorFactory.create()is called. - PreviousMapFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.PreviousMapFeatureGeneratorFactory
- PreviousTwoMapFeatureGenerator - Class in opennlp.tools.util.featuregen
-
This
AdaptiveFeatureGeneratorgenerates features indicating the outcome associated with two previously occurring words. - PreviousTwoMapFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.PreviousTwoMapFeatureGenerator
- printf(String, Object...) - Method in class opennlp.tools.log.LogPrintStream
- println(String) - Method in class opennlp.tools.log.LogPrintStream
- probabilities(String[]) - Method in class opennlp.tools.sentiment.SentimentME
-
Returns the probability distribution over sentiment labels for the given tokens.
- ProbingLanguageDetectionResult - Record Class in opennlp.tools.langdetect
-
A data container encapsulating language detection results.
- ProbingLanguageDetectionResult(Language[], int) - Constructor for record class opennlp.tools.langdetect.ProbingLanguageDetectionResult
-
Creates an instance of a
ProbingLanguageDetectionResultrecord class. - probingPredictLanguages(CharSequence) - Method in class opennlp.tools.langdetect.LanguageDetectorME
-
This will stop processing early if the stopping criteria specified in
LanguageDetectorConfig.DEFAULT_LANGUAGE_DETECTOR_CONFIGare met. - probingPredictLanguages(CharSequence, LanguageDetectorConfig) - Method in class opennlp.tools.langdetect.LanguageDetectorME
-
This will stop processing early if the stopping criteria specified in
LanguageDetectorConfig.DEFAULT_LANGUAGE_DETECTOR_CONFIGare met. - probs() - Method in class opennlp.tools.chunker.ChunkerME
-
The sequence was determined based on the previous call to
ChunkerME.chunk(String[], String[]). - probs() - Method in class opennlp.tools.chunker.ThreadSafeChunkerME
- probs() - Method in class opennlp.tools.lemmatizer.LemmatizerME
-
The sequence was determined based on the previous call to
LemmatizerME.lemmatize(String[], String[]). - probs() - Method in class opennlp.tools.lemmatizer.ThreadSafeLemmatizerME
- probs() - Method in class opennlp.tools.namefind.NameFinderME
-
The sequence was determined based on the previous call to
NameFinderME.find(String[]). - probs() - Method in class opennlp.tools.namefind.ThreadSafeNameFinderME
- probs() - Method in class opennlp.tools.postag.POSTaggerME
-
The sequence was determined based on the previous call to
POSTaggerME.tag(String[]). - probs() - Method in class opennlp.tools.postag.ThreadSafePOSTaggerME
- probs() - Method in class opennlp.tools.sentdetect.SentenceDetectorME
-
The sequence was determined based on the previous call to
SentenceDetectorME.sentDetect(CharSequence). - probs() - Method in class opennlp.tools.sentdetect.ThreadSafeSentenceDetectorME
- probs() - Method in class opennlp.tools.tokenize.ThreadSafeTokenizerME
- probs() - Method in class opennlp.tools.tokenize.TokenizerME
-
The sequence was determined based on the previous call to
TokenizerME.tokenizePos(String). - probs(double[]) - Method in class opennlp.tools.chunker.ChunkerME
-
Populates the specified array with the probabilities of the last decoded sequence.
- probs(double[]) - Method in class opennlp.tools.lemmatizer.LemmatizerME
-
Populates the specified array with the probabilities of the last decoded sequence.
- probs(double[]) - Method in class opennlp.tools.namefind.NameFinderME
-
Populates the specified array with the probabilities of the last decoded sequence.
- probs(double[]) - Method in class opennlp.tools.postag.POSTaggerME
-
Populates the specified
probsarray with the probabilities for each tag of the last tagged sentence. - probs(Span[]) - Method in class opennlp.tools.namefind.NameFinderME
-
Retrieves an array of probabilities for each of the specified spans which is the arithmetic mean of the probabilities for each of the outcomes which make up the span.
- processSample(DocumentSample) - Method in class opennlp.tools.doccat.DocumentCategorizerEvaluator
-
Evaluates the given reference
sample. - processSample(LanguageSample) - Method in class opennlp.tools.langdetect.LanguageDetectorEvaluator
-
Evaluates the given reference
LanguageSampleobject. - ptEosCharacters - Static variable in class opennlp.tools.sentdetect.lang.Factory
- put(String, String...) - Method in class opennlp.tools.postag.POSDictionary
- put(StringList) - Method in class opennlp.tools.dictionary.Dictionary
-
Adds the tokens to the dictionary as one new entry.
R
- read() - Method in class opennlp.tools.chunker.ChunkSampleSequenceStream
- read() - Method in class opennlp.tools.chunker.ChunkSampleStream
- read() - Method in class opennlp.tools.doccat.DocumentSampleStream
- read() - Method in class opennlp.tools.langdetect.LanguageDetectorSampleStream
- read() - Method in class opennlp.tools.lemmatizer.LemmaSampleSequenceStream
- read() - Method in class opennlp.tools.lemmatizer.LemmaSampleStream
- read() - Method in class opennlp.tools.namefind.NameSampleDataStream
- read() - Method in class opennlp.tools.namefind.NameSampleSequenceStream
- read() - Method in class opennlp.tools.namefind.NameSampleTypeFilter
- read() - Method in class opennlp.tools.parser.ChunkSampleStream
- read() - Method in class opennlp.tools.parser.ParseSampleStream
- read() - Method in class opennlp.tools.parser.PosSampleStream
- read() - Method in class opennlp.tools.postag.POSSampleSequenceStream
- read() - Method in class opennlp.tools.postag.WordTagSampleStream
-
Reads the next tokens and parses it into the next
POSSampleobject. - read() - Method in class opennlp.tools.sentdetect.EmptyLinePreprocessorStream
- read() - Method in class opennlp.tools.sentdetect.SentenceSampleStream
- read() - Method in class opennlp.tools.sentiment.SentimentSampleStream
-
Reads the text.
- read() - Method in class opennlp.tools.sentiment.SentimentSampleTypeFilter
- read() - Method in class opennlp.tools.tokenize.TokenizerStream
- read() - Method in class opennlp.tools.tokenize.TokenSampleStream
- read() - Method in class opennlp.tools.tokenize.WhitespaceTokenStream
- read() - Method in class opennlp.tools.util.AbstractEventStream
- read() - Method in class opennlp.tools.util.CollectionObjectStream
- read() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner.TrainingSampleStream
- read() - Method in class opennlp.tools.util.EventTraceStream
- read(InputStream) - Static method in class opennlp.tools.util.model.ModelUtil
-
Reads from the provided
InputStreaminto a byte array. - recognize(String) - Static method in class opennlp.tools.util.featuregen.StringPattern
- reduceChunks(Parse[], int, Parse) - Static method in class opennlp.tools.parser.chunking.ParserEventStream
- RegexNameFinder - Class in opennlp.tools.namefind
-
A
TokenNameFinderimplementation based on a series of regular expressions. - RegexNameFinder(Map) - Constructor for class opennlp.tools.namefind.RegexNameFinder
-
Initializes a
RegexNameFinderinstance. - RegexNameFinder(Pattern[], String) - Constructor for class opennlp.tools.namefind.RegexNameFinder
-
Initializes a
RegexNameFinderinstance. - RegexNameFinderFactory - Class in opennlp.tools.namefind
-
Returns a
RegexNameFinderbased on a selection of defaults or a configuration and a selection of defaults. - RegexNameFinderFactory() - Constructor for class opennlp.tools.namefind.RegexNameFinderFactory
- RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER - Enum Class in opennlp.tools.namefind
-
Enumeration of typical regex expressions available in OpenNLP.
- RegexNameFinderFactory.RegexAble - Interface in opennlp.tools.namefind
- register(Map) - Static method in class opennlp.tools.util.model.GenericModelSerializer
-
Registers a new
GenericModelSerializerin the givenfactoriesmapping. - remove() - Method in class opennlp.tools.tokenize.lang.en.TokenSampleStream
- remove(CharSequence) - Method in class opennlp.tools.ngram.NGramCharModel
-
Removes the specified
ngramis from aNGramCharModel. - remove(StringList) - Method in class opennlp.tools.dictionary.Dictionary
-
Removes the given tokens form the current instance.
- remove(StringList) - Method in class opennlp.tools.ngram.NGramModel
-
Removes the specified tokens form the NGram model, they are just dropped.
- replaceNewLineEscapeTags(String) - Static method in class opennlp.tools.sentdetect.SentenceSampleStream
- reset() - Method in class opennlp.tools.chunker.ChunkSampleSequenceStream
- reset() - Method in class opennlp.tools.lemmatizer.LemmaSampleSequenceStream
- reset() - Method in class opennlp.tools.namefind.NameSampleSequenceStream
- reset() - Method in class opennlp.tools.postag.POSSampleSequenceStream
- reset() - Method in class opennlp.tools.stemmer.PorterStemmer
-
reset() resets the stemmer so it can stem another word.
- reset() - Method in class opennlp.tools.tokenize.TokenizerStream
- reset() - Method in class opennlp.tools.util.AbstractEventStream
- reset() - Method in class opennlp.tools.util.CollectionObjectStream
- reset() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner.TrainingSampleStream
-
Resets the training sample.
- reset() - Method in class opennlp.tools.util.FilterObjectStream
- RIGHT_LEFT_MATCHING - Enum constant in enum class opennlp.tools.tokenize.DetokenizationDictionary.Operation
-
Attaches the token to the right token on first occurrence, and to the token on the left side on the second occurrence.
- ROMANIAN - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- romanianStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- romanianStemmer() - Constructor for class opennlp.tools.stemmer.snowball.romanianStemmer
- RUSSIAN - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- russianStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- russianStemmer() - Constructor for class opennlp.tools.stemmer.snowball.russianStemmer
S
- scoreMap(String[]) - Method in class opennlp.tools.doccat.DocumentCategorizerME
- SDCrossValidator - Class in opennlp.tools.sentdetect
-
A cross validator for
sentence detectors. - SDCrossValidator(String, TrainingParameters, SentenceDetectorFactory, SentenceDetectorEvaluationMonitor...) - Constructor for class opennlp.tools.sentdetect.SDCrossValidator
- SDEventStream - Class in opennlp.tools.sentdetect
- SDEventStream(ObjectStream, SDContextGenerator, EndOfSentenceScanner) - Constructor for class opennlp.tools.sentdetect.SDEventStream
-
Initializes the current instance.
- sentDetect(CharSequence) - Method in class opennlp.tools.sentdetect.NewlineSentenceDetector
- sentDetect(CharSequence) - Method in class opennlp.tools.sentdetect.SentenceDetectorME
-
Detects sentences in given input
CharSequence.. - sentDetect(CharSequence) - Method in class opennlp.tools.sentdetect.ThreadSafeSentenceDetectorME
- SentenceContextGenerator - Class in opennlp.tools.sentdetect.lang.th
-
Creates contexts/features for end-of-sentence detection in Thai text.
- SentenceContextGenerator() - Constructor for class opennlp.tools.sentdetect.lang.th.SentenceContextGenerator
- SentenceDetectorEvaluator - Class in opennlp.tools.sentdetect
-
The
SentenceDetectorEvaluatormeasures the performance of the givenSentenceDetectorwith the provided referenceSentenceSamples. - SentenceDetectorEvaluator(SentenceDetector, SentenceDetectorEvaluationMonitor...) - Constructor for class opennlp.tools.sentdetect.SentenceDetectorEvaluator
-
Initializes the current instance.
- SentenceDetectorFactory - Class in opennlp.tools.sentdetect
-
The factory that provides
SentenceDetectordefault implementations and resources - SentenceDetectorFactory() - Constructor for class opennlp.tools.sentdetect.SentenceDetectorFactory
-
Creates a
SentenceDetectorFactorythat provides the default implementation of the resources. - SentenceDetectorFactory(String, boolean, Dictionary, char[]) - Constructor for class opennlp.tools.sentdetect.SentenceDetectorFactory
-
Creates a
SentenceDetectorFactory. - SentenceDetectorME - Class in opennlp.tools.sentdetect
-
A sentence detector for splitting up raw text into sentences.
- SentenceDetectorME(String) - Constructor for class opennlp.tools.sentdetect.SentenceDetectorME
-
Initializes the sentence detector by downloading a default model.
- SentenceDetectorME(SentenceModel) - Constructor for class opennlp.tools.sentdetect.SentenceDetectorME
-
Initializes the current instance.
- SentenceDetectorME(SentenceModel, Dictionary) - Constructor for class opennlp.tools.sentdetect.SentenceDetectorME
-
Instantiates a
SentenceDetectorMEwith an existingSentenceModel. - SentenceDetectorME(SentenceModel, Factory) - Constructor for class opennlp.tools.sentdetect.SentenceDetectorME
-
Deprecated.Use a
SentenceDetectorFactoryto extend SentenceDetector functionality. - SentenceFeatureGenerator - Class in opennlp.tools.util.featuregen
-
This feature generator creates sentence begin and end features.
- SentenceFeatureGenerator(boolean, boolean) - Constructor for class opennlp.tools.util.featuregen.SentenceFeatureGenerator
- SentenceFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesSentenceFeatureGeneratorinstances whenSentenceFeatureGeneratorFactory.create()is called. - SentenceFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.SentenceFeatureGeneratorFactory
- SentenceModel - Class in opennlp.tools.sentdetect
-
The
SentenceModelis the model used by a learnableSentenceDetector. - SentenceModel(File) - Constructor for class opennlp.tools.sentdetect.SentenceModel
-
Initializes a
SentenceModelinstance via a validFile. - SentenceModel(InputStream) - Constructor for class opennlp.tools.sentdetect.SentenceModel
-
Initializes a
SentenceModelinstance via a validInputStream. - SentenceModel(String, MaxentModel, Map, SentenceDetectorFactory) - Constructor for class opennlp.tools.sentdetect.SentenceModel
-
Initializes a
SentenceModelinstance via given parameters. - SentenceModel(URL) - Constructor for class opennlp.tools.sentdetect.SentenceModel
-
Initializes a
SentenceModelinstance via a validURL. - SentenceModel(Path) - Constructor for class opennlp.tools.sentdetect.SentenceModel
-
Initializes a
SentenceModelinstance via a validPath. - SentenceSampleStream - Class in opennlp.tools.sentdetect
-
This class is a stream filter which reads a sentence by line samples from an
ObjectStreamand converts them intoSentenceSampleobjects. - SentenceSampleStream(ObjectStream) - Constructor for class opennlp.tools.sentdetect.SentenceSampleStream
- SentimentContextGenerator - Class in opennlp.tools.sentiment
-
Class for using a Context Generator for Sentiment Analysis.
- SentimentContextGenerator() - Constructor for class opennlp.tools.sentiment.SentimentContextGenerator
- SentimentContextGenerator(AdaptiveFeatureGenerator[]) - Constructor for class opennlp.tools.sentiment.SentimentContextGenerator
- SentimentCrossValidator - Class in opennlp.tools.sentiment
-
Class for performing cross validation on the Sentiment Analysis Parser.
- SentimentCrossValidator(String, TrainingParameters, SentimentFactory, SentimentEvaluationMonitor[]) - Constructor for class opennlp.tools.sentiment.SentimentCrossValidator
-
Constructor
- SentimentEvaluator - Class in opennlp.tools.sentiment
-
The
SentimentEvaluatormeasures the performance of the givenSentimentMEwith the provided referenceSentimentSamples. - SentimentEvaluator(SentimentME, SentimentEvaluationMonitor...) - Constructor for class opennlp.tools.sentiment.SentimentEvaluator
-
Initializes the current instance.
- SentimentEventStream - Class in opennlp.tools.sentiment
-
Class for creating events for Sentiment Analysis that is later sent to MaxEnt.
- SentimentEventStream(ObjectStream, SentimentContextGenerator) - Constructor for class opennlp.tools.sentiment.SentimentEventStream
-
Instantiates a
event stream. - SentimentFactory - Class in opennlp.tools.sentiment
-
Class for creating sentiment factories for training.
- SentimentFactory() - Constructor for class opennlp.tools.sentiment.SentimentFactory
- SentimentME - Class in opennlp.tools.sentiment
-
A
SentimentDetectorimplementation for creating and using maximum-entropy-based Sentiment Analysis models. - SentimentME(SentimentModel) - Constructor for class opennlp.tools.sentiment.SentimentME
-
Instantiates a
SentimentMEwith the specified model. - SentimentModel - Class in opennlp.tools.sentiment
-
Class for the basis of the Sentiment Analysis model.
- SentimentModel(File) - Constructor for class opennlp.tools.sentiment.SentimentModel
-
Instantiates a
SentimentModelmodel via aFilereference. - SentimentModel(InputStream) - Constructor for class opennlp.tools.sentiment.SentimentModel
-
Instantiates a
SentimentModelmodel via aInputStreamreference. - SentimentModel(String, MaxentModel, Map, SentimentFactory) - Constructor for class opennlp.tools.sentiment.SentimentModel
-
Instantiates a
SentimentModelmodel. - SentimentModel(URL) - Constructor for class opennlp.tools.sentiment.SentimentModel
-
Instantiates a
SentimentModelmodel via aURLreference. - SentimentSampleStream - Class in opennlp.tools.sentiment
-
Class for converting Strings through Data Stream to
SentimentSampleusing tokenised text. - SentimentSampleStream(ObjectStream) - Constructor for class opennlp.tools.sentiment.SentimentSampleStream
-
Instantiates a
SentimentSampleStreamobject. - SentimentSampleTypeFilter - Class in opennlp.tools.sentiment
-
Class for creating a type filter.
- SentimentSampleTypeFilter(String[], ObjectStream) - Constructor for class opennlp.tools.sentiment.SentimentSampleTypeFilter
-
Constructor
- SentimentSampleTypeFilter(Set, ObjectStream) - Constructor for class opennlp.tools.sentiment.SentimentSampleTypeFilter
-
Instantiates a
SentimentSampleTypeFilterobject. - sentPosDetect(CharSequence) - Method in class opennlp.tools.sentdetect.NewlineSentenceDetector
- sentPosDetect(CharSequence) - Method in class opennlp.tools.sentdetect.SentenceDetectorME
-
Detects the position of the first words of sentences in a
CharSequence. - sentPosDetect(CharSequence) - Method in class opennlp.tools.sentdetect.ThreadSafeSentenceDetectorME
- SEQUENCE_TRAINER - Enum constant in enum class opennlp.tools.ml.TrainerFactory.TrainerType
- serialize(byte[], OutputStream) - Method in class opennlp.tools.util.model.ByteArraySerializer
- serialize(File) - Method in class opennlp.tools.util.model.BaseModel
-
Serializes the model to the specified
File. - serialize(OutputStream) - Method in class opennlp.tools.dictionary.Dictionary
-
Writes the current instance to the given
OutputStream. - serialize(OutputStream) - Method in class opennlp.tools.ngram.NGramModel
-
Writes the ngram instance to the given
OutputStream. - serialize(OutputStream) - Method in class opennlp.tools.postag.POSDictionary
-
Writes the
POSDictionaryto the givenOutputStream; - serialize(OutputStream) - Method in class opennlp.tools.tokenize.DetokenizationDictionary
-
Serializes the current state of a
DetokenizationDictionaryvia anoutput stream. - serialize(OutputStream) - Method in class opennlp.tools.util.featuregen.BrownCluster
- serialize(OutputStream) - Method in class opennlp.tools.util.featuregen.WordClusterDictionary
- serialize(OutputStream) - Method in class opennlp.tools.util.model.BaseModel
-
Serializes the model to the given
OutputStream. - serialize(OutputStream, Iterator, boolean) - Static method in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor
-
Serializes the given entries to the given
OutputStream. - serialize(Writer) - Method in class opennlp.tools.parser.lang.en.HeadRules
-
Serializes the head rules via a
Writerin a format suitable for loading the head rules again. - serialize(Writer) - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
-
Serializes the head rules via a
Writerin a format suitable for loading the head rules again. - serialize(Path) - Method in class opennlp.tools.util.model.BaseModel
-
Serializes the model to the specified
Path. - serialize(ChunkerModel, OutputStream) - Method in class opennlp.tools.util.model.ChunkerModelSerializer
- serialize(Dictionary, OutputStream) - Method in class opennlp.tools.util.model.DictionarySerializer
- serialize(AbstractModel, OutputStream) - Method in class opennlp.tools.util.model.GenericModelSerializer
- serialize(HeadRules, OutputStream) - Method in class opennlp.tools.parser.lang.en.HeadRules.HeadRulesSerializer
- serialize(AncoraSpanishHeadRules, OutputStream) - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules.HeadRulesSerializer
- serialize(POSDictionary, OutputStream) - Method in class opennlp.tools.postag.POSTaggerFactory.POSDictionarySerializer
- serialize(POSModel, OutputStream) - Method in class opennlp.tools.util.model.POSModelSerializer
- serialize(BrownCluster, OutputStream) - Method in class opennlp.tools.util.featuregen.BrownCluster.BrownClusterSerializer
- serialize(WordClusterDictionary, OutputStream) - Method in class opennlp.tools.util.featuregen.WordClusterDictionary.WordClusterDictionarySerializer
- setChunkSize(int) - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
- setCount(CharSequence, int) - Method in class opennlp.tools.ngram.NGramCharModel
-
Sets the count of an existing
ngram. - setCount(StringList, int) - Method in class opennlp.tools.ngram.NGramModel
-
Sets the count of an existing ngram.
- setCurrent(char[], int) - Method in class opennlp.tools.stemmer.snowball.SnowballProgram
-
Set the current string.
- setCurrent(String) - Method in class opennlp.tools.stemmer.snowball.SnowballProgram
-
Set the current string.
- setCurrentContext(String[][]) - Method in class opennlp.tools.util.featuregen.AdditionalContextFeatureGenerator
- setDictionary(String, Dictionary) - Method in class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
- setDictionary(Dictionary) - Method in class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
- setErrorReporting(boolean) - Method in class opennlp.tools.parser.AbstractBottomUpParser
-
Specifies whether the parser should report when it was unable to find a parse for a particular sentence.
- setFeatureGenerators(FeatureGenerator[]) - Method in class opennlp.tools.doccat.DoccatFactory
- setKeepNewLines(boolean) - Method in class opennlp.tools.tokenize.SimpleTokenizer
- setKeepNewLines(boolean) - Method in class opennlp.tools.tokenize.TokenizerME
- setMatchingPatterns(Pattern[]) - Method in class opennlp.tools.namefind.RegexNameFinder
- setMaxLength(int) - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
- setMinConsecImprovements(int) - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
- setMinDiff(double) - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
- setParents(Parse) - Static method in class opennlp.tools.parser.AbstractBottomUpParser
-
Assigns parent references for the specified parse so that they are consistent with the children references.
- setSpanType(String) - Method in class opennlp.tools.namefind.RegexNameFinder
- setTagDictionary(TagDictionary) - Method in class opennlp.tools.postag.POSTaggerFactory
- setValue(String, String) - Method in class opennlp.tools.dictionary.serializer.Attributes
-
Sets a key/value pair.
- ShrinkCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
ShrinkCharSequenceNormalizerimplementation that shrinks repeated spaces / chars in text. - ShrinkCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.ShrinkCharSequenceNormalizer
- SimpleTokenizer - Class in opennlp.tools.tokenize
-
A basic
Tokenizerimplementation which performs tokenization using character classes. - size() - Method in class opennlp.tools.dictionary.Dictionary
- size() - Method in class opennlp.tools.ngram.NGramCharModel
-
Retrieves the number of
entriesin aNGramCharModel. - size() - Method in class opennlp.tools.ngram.NGramModel
-
Retrieves the number of
StringListentries in the current instance. - size() - Method in class opennlp.tools.util.StringList
- SnowballProgram - Class in opennlp.tools.stemmer.snowball
-
Base class for a snowball stemmer
- SnowballProgram(SnowballProgram) - Constructor for class opennlp.tools.stemmer.snowball.SnowballProgram
- SnowballStemmer - Class in opennlp.tools.stemmer.snowball
- SnowballStemmer(SnowballStemmer.ALGORITHM) - Constructor for class opennlp.tools.stemmer.snowball.SnowballStemmer
- SnowballStemmer(SnowballStemmer.ALGORITHM, int) - Constructor for class opennlp.tools.stemmer.snowball.SnowballStemmer
- SnowballStemmer.ALGORITHM - Enum Class in opennlp.tools.stemmer.snowball
- sortedScoreMap(String[]) - Method in class opennlp.tools.doccat.DocumentCategorizerME
- SPANISH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- spanishStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- spanishStemmer() - Constructor for class opennlp.tools.stemmer.snowball.spanishStemmer
- SPLIT - Static variable in class opennlp.tools.sentdetect.SentenceDetectorME
-
Constant indicates a sentence split.
- SPLIT - Static variable in class opennlp.tools.tokenize.TokenizerME
-
Constant indicates a token split.
- START - Static variable in class opennlp.tools.namefind.BilouCodec
- START - Static variable in class opennlp.tools.namefind.BioCodec
- START - Static variable in class opennlp.tools.namefind.NameFinderME
- START - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
Prefix for outcomes starting a constituent.
- stem() - Method in class opennlp.tools.stemmer.PorterStemmer
-
Stem the word placed into the Stemmer buffer through calls to add().
- stem() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.catalanStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.danishStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.dutchStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.englishStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.finnishStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.frenchStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.germanStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.hungarianStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.indonesianStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.irishStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.italianStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.norwegianStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.porterStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.portugueseStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.romanianStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.russianStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.spanishStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.swedishStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.turkishStemmer
- stem(char[]) - Method in class opennlp.tools.stemmer.PorterStemmer
-
Stem a word contained in a char[].
- stem(char[], int) - Method in class opennlp.tools.stemmer.PorterStemmer
-
Stem a word contained in a leading portion of a char[] array.
- stem(char[], int, int) - Method in class opennlp.tools.stemmer.PorterStemmer
-
Stem a word contained in a portion of a char[] array.
- stem(int) - Method in class opennlp.tools.stemmer.PorterStemmer
- stem(CharSequence) - Method in class opennlp.tools.stemmer.PorterStemmer
-
Stem a word provided as a CharSequence.
- stem(CharSequence) - Method in class opennlp.tools.stemmer.snowball.SnowballStemmer
- stem(String) - Method in class opennlp.tools.stemmer.PorterStemmer
-
Stem a word provided as a String.
- StringInterners - Class in opennlp.tools.util.jvm
-
Provides string interning utility methods.
- StringInterners() - Constructor for class opennlp.tools.util.jvm.StringInterners
- StringList - Class in opennlp.tools.util
-
A
StringListis an immutable list ofStrings. - StringList(boolean, String...) - Constructor for class opennlp.tools.util.StringList
-
Initializes a
StringListinstance. - StringList(String) - Constructor for class opennlp.tools.util.StringList
-
Initializes a
StringListinstance. - StringList(String...) - Constructor for class opennlp.tools.util.StringList
-
Initializes a
StringListinstance. - StringPattern - Class in opennlp.tools.util.featuregen
-
Recognizes predefined patterns in strings.
- SuffixFeatureGenerator - Class in opennlp.tools.util.featuregen
-
A feature generator implementation that generates suffix-based features.
- SuffixFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.SuffixFeatureGenerator
-
Intializes a
SuffixFeatureGenerator. - SuffixFeatureGenerator(int) - Constructor for class opennlp.tools.util.featuregen.SuffixFeatureGenerator
-
Intializes a
SuffixFeatureGeneratorwith the specifiedsuffixLength. - SuffixFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesSuffixFeatureGeneratorinstances whenSuffixFeatureGeneratorFactory.create()is called. - SuffixFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.SuffixFeatureGeneratorFactory
- SWEDISH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- swedishStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- swedishStemmer() - Constructor for class opennlp.tools.stemmer.snowball.swedishStemmer
T
- tag(int, String[]) - Method in class opennlp.tools.postag.POSTaggerME
-
Returns at most the specified
numTaggingsfor the specifiedsentence. - tag(String[]) - Method in class opennlp.tools.postag.POSTaggerME
- tag(String[]) - Method in class opennlp.tools.postag.ThreadSafePOSTaggerME
- tag(String[], Object[]) - Method in class opennlp.tools.postag.POSTaggerME
- tag(String[], Object[]) - Method in class opennlp.tools.postag.ThreadSafePOSTaggerME
- thEosCharacters - Static variable in class opennlp.tools.sentdetect.lang.Factory
- ThreadSafeChunkerME - Class in opennlp.tools.chunker
-
A thread-safe version of the
ChunkerME. - ThreadSafeChunkerME(ChunkerModel) - Constructor for class opennlp.tools.chunker.ThreadSafeChunkerME
-
Initializes a
ThreadSafeChunkerMEwith the specifiedmodel. - ThreadSafeLanguageDetectorME - Class in opennlp.tools.langdetect
-
A thread-safe version of the
LanguageDetectorME. - ThreadSafeLanguageDetectorME(LanguageDetectorModel) - Constructor for class opennlp.tools.langdetect.ThreadSafeLanguageDetectorME
-
Initializes a
ThreadSafeLanguageDetectorMEwith the specifiedmodel. - ThreadSafeLemmatizerME - Class in opennlp.tools.lemmatizer
-
A thread-safe version of the
LemmatizerME. - ThreadSafeLemmatizerME(LemmatizerModel) - Constructor for class opennlp.tools.lemmatizer.ThreadSafeLemmatizerME
-
Initializes a
ThreadSafeLemmatizerMEwith the specifiedmodel. - ThreadSafeNameFinderME - Class in opennlp.tools.namefind
-
A thread-safe version of
NameFinderME. - ThreadSafeNameFinderME(TokenNameFinderModel) - Constructor for class opennlp.tools.namefind.ThreadSafeNameFinderME
-
Initializes a
ThreadSafeNameFinderMEwith the specifiedmodel. - ThreadSafePOSTaggerME - Class in opennlp.tools.postag
-
A thread-safe version of the
POSTaggerME. - ThreadSafePOSTaggerME(String) - Constructor for class opennlp.tools.postag.ThreadSafePOSTaggerME
-
Initializes a
ThreadSafePOSTaggerMEby downloading a default model for a givenlanguage. - ThreadSafePOSTaggerME(String, POSTagFormat) - Constructor for class opennlp.tools.postag.ThreadSafePOSTaggerME
-
Initializes a
ThreadSafePOSTaggerMEby downloading a default model for a givenlanguage. - ThreadSafePOSTaggerME(POSModel) - Constructor for class opennlp.tools.postag.ThreadSafePOSTaggerME
-
Initializes a
ThreadSafePOSTaggerMEwith the specifiedmodel. - ThreadSafePOSTaggerME(POSModel, POSTagFormat) - Constructor for class opennlp.tools.postag.ThreadSafePOSTaggerME
-
Initializes a
ThreadSafePOSTaggerMEwith the specifiedmodel. - ThreadSafeSentenceDetectorME - Class in opennlp.tools.sentdetect
-
A thread-safe version of
SentenceDetectorME. - ThreadSafeSentenceDetectorME(String) - Constructor for class opennlp.tools.sentdetect.ThreadSafeSentenceDetectorME
-
Initializes a
ThreadSafeSentenceDetectorMEby downloading a default model for a givenlanguage. - ThreadSafeSentenceDetectorME(SentenceModel) - Constructor for class opennlp.tools.sentdetect.ThreadSafeSentenceDetectorME
-
Initializes a
ThreadSafeSentenceDetectorMEwith the specifiedmodel. - ThreadSafeSentenceDetectorME(SentenceModel, Dictionary) - Constructor for class opennlp.tools.sentdetect.ThreadSafeSentenceDetectorME
-
Instantiates a
ThreadSafeSentenceDetectorMEwith an existingSentenceModel. - ThreadSafeTokenizerME - Class in opennlp.tools.tokenize
-
A thread-safe version of
TokenizerME. - ThreadSafeTokenizerME(String) - Constructor for class opennlp.tools.tokenize.ThreadSafeTokenizerME
-
Initializes a
ThreadSafeTokenizerMEby downloading a default model for a givenlanguage. - ThreadSafeTokenizerME(TokenizerModel) - Constructor for class opennlp.tools.tokenize.ThreadSafeTokenizerME
-
Initializes a
ThreadSafeTokenizerMEwith the specifiedmodel. - ThreadSafeTokenizerME(TokenizerModel, Dictionary) - Constructor for class opennlp.tools.tokenize.ThreadSafeTokenizerME
-
Instantiates a
ThreadSafeTokenizerMEwith an existingTokenizerModel. - toCaseInsensitive() - Method in class opennlp.tools.util.StringList
- toCaseSensitive() - Method in class opennlp.tools.util.StringList
- toDictionary() - Method in class opennlp.tools.ngram.NGramModel
-
Creates a dictionary which contain all
StringListwhich are in the currentNGramModel. - toDictionary(boolean) - Method in class opennlp.tools.ngram.NGramModel
-
Creates a dictionary which contains all
StringLists which are in the currentNGramModel. - TokenClassFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Generates features for the class of a token.
- TokenClassFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.TokenClassFeatureGenerator
-
Initalizes a
TokenClassFeatureGeneratorwhich won't generate thew&cfeature per token. - TokenClassFeatureGenerator(boolean) - Constructor for class opennlp.tools.util.featuregen.TokenClassFeatureGenerator
-
Initalizes a
TokenClassFeatureGenerator. - TokenClassFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesTokenClassFeatureGeneratorinstances whenTokenClassFeatureGeneratorFactory.create()is called. - TokenClassFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.TokenClassFeatureGeneratorFactory
- tokenFeature(String) - Static method in class opennlp.tools.util.featuregen.FeatureGeneratorUtil
-
Generates a class name for the specified token.
- TokenFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Generates a feature which contains a token itself.
- TokenFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.TokenFeatureGenerator
-
Initializes a
TokenFeatureGenerator. - TokenFeatureGenerator(boolean) - Constructor for class opennlp.tools.util.featuregen.TokenFeatureGenerator
-
Initializes a
TokenFeatureGenerator. - TokenFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesTokenFeatureGeneratorinstances whenTokenFeatureGeneratorFactory.create()is called. - TokenFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.TokenFeatureGeneratorFactory
- tokenize(String) - Method in class opennlp.tools.tokenize.SimpleTokenizer
- tokenize(String) - Method in class opennlp.tools.tokenize.TokenizerME
- tokenize(String) - Method in class opennlp.tools.tokenize.ThreadSafeTokenizerME
- tokenizePos(String) - Method in class opennlp.tools.tokenize.SimpleTokenizer
- tokenizePos(String) - Method in class opennlp.tools.tokenize.ThreadSafeTokenizerME
- tokenizePos(String) - Method in class opennlp.tools.tokenize.TokenizerME
-
Tokenizes the string.
- TokenizerCrossValidator - Class in opennlp.tools.tokenize
-
A cross validator for
tokenizers. - TokenizerCrossValidator(TrainingParameters, TokenizerFactory, TokenizerEvaluationMonitor...) - Constructor for class opennlp.tools.tokenize.TokenizerCrossValidator
-
Creates a
TokenizerCrossValidatorusing the givenTokenizerFactory. - TokenizerEvaluator - Class in opennlp.tools.tokenize
-
The
TokenizerEvaluatormeasures the performance of the givenTokenizerwith the provided referencesamples. - TokenizerEvaluator(Tokenizer, TokenizerEvaluationMonitor...) - Constructor for class opennlp.tools.tokenize.TokenizerEvaluator
-
Initializes an instance to evaluate a
Tokenizer. - TokenizerFactory - Class in opennlp.tools.tokenize
-
The factory that provides
Tokenizerdefault implementation and resources. - TokenizerFactory() - Constructor for class opennlp.tools.tokenize.TokenizerFactory
-
Instantiates a
TokenizerFactorythat provides the default implementation of the resources. - TokenizerFactory(String, Dictionary, boolean, Pattern) - Constructor for class opennlp.tools.tokenize.TokenizerFactory
-
Instantiates a
TokenizerFactory. - TokenizerME - Class in opennlp.tools.tokenize
-
A
Tokenizerfor converting raw text into separated tokens. - TokenizerME(String) - Constructor for class opennlp.tools.tokenize.TokenizerME
-
Initializes a
TokenizerMEby downloading a default model. - TokenizerME(TokenizerModel) - Constructor for class opennlp.tools.tokenize.TokenizerME
-
Instantiates a
TokenizerMEwith an existingTokenizerModel. - TokenizerME(TokenizerModel, Dictionary) - Constructor for class opennlp.tools.tokenize.TokenizerME
-
Instantiates a
TokenizerMEwith an existingTokenizerModel. - TokenizerModel - Class in opennlp.tools.tokenize
-
The
TokenizerModelis the model used by a learnableTokenizer. - TokenizerModel(File) - Constructor for class opennlp.tools.tokenize.TokenizerModel
-
Initializes a
TokenizerModelinstance via a validFile. - TokenizerModel(InputStream) - Constructor for class opennlp.tools.tokenize.TokenizerModel
-
Initializes a
TokenizerModelinstance via a validInputStream. - TokenizerModel(URL) - Constructor for class opennlp.tools.tokenize.TokenizerModel
-
Initializes a
TokenizerModelinstance via a validURL. - TokenizerModel(Path) - Constructor for class opennlp.tools.tokenize.TokenizerModel
-
Initializes a
TokenizerModelinstance via a validPath. - TokenizerModel(MaxentModel, Map, TokenizerFactory) - Constructor for class opennlp.tools.tokenize.TokenizerModel
-
Initializes a
TokenizerModelinstance via aMaxentModeland related resources. - TokenizerStream - Class in opennlp.tools.tokenize
- TokenizerStream(Tokenizer, ObjectStream) - Constructor for class opennlp.tools.tokenize.TokenizerStream
-
Initializes a
instance. - TokenNameFinderCrossValidator - Class in opennlp.tools.namefind
-
Cross validator for
TokenNameFinder. - TokenNameFinderCrossValidator(String, String, TrainingParameters, byte[], Map, TokenNameFinderEvaluationMonitor...) - Constructor for class opennlp.tools.namefind.TokenNameFinderCrossValidator
-
Initializes a
TokenNameFinderCrossValidatorwith the given parameters. - TokenNameFinderCrossValidator(String, String, TrainingParameters, byte[], Map, SequenceCodec, TokenNameFinderEvaluationMonitor...) - Constructor for class opennlp.tools.namefind.TokenNameFinderCrossValidator
-
Initializes a
TokenNameFinderCrossValidatorwith the given parameters. - TokenNameFinderCrossValidator(String, String, TrainingParameters, TokenNameFinderFactory, TokenNameFinderEvaluationMonitor...) - Constructor for class opennlp.tools.namefind.TokenNameFinderCrossValidator
-
Initializes a
TokenNameFinderCrossValidatorwith the given parameters. - TokenNameFinderEvaluator - Class in opennlp.tools.namefind
-
The
TokenNameFinderEvaluatormeasures the performance of the givenTokenNameFinderwith the provided referencesamples. - TokenNameFinderEvaluator(TokenNameFinder, TokenNameFinderEvaluationMonitor...) - Constructor for class opennlp.tools.namefind.TokenNameFinderEvaluator
-
Initializes a
TokenNameFinderEvaluatorfor a givenTokenNameFinder. - TokenNameFinderFactory - Class in opennlp.tools.namefind
-
The factory that provides
TokenNameFinderdefault implementations and resources. - TokenNameFinderFactory() - Constructor for class opennlp.tools.namefind.TokenNameFinderFactory
-
Initializes a
TokenNameFinderFactorythat provides the default implementation of the resources. - TokenNameFinderFactory(byte[], Map, SequenceCodec) - Constructor for class opennlp.tools.namefind.TokenNameFinderFactory
-
Initializes a
TokenNameFinderFactoryinstance via given parameters. - TokenNameFinderModel - Class in opennlp.tools.namefind
-
The
TokenNameFinderModelis the model used by a learnableTokenNameFinder. - TokenNameFinderModel(File) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
-
Initializes a
TokenNameFinderModelinstance via a validFile. - TokenNameFinderModel(InputStream) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
-
Initializes a
TokenNameFinderModelinstance via a validInputStream. - TokenNameFinderModel(String, MaxentModel, byte[], Map, Map) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
-
Initializes a
TokenNameFinderModelinstance via given parameters. - TokenNameFinderModel(String, MaxentModel, int, byte[], Map, Map) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
-
Initializes a
TokenNameFinderModelinstance via given parameters. - TokenNameFinderModel(String, MaxentModel, int, byte[], Map, Map, SequenceCodec, TokenNameFinderFactory) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
-
Initializes a
TokenNameFinderModelinstance via given parameters. - TokenNameFinderModel(String, MaxentModel, Map, Map) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
-
Initializes a
TokenNameFinderModelinstance via given parameters. - TokenNameFinderModel(String, SequenceClassificationModel, byte[], Map, Map, SequenceCodec, TokenNameFinderFactory) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
-
Initializes a
TokenNameFinderModelinstance via given parameters. - TokenNameFinderModel(URL) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
-
Initializes a
TokenNameFinderModelinstance via a validURL. - TokenNameFinderModel(Path) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
-
Initializes a
TokenNameFinderModelinstance via a validPath. - TokenNameFinderModel.FeatureGeneratorCreationError - Exception Class in opennlp.tools.namefind
- TokenPatternFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Partitions tokens into sub-tokens based on character classes and generates class features for each of the sub-tokens and combinations of those sub-tokens.
- TokenPatternFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.TokenPatternFeatureGenerator
-
Initializes a
TokenPatternFeatureGenerator. - TokenPatternFeatureGenerator(Tokenizer) - Constructor for class opennlp.tools.util.featuregen.TokenPatternFeatureGenerator
-
Initializes a
TokenPatternFeatureGeneratorinstance. - TokenPatternFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactoryinstantiatesTokenPatternFeatureGeneratorinstances whenTokenPatternFeatureGeneratorFactory.create()is called. - TokenPatternFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.TokenPatternFeatureGeneratorFactory
- tokens() - Method in record class opennlp.tools.dictionary.serializer.Entry
-
Returns the value of the
tokensrecord component. - TokenSampleStream - Class in opennlp.tools.tokenize.lang.en
-
Class which produces an Iterator<TokenSample> from a file of space delimited token.
- TokenSampleStream - Class in opennlp.tools.tokenize
-
This class is a
stream filterwhich reads in string encoded samples and createssamplesout of them. - TokenSampleStream(InputStream) - Constructor for class opennlp.tools.tokenize.lang.en.TokenSampleStream
- TokenSampleStream(ObjectStream) - Constructor for class opennlp.tools.tokenize.TokenSampleStream
-
Initializes a
instance. - TokenSampleStream(ObjectStream, String) - Constructor for class opennlp.tools.tokenize.TokenSampleStream
-
Initializes a
instance. - TokSpanEventStream - Class in opennlp.tools.tokenize
-
This class reads the
samplesvia anIteratorand converts the samples intoeventswhich can be used by the maxent library for training. - TokSpanEventStream(ObjectStream, boolean) - Constructor for class opennlp.tools.tokenize.TokSpanEventStream
-
Initializes a new event stream based on the data stream using a
TokenContextGeneratorthat relies on aDefaultTokenContextGenerator. - TokSpanEventStream(ObjectStream, boolean, Pattern, TokenContextGenerator) - Constructor for class opennlp.tools.tokenize.TokSpanEventStream
-
Initializes a new event stream based on the data stream using a
TokenContextGenerator. - TokSpanEventStream(ObjectStream, boolean, TokenContextGenerator) - Constructor for class opennlp.tools.tokenize.TokSpanEventStream
-
Initializes a new event stream based on the data stream using a
TokenContextGenerator. - topKLemmaClasses(String[], String[]) - Method in class opennlp.tools.lemmatizer.LemmatizerME
- topKLemmaClasses(String[], String[], double) - Method in class opennlp.tools.lemmatizer.LemmatizerME
- topKSequences(String[]) - Method in class opennlp.tools.postag.POSTaggerME
- topKSequences(String[]) - Method in class opennlp.tools.postag.ThreadSafePOSTaggerME
- topKSequences(String[], Object[]) - Method in class opennlp.tools.postag.POSTaggerME
- topKSequences(String[], Object[]) - Method in class opennlp.tools.postag.ThreadSafePOSTaggerME
- topKSequences(String[], String[]) - Method in class opennlp.tools.chunker.ChunkerME
- topKSequences(String[], String[]) - Method in class opennlp.tools.chunker.ThreadSafeChunkerME
- topKSequences(String[], String[]) - Method in class opennlp.tools.lemmatizer.LemmatizerME
- topKSequences(String[], String[], double) - Method in class opennlp.tools.chunker.ChunkerME
- topKSequences(String[], String[], double) - Method in class opennlp.tools.chunker.ThreadSafeChunkerME
- topKSequences(String[], String[], double) - Method in class opennlp.tools.lemmatizer.LemmatizerME
- toString() - Method in class opennlp.tools.dictionary.Dictionary
- toString() - Method in record class opennlp.tools.dictionary.serializer.Entry
-
Returns a string representation of this record class.
- toString() - Method in class opennlp.tools.doccat.DocumentCategorizerEvaluator
-
Represents this object as human-readable
String. - toString() - Method in class opennlp.tools.langdetect.LanguageDetectorEvaluator
-
Represents this object as human-readable
String. - toString() - Method in record class opennlp.tools.langdetect.ProbingLanguageDetectionResult
-
Returns a string representation of this record class.
- toString() - Method in class opennlp.tools.lemmatizer.LemmatizerEvaluator
-
Returns this object's human-readable
Stringrepresentation. - toString() - Method in class opennlp.tools.ngram.NGramCharModel
- toString() - Method in class opennlp.tools.ngram.NGramModel
- toString() - Method in class opennlp.tools.postag.POSDictionary
- toString() - Method in class opennlp.tools.postag.POSEvaluator
-
Represents this object as human-readable
String. - toString() - Method in class opennlp.tools.stemmer.PorterStemmer
-
After a word has been stemmed, it can be retrieved by toString(), or a reference to the internal buffer can be retrieved by getResultBuffer and getResultLength (which is generally more efficient.)
- toString() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner
- toString() - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
- toString() - Method in class opennlp.tools.util.featuregen.WindowFeatureGenerator
- toString() - Method in class opennlp.tools.util.StringList
- toString() - Method in class opennlp.tools.util.Version
-
The
Version.parse(String)method can create an instance ofVersionwith the returned version value string. - train(String, String, ObjectStream, TrainingParameters, TokenNameFinderFactory) - Static method in class opennlp.tools.namefind.NameFinderME
-
Starts a training of a
TokenNameFinderModelwith the given parameters. - train(String, ObjectStream, TrainingParameters, ChunkerFactory) - Static method in class opennlp.tools.chunker.ChunkerME
-
Starts a training of a
ChunkerModelwith the given parameters. - train(String, ObjectStream, TrainingParameters, DoccatFactory) - Static method in class opennlp.tools.doccat.DocumentCategorizerME
-
Starts a training of a
DoccatModelwith the given parameters. - train(String, ObjectStream, TrainingParameters, LemmatizerFactory) - Static method in class opennlp.tools.lemmatizer.LemmatizerME
-
Starts a training of a
LemmatizerModelwith the given parameters. - train(String, ObjectStream, HeadRules, int, int) - Static method in class opennlp.tools.parser.treeinsert.Parser
-
Starts a training of a
ParserModel. - train(String, ObjectStream, HeadRules, TrainingParameters) - Static method in class opennlp.tools.parser.chunking.Parser
-
Starts a training of a
ParserModel. - train(String, ObjectStream, HeadRules, TrainingParameters) - Static method in class opennlp.tools.parser.treeinsert.Parser
-
Starts a training of a
ParserModel. - train(String, ObjectStream, TrainingParameters, POSTaggerFactory) - Static method in class opennlp.tools.postag.POSTaggerME
-
Starts a training of a
POSModelwith the given parameters. - train(String, ObjectStream, SentenceDetectorFactory, TrainingParameters) - Static method in class opennlp.tools.sentdetect.SentenceDetectorME
-
Starts a training of a
SentenceModelwith the given parameters. - train(String, ObjectStream, TrainingParameters, SentimentFactory) - Static method in class opennlp.tools.sentiment.SentimentME
-
Trains a
Sentiment Analysis model. - train(ObjectStream, TrainingParameters, LanguageDetectorFactory) - Static method in class opennlp.tools.langdetect.LanguageDetectorME
-
Starts a training of a
LanguageDetectorModelwith the given parameters. - train(ObjectStream, TokenizerFactory, TrainingParameters) - Static method in class opennlp.tools.tokenize.TokenizerME
-
Trains a model for the
TokenizerME. - TrainerFactory - Class in opennlp.tools.ml
-
A factory to initialize
Trainerinstances depending on a trainer type configured viaParameters. - TrainerFactory() - Constructor for class opennlp.tools.ml.TrainerFactory
- TrainerFactory.TrainerType - Enum Class in opennlp.tools.ml
- TRAINING_CUTOFF_PROPERTY - Static variable in class opennlp.tools.util.model.BaseModel
- TRAINING_EVENTHASH_PROPERTY - Static variable in class opennlp.tools.util.model.BaseModel
- TRAINING_ITERATIONS_PROPERTY - Static variable in class opennlp.tools.util.model.BaseModel
- TrigramNameFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Adds trigram features based on tokens and token classes.
- TrigramNameFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.TrigramNameFeatureGenerator
- TrigramNameFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesTrigramNameFeatureGeneratorinstances whenTrigramNameFeatureGeneratorFactory.create()is called. - TrigramNameFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.TrigramNameFeatureGeneratorFactory
- TURKISH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- turkishStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- turkishStemmer() - Constructor for class opennlp.tools.stemmer.snowball.turkishStemmer
- TwitterCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
TwitterCharSequenceNormalizerimplementation that normalizes text in terms of Twitter character patterns. - TwitterCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.TwitterCharSequenceNormalizer
U
- UD - Enum constant in enum class opennlp.tools.postag.POSTagFormat
- UncloseableInputStream - Class in opennlp.tools.util.model
-
An
InputStreamwhich cannot be closed. - UncloseableInputStream(InputStream) - Constructor for class opennlp.tools.util.model.UncloseableInputStream
- UNIT - Static variable in class opennlp.tools.namefind.BilouCodec
- UNKNOWN - Enum constant in enum class opennlp.tools.postag.POSTagFormat
- updateAdaptiveData(String[], String[]) - Method in class opennlp.tools.namefind.DefaultNameContextGenerator
- updateAdaptiveData(String[], String[]) - Method in class opennlp.tools.sentiment.SentimentContextGenerator
- updateAdaptiveData(String[], String[]) - Method in class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
-
Calls the
AdaptiveFeatureGenerator.updateAdaptiveData(String[], String[])method on all aggregatedfeature generators. - updateAdaptiveData(String[], String[]) - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
- updateAdaptiveData(String[], String[]) - Method in class opennlp.tools.util.featuregen.PreviousMapFeatureGenerator
-
Generates previous decision features for the token based on contents of the previous map.
- updateAdaptiveData(String[], String[]) - Method in class opennlp.tools.util.featuregen.PreviousTwoMapFeatureGenerator
- updateAdaptiveData(String[], String[]) - Method in class opennlp.tools.util.featuregen.WindowFeatureGenerator
- updateBuildModel(MaxentModel) - Method in class opennlp.tools.parser.ParserModel
-
Instantiates a new
ParserModelinstance from the existing configuration with the specifiedbuildModelfor exchange. - updateCheckModel(MaxentModel) - Method in class opennlp.tools.parser.ParserModel
-
Instantiates a new
ParserModelinstance from the existing configuration with the specifiedcheckModelfor exchange. - updateChunkerModel(ChunkerModel) - Method in class opennlp.tools.parser.ParserModel
-
Instantiates a new
ParserModelinstance from the existing configuration with the specifiedchunkModelfor exchange. - updateContext(Sequence, MaxentModel) - Method in class opennlp.tools.chunker.ChunkSampleSequenceStream
- updateContext(Sequence, MaxentModel) - Method in class opennlp.tools.lemmatizer.LemmaSampleSequenceStream
- updateContext(Sequence, MaxentModel) - Method in class opennlp.tools.namefind.NameSampleSequenceStream
- updateContext(Sequence, MaxentModel) - Method in class opennlp.tools.postag.POSSampleSequenceStream
- updateTaggerModel(POSModel) - Method in class opennlp.tools.parser.ParserModel
-
Instantiates a new
ParserModelinstance from the existing configuration with the specifiedtaggerModelfor exchange. - URL - Enum constant in enum class opennlp.tools.namefind.RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER
- UrlCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
UrlCharSequenceNormalizerimplementation that normalizes text in terms of URls and email addresses. - UrlCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.UrlCharSequenceNormalizer
- USA_PHONE_NUM - Enum constant in enum class opennlp.tools.namefind.RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER
- useAlphaNumericOptimization() - Method in class opennlp.tools.tokenize.TokenizerME
- useAlphaNumericOptimization() - Method in class opennlp.tools.tokenize.TokenizerModel
- useTokenEnd() - Method in class opennlp.tools.sentdetect.SentenceModel
V
- validateArtifactMap() - Method in class opennlp.tools.chunker.ChunkerFactory
- validateArtifactMap() - Method in class opennlp.tools.doccat.DoccatFactory
- validateArtifactMap() - Method in class opennlp.tools.langdetect.LanguageDetectorFactory
- validateArtifactMap() - Method in class opennlp.tools.lemmatizer.LemmatizerFactory
- validateArtifactMap() - Method in class opennlp.tools.namefind.TokenNameFinderFactory
- validateArtifactMap() - Method in class opennlp.tools.postag.POSTaggerFactory
- validateArtifactMap() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- validateArtifactMap() - Method in class opennlp.tools.sentiment.SentimentFactory
-
Validates the artifact map --> nothing to validate.
- validateArtifactMap() - Method in class opennlp.tools.tokenize.TokenizerFactory
- validateArtifactMap() - Method in class opennlp.tools.util.BaseToolFactory
-
Validates the parsed artifacts.
- validateOutcomes(MaxentModel, String...) - Static method in class opennlp.tools.util.model.ModelUtil
-
Checks if the
expectedOutcomesare all contained as outcomes in the givenmodel. - validSequence(int, String[], String[], String) - Method in class opennlp.tools.lemmatizer.DefaultLemmatizerSequenceValidator
- validSequence(int, String[], String[], String) - Method in class opennlp.tools.namefind.BilouNameFinderSequenceValidator
- validSequence(int, String[], String[], String) - Method in class opennlp.tools.namefind.NameFinderSequenceValidator
- validSequence(int, String[], String[], String) - Method in class opennlp.tools.parser.ParserChunkerSequenceValidator
- validSequence(int, String[], String[], String) - Method in class opennlp.tools.postag.DefaultPOSSequenceValidator
- validSequence(int, TokenTag[], String[], String) - Method in class opennlp.tools.chunker.DefaultChunkerSequenceValidator
- validSequence(int, TokenTag[], String[], String) - Method in class opennlp.tools.parser.ParserChunkerSequenceValidator
- valueOf(String) - Static method in enum class opennlp.tools.ml.TrainerFactory.TrainerType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.namefind.RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.postag.POSTagFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class opennlp.tools.tokenize.DetokenizationDictionary.Operation
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class opennlp.tools.ml.TrainerFactory.TrainerType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.namefind.RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.postag.POSTagFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class opennlp.tools.tokenize.DetokenizationDictionary.Operation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Version - Class in opennlp.tools.util
-
The
Versionclass represents the OpenNLP Tools library version. - Version(int, int, int) - Constructor for class opennlp.tools.util.Version
-
Initializes a
Versioninstance with the provided version elements. - Version(int, int, int, boolean) - Constructor for class opennlp.tools.util.Version
-
Initializes a
Versioninstance with the provided version elements.
W
- WhitespaceTokenStream - Class in opennlp.tools.tokenize
-
This stream formats
ObjectStreamofsamplesinto whitespace separated token strings. - WhitespaceTokenStream(ObjectStream) - Constructor for class opennlp.tools.tokenize.WhitespaceTokenStream
-
Initializes a
WhitespaceTokenStream. - WindowFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Generates previous (left-sided) and next (right-sided) features for a given
AdaptiveFeatureGenerator. - WindowFeatureGenerator(int, int, AdaptiveFeatureGenerator...) - Constructor for class opennlp.tools.util.featuregen.WindowFeatureGenerator
-
Initializes a
WindowFeatureGeneratorwith the given parameters. - WindowFeatureGenerator(AdaptiveFeatureGenerator) - Constructor for class opennlp.tools.util.featuregen.WindowFeatureGenerator
-
Initializes a
WindowFeatureGenerator. - WindowFeatureGenerator(AdaptiveFeatureGenerator...) - Constructor for class opennlp.tools.util.featuregen.WindowFeatureGenerator
-
Initializes a
WindowFeatureGenerator. - WindowFeatureGenerator(AdaptiveFeatureGenerator, int, int) - Constructor for class opennlp.tools.util.featuregen.WindowFeatureGenerator
-
Initializes a
WindowFeatureGeneratorwith the given parameters. - WindowFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
A
GeneratorFactorythat producesWindowFeatureGeneratorinstances whenWindowFeatureGeneratorFactory.create()is called. - WindowFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.WindowFeatureGeneratorFactory
- WordClusterDictionary - Class in opennlp.tools.util.featuregen
- WordClusterDictionary(InputStream) - Constructor for class opennlp.tools.util.featuregen.WordClusterDictionary
-
Read word2vec and clark clustering style lexicons.
- WordClusterDictionary.WordClusterDictionarySerializer - Class in opennlp.tools.util.featuregen
- WordClusterDictionarySerializer() - Constructor for class opennlp.tools.util.featuregen.WordClusterDictionary.WordClusterDictionarySerializer
- WordClusterFeatureGenerator - Class in opennlp.tools.util.featuregen
-
An
AdaptiveFeatureGeneratorimplementation of a word cluster feature generator. - WordClusterFeatureGenerator(WordClusterDictionary, String, boolean) - Constructor for class opennlp.tools.util.featuregen.WordClusterFeatureGenerator
-
Instantiates a
WordClusterFeatureGeneratorvia a specifiedWordClusterDictionary. - WordClusterFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
Defines a word cluster
GeneratorFactory; it reads an element containing 'w2vwordcluster' as a tag name. - WordClusterFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.WordClusterFeatureGeneratorFactory
- WordTagSampleStream - Class in opennlp.tools.postag
-
A
stream filterwhich reads a sentence per line that contains words and tags inword_tagformat and outputs aPOSSampleobjects. - WordTagSampleStream(ObjectStream) - Constructor for class opennlp.tools.postag.WordTagSampleStream
-
Initializes a
POSSampleinstance. - writeModel(MaxentModel, OutputStream) - Static method in class opennlp.tools.util.model.ModelUtil
-
Writes the given
MaxentModelto the specifiedOutputStream.
X
- XmlUtil - Class in opennlp.tools.util
- XmlUtil() - Constructor for class opennlp.tools.util.XmlUtil
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
BioCodecimplementation of the SequenceValidator instead!