Index

A B C D E F G H I J L M N O P R S T U V W X 
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 ObjectStream implementation for events.
AbstractEventStream(ObjectStream) - Constructor for class opennlp.tools.util.AbstractEventStream
Initializes an AbstractEventStream with a sample Iterator.
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 CharSequence that 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 cutoff and iterations to manifestInfoEntries.
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 AdditionalContextFeatureGenerator generates 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 CharSequenceNormalizer implementation 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 AggregatedFeatureGenerator aggregates a set of feature generators and calls them to generate the features.
AggregatedFeatureGenerator(Collection) - Constructor for class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
Initializes an AggregatedFeatureGenerator via specified generators.
AggregatedFeatureGenerator(AdaptiveFeatureGenerator...) - Constructor for class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
Initializes an AggregatedFeatureGenerator via specified generators.
AggregatedFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
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 Dictionary to a Set<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 AttachContextGenerator for making decisions about attachments.
attributes() - Method in record class opennlp.tools.dictionary.serializer.Entry
Returns the value of the attributes record component.
Attributes - Class in opennlp.tools.dictionary.serializer
The Attributes class 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 BagOfWordsFeatureGenerator instance.
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 version is 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
BigramNameFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.BigramNameFeatureGeneratorFactory
 
BilouCodec - Class in opennlp.tools.namefind
The default SequenceCodec implementation according to the BILOU scheme.
BilouCodec() - Constructor for class opennlp.tools.namefind.BilouCodec
 
BilouNameFinderSequenceValidator - Class in opennlp.tools.namefind
A SequenceValidator implementation for the BilouCodec.
BilouNameFinderSequenceValidator() - Constructor for class opennlp.tools.namefind.BilouNameFinderSequenceValidator
 
BioCodec - Class in opennlp.tools.namefind
The default SequenceCodec implementation according to the BIO scheme: 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 BrownBigramFeatureGenerator generator via a specified BrownCluster.
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 BrownCluster and its related token to cluster map via an InputStream.
BrownCluster.BrownClusterSerializer - Class in opennlp.tools.util.featuregen
 
BrownClusterBigramFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
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
BrownClusterTokenClassFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.BrownClusterTokenClassFeatureGeneratorFactory
 
BrownClusterTokenFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
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 BrownCluster features for current token and token class.
BrownTokenClassFeatureGenerator(BrownCluster) - Constructor for class opennlp.tools.util.featuregen.BrownTokenClassFeatureGenerator
Instantiates a BrownTokenClassFeatureGenerator via a specified BrownCluster.
BrownTokenFeatureGenerator - Class in opennlp.tools.util.featuregen
Generates BrownCluster features for current token.
BrownTokenFeatureGenerator(BrownCluster) - Constructor for class opennlp.tools.util.featuregen.BrownTokenFeatureGenerator
Instantiates a BrownTokenFeatureGenerator via a specified BrownCluster.
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 BuildContextGenerator for making decisions about combining constituents.
BuildContextGenerator() - Constructor for class opennlp.tools.parser.treeinsert.BuildContextGenerator
Instantiates a BuildContextGenerator for making decisions.
BuildContextGenerator(Dictionary) - Constructor for class opennlp.tools.parser.chunking.BuildContextGenerator
Instantiates a BuildContextGenerator for making decisions about combining constituents using a Dictionary.
buildDictionary(ObjectStream, HeadRules, int) - Static method in class opennlp.tools.parser.AbstractBottomUpParser
Creates a n-gram Dictionary from the specified data stream using HeadRules and specified cut-off.
buildDictionary(ObjectStream, HeadRules, TrainingParameters) - Static method in class opennlp.tools.parser.AbstractBottomUpParser
Creates a n-gram Dictionary from 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 dictionary from an ObjectStream of 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 ArtifactSerializer implementation for binary data, kept in byte[].
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
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 text provided as tokens along with the provided extra information.
CharacterNgramFeatureGenerator - Class in opennlp.tools.util.featuregen
The CharacterNgramFeatureGenerator uses character ngrams to generate features about each token.
CharacterNgramFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.CharacterNgramFeatureGenerator
Initializes a CharacterNgramFeatureGenerator with default values for ngrams.
CharacterNgramFeatureGenerator(int, int) - Constructor for class opennlp.tools.util.featuregen.CharacterNgramFeatureGenerator
Initializes a CharacterNgramFeatureGenerator with the specified parameters.
CharacterNgramFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
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 CheckContextGenerator for generating predictive context for deciding when a constituent is complete.
CheckContextGenerator(Set) - Constructor for class opennlp.tools.parser.treeinsert.CheckContextGenerator
Instantiates a CheckContextGenerator for making decisions using a punctSet.
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 ChunkContextGenerator instance.
ChunkContextGenerator(int) - Constructor for class opennlp.tools.parser.ChunkContextGenerator
Initializes a ChunkContextGenerator instance with a custom cacheSize.
ChunkerCrossValidator - Class in opennlp.tools.chunker
Cross validator for Chunker.
ChunkerCrossValidator(String, TrainingParameters, ChunkerFactory, ChunkerEvaluationMonitor...) - Constructor for class opennlp.tools.chunker.ChunkerCrossValidator
Initializes a ChunkerCrossValidator instance via given parameters.
ChunkerEvaluator - Class in opennlp.tools.chunker
The ChunkerEvaluator measures the performance of the given Chunker with the provided reference samples.
ChunkerEvaluator(Chunker, ChunkerEvaluationMonitor...) - Constructor for class opennlp.tools.chunker.ChunkerEvaluator
Initializes a ChunkerEvaluator instance with the given Chunker.
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 ChunkerFactory that 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 Chunker by downloading a default model.
ChunkerME(ChunkerModel) - Constructor for class opennlp.tools.chunker.ChunkerME
Initializes a Chunker with the specified ChunkerModel.
ChunkerModel - Class in opennlp.tools.chunker
The ChunkerModel is the model used by a learnable Chunker.
ChunkerModel(File) - Constructor for class opennlp.tools.chunker.ChunkerModel
Initializes a ChunkerModel instance via a valid File.
ChunkerModel(InputStream) - Constructor for class opennlp.tools.chunker.ChunkerModel
Initializes a ChunkerModel instance via a valid InputStream.
ChunkerModel(String, MaxentModel, int, Map, ChunkerFactory) - Constructor for class opennlp.tools.chunker.ChunkerModel
Initializes a ChunkerModel instance via given parameters.
ChunkerModel(String, MaxentModel, Map, ChunkerFactory) - Constructor for class opennlp.tools.chunker.ChunkerModel
Initializes a ChunkerModel instance via given parameters.
ChunkerModel(String, MaxentModel, ChunkerFactory) - Constructor for class opennlp.tools.chunker.ChunkerModel
Initializes a ChunkerModel instance via given parameters.
ChunkerModel(String, SequenceClassificationModel, Map, ChunkerFactory) - Constructor for class opennlp.tools.chunker.ChunkerModel
Initializes a ChunkerModel instance via given parameters.
ChunkerModel(URL) - Constructor for class opennlp.tools.chunker.ChunkerModel
Initializes a ChunkerModel instance via a valid URL.
ChunkerModel(Path) - Constructor for class opennlp.tools.chunker.ChunkerModel
Initializes a ChunkerModel instance via a valid Path.
ChunkerModelSerializer - Class in opennlp.tools.util.model
An ArtifactSerializer implementation for models.
ChunkerModelSerializer() - Constructor for class opennlp.tools.util.model.ChunkerModelSerializer
 
ChunkSampleSequenceStream - Class in opennlp.tools.chunker
A SequenceStream implementation encapsulating samples.
ChunkSampleSequenceStream(ObjectStream, ChunkerContextGenerator) - Constructor for class opennlp.tools.chunker.ChunkSampleSequenceStream
Creates a ChunkSampleSequenceStream with given samples using a ChunkerContextGenerator.
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 aggregated feature 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 InputStream cannot 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
An ObjectStream implementation that works on a Collection of E as source for elements.
CollectionObjectStream(Collection) - Constructor for class opennlp.tools.util.CollectionObjectStream
 
compareToIgnoreCase(StringList) - Method in class opennlp.tools.util.StringList
Compares to token list and 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 generator for a POSTagger.
ConfigurablePOSContextGenerator(int, AdaptiveFeatureGenerator) - Constructor for class opennlp.tools.postag.ConfigurablePOSContextGenerator
Initializes a ConfigurablePOSContextGenerator instance.
ConfigurablePOSContextGenerator(AdaptiveFeatureGenerator) - Constructor for class opennlp.tools.postag.ConfigurablePOSContextGenerator
Initializes a ConfigurablePOSContextGenerator instance.
Cons - Class in opennlp.tools.parser
Holds feature information about a specific Parse node.
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 ngram is contained in a NGramCharModel.
contains(String) - Method in class opennlp.tools.dictionary.Index
Checks if at least one StringList contains the specified token.
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 POSDictionary from an InputStream.
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
Creates Entrys from the given InputStream and forwards these Entrys to the EntryInserter.
create(InputStream, FeatureGeneratorResourceProvider) - Static method in class opennlp.tools.util.featuregen.GeneratorFactory
Creates an AdaptiveFeatureGenerator from an provided XML descriptor.
create(Class, ArtifactProvider) - Static method in class opennlp.tools.util.BaseToolFactory
Instantiates a BaseToolFactory via a given subclassName.
create(String) - Static method in class opennlp.tools.chunker.ChunkerFactory
Instantiates a ChunkerFactory via a given subclassName.
create(String) - Static method in class opennlp.tools.langdetect.LanguageDetectorFactory
Instantiates a LanguageDetectorFactory via a given subclassName.
create(String) - Static method in class opennlp.tools.lemmatizer.LemmatizerFactory
Instantiates a LemmatizerFactory via a given subclassName.
create(String, byte[], Map, TagDictionary) - Static method in class opennlp.tools.postag.POSTaggerFactory
Instantiates a POSTaggerFactory via a given subclassName.
create(String, byte[], Map, SequenceCodec) - Static method in class opennlp.tools.namefind.TokenNameFinderFactory
Initializes a TokenNameFinderFactory instance via given parameters.
create(String, String, boolean, Dictionary, char[]) - Static method in class opennlp.tools.sentdetect.SentenceDetectorFactory
Instantiates a SentenceDetectorFactory via a given subclassName.
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 BaseToolFactory via a given subclassName.
create(ParserModel) - Static method in class opennlp.tools.parser.ParserFactory
Instantiates a Parser via a given model and default configuration parameters (see: AbstractBottomUpParser).
create(ParserModel, int, double) - Static method in class opennlp.tools.parser.ParserFactory
Instantiates a Parser via a given model and 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 Map with pairs of keys and ArtifactSerializer.
createContextGenerator() - Method in class opennlp.tools.namefind.TokenNameFinderFactory
Creates and configures a new NameContextGenerator in 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 TrainingParameters in case they are not provided.
createDocumentBuilder() - Static method in class opennlp.tools.util.XmlUtil
Create a new DocumentBuilder which 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 aggregated feature 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 SAXParser which 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 TagDictionary from a dictionary file.
createTagDictionary(InputStream) - Method in class opennlp.tools.postag.POSTaggerFactory
Initializes a TagDictionary from a dictionary stream.
createTokenContextGenerator(String, Set) - Method in class opennlp.tools.tokenize.lang.Factory
Initializes a customized TokenContextGenerator via a set of abbreviations.
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 CrossValidationPartitioner instance.
CrossValidationPartitioner(ObjectStream, int) - Constructor for class opennlp.tools.util.eval.CrossValidationPartitioner
Initializes CrossValidationPartitioner instance.
CrossValidationPartitioner.TrainingSampleStream<E> - Class in opennlp.tools.util.eval
The CrossValidationPartitioner.TrainingSampleStream which 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 cutoffUnder value and more often than the cutoffOver value.
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 DefaultChunkerContextGenerator instance.
DefaultChunkerSequenceValidator - Class in opennlp.tools.chunker
The default chunker SequenceValidator implementation.
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 DefaultLanguageDetectorContextGenerator that 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 SequenceValidator implementation.
DefaultLemmatizerSequenceValidator() - Constructor for class opennlp.tools.lemmatizer.DefaultLemmatizerSequenceValidator
 
DefaultNameContextGenerator - Class in opennlp.tools.namefind
A NameContextGenerator implementation for determining contextual features for a tag-chunk style 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 generator for a POSTagger.
DefaultPOSContextGenerator(int, Dictionary) - Constructor for class opennlp.tools.postag.DefaultPOSContextGenerator
Initializes a DefaultPOSContextGenerator instance.
DefaultPOSContextGenerator(Dictionary) - Constructor for class opennlp.tools.postag.DefaultPOSContextGenerator
Initializes a DefaultPOSContextGenerator instance.
DefaultPOSSequenceValidator - Class in opennlp.tools.postag
The default POS tagger SequenceValidator implementation.
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 SDContextGenerator instance which uses the set of induced abbreviations.
DefaultTokenContextGenerator - Class in opennlp.tools.tokenize
A default TokenContextGenerator which produces events for maxent decisions for tokenization.
DefaultTokenContextGenerator() - Constructor for class opennlp.tools.tokenize.DefaultTokenContextGenerator
Initializes a plain DefaultTokenContextGenerator instance.
DefaultTokenContextGenerator(Set) - Constructor for class opennlp.tools.tokenize.DefaultTokenContextGenerator
Initializes a customized DefaultTokenContextGenerator instance via a set of inducedAbbreviations.
DefinitionFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
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 DetokenizationDictionary instance via a valid File.
DetokenizationDictionary(InputStream) - Constructor for class opennlp.tools.tokenize.DetokenizationDictionary
Initializes a DetokenizationDictionary instance via a valid InputStream.
DetokenizationDictionary(String[], DetokenizationDictionary.Operation[]) - Constructor for class opennlp.tools.tokenize.DetokenizationDictionary
Initializes a DetokenizationDictionary instance.
DetokenizationDictionary(Path) - Constructor for class opennlp.tools.tokenize.DetokenizationDictionary
Initializes a DetokenizationDictionary instance via a valid Path.
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 Dictionary from 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 DictionaryDetokenizer instance.
DictionaryEntryPersistor - Class in opennlp.tools.dictionary.serializer
A persistor used by for reading and writing dictionaries of all kinds.
DictionaryEntryPersistor() - Constructor for class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor
 
DictionaryFeatureGenerator - Class in opennlp.tools.util.featuregen
The DictionaryFeatureGenerator uses a DictionaryNameFinder to generate features for detected names based on the InSpanGenerator.
DictionaryFeatureGenerator(String, Dictionary) - Constructor for class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
Initializes a DictionaryFeatureGenerator with the specified parameters.
DictionaryFeatureGenerator(Dictionary) - Constructor for class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
Initializes a DictionaryFeatureGenerator with the specified Dictionary.
DictionaryFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
DictionaryFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.DictionaryFeatureGeneratorFactory
 
DictionaryLemmatizer - Class in opennlp.tools.lemmatizer
A Lemmatizer implementation that works by simple dictionary lookup into a Map built from a file containing, for each line:
DictionaryLemmatizer(File) - Constructor for class opennlp.tools.lemmatizer.DictionaryLemmatizer
Initializes a DictionaryLemmatizer and related HashMap from the input tab separated dictionary.
DictionaryLemmatizer(File, Charset) - Constructor for class opennlp.tools.lemmatizer.DictionaryLemmatizer
Initializes a DictionaryLemmatizer and related HashMap from the input tab separated dictionary.
DictionaryLemmatizer(InputStream) - Constructor for class opennlp.tools.lemmatizer.DictionaryLemmatizer
Initializes a DictionaryLemmatizer and related HashMap from the input tab separated dictionary.
DictionaryLemmatizer(InputStream, Charset) - Constructor for class opennlp.tools.lemmatizer.DictionaryLemmatizer
Initializes a DictionaryLemmatizer and related HashMap from the input tab separated dictionary.
DictionaryLemmatizer(Path) - Constructor for class opennlp.tools.lemmatizer.DictionaryLemmatizer
Initializes a DictionaryLemmatizer and related HashMap from the input tab separated dictionary.
DictionaryNameFinder - Class in opennlp.tools.namefind
This is a Dictionary based name finder.
DictionaryNameFinder(Dictionary) - Constructor for class opennlp.tools.namefind.DictionaryNameFinder
Initializes a DictionaryNameFinder with the provided Dictionary and DictionaryNameFinder.DEFAULT_TYPE.
DictionaryNameFinder(Dictionary, String) - Constructor for class opennlp.tools.namefind.DictionaryNameFinder
Initializes a DictionaryNameFinder with the provided Dictionary and a type.
DictionarySerializer - Class in opennlp.tools.util.model
An ArtifactSerializer implementation for dictionaries.
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 DoccatCrossValidator with the given generators.
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 DoccatFactory that provides the default implementation of the resources.
DoccatFactory(FeatureGenerator[]) - Constructor for class opennlp.tools.doccat.DoccatFactory
Instantiates a DoccatFactory that 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 DoccatModel instance via a valid File.
DoccatModel(InputStream) - Constructor for class opennlp.tools.doccat.DoccatModel
Initializes a DoccatModel instance via a valid InputStream.
DoccatModel(String, MaxentModel, Map, DoccatFactory) - Constructor for class opennlp.tools.doccat.DoccatModel
Initializes a DoccatModel instance via given parameters.
DoccatModel(URL) - Constructor for class opennlp.tools.doccat.DoccatModel
Initializes a DoccatModel instance via a valid URL.
DoccatModel(Path) - Constructor for class opennlp.tools.doccat.DoccatModel
Initializes a DoccatModel instance via a valid Path.
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
DocumentBeginFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.DocumentBeginFeatureGeneratorFactory
 
DocumentCategorizerEvaluator - Class in opennlp.tools.doccat
The DocumentCategorizerEvaluator measures the performance of the given DocumentCategorizer with the provided reference samples.
DocumentCategorizerEvaluator(DocumentCategorizer, DoccatEvaluationMonitor...) - Constructor for class opennlp.tools.doccat.DocumentCategorizerEvaluator
Initializes a DocumentCategorizerEvaluator instance.
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 DocumentCategorizerEventStream via samples.
DocumentCategorizerEventStream(ObjectStream, FeatureGenerator...) - Constructor for class opennlp.tools.doccat.DocumentCategorizerEventStream
Initializes a DocumentCategorizerEventStream via samples and feature 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 DocumentCategorizerME instance with a doccat model.
DocumentSampleStream - Class in opennlp.tools.doccat
Reads in string encoded training samples, parses them and outputs DocumentSample objects.
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 spans with 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 EmojiCharSequenceNormalizer implementation that normalizes text in terms of emojis.
EmojiCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.EmojiCharSequenceNormalizer
 
EmptyLinePreprocessorStream - Class in opennlp.tools.sentdetect
ObjectStream to 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 EntityLinker instances via a properties file configuration.
EntityLinkerFactory() - Constructor for class opennlp.tools.entitylinker.EntityLinkerFactory
 
Entry - Record Class in opennlp.tools.dictionary.serializer
An Entry is a StringList which can optionally be mapped to attributes.
Entry(StringList, Attributes) - Constructor for record class opennlp.tools.dictionary.serializer.Entry
Creates an instance of a Entry record 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 objects and evaluates each instance via the Evaluator.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 spans with 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 spans for 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 events for each token in a sentence with the specified outcomes using the specified NameContextGenerator.
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.
use the BioCodec implementation of the SequenceValidator instead!
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 ArtifactSerializer implementation for models.
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 index given the specified tokens and previous tags.
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 index given the specified tokens and previous tags.
getContext(int, String[], String[], Object[]) - Method in class opennlp.tools.postag.DefaultPOSContextGenerator
Returns the context for making a postag decision at the specified token index given the specified tokens and previous tags.
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 index should 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 start and end index can be combined to form a new constituent of the specified type.
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 index should be combined with a parent constituent.
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 RegexNameFinder that will utilize specified default regexes.
getDescriptorElements(InputStream) - Static method in class opennlp.tools.util.featuregen.GeneratorFactory
Provides a List with 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 EventModelSequenceTrainer that fits the given parameters.
getEventTrainer(TrainingParameters, Map) - Static method in class opennlp.tools.ml.TrainerFactory
Works just like TrainerFactory.getEventTrainer(TrainingParameters, Map, TrainingConfiguration) except that TrainingConfiguration is initialized with default values.
getEventTrainer(TrainingParameters, Map, TrainingConfiguration) - Static method in class opennlp.tools.ml.TrainerFactory
Retrieves an EventTrainer that 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 Collections of all aggregated feature 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 EntityLinker instance matching the properties configuration.
getLinker(EntityLinkerProperties) - Static method in class opennlp.tools.entitylinker.EntityLinkerFactory
Retrieves a EntityLinker instance matching the properties configuration.
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 on LanguageDetectorConfig.getMinDiff()
getMinDiff() - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
If this value equals 0, probing detection will rely solely on LanguageDetectorConfig.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.
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 tree with 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.
getSentenceProbabilities() - Method in class opennlp.tools.sentdetect.ThreadSafeSentenceDetectorME
Deprecated.
getSequenceCodec() - Method in class opennlp.tools.namefind.TokenNameFinderModel
 
getSequenceModelTrainer(TrainingParameters, Map) - Static method in class opennlp.tools.ml.TrainerFactory
Retrieves a SequenceTrainer that 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 ObjectStream over the test/evaluations elements and poisons this CrossValidationPartitioner.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.TrainerType based on the Parameters.ALGORITHM_PARAM value.
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 null if 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 POSTagFormat of a given POSModel

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 HeadRules associated 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 1 to the curren value.
Index - Class in opennlp.tools.dictionary
This classes indexes string lists.
Index(Iterator) - Constructor for class opennlp.tools.dictionary.Index
Initializes an Index with the given Iterator over StringList elements.
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 InSpanGenerator instance.
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 SequenceCodec instance 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
Retrieves an Iterator over all entries.
iterator() - Method in class opennlp.tools.ngram.NGramModel
Retrieves an Iterator over all StringList entries.
iterator() - Method in class opennlp.tools.postag.POSDictionary
Retrieves an Iterator over 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 LanguageDetectorCrossValidator with the given parameters.
LanguageDetectorEvaluator - Class in opennlp.tools.langdetect
The LanguageDetectorEvaluator measures the performance of the given LanguageDetector with the provided reference LanguageSamples.
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 LanguageDetectorModel is the model used by a learnable LanguageDetector.
LanguageDetectorModel(File) - Constructor for class opennlp.tools.langdetect.LanguageDetectorModel
Initializes a LanguageDetectorModel instance via a valid File.
LanguageDetectorModel(InputStream) - Constructor for class opennlp.tools.langdetect.LanguageDetectorModel
Initializes a LanguageDetectorModel instance via a valid InputStream.
LanguageDetectorModel(URL) - Constructor for class opennlp.tools.langdetect.LanguageDetectorModel
Initializes a LanguageDetectorModel instance via a valid URL.
LanguageDetectorModel(MaxentModel, Map, LanguageDetectorFactory) - Constructor for class opennlp.tools.langdetect.LanguageDetectorModel
Initializes a LanguageDetectorModel instance via given parameters.
LanguageDetectorSampleStream - Class in opennlp.tools.langdetect
This class reads in string encoded training samples, parses them and outputs LanguageSample objects.
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 languages record 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 SequenceStream implementation encapsulating samples.
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 LemmatizerEvaluator measures the performance of the given Lemmatizer with the provided reference samples.
LemmatizerEvaluator(Lemmatizer, LemmatizerEvaluationMonitor...) - Constructor for class opennlp.tools.lemmatizer.LemmatizerEvaluator
Initializes a LemmatizerEvaluator instance with the given Lemmatizer.
LemmatizerFactory - Class in opennlp.tools.lemmatizer
The factory that provides Lemmatizer default implementation and resources.
LemmatizerFactory() - Constructor for class opennlp.tools.lemmatizer.LemmatizerFactory
Instantiates a LemmatizerFactory that provides the default implementation of the resources.
LemmatizerME - Class in opennlp.tools.lemmatizer
A probabilistic Lemmatizer implementation.
LemmatizerME(LemmatizerModel) - Constructor for class opennlp.tools.lemmatizer.LemmatizerME
Initializes a LemmatizerME with the provided model and a default beam size of 3.
LemmatizerModel - Class in opennlp.tools.lemmatizer
The LemmatizerModel is the model used by a learnable Lemmatizer.
LemmatizerModel(File) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
Initializes a LemmatizerModel instance via a valid File.
LemmatizerModel(InputStream) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
Initializes a LemmatizerModel instance via a valid InputStream.
LemmatizerModel(String, MaxentModel, int, Map, LemmatizerFactory) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
Initializes a LemmatizerModel instance via given parameters.
LemmatizerModel(String, MaxentModel, Map, LemmatizerFactory) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
Initializes a LemmatizerModel instance via given parameters.
LemmatizerModel(String, MaxentModel, LemmatizerFactory) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
Initializes a LemmatizerModel instance via given parameters.
LemmatizerModel(String, SequenceClassificationModel, Map, LemmatizerFactory) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
Initializes a LemmatizerModel instance via given parameters.
LemmatizerModel(URL) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
Initializes a LemmatizerModel instance via a valid URL.
LemmatizerModel(Path) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
Initializes a LemmatizerModel instance via a valid Path.
length() - Method in record class opennlp.tools.langdetect.ProbingLanguageDetectionResult
Returns the value of the length record component.
LogPrintStream - Class in opennlp.tools.log
This class serves as an adapter for a Logger used within a PrintStream.
LogPrintStream(Logger) - Constructor for class opennlp.tools.log.LogPrintStream
Creates a LogPrintStream for the given Logger.
LogPrintStream(Logger, Level) - Constructor for class opennlp.tools.log.LogPrintStream
Creates a LogPrintStream for the given Logger, which logs at the specified level.
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
Initializes a NameFinderEventStream using the specified dataStream and NameContextGenerator.
NameFinderME - Class in opennlp.tools.namefind
A maximum-entropy-based name finder implementation.
NameFinderME(TokenNameFinderModel) - Constructor for class opennlp.tools.namefind.NameFinderME
Initializes a NameFinderME with a TokenNameFinderModel.
NameFinderSequenceValidator - Class in opennlp.tools.namefind
The default name finder SequenceValidator implementation.
NameFinderSequenceValidator() - Constructor for class opennlp.tools.namefind.NameFinderSequenceValidator
 
NameSampleDataStream - Class in opennlp.tools.namefind
The NameSampleDataStream class converts tagged tokens provided by a DataStream to NameSample objects.
NameSampleDataStream(ObjectStream) - Constructor for class opennlp.tools.namefind.NameSampleDataStream
Initializes a NameSampleDataStream with given psi samples.
NameSampleSequenceStream - Class in opennlp.tools.namefind
A SequenceStream implementation encapsulating samples.
NameSampleSequenceStream(ObjectStream) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
Initializes a NameSampleSequenceStream with given psi samples.
NameSampleSequenceStream(ObjectStream, NameContextGenerator) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
Initializes a NameSampleSequenceStream with given psi samples and an feature generator.
NameSampleSequenceStream(ObjectStream, NameContextGenerator, boolean) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
Initializes a NameSampleSequenceStream with given psi samples and an feature generator.
NameSampleSequenceStream(ObjectStream, NameContextGenerator, boolean, SequenceCodec) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
Initializes a NameSampleSequenceStream with given psi samples and an feature generator.
NameSampleSequenceStream(ObjectStream, AdaptiveFeatureGenerator) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
Initializes a NameSampleSequenceStream with given psi samples and an feature generator.
NameSampleSequenceStream(ObjectStream, AdaptiveFeatureGenerator, boolean) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
Initializes a NameSampleSequenceStream with given psi samples and an feature generator.
NameSampleTypeFilter - Class in opennlp.tools.namefind
A stream which removes name samples which 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 SentenceDetector assumes 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 NGramCharModel can 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 NGramFeatureGenerator instance with a Bi grams config.
NGramFeatureGenerator(int, int) - Constructor for class opennlp.tools.doccat.NGramFeatureGenerator
Instantiates an NGramFeatureGenerator instance 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 LanguageModel based on a NGramModel using Stupid Backoff to get the probabilities of the ngrams.
NGramLanguageModel() - Constructor for class opennlp.tools.languagemodel.NGramLanguageModel
Initializes an NGramLanguageModel with NGramLanguageModel.DEFAULT_N.
NGramLanguageModel(int) - Constructor for class opennlp.tools.languagemodel.NGramLanguageModel
Initializes an NGramLanguageModel with the given n for the ngram size.
NGramLanguageModel(InputStream) - Constructor for class opennlp.tools.languagemodel.NGramLanguageModel
Initializes a NGramLanguageModel instance via a valid InputStream.
NGramLanguageModel(InputStream, int) - Constructor for class opennlp.tools.languagemodel.NGramLanguageModel
Initializes a NGramLanguageModel instance via a valid InputStream.
NGramModel - Class in opennlp.tools.ngram
The NGramModel can be used to crate ngrams and character ngrams.
NGramModel() - Constructor for class opennlp.tools.ngram.NGramModel
Instantiates an empty NGramModel instance.
NGramModel(InputStream) - Constructor for class opennlp.tools.ngram.NGramModel
Instantiates a NGramModel via an InputStream reference.
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 NumberCharSequenceNormalizer implementation 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
Return a new Version initialized to the value represented by the specified String
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 Dictionary which has one entry per line.
Parser - Class in opennlp.tools.parser.chunking
A shift reduce style Parser implementation based on Adwait Ratnaparkhi's 1998 thesis.
Parser - Class in opennlp.tools.parser.treeinsert
A built-attach Parser implementation.
Parser(ParserModel) - Constructor for class opennlp.tools.parser.chunking.Parser
Instantiates a Parser via a given model.
Parser(ParserModel) - Constructor for class opennlp.tools.parser.treeinsert.Parser
Instantiates a Parser via a given model.
Parser(ParserModel, int, double) - Constructor for class opennlp.tools.parser.chunking.Parser
Instantiates a Parser via a given model and other configuration parameters.
Parser(ParserModel, int, double) - Constructor for class opennlp.tools.parser.treeinsert.Parser
Instantiates a Parser via a given model and 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 SequenceValidator implementation.
ParserChunkerSequenceValidator(String[]) - Constructor for class opennlp.tools.parser.ParserChunkerSequenceValidator
 
ParserEventStream - Class in opennlp.tools.parser.chunking
Wrapper class for one of four shift-reduce parser event streams.
ParserEventStream - Class in opennlp.tools.parser.treeinsert
Wrapper class for one of four built-attach parser event streams.
ParserEventStream(ObjectStream, HeadRules, ParserEventTypeEnum) - Constructor for class opennlp.tools.parser.chunking.ParserEventStream
Instantiates a ParserEventStream based on the specified data stream of the type using head rules.
ParserEventStream(ObjectStream, HeadRules, ParserEventTypeEnum) - Constructor for class opennlp.tools.parser.treeinsert.ParserEventStream
Instantiates a ParserEventStream based on the specified data stream of the type using head rules.
ParserEventStream(ObjectStream, HeadRules, ParserEventTypeEnum, Dictionary) - Constructor for class opennlp.tools.parser.chunking.ParserEventStream
Instantiates a ParserEventStream based on the specified data stream of the type using head rules.
ParserEventStream(ObjectStream, HeadRules, ParserEventTypeEnum, Dictionary) - Constructor for class opennlp.tools.parser.treeinsert.ParserEventStream
Instantiates a ParserEventStream based on the specified data stream of the type using head rules.
ParserFactory - Class in opennlp.tools.parser
 
ParserModel - Class in opennlp.tools.parser
This is the default ParserModel implementation.
ParserModel(File) - Constructor for class opennlp.tools.parser.ParserModel
Initializes a ParserModel instance via a valid File.
ParserModel(InputStream) - Constructor for class opennlp.tools.parser.ParserModel
Initializes a ParserModel instance via a valid InputStream.
ParserModel(String, MaxentModel, MaxentModel, MaxentModel, POSModel, ChunkerModel, HeadRules, ParserType) - Constructor for class opennlp.tools.parser.ParserModel
Initializes a ParserModel instance via given parameters.
ParserModel(String, MaxentModel, MaxentModel, MaxentModel, POSModel, ChunkerModel, HeadRules, ParserType, Map) - Constructor for class opennlp.tools.parser.ParserModel
Initializes a ParserModel instance via given parameters.
ParserModel(String, MaxentModel, MaxentModel, POSModel, ChunkerModel, HeadRules, ParserType, Map) - Constructor for class opennlp.tools.parser.ParserModel
Initializes a ParserModel instance via given parameters.
ParserModel(URL) - Constructor for class opennlp.tools.parser.ParserModel
Initializes a ParserModel instance via a valid URL.
ParserModel(Path) - Constructor for class opennlp.tools.parser.ParserModel
Initializes a ParserModel instance via a valid Path.
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 POSDictionary from an ObjectStream of 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 TagDictionary read 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 POSEvaluator measures the performance of the given POSTagger with the provided reference samples.
POSEvaluator(POSTagger, POSTaggerEvaluationMonitor...) - Constructor for class opennlp.tools.postag.POSEvaluator
Initializes the current instance.
POSModel - Class in opennlp.tools.postag
The POSModel is the model used by a learnable POSTagger.
POSModel(File) - Constructor for class opennlp.tools.postag.POSModel
Initializes a POSModel instance via a valid File.
POSModel(InputStream) - Constructor for class opennlp.tools.postag.POSModel
Initializes a POSModel instance via a valid InputStream.
POSModel(String, MaxentModel, int, Map, POSTaggerFactory) - Constructor for class opennlp.tools.postag.POSModel
Initializes a POSModel instance via given parameters.
POSModel(String, MaxentModel, Map, POSTaggerFactory) - Constructor for class opennlp.tools.postag.POSModel
Initializes a POSModel instance via given parameters.
POSModel(String, SequenceClassificationModel, Map, POSTaggerFactory) - Constructor for class opennlp.tools.postag.POSModel
Initializes a POSModel instance via given parameters.
POSModel(URL) - Constructor for class opennlp.tools.postag.POSModel
Initializes a POSModel instance via a valid URL.
POSModel(Path) - Constructor for class opennlp.tools.postag.POSModel
Initializes a POSModel instance via a valid Path.
POSModelSerializer - Class in opennlp.tools.util.model
An ArtifactSerializer implementation for models.
POSModelSerializer() - Constructor for class opennlp.tools.util.model.POSModelSerializer
 
POSSampleEventStream - Class in opennlp.tools.postag
Reads the samples from an Iterator and converts those samples into events which 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 SequenceStream implementation encapsulating samples.
POSSampleSequenceStream(ObjectStream) - Constructor for class opennlp.tools.postag.POSSampleSequenceStream
Creates a POSSampleSequenceStream with given samples using a DefaultPOSContextGenerator.
POSSampleSequenceStream(ObjectStream, POSContextGenerator) - Constructor for class opennlp.tools.postag.POSSampleSequenceStream
Creates a POSSampleSequenceStream with given samples using a POSContextGenerator.
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 POSTaggerCrossValidator that builds a ngram dictionary dynamically.
POSTaggerCrossValidator(String, TrainingParameters, File, byte[], Map, Integer, String, POSTaggerEvaluationMonitor...) - Constructor for class opennlp.tools.postag.POSTaggerCrossValidator
Initializes a POSTaggerCrossValidator that builds a ngram dictionary dynamically.
POSTaggerCrossValidator(String, TrainingParameters, POSTaggerFactory, POSTagFormat, POSTaggerEvaluationMonitor...) - Constructor for class opennlp.tools.postag.POSTaggerCrossValidator
Creates a POSTaggerCrossValidator using the given POSTaggerFactory.
POSTaggerCrossValidator(String, TrainingParameters, POSTaggerFactory, POSTaggerEvaluationMonitor...) - Constructor for class opennlp.tools.postag.POSTaggerCrossValidator
Creates a POSTaggerCrossValidator using the given POSTaggerFactory.
POSTaggerFactory - Class in opennlp.tools.postag
The factory that provides POSTagger default implementations and resources.
POSTaggerFactory() - Constructor for class opennlp.tools.postag.POSTaggerFactory
Initializes a POSTaggerFactory that provides the default implementation of the resources.
POSTaggerFactory(byte[], Map, TagDictionary) - Constructor for class opennlp.tools.postag.POSTaggerFactory
Initializes a POSTaggerFactory from 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
PosTaggerFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.PosTaggerFeatureGeneratorFactory
 
POSTaggerME - Class in opennlp.tools.postag
A part-of-speech tagger implementation that uses maximum entropy.
POSTaggerME(String) - Constructor for class opennlp.tools.postag.POSTaggerME
Initializes a POSTaggerME by downloading a default model for a given language.
POSTaggerME(String, POSTagFormat) - Constructor for class opennlp.tools.postag.POSTaggerME
Initializes a POSTaggerME by downloading a default model for a given language.
POSTaggerME(POSModel) - Constructor for class opennlp.tools.postag.POSTaggerME
Initializes a POSTaggerME with the provided model.
POSTaggerME(POSModel, POSTagFormat) - Constructor for class opennlp.tools.postag.POSTaggerME
Initializes a POSTaggerME with the provided model.
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 POSTaggerNameFeatureGenerator with the specified POSModel.
POSTaggerNameFeatureGenerator(POSTagger) - Constructor for class opennlp.tools.util.featuregen.POSTaggerNameFeatureGenerator
Initializes a POSTaggerNameFeatureGenerator with the specified POSTagger.
POSTaggerNameFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
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 PrefixFeatureGenerator with the specified prefixLength.
PrefixFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
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 AdaptiveFeatureGenerator generates 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
PreviousMapFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.PreviousMapFeatureGeneratorFactory
 
PreviousTwoMapFeatureGenerator - Class in opennlp.tools.util.featuregen
This AdaptiveFeatureGenerator generates 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 ProbingLanguageDetectionResult record 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_CONFIG are 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_CONFIG are 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 probs array 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 LanguageSample object.
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 POSSample object.
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 InputStream into 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 TokenNameFinder implementation based on a series of regular expressions.
RegexNameFinder(Map) - Constructor for class opennlp.tools.namefind.RegexNameFinder
Initializes a RegexNameFinder instance.
RegexNameFinder(Pattern[], String) - Constructor for class opennlp.tools.namefind.RegexNameFinder
Initializes a RegexNameFinder instance.
RegexNameFinderFactory - Class in opennlp.tools.namefind
Returns a RegexNameFinder based 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 GenericModelSerializer in the given factories mapping.
remove() - Method in class opennlp.tools.tokenize.lang.en.TokenSampleStream
 
remove(CharSequence) - Method in class opennlp.tools.ngram.NGramCharModel
Removes the specified ngram is from a NGramCharModel.
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 SentenceDetectorEvaluator measures the performance of the given SentenceDetector with the provided reference SentenceSamples.
SentenceDetectorEvaluator(SentenceDetector, SentenceDetectorEvaluationMonitor...) - Constructor for class opennlp.tools.sentdetect.SentenceDetectorEvaluator
Initializes the current instance.
SentenceDetectorFactory - Class in opennlp.tools.sentdetect
The factory that provides SentenceDetector default implementations and resources
SentenceDetectorFactory() - Constructor for class opennlp.tools.sentdetect.SentenceDetectorFactory
Creates a SentenceDetectorFactory that provides the default implementation of the resources.
SentenceDetectorFactory(String, boolean, Dictionary, char[]) - Constructor for class opennlp.tools.sentdetect.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 SentenceDetectorME with an existing SentenceModel.
SentenceDetectorME(SentenceModel, Factory) - Constructor for class opennlp.tools.sentdetect.SentenceDetectorME
Deprecated.
Use a SentenceDetectorFactory to 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
SentenceFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.SentenceFeatureGeneratorFactory
 
SentenceModel - Class in opennlp.tools.sentdetect
The SentenceModel is the model used by a learnable SentenceDetector.
SentenceModel(File) - Constructor for class opennlp.tools.sentdetect.SentenceModel
Initializes a SentenceModel instance via a valid File.
SentenceModel(InputStream) - Constructor for class opennlp.tools.sentdetect.SentenceModel
Initializes a SentenceModel instance via a valid InputStream.
SentenceModel(String, MaxentModel, Map, SentenceDetectorFactory) - Constructor for class opennlp.tools.sentdetect.SentenceModel
Initializes a SentenceModel instance via given parameters.
SentenceModel(URL) - Constructor for class opennlp.tools.sentdetect.SentenceModel
Initializes a SentenceModel instance via a valid URL.
SentenceModel(Path) - Constructor for class opennlp.tools.sentdetect.SentenceModel
Initializes a SentenceModel instance via a valid Path.
SentenceSampleStream - Class in opennlp.tools.sentdetect
This class is a stream filter which reads a sentence by line samples from an ObjectStream and converts them into SentenceSample objects.
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 SentimentEvaluator measures the performance of the given SentimentME with the provided reference SentimentSamples.
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 SentimentDetector implementation for creating and using maximum-entropy-based Sentiment Analysis models.
SentimentME(SentimentModel) - Constructor for class opennlp.tools.sentiment.SentimentME
Instantiates a SentimentME with 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 SentimentModel model via a File reference.
SentimentModel(InputStream) - Constructor for class opennlp.tools.sentiment.SentimentModel
Instantiates a SentimentModel model via a InputStream reference.
SentimentModel(String, MaxentModel, Map, SentimentFactory) - Constructor for class opennlp.tools.sentiment.SentimentModel
Instantiates a SentimentModel model.
SentimentModel(URL) - Constructor for class opennlp.tools.sentiment.SentimentModel
Instantiates a SentimentModel model via a URL reference.
SentimentSampleStream - Class in opennlp.tools.sentiment
Class for converting Strings through Data Stream to SentimentSample using tokenised text.
SentimentSampleStream(ObjectStream) - Constructor for class opennlp.tools.sentiment.SentimentSampleStream
Instantiates a SentimentSampleStream object.
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 SentimentSampleTypeFilter object.
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 POSDictionary to the given OutputStream;
serialize(OutputStream) - Method in class opennlp.tools.tokenize.DetokenizationDictionary
Serializes the current state of a DetokenizationDictionary via an output 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 Writer in 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 Writer in 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 ShrinkCharSequenceNormalizer implementation that shrinks repeated spaces / chars in text.
ShrinkCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.ShrinkCharSequenceNormalizer
 
SimpleTokenizer - Class in opennlp.tools.tokenize
A basic Tokenizer implementation 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 entries in a NGramCharModel.
size() - Method in class opennlp.tools.ngram.NGramModel
Retrieves the number of StringList entries 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 StringList is an immutable list of Strings.
StringList(boolean, String...) - Constructor for class opennlp.tools.util.StringList
Initializes a StringList instance.
StringList(String) - Constructor for class opennlp.tools.util.StringList
Initializes a StringList instance.
StringList(String...) - Constructor for class opennlp.tools.util.StringList
Initializes a StringList instance.
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
SuffixFeatureGenerator(int) - Constructor for class opennlp.tools.util.featuregen.SuffixFeatureGenerator
Intializes a SuffixFeatureGenerator with the specified suffixLength.
SuffixFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
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 numTaggings for the specified sentence.
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 ThreadSafeChunkerME with the specified model.
ThreadSafeLanguageDetectorME - Class in opennlp.tools.langdetect
A thread-safe version of the LanguageDetectorME.
ThreadSafeLanguageDetectorME(LanguageDetectorModel) - Constructor for class opennlp.tools.langdetect.ThreadSafeLanguageDetectorME
Initializes a ThreadSafeLanguageDetectorME with the specified model.
ThreadSafeLemmatizerME - Class in opennlp.tools.lemmatizer
A thread-safe version of the LemmatizerME.
ThreadSafeLemmatizerME(LemmatizerModel) - Constructor for class opennlp.tools.lemmatizer.ThreadSafeLemmatizerME
Initializes a ThreadSafeLemmatizerME with the specified model.
ThreadSafeNameFinderME - Class in opennlp.tools.namefind
A thread-safe version of NameFinderME.
ThreadSafeNameFinderME(TokenNameFinderModel) - Constructor for class opennlp.tools.namefind.ThreadSafeNameFinderME
Initializes a ThreadSafeNameFinderME with the specified model.
ThreadSafePOSTaggerME - Class in opennlp.tools.postag
A thread-safe version of the POSTaggerME.
ThreadSafePOSTaggerME(String) - Constructor for class opennlp.tools.postag.ThreadSafePOSTaggerME
Initializes a ThreadSafePOSTaggerME by downloading a default model for a given language.
ThreadSafePOSTaggerME(String, POSTagFormat) - Constructor for class opennlp.tools.postag.ThreadSafePOSTaggerME
Initializes a ThreadSafePOSTaggerME by downloading a default model for a given language.
ThreadSafePOSTaggerME(POSModel) - Constructor for class opennlp.tools.postag.ThreadSafePOSTaggerME
Initializes a ThreadSafePOSTaggerME with the specified model.
ThreadSafePOSTaggerME(POSModel, POSTagFormat) - Constructor for class opennlp.tools.postag.ThreadSafePOSTaggerME
Initializes a ThreadSafePOSTaggerME with the specified model.
ThreadSafeSentenceDetectorME - Class in opennlp.tools.sentdetect
A thread-safe version of SentenceDetectorME.
ThreadSafeSentenceDetectorME(String) - Constructor for class opennlp.tools.sentdetect.ThreadSafeSentenceDetectorME
Initializes a ThreadSafeSentenceDetectorME by downloading a default model for a given language.
ThreadSafeSentenceDetectorME(SentenceModel) - Constructor for class opennlp.tools.sentdetect.ThreadSafeSentenceDetectorME
Initializes a ThreadSafeSentenceDetectorME with the specified model.
ThreadSafeSentenceDetectorME(SentenceModel, Dictionary) - Constructor for class opennlp.tools.sentdetect.ThreadSafeSentenceDetectorME
Instantiates a ThreadSafeSentenceDetectorME with an existing SentenceModel.
ThreadSafeTokenizerME - Class in opennlp.tools.tokenize
A thread-safe version of TokenizerME.
ThreadSafeTokenizerME(String) - Constructor for class opennlp.tools.tokenize.ThreadSafeTokenizerME
Initializes a ThreadSafeTokenizerME by downloading a default model for a given language.
ThreadSafeTokenizerME(TokenizerModel) - Constructor for class opennlp.tools.tokenize.ThreadSafeTokenizerME
Initializes a ThreadSafeTokenizerME with the specified model.
ThreadSafeTokenizerME(TokenizerModel, Dictionary) - Constructor for class opennlp.tools.tokenize.ThreadSafeTokenizerME
Instantiates a ThreadSafeTokenizerME with an existing TokenizerModel.
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 StringList which are in the current NGramModel.
toDictionary(boolean) - Method in class opennlp.tools.ngram.NGramModel
Creates a dictionary which contains all StringLists which are in the current NGramModel.
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 TokenClassFeatureGenerator which won't generate the w&c feature per token.
TokenClassFeatureGenerator(boolean) - Constructor for class opennlp.tools.util.featuregen.TokenClassFeatureGenerator
TokenClassFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
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
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 TokenizerCrossValidator using the given TokenizerFactory.
TokenizerEvaluator - Class in opennlp.tools.tokenize
The TokenizerEvaluator measures the performance of the given Tokenizer with the provided reference samples.
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 Tokenizer default implementation and resources.
TokenizerFactory() - Constructor for class opennlp.tools.tokenize.TokenizerFactory
Instantiates a TokenizerFactory that 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 Tokenizer for converting raw text into separated tokens.
TokenizerME(String) - Constructor for class opennlp.tools.tokenize.TokenizerME
Initializes a TokenizerME by downloading a default model.
TokenizerME(TokenizerModel) - Constructor for class opennlp.tools.tokenize.TokenizerME
Instantiates a TokenizerME with an existing TokenizerModel.
TokenizerME(TokenizerModel, Dictionary) - Constructor for class opennlp.tools.tokenize.TokenizerME
Instantiates a TokenizerME with an existing TokenizerModel.
TokenizerModel - Class in opennlp.tools.tokenize
The TokenizerModel is the model used by a learnable Tokenizer.
TokenizerModel(File) - Constructor for class opennlp.tools.tokenize.TokenizerModel
Initializes a TokenizerModel instance via a valid File.
TokenizerModel(InputStream) - Constructor for class opennlp.tools.tokenize.TokenizerModel
Initializes a TokenizerModel instance via a valid InputStream.
TokenizerModel(URL) - Constructor for class opennlp.tools.tokenize.TokenizerModel
Initializes a TokenizerModel instance via a valid URL.
TokenizerModel(Path) - Constructor for class opennlp.tools.tokenize.TokenizerModel
Initializes a TokenizerModel instance via a valid Path.
TokenizerModel(MaxentModel, Map, TokenizerFactory) - Constructor for class opennlp.tools.tokenize.TokenizerModel
Initializes a TokenizerModel instance via a MaxentModel and related resources.
TokenizerStream - Class in opennlp.tools.tokenize
The TokenizerStream uses a Tokenizer to tokenize the input string and output samples.
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 TokenNameFinderCrossValidator with the given parameters.
TokenNameFinderCrossValidator(String, String, TrainingParameters, byte[], Map, SequenceCodec, TokenNameFinderEvaluationMonitor...) - Constructor for class opennlp.tools.namefind.TokenNameFinderCrossValidator
Initializes a TokenNameFinderCrossValidator with the given parameters.
TokenNameFinderCrossValidator(String, String, TrainingParameters, TokenNameFinderFactory, TokenNameFinderEvaluationMonitor...) - Constructor for class opennlp.tools.namefind.TokenNameFinderCrossValidator
Initializes a TokenNameFinderCrossValidator with the given parameters.
TokenNameFinderEvaluator - Class in opennlp.tools.namefind
The TokenNameFinderEvaluator measures the performance of the given TokenNameFinder with the provided reference samples.
TokenNameFinderEvaluator(TokenNameFinder, TokenNameFinderEvaluationMonitor...) - Constructor for class opennlp.tools.namefind.TokenNameFinderEvaluator
Initializes a TokenNameFinderEvaluator for a given TokenNameFinder.
TokenNameFinderFactory - Class in opennlp.tools.namefind
The factory that provides TokenNameFinder default implementations and resources.
TokenNameFinderFactory() - Constructor for class opennlp.tools.namefind.TokenNameFinderFactory
Initializes a TokenNameFinderFactory that provides the default implementation of the resources.
TokenNameFinderFactory(byte[], Map, SequenceCodec) - Constructor for class opennlp.tools.namefind.TokenNameFinderFactory
Initializes a TokenNameFinderFactory instance via given parameters.
TokenNameFinderModel - Class in opennlp.tools.namefind
The TokenNameFinderModel is the model used by a learnable TokenNameFinder.
TokenNameFinderModel(File) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
Initializes a TokenNameFinderModel instance via a valid File.
TokenNameFinderModel(InputStream) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
Initializes a TokenNameFinderModel instance via a valid InputStream.
TokenNameFinderModel(String, MaxentModel, byte[], Map, Map) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
Initializes a TokenNameFinderModel instance via given parameters.
TokenNameFinderModel(String, MaxentModel, int, byte[], Map, Map) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
Initializes a TokenNameFinderModel instance via given parameters.
TokenNameFinderModel(String, MaxentModel, int, byte[], Map, Map, SequenceCodec, TokenNameFinderFactory) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
Initializes a TokenNameFinderModel instance via given parameters.
TokenNameFinderModel(String, MaxentModel, Map, Map) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
Initializes a TokenNameFinderModel instance via given parameters.
TokenNameFinderModel(String, SequenceClassificationModel, byte[], Map, Map, SequenceCodec, TokenNameFinderFactory) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
Initializes a TokenNameFinderModel instance via given parameters.
TokenNameFinderModel(URL) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
Initializes a TokenNameFinderModel instance via a valid URL.
TokenNameFinderModel(Path) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
Initializes a TokenNameFinderModel instance via a valid Path.
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
TokenPatternFeatureGenerator(Tokenizer) - Constructor for class opennlp.tools.util.featuregen.TokenPatternFeatureGenerator
Initializes a TokenPatternFeatureGenerator instance.
TokenPatternFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
TokenPatternFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.TokenPatternFeatureGeneratorFactory
 
tokens() - Method in record class opennlp.tools.dictionary.serializer.Entry
Returns the value of the tokens record 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 filter which reads in string encoded samples and creates samples out 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 samples via an Iterator and converts the samples into events which 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 TokenContextGenerator that relies on a DefaultTokenContextGenerator.
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 String representation.
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 of Version with the returned version value string.
train(String, String, ObjectStream, TrainingParameters, TokenNameFinderFactory) - Static method in class opennlp.tools.namefind.NameFinderME
Starts a training of a TokenNameFinderModel with the given parameters.
train(String, ObjectStream, TrainingParameters, ChunkerFactory) - Static method in class opennlp.tools.chunker.ChunkerME
Starts a training of a ChunkerModel with the given parameters.
train(String, ObjectStream, TrainingParameters, DoccatFactory) - Static method in class opennlp.tools.doccat.DocumentCategorizerME
Starts a training of a DoccatModel with the given parameters.
train(String, ObjectStream, TrainingParameters, LemmatizerFactory) - Static method in class opennlp.tools.lemmatizer.LemmatizerME
Starts a training of a LemmatizerModel with 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 POSModel with the given parameters.
train(String, ObjectStream, SentenceDetectorFactory, TrainingParameters) - Static method in class opennlp.tools.sentdetect.SentenceDetectorME
Starts a training of a SentenceModel with the given parameters.
train(String, ObjectStream, TrainingParameters, SentimentFactory) - Static method in class opennlp.tools.sentiment.SentimentME
train(ObjectStream, TrainingParameters, LanguageDetectorFactory) - Static method in class opennlp.tools.langdetect.LanguageDetectorME
Starts a training of a LanguageDetectorModel with 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 Trainer instances depending on a trainer type configured via Parameters.
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
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 TwitterCharSequenceNormalizer implementation 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 InputStream which 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 aggregated feature 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 ParserModel instance from the existing configuration with the specified buildModel for exchange.
updateCheckModel(MaxentModel) - Method in class opennlp.tools.parser.ParserModel
Instantiates a new ParserModel instance from the existing configuration with the specified checkModel for exchange.
updateChunkerModel(ChunkerModel) - Method in class opennlp.tools.parser.ParserModel
Instantiates a new ParserModel instance from the existing configuration with the specified chunkModel for 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 ParserModel instance from the existing configuration with the specified taggerModel for exchange.
URL - Enum constant in enum class opennlp.tools.namefind.RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER
 
UrlCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
A UrlCharSequenceNormalizer implementation 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 expectedOutcomes are all contained as outcomes in the given model.
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 Version class represents the OpenNLP Tools library version.
Version(int, int, int) - Constructor for class opennlp.tools.util.Version
Initializes a Version instance with the provided version elements.
Version(int, int, int, boolean) - Constructor for class opennlp.tools.util.Version
Initializes a Version instance with the provided version elements.

W

WhitespaceTokenStream - Class in opennlp.tools.tokenize
This stream formats ObjectStream of samples into 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 WindowFeatureGenerator with 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 WindowFeatureGenerator with the given parameters.
WindowFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
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 AdaptiveFeatureGenerator implementation of a word cluster feature generator.
WordClusterFeatureGenerator(WordClusterDictionary, String, boolean) - Constructor for class opennlp.tools.util.featuregen.WordClusterFeatureGenerator
Instantiates a WordClusterFeatureGenerator via a specified WordClusterDictionary.
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 filter which reads a sentence per line that contains words and tags in word_tag format and outputs a POSSample objects.
WordTagSampleStream(ObjectStream) - Constructor for class opennlp.tools.postag.WordTagSampleStream
Initializes a POSSample instance.
writeModel(MaxentModel, OutputStream) - Static method in class opennlp.tools.util.model.ModelUtil
Writes the given MaxentModel to the specified OutputStream.

X

XmlUtil - Class in opennlp.tools.util
 
XmlUtil() - Constructor for class opennlp.tools.util.XmlUtil
 
A B C D E F G H I J L M N O P R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form