# Index

A B C D E F G H I L M N O P R S T U V W
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

## A

AbstractObjectStream<T> - Class in opennlp.tools.util
  A base `ObjectStream` implementation.
ACCURACY - Enum constant in enum class opennlp.tools.monitoring.TrainingMeasure
AdaptiveFeatureGenerator - Interface in opennlp.tools.util.featuregen
  An interface for generating features for name entity identification and for updating document level contexts.
add(double) - Method in class opennlp.tools.util.eval.Mean
  Adds a value to the arithmetic mean.
add(double, long) - Method in class opennlp.tools.util.eval.Mean
  Adds a value `count` times to the arithmetic mean.
add(String, double) - Method in class opennlp.tools.util.Sequence
  Adds an outcome and probability to this sequence.
add(Parse, HeadRules) - Method in class opennlp.tools.parser.Parse
addFeatureGenerator(AdaptiveFeatureGenerator) - Method in interface opennlp.tools.namefind.NameContextGenerator
  Adds a feature generator.
additionalData() - Method in record class opennlp.tools.util.TokenTag
  Returns the value of the `additionalData` record component.
addNames(String, Span[], Parse[]) - Static method in class opennlp.tools.parser.Parse
  Utility method to insert named entities.
addNextPunctuation(Parse) - Method in class opennlp.tools.parser.Parse
  Designates that the specified punctuation follows this parse.
addPreviousPunctuation(Parse) - Method in class opennlp.tools.parser.Parse
  Designates that the specified punctuation should is prior to this parse.
addProb(double) - Method in class opennlp.tools.parser.Parse
  Adds the specified `logProb` to this current log for this parse.
adjoin(Parse, HeadRules) - Method in class opennlp.tools.parser.Parse
  Sister adjoins this node's last child and the specified sister node and returns their new parent node.
adjoinRoot(Parse, HeadRules, int) - Method in class opennlp.tools.parser.Parse
algorithm() - Method in interface opennlp.tools.util.Parameters
algorithm(String) - Method in interface opennlp.tools.util.Parameters
ALGORITHM_DEFAULT_VALUE - Static variable in interface opennlp.tools.util.Parameters
ALGORITHM_PARAM - Static variable in interface opennlp.tools.util.Parameters
AlgorithmType - Enum Class in opennlp.tools.ml
ALLOWED_PACKAGES_PROPERTY - Static variable in class opennlp.tools.util.ext.ExtensionLoader
  System property for supplying additional allowed package prefixes.
areOutcomesCompatible(String[]) - Method in interface opennlp.tools.util.SequenceCodec
  Checks if the `outcomes` of a model are compatible with this `SequenceCodec`.
argmax(double[]) - Static method in class opennlp.tools.ml.ArrayMath
  Finds the index of the maximum element in a vector `x`
ArgumentParser - Class in opennlp.tools.cmdline
  Parser for command line arguments.
ArgumentParser.OptionalParameter - Annotation Interface in opennlp.tools.cmdline
ArgumentParser.ParameterDescription - Annotation Interface in opennlp.tools.cmdline
ArrayMath - Class in opennlp.tools.ml
  Utility class for simple vector arithmetic.
ArrayMath() - Constructor for class opennlp.tools.ml.ArrayMath
ArtifactProvider - Interface in opennlp.tools.util.model
  Provides access to model persisted artifacts.
ArtifactSerializer<T> - Interface in opennlp.tools.util.model
  Responsible to create an artifact from an `InputStream`.
ATTACH - Enum constant in enum class opennlp.tools.parser.ParserEventTypeEnum

## B

BaseLink - Class in opennlp.tools.entitylinker
  Represents a minimal tuple of information.
BaseLink(String, String, String, String) - Constructor for class opennlp.tools.entitylinker.BaseLink
BasicFormatParams - Interface in opennlp.tools.cmdline.params
  Common format parameters.
BasicTrainingParams - Interface in opennlp.tools.cmdline.params
  Common training parameters.
BeamSearchContextGenerator<T> - Interface in opennlp.tools.util
  Interface for context generators used with a sequence beam search.
BERT_CLS_TOKEN - Static variable in class opennlp.tools.tokenize.WordpieceTokenizer
  BERT classification token: `[CLS]`.
BERT_SEP_TOKEN - Static variable in class opennlp.tools.tokenize.WordpieceTokenizer
  BERT separator token: `[SEP]`.
BERT_UNK_TOKEN - Static variable in class opennlp.tools.tokenize.WordpieceTokenizer
  BERT unknown token: `[UNK]`.
bestSequence(T[], Object[], BeamSearchContextGenerator<T>, SequenceValidator<T>) - Method in interface opennlp.tools.ml.model.SequenceClassificationModel
  Finds the `Sequence` with the highest probability.
bestSequences(int, T[], Object[], double, BeamSearchContextGenerator<T>, SequenceValidator<T>) - Method in interface opennlp.tools.ml.model.SequenceClassificationModel
  Finds the n most probable `sequences` with the highest probability.
bestSequences(int, T[], Object[], BeamSearchContextGenerator<T>, SequenceValidator<T>) - Method in interface opennlp.tools.ml.model.SequenceClassificationModel
  Finds the n most probable `sequences` with the highest probability.
BRACKET_LCB - Static variable in class opennlp.tools.parser.Parse
BRACKET_LRB - Static variable in class opennlp.tools.parser.Parse
BRACKET_LSB - Static variable in class opennlp.tools.parser.Parse
BRACKET_RCB - Static variable in class opennlp.tools.parser.Parse
BRACKET_RRB - Static variable in class opennlp.tools.parser.Parse
BRACKET_RSB - Static variable in class opennlp.tools.parser.Parse
BUILD - Enum constant in enum class opennlp.tools.parser.ParserEventTypeEnum

## C

Cache<K,V> - Class in opennlp.tools.util
  Provides fixed size, pre-allocated, least recently used replacement cache.
Cache(int) - Constructor for class opennlp.tools.util.Cache
calculateProbability(String...) - Method in interface opennlp.tools.languagemodel.LanguageModel
  Calculate the probability of a series of tokens (e.g. a sentence), given a vocabulary.
categorize(String[]) - Method in interface opennlp.tools.doccat.DocumentCategorizer
  Categorizes the given `text`, provided in separate tokens.
categorize(String[], Map<String, Object>) - Method in interface opennlp.tools.doccat.DocumentCategorizer
  Categorizes the given `text` provided as tokens along with the provided `extraInformation`.
CharSequenceNormalizer - Interface in opennlp.tools.util.normalizer
  A char sequence normalizer, used to adjusting (prune, substitute, add, etc.)
CHECK - Enum constant in enum class opennlp.tools.parser.ParserEventTypeEnum
chunk(String[], String[]) - Method in interface opennlp.tools.chunker.Chunker
  Generates chunk tags for the given sequence returning the result in an array.
CHUNK - Enum constant in enum class opennlp.tools.parser.ParserEventTypeEnum
  Deprecated.
chunkAsSpans(String[], String[]) - Method in interface opennlp.tools.chunker.Chunker
  Generates tagged chunk `spans` for the given sequence returning the result in a `span` array.
Chunker - Interface in opennlp.tools.chunker
  The interface for chunkers which provide chunk tags for a sequence of tokens.
CHUNKER - Enum constant in enum class opennlp.tools.models.ModelType
ChunkerContextGenerator - Interface in opennlp.tools.chunker
  Interface for a `BeamSearchContextGenerator` used in syntactic chunking.
ChunkerEvaluationMonitor - Interface in opennlp.tools.chunker
  A marker interface for evaluating `chunkers`.
CHUNKING - Enum constant in enum class opennlp.tools.parser.ParserType
ChunkSample - Class in opennlp.tools.chunker
  Class for holding chunks for a single unit of text.
ChunkSample(String[], String[], String[]) - Constructor for class opennlp.tools.chunker.ChunkSample
  Initializes a `ChunkSample` instance.
ChunkSample(List<String>, List<String>, List<String>) - Constructor for class opennlp.tools.chunker.ChunkSample
  Initializes a `ChunkSample` instance.
ClassPathLoaderException - Exception Class in opennlp.tools.models
ClassPathLoaderException(String) - Constructor for exception class opennlp.tools.models.ClassPathLoaderException
ClassPathLoaderException(String, Throwable) - Constructor for exception class opennlp.tools.models.ClassPathLoaderException
ClassPathLoaderException(Throwable) - Constructor for exception class opennlp.tools.models.ClassPathLoaderException
ClassPathModelEntry - Record Class in opennlp.tools.models
  Encapsulates a classpath entry that is associated with a `model URI` and optional `properties`.
ClassPathModelEntry(URI, Optional<URI>) - Constructor for record class opennlp.tools.models.ClassPathModelEntry
  Creates an instance of a `ClassPathModelEntry` record class.
ClassPathModelFinder - Interface in opennlp.tools.models
  Describes a scanner which detects OpenNLP specific model files in an applications's classpath.
clearAdaptiveData() - Method in interface opennlp.tools.namefind.NameContextGenerator
  Informs all the feature generators that the context of the adaptive data (typically a document) is no longer valid and should be cleared.
clearAdaptiveData() - Method in interface opennlp.tools.namefind.TokenNameFinder
  Forgets all adaptive data which was collected during previous calls to one of the find methods.
clearAdaptiveData() - Method in interface opennlp.tools.util.featuregen.AdaptiveFeatureGenerator
  Informs a feature generator that the context of the adaptive data (typically a document) is no longer valid.
clone() - Method in class opennlp.tools.parser.Parse
clone(Parse) - Method in class opennlp.tools.parser.Parse
  Clones the right frontier of `Parse` up to the specified `node`.
cloneRoot(Parse, int) - Method in class opennlp.tools.parser.Parse
  Clones the right frontier of this root `Parse` up to and including the specified node.
close() - Method in class opennlp.tools.util.AbstractObjectStream
close() - Method in interface opennlp.tools.util.ObjectStream
  Closes the `ObjectStream` and releases all allocated resources.
close() - Method in class opennlp.tools.util.PlainTextByLineStream
compareTo(Parse) - Method in class opennlp.tools.parser.Parse
compareTo(Sequence) - Method in class opennlp.tools.util.Sequence
compareTo(Span) - Method in class opennlp.tools.util.Span
  Compares the specified `Span` to the current span.
complete() - Method in class opennlp.tools.parser.Parse
computeShortestEditScript(String, String, int[][], StringBuffer) - Static method in class opennlp.tools.util.StringUtil
  Computes the Shortest Edit Script (SES) to convert a word into its lemma.
concatenateObjectStream(Collection<ObjectStream<T>>) - Static method in class opennlp.tools.util.ObjectStreamUtils
  Creates a single concatenated `ObjectStream` from multiple individual `streams` with the same type `ObjectStreamUtils`.
concatenateObjectStream(ObjectStream<T>...) - Static method in class opennlp.tools.util.ObjectStreamUtils
  Creates a single concatenated `ObjectStream` from multiple individual `streams` with the same type.
Constituent - Class in opennlp.tools.parser
  Holds constituents when reading `parses`.
Constituent(String, Span) - Constructor for class opennlp.tools.parser.Constituent
contains(int) - Method in class opennlp.tools.util.Span
  An index with the value of end is considered outside the `Span`.
contains(Span) - Method in class opennlp.tools.util.Span
  Identical `spans` are considered to contain each other.
context() - Method in record class opennlp.tools.langdetect.LanguageSample
  Returns the value of the `context` record component.
Context - Class in opennlp.tools.ml.model
  Class which associates a real valued parameter or expected value with a particular contextual predicate or feature.
Context(int[], double[]) - Constructor for class opennlp.tools.ml.model.Context
  Creates a new parameters object with the specified parameters associated with the specified outcome pattern.
correctlyClassified(T, T) - Method in interface opennlp.tools.util.eval.EvaluationMonitor
count() - Method in class opennlp.tools.util.eval.Mean
create(InputStream) - Method in interface opennlp.tools.util.model.ArtifactSerializer
  Creates an artifact from the provided `InputStream`.
create(String[]) - Method in interface opennlp.tools.cmdline.ObjectStreamFactory
  Creates an `ObjectStream` of the template type `T`.
create(String[], String[]) - Static method in record class opennlp.tools.util.TokenTag
createArguments(Class<?>...) - Static method in class opennlp.tools.cmdline.ArgumentParser
  Outputs the arguments as a data structure, so it can be used to create documentation.
createFeatures(List<String>, String[], int, String[]) - Method in interface opennlp.tools.util.featuregen.AdaptiveFeatureGenerator
  Adds the appropriate features for the token at the specified `index` with the specified array of `previousOutcomes` to the specified list of features.
createFromTokens(String[]) - Static method in class opennlp.tools.parser.Parse
  Creates a `Parse` structure from an array of pre-tokenized strings.
createInputStream() - Method in interface opennlp.tools.util.InputStreamFactory
createObjectStream(Collection<T>) - Static method in class opennlp.tools.util.ObjectStreamUtils
  Creates an `ObjectStream` form a `Collection<T>`.
createObjectStream(T...) - Static method in class opennlp.tools.util.ObjectStreamUtils
  Creates an `ObjectStream` form an array of `ObjectStreamUtils`.
createSequenceValidator() - Method in interface opennlp.tools.util.SequenceCodec
createUsage(Class<?>...) - Static method in class opennlp.tools.cmdline.ArgumentParser
  Creates a usage string which can be printed in case the user did specify the arguments incorrectly.
createUsage(Class<T>) - Static method in class opennlp.tools.cmdline.ArgumentParser
  Creates a usage string which can be printed in case the user did specify the arguments incorrectly.
crosses(Span) - Method in class opennlp.tools.util.Span
  Checks if the specified `Span` crosses this span.
CUTOFF_DEFAULT_VALUE - Static variable in interface opennlp.tools.util.Parameters
  The default cut off value is 5.
CUTOFF_PARAM - Static variable in interface opennlp.tools.util.Parameters
CVParams - Interface in opennlp.tools.cmdline.params
  Common cross validator parameters.

## D

DataIndexer<P> - Interface in opennlp.tools.ml.model
  Represents an indexer which compresses events in memory and performs feature selection.
DataReader - Interface in opennlp.tools.ml.model
  Describes generic ways to read data from a `DataInputStream`.
decode(List<T>) - Method in interface opennlp.tools.util.SequenceCodec
  Decodes a sequence of `objects` into `Span` objects.
decodeShortestEditScript(String, String) - Static method in class opennlp.tools.util.StringUtil
  Reads the predicted Shortest Edit Script (SES) by a lemmatizer model and applies the permutations to obtain the lemma from the `wordForm`.
DEFAULT_CHARSET - Static variable in annotation interface opennlp.tools.cmdline.ArgumentParser.OptionalParameter
DEFAULT_PREFIX - Static variable in interface opennlp.tools.util.SequenceCodec
DEFAULT_SEPARATOR_CHARS - Static variable in class opennlp.tools.tokenize.TokenSample
DEFAULT_TYPE - Static variable in class opennlp.tools.namefind.NameSample
  The default type value when there is no type in training data.
defaultValue() - Element in annotation interface opennlp.tools.cmdline.ArgumentParser.OptionalParameter
description() - Element in annotation interface opennlp.tools.cmdline.ArgumentParser.ParameterDescription
detokenize(String[]) - Method in interface opennlp.tools.tokenize.Detokenizer
  Detokenizes the collection of tokens.
detokenize(String[], String) - Method in interface opennlp.tools.tokenize.Detokenizer
  Detokenizes the input `tokens` into a String.
Detokenizer - Interface in opennlp.tools.tokenize
  A `Detokenizer` merges tokens back to their detokenized representation.
Detokenizer.DetokenizationOperation - Enum Class in opennlp.tools.tokenize
  This enum contains an operation for every token to merge the tokens together to their detokenized form.
DetokenizerParameter - Interface in opennlp.tools.cmdline.params
dimension() - Method in interface opennlp.tools.util.wordvector.WordVector
dimension() - Method in interface opennlp.tools.util.wordvector.WordVectorTable
display(boolean) - Method in interface opennlp.tools.monitoring.TrainingProgressMonitor
  Displays the training progress and optionally clears the recorded progress (to save memory).
DoccatEvaluationMonitor - Interface in opennlp.tools.doccat
  A marker interface for evaluating `doccat`.
DocumentCategorizer - Interface in opennlp.tools.doccat
  Interface for classes which categorize documents.
DocumentNameFinder - Interface in opennlp.tools.namefind
  Interface for processing an entire document allowing a `TokenNameFinder` to use context from the entire document.
DocumentSample - Class in opennlp.tools.doccat
  Class which holds a classified document and its category.
DocumentSample(String, String[]) - Constructor for class opennlp.tools.doccat.DocumentSample
  Initializes a `instance`.
DocumentSample(String, String[], Map<String, Object>) - Constructor for class opennlp.tools.doccat.DocumentSample
  Initializes a `instance`.
DOUBLE - Enum constant in enum class opennlp.tools.util.wordvector.WordVectorType

## E

encode(Span[], int) - Method in interface opennlp.tools.util.SequenceCodec
  Encodes `Span` objects into a sequence of `objects`.
EncodingParameter - Interface in opennlp.tools.cmdline.params
  Encoding parameter.
END_TAG - Static variable in class opennlp.tools.namefind.NameSample
EndOfSentenceScanner - Interface in opennlp.tools.sentdetect
  Scans `CharSequence`, `StringBuffer`, and `char[]` for the offsets of sentence ending characters.
EntityLinker<T> - Interface in opennlp.tools.entitylinker
  EntityLinkers establish connections with external data to enrich extracted entities.
EntityLinkerProperties - Class in opennlp.tools.entitylinker
  Properties wrapper for `EntityLinker` implementations.
EntityLinkerProperties(File) - Constructor for class opennlp.tools.entitylinker.EntityLinkerProperties
  Initializes `EntityLinkerProperties` via a `File` reference.
EntityLinkerProperties(InputStream) - Constructor for class opennlp.tools.entitylinker.EntityLinkerProperties
  Initializes `EntityLinkerProperties` via a `InputStream` reference.
equals(Object) - Method in class opennlp.tools.chunker.ChunkSample
equals(Object) - Method in class opennlp.tools.doccat.DocumentSample
equals(Object) - Method in class opennlp.tools.entitylinker.BaseLink
equals(Object) - Method in class opennlp.tools.entitylinker.LinkedSpan
equals(Object) - Method in class opennlp.tools.langdetect.Language
equals(Object) - Method in record class opennlp.tools.langdetect.LanguageSample
  Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class opennlp.tools.lemmatizer.LemmaSample
equals(Object) - Method in class opennlp.tools.ml.model.Context
equals(Object) - Method in record class opennlp.tools.models.ClassPathModelEntry
  Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class opennlp.tools.namefind.NameSample
equals(Object) - Method in class opennlp.tools.parser.Parse
equals(Object) - Method in class opennlp.tools.postag.POSSample
equals(Object) - Method in class opennlp.tools.sentdetect.SentenceSample
equals(Object) - Method in class opennlp.tools.sentiment.SentimentSample
equals(Object) - Method in class opennlp.tools.tokenize.TokenSample
equals(Object) - Method in class opennlp.tools.util.Sequence
equals(Object) - Method in class opennlp.tools.util.Span
equals(Object) - Method in record class opennlp.tools.util.TokenTag
  Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class opennlp.tools.util.TrainingConfiguration
  Indicates whether some other object is "equal to" this one.
eval(String[]) - Method in interface opennlp.tools.ml.model.MaxentModel
  Evaluates a `context`.
eval(String[], double[]) - Method in interface opennlp.tools.ml.model.MaxentModel
  Evaluates a `context`.
eval(String[], float[]) - Method in interface opennlp.tools.ml.model.MaxentModel
  Evaluates a `context` with the specified context `values`.
EvaluationMonitor<T> - Interface in opennlp.tools.util.eval
EvaluatorParams - Interface in opennlp.tools.cmdline.params
  Common evaluation parameters.
Event - Class in opennlp.tools.ml.model
  The context of a decision point during training.
Event(String, CharSequence[]) - Constructor for class opennlp.tools.ml.model.Event
  Instantiates an `Event`.
Event(String, CharSequence[], float[]) - Constructor for class opennlp.tools.ml.model.Event
  Instantiates an `Event`.
Event(String, String[], float[]) - Constructor for class opennlp.tools.ml.model.Event
  Instantiates an `Event`.
EVENT_VALUE - Static variable in interface opennlp.tools.ml.EventTrainer
EventModelSequenceTrainer<T,P> - Interface in opennlp.tools.ml
  A specialized `Trainer` that is based on a 'EventModelSequence' approach.
EventTrainer<P> - Interface in opennlp.tools.ml
  A specialized `Trainer` that is based on an `Event` approach.
expandTopNode(Parse) - Method in class opennlp.tools.parser.Parse
Experimental - Annotation Interface in opennlp.tools.util.java
  Indicates that a certain API feature is not stable and might change with a new release.
ExtensionLoader - Class in opennlp.tools.util.ext
  The `ExtensionLoader` is responsible to load extensions to the OpenNLP library.
ExtensionNotLoadedException - Exception Class in opennlp.tools.util.ext
  Exception indicates that an OpenNLP extension could not be loaded.
ExtensionNotLoadedException(String) - Constructor for exception class opennlp.tools.util.ext.ExtensionNotLoadedException
ExtensionNotLoadedException(Throwable) - Constructor for exception class opennlp.tools.util.ext.ExtensionNotLoadedException
ExtensionServiceKeys - Class in opennlp.tools.util.ext
ExtensionServiceKeys() - Constructor for class opennlp.tools.util.ext.ExtensionServiceKeys
extractFeatures(String[], Map<String, Object>) - Method in interface opennlp.tools.doccat.FeatureGenerator
  Extracts features from given `text` fragments.
extractTags(TokenTag[]) - Static method in record class opennlp.tools.util.TokenTag
extractTokens(TokenTag[]) - Static method in record class opennlp.tools.util.TokenTag

## F

FeatureGenerator - Interface in opennlp.tools.doccat
  Interface for generating features for document categorization.
FeatureGeneratorResourceProvider - Interface in opennlp.tools.util.featuregen
  The `FeatureGeneratorResourceProvider` provides access to the resources available in the model.
filter(String[], Class<T>) - Static method in class opennlp.tools.cmdline.ArgumentParser
  Filters arguments leaving only those pertaining to `argProxyInterface`.
find(String[]) - Method in interface opennlp.tools.namefind.TokenNameFinder
  Generates name tags for the given sequence, typically a sentence, returning `token spans` for any identified names.
find(String[][]) - Method in interface opennlp.tools.namefind.DocumentNameFinder
  Finds tokens `spans` for the specified document of sentences and their tokens.
find(String, Span[], Span[][], Span[][]) - Method in interface opennlp.tools.entitylinker.EntityLinker
  Links an entire document of named entities to an external source.
find(String, Span[], Span[][], Span[][], int) - Method in interface opennlp.tools.entitylinker.EntityLinker
  Links the names that correspond to the tokens[] spans.
findModels(boolean) - Method in interface opennlp.tools.models.ClassPathModelFinder
  Finds OpenNLP models available within an applications's classpath.
FineGrainedEvaluatorParams - Interface in opennlp.tools.cmdline.params
  Common evaluation parameters.
FINISHED - Static variable in interface opennlp.tools.monitoring.StopCriteria
finishedIteration(int, int, int, TrainingMeasure, double) - Method in interface opennlp.tools.monitoring.TrainingProgressMonitor
  Captures the Iteration progress.
finishedTraining(int, StopCriteria<?>) - Method in interface opennlp.tools.monitoring.TrainingProgressMonitor
  Captures the training completion progress.
fixPossesives(Parse) - Static method in class opennlp.tools.parser.Parse
FLOAT - Enum constant in enum class opennlp.tools.util.wordvector.WordVectorType
FMeasure - Class in opennlp.tools.util.eval
  The `FMeasure` is a utility class for `evaluators` which measures precision, recall and the resulting f-measure.
FMeasure() - Constructor for class opennlp.tools.util.eval.FMeasure
fromAlgorithmType(String) - Static method in enum class opennlp.tools.ml.AlgorithmType
fromModelType(String) - Static method in enum class opennlp.tools.ml.AlgorithmType

## G

GapLabeler - Interface in opennlp.tools.parser
  Represents a labeler for nodes which contain traces so that these traces can be predicted by a `Parser`.
get(String) - Method in interface opennlp.tools.util.wordvector.WordVectorTable
getAdditionalContext() - Method in class opennlp.tools.namefind.NameSample
getAdditionalContext() - Method in class opennlp.tools.postag.POSSample
getAlgorithmType() - Method in enum class opennlp.tools.ml.AlgorithmType
getAllOutcomes(double[]) - Method in interface opennlp.tools.ml.model.MaxentModel
  Retrieves a string matching all the outcome names with all the probabilities produced by the `MaxentModel.eval(String[])` method.
getAllResults(double[]) - Method in interface opennlp.tools.doccat.DocumentCategorizer
  Retrieves the name of the category associated with the given probabilities.
getArtifact(String) - Method in interface opennlp.tools.util.model.ArtifactProvider
getArtifactSerializerClass() - Method in interface opennlp.tools.util.model.SerializableArtifact
  Retrieves the class which can serialize and recreate this artifact.
getAsDouble(int) - Method in interface opennlp.tools.util.wordvector.WordVector
getAsFloat(int) - Method in interface opennlp.tools.util.wordvector.WordVector
getBestCategory(double[]) - Method in interface opennlp.tools.doccat.DocumentCategorizer
  Retrieves the best category from previously generated `outcome` probabilities
getBestOutcome(double[]) - Method in interface opennlp.tools.ml.model.MaxentModel
  Retrieves the outcome associated with the index containing the highest probability in the double[].
getBooleanParameter(String, boolean) - Method in interface opennlp.tools.util.Parameters
  Obtains a training parameter value.
getBooleanParameter(String, String, boolean) - Method in interface opennlp.tools.util.Parameters
  Obtains a training parameter value in the specified namespace.
getCategory() - Method in class opennlp.tools.doccat.DocumentSample
getCategory(int) - Method in interface opennlp.tools.doccat.DocumentCategorizer
  Retrieves the category at a given `index`.
getChildCount() - Method in class opennlp.tools.parser.Parse
getChildren() - Method in class opennlp.tools.parser.Parse
getCode() - Method in exception class opennlp.tools.cmdline.TerminateToolException
getCommonParent(Parse) - Method in class opennlp.tools.parser.Parse
  Returns the deepest shared parent of this node and the specified node.
getConfidence() - Method in class opennlp.tools.langdetect.Language
getContext() - Method in class opennlp.tools.ml.model.Event
getContext(int, String[], String[], Object[]) - Method in interface opennlp.tools.postag.POSContextGenerator
  Returns the context for making a postag decision at the specified token `index` given the specified `tokens` and previous `tags`.
getContext(int, String[], String[], String[]) - Method in interface opennlp.tools.chunker.ChunkerContextGenerator
  Retrieves the contexts for chunking of the specified `idx`.
getContext(int, String[], String[], String[]) - Method in interface opennlp.tools.lemmatizer.LemmatizerContextGenerator
  Returns the contexts for lemmatizing of the specified index.
getContext(int, T[], String[], Object[]) - Method in interface opennlp.tools.util.BeamSearchContextGenerator
  Returns the context for the specified position in the specified `sequence` (list).
getContext(CharSequence) - Method in interface opennlp.tools.langdetect.LanguageDetectorContextGenerator
  Retrieves the contexts for a `document` using character ngrams.
getContext(CharSequence, int) - Method in interface opennlp.tools.sentdetect.SDContextGenerator
  Returns an array of contextual features for the potential sentence boundary at the specified position within the specified string buffer.
getContext(String, int) - Method in interface opennlp.tools.tokenize.TokenContextGenerator
getContexts() - Method in interface opennlp.tools.ml.model.DataIndexer
getCoveredText() - Method in class opennlp.tools.parser.Parse
getCoveredText(CharSequence) - Method in class opennlp.tools.util.Span
getData() - Method in interface opennlp.tools.cmdline.params.BasicFormatParams
getDataType() - Method in interface opennlp.tools.util.wordvector.WordVector
getDerivation() - Method in class opennlp.tools.parser.Parse
getDetokenizer() - Method in interface opennlp.tools.cmdline.params.DetokenizerParameter
getDocument() - Method in class opennlp.tools.sentdetect.SentenceSample
getDoubleParameter(String, double) - Method in interface opennlp.tools.util.Parameters
  Obtains a training parameter value.
getDoubleParameter(String, String, double) - Method in interface opennlp.tools.util.Parameters
  Obtains a training parameter value in the specified namespace.
getEncoding() - Method in interface opennlp.tools.cmdline.params.EncodingParameter
getEnd() - Method in class opennlp.tools.util.Span
  Note: that the returned index is one past the actual end of the span in the text, or the first element past the end of the span.
getEOSCharacters() - Method in interface opennlp.tools.sentdetect.EndOfSentenceScanner
getEvents() - Method in class opennlp.tools.ml.model.Sequence
getExtraInformation() - Method in class opennlp.tools.doccat.DocumentSample
getFMeasure() - Method in class opennlp.tools.util.eval.FMeasure
  `f-measure = 2 * precision * recall / (precision + recall)`.
getFolds() - Method in interface opennlp.tools.cmdline.params.CVParams
getHead() - Method in class opennlp.tools.parser.Parse
getHead(Parse[], String) - Method in interface opennlp.tools.parser.HeadRules
  Retrieves the head `constituent` for the specified constituents of given `type`.
getHeadIndex() - Method in class opennlp.tools.parser.Parse
getId() - Method in class opennlp.tools.namefind.NameSample
getIndex(String) - Method in interface opennlp.tools.doccat.DocumentCategorizer
  Retrieves the index of a certain category.
getIndex(String) - Method in interface opennlp.tools.ml.model.MaxentModel
  Retrieves the index associated with the String name of the given outcome.
getIntParameter(String, int) - Method in interface opennlp.tools.util.Parameters
  Obtains a training parameter value.
getIntParameter(String, String, int) - Method in interface opennlp.tools.util.Parameters
  Obtains a training parameter value in the specified namespace.
getItemID() - Method in class opennlp.tools.entitylinker.BaseLink
getItemName() - Method in class opennlp.tools.entitylinker.BaseLink
getItemParentID() - Method in class opennlp.tools.entitylinker.BaseLink
getItemType() - Method in class opennlp.tools.entitylinker.BaseLink
getKey(String, String) - Static method in interface opennlp.tools.util.Parameters
getLabel() - Method in class opennlp.tools.parser.Constituent
  Returns the label of the constituent.
getLabel() - Method in class opennlp.tools.parser.Parse
  Retrieves the label assigned to this parse node during parsing which specifies how this node will be formed into a constituent.
getLang() - Method in interface opennlp.tools.cmdline.params.LanguageParams
getLang() - Method in class opennlp.tools.langdetect.Language
getLanguage() - Method in interface opennlp.tools.util.model.ArtifactProvider
getLemmas() - Method in class opennlp.tools.lemmatizer.LemmaSample
getLinkedEntries() - Method in class opennlp.tools.entitylinker.LinkedSpan
getManifestProperty(String) - Method in interface opennlp.tools.util.model.ArtifactProvider
getMaxTokenLength() - Method in class opennlp.tools.tokenize.WordpieceTokenizer
getMeasureName() - Method in enum class opennlp.tools.monitoring.TrainingMeasure
getMessage() - Method in exception class opennlp.tools.cmdline.TerminateToolException
getMessageIfSatisfied() - Method in interface opennlp.tools.monitoring.StopCriteria
getMisclassified() - Method in interface opennlp.tools.cmdline.params.CVParams
getMisclassified() - Method in interface opennlp.tools.cmdline.params.EvaluatorParams
getModel() - Method in interface opennlp.tools.cmdline.params.EvaluatorParams
getModel() - Method in interface opennlp.tools.cmdline.params.TrainingToolParams
getModelType() - Method in enum class opennlp.tools.ml.AlgorithmType
getName() - Method in enum class opennlp.tools.models.ModelType
getNames() - Method in class opennlp.tools.namefind.NameSample
getNextPunctuationSet() - Method in class opennlp.tools.parser.Parse
getNumberOfCategories() - Method in interface opennlp.tools.doccat.DocumentCategorizer
  Retrieves the number of categories.
getNumEvents() - Method in interface opennlp.tools.ml.model.DataIndexer
getNumOutcomes() - Method in interface opennlp.tools.ml.model.MaxentModel
getNumTimesEventsSeen() - Method in interface opennlp.tools.ml.model.DataIndexer
getObjectSettings() - Method in interface opennlp.tools.util.Parameters
getObjectSettings(String) - Method in interface opennlp.tools.util.Parameters
getOutcome() - Method in class opennlp.tools.ml.model.Event
getOutcome(int) - Method in interface opennlp.tools.ml.model.MaxentModel
  Retrieves the String name of the outcome associated with the index `i`.
getOutcome(int) - Method in class opennlp.tools.util.Sequence
getOutcomeLabels() - Method in interface opennlp.tools.ml.model.DataIndexer
getOutcomeList() - Method in interface opennlp.tools.ml.model.DataIndexer
getOutcomes() - Method in class opennlp.tools.ml.model.Context
getOutcomes() - Method in interface opennlp.tools.ml.model.SequenceClassificationModel
getOutcomes() - Method in class opennlp.tools.util.Sequence
getParameters() - Method in interface opennlp.tools.cmdline.ObjectStreamFactory
getParameters() - Method in class opennlp.tools.ml.model.Context
getParams() - Method in interface opennlp.tools.cmdline.params.BasicTrainingParams
getParent() - Method in class opennlp.tools.parser.Parse
getPhrasesAsSpanList() - Method in class opennlp.tools.chunker.ChunkSample
getPositions(char[]) - Method in interface opennlp.tools.sentdetect.EndOfSentenceScanner
  The receiver scans `cbuf` for sentence ending characters and returns their offsets.
getPositions(CharSequence) - Method in interface opennlp.tools.sentdetect.EndOfSentenceScanner
  The receiver scans the specified string for sentence ending characters and returns their offsets.
getPositions(StringBuffer) - Method in interface opennlp.tools.sentdetect.EndOfSentenceScanner
  The receiver scans `buf` for sentence ending characters and returns their offsets.
getPrecisionScore() - Method in class opennlp.tools.util.eval.FMeasure
getPredCounts() - Method in interface opennlp.tools.ml.model.DataIndexer
getPredLabels() - Method in interface opennlp.tools.ml.model.DataIndexer
getPreds() - Method in class opennlp.tools.chunker.ChunkSample
getPreviousPunctuationSet() - Method in class opennlp.tools.parser.Parse
getProb() - Method in class opennlp.tools.parser.Parse
getProb() - Method in class opennlp.tools.util.Span
getProb(int) - Method in class opennlp.tools.util.Sequence
getProbs() - Method in class opennlp.tools.util.Sequence
getProbs(double[]) - Method in class opennlp.tools.util.Sequence
  Populates an array with the probabilities associated with the `Sequence` outcomes.
getProperty(String, String) - Method in class opennlp.tools.entitylinker.EntityLinkerProperties
  Retrieves a property value for a given `key`.
getPunctuationTags() - Method in interface opennlp.tools.parser.HeadRules
getReaderClazz() - Method in enum class opennlp.tools.ml.AlgorithmType
getRecallScore() - Method in class opennlp.tools.util.eval.FMeasure
getReportOutputFile() - Method in interface opennlp.tools.cmdline.params.FineGrainedEvaluatorParams
getResource(String) - Method in interface opennlp.tools.util.featuregen.FeatureGeneratorResourceProvider
getScore() - Method in class opennlp.tools.util.Sequence
getScoreMap() - Method in class opennlp.tools.entitylinker.BaseLink
getSearchTerm() - Method in class opennlp.tools.entitylinker.LinkedSpan
getSentence() - Method in class opennlp.tools.chunker.ChunkSample
getSentence() - Method in class opennlp.tools.namefind.NameSample
getSentence() - Method in class opennlp.tools.postag.POSSample
getSentence() - Method in class opennlp.tools.sentiment.SentimentSample
getSentenceid() - Method in class opennlp.tools.entitylinker.LinkedSpan
getSentences() - Method in class opennlp.tools.sentdetect.SentenceSample
getSentiment() - Method in class opennlp.tools.sentiment.SentimentSample
getShortestEditScript(String, String) - Static method in class opennlp.tools.util.StringUtil
getSize() - Method in class opennlp.tools.util.Sequence
getSource() - Method in class opennlp.tools.ml.model.Sequence
  This object is used when the events for this sequence need to be re-derived such as in a call to `SequenceStream.updateContext(Sequence, AbstractModel)`.
getSpan() - Method in class opennlp.tools.parser.Constituent
  Returns the span of the constituent.
getSpan() - Method in class opennlp.tools.parser.Parse
getStart() - Method in class opennlp.tools.util.Span
getStringParameter(String, String) - Method in interface opennlp.tools.util.Parameters
  Obtains a training parameter value.
getStringParameter(String, String, String) - Method in interface opennlp.tools.util.Parameters
  Obtains a training parameter value in the specified namespace.
getSupportedLanguages() - Method in interface opennlp.tools.langdetect.LanguageDetector
getTagNodes() - Method in class opennlp.tools.parser.Parse
getTags() - Method in class opennlp.tools.chunker.ChunkSample
getTags() - Method in class opennlp.tools.lemmatizer.LemmaSample
getTags() - Method in class opennlp.tools.postag.POSSample
getTags(String) - Method in interface opennlp.tools.postag.TagDictionary
  Retrieves a list of valid tags for the specified `word`.
getTagSequenceProb() - Method in class opennlp.tools.parser.Parse
getText() - Method in class opennlp.tools.doccat.DocumentSample
getText() - Method in class opennlp.tools.parser.Parse
getText() - Method in class opennlp.tools.tokenize.TokenSample
getTokenNodes() - Method in class opennlp.tools.parser.Parse
getTokens() - Method in class opennlp.tools.lemmatizer.LemmaSample
getTokenSpans() - Method in class opennlp.tools.tokenize.TokenSample
getTrainerClazz() - Method in enum class opennlp.tools.ml.AlgorithmType
getType() - Method in class opennlp.tools.parser.Parse
getType() - Method in class opennlp.tools.util.Span
getValues() - Method in interface opennlp.tools.ml.model.DataIndexer
getValues() - Method in class opennlp.tools.ml.model.Event
getWriterClazz() - Method in enum class opennlp.tools.ml.AlgorithmType

## H

hashCode() - Method in class opennlp.tools.chunker.ChunkSample
hashCode() - Method in class opennlp.tools.doccat.DocumentSample
hashCode() - Method in class opennlp.tools.entitylinker.BaseLink
hashCode() - Method in class opennlp.tools.entitylinker.LinkedSpan
hashCode() - Method in class opennlp.tools.langdetect.Language
hashCode() - Method in record class opennlp.tools.langdetect.LanguageSample
  Returns a hash code value for this object.
hashCode() - Method in class opennlp.tools.lemmatizer.LemmaSample
hashCode() - Method in class opennlp.tools.ml.model.Context
hashCode() - Method in record class opennlp.tools.models.ClassPathModelEntry
  Returns a hash code value for this object.
hashCode() - Method in class opennlp.tools.namefind.NameSample
hashCode() - Method in class opennlp.tools.parser.Parse
hashCode() - Method in class opennlp.tools.postag.POSSample
hashCode() - Method in class opennlp.tools.sentdetect.SentenceSample
hashCode() - Method in class opennlp.tools.sentiment.SentimentSample
hashCode() - Method in class opennlp.tools.tokenize.TokenSample
hashCode() - Method in class opennlp.tools.util.Sequence
hashCode() - Method in class opennlp.tools.util.Span
hashCode() - Method in record class opennlp.tools.util.TokenTag
  Returns a hash code value for this object.
hashCode() - Method in record class opennlp.tools.util.TrainingConfiguration
  Returns a hash code value for this object.
hasNext() - Method in class opennlp.tools.util.ReverseListIterator
HeadRules - Interface in opennlp.tools.parser
  Encoder for head rules associated with parsing.

## I

ID - Static variable in class opennlp.tools.util.ext.ExtensionServiceKeys
  Property key for the unique `id` which identifies an OpenNLP extension service.
INC_NODE - Static variable in interface opennlp.tools.parser.Parser
  The label for the top if an incomplete node.
index(ObjectStream<Event>) - Method in interface opennlp.tools.ml.model.DataIndexer
  Performs the data indexing.
indexOf(Parse) - Method in class opennlp.tools.parser.Parse
init(EntityLinkerProperties) - Method in interface opennlp.tools.entitylinker.EntityLinker
  Initializes an `EntityLinker` and allows for passing properties through an `EntityLinkerFactory` into all impls dynamically.
init(P, Map<String, String>) - Method in interface opennlp.tools.commons.Trainer
  Conducts the initialization of an `Trainer` via `Parameters` and a `report map`.
init(P, Map<String, String>) - Method in interface opennlp.tools.ml.model.DataIndexer
  Sets parameters used during the data indexing.
init(P, Map<String, String>, TrainingConfiguration) - Method in interface opennlp.tools.commons.Trainer
  Conducts the initialization of a `Trainer` via `Parameters`, `report map` and `TrainingConfiguration`
innerProduct(double[], double[]) - Static method in class opennlp.tools.ml.ArrayMath
InputStreamFactory - Interface in opennlp.tools.util
  Allows repeated reads through a stream for certain model building types.
insert(Parse) - Method in class opennlp.tools.parser.Parse
  Inserts the specified constituent into this parse based on its text span.
INSTANCE - Static variable in class opennlp.tools.tokenize.WhitespaceTokenizer
  Use this static reference to retrieve an instance of the `WhitespaceTokenizer`.
instantiateExtension(Class<T>, String) - Static method in class opennlp.tools.util.ext.ExtensionLoader
  Instantiates a user provided extension to OpenNLP.
InsufficientTrainingDataException - Exception Class in opennlp.tools.util
  This exception indicates that the provided training data is insufficient to train a desired model.
InsufficientTrainingDataException(String) - Constructor for exception class opennlp.tools.util.InsufficientTrainingDataException
InsufficientTrainingDataException(String, Throwable) - Constructor for exception class opennlp.tools.util.InsufficientTrainingDataException
InsufficientTrainingDataException(Throwable) - Constructor for exception class opennlp.tools.util.InsufficientTrainingDataException
intern(String) - Method in interface opennlp.tools.util.jvm.StringInterner
  Interns and returns a reference to the representative instance for any collection of string instances that are equal to each other.
Internal - Annotation Interface in opennlp.tools.commons
  Classes, fields, or methods annotated `&#64;Internal` are for OpenNLP internal use only.
intersects(Span) - Method in class opennlp.tools.util.Span
  Checks if the specified `Span` intersects with this span.
InvalidFormatException - Exception Class in opennlp.tools.util
  This exception indicates that a resource violates the expected data format.
InvalidFormatException(String) - Constructor for exception class opennlp.tools.util.InvalidFormatException
InvalidFormatException(String, Throwable) - Constructor for exception class opennlp.tools.util.InvalidFormatException
InvalidFormatException(Throwable) - Constructor for exception class opennlp.tools.util.InvalidFormatException
invL2norm(double[]) - Static method in class opennlp.tools.ml.ArrayMath
  Computes the Inverse L2-norm for a vector `v`.
isCaseSensitive() - Method in interface opennlp.tools.postag.TagDictionary
  Whether the dictionary is case-sensitive or not.
isChunk() - Method in class opennlp.tools.parser.Parse
isChunk(boolean) - Method in class opennlp.tools.parser.Parse
isClearAdaptiveDataSet() - Method in class opennlp.tools.namefind.NameSample
isClearAdaptiveDataSet() - Method in class opennlp.tools.sentiment.SentimentSample
isEmpty(CharSequence) - Static method in class opennlp.tools.util.StringUtil
isFlat() - Method in class opennlp.tools.parser.Parse
  Indicates whether this parse node contains no sub-constituents.
isLoadedFromSerialized() - Method in interface opennlp.tools.util.model.ArtifactProvider
  Indicates if this provider was loaded from a serialized form.
isPosTag() - Method in class opennlp.tools.parser.Parse
  Indicates whether this parse node is a pos-tag.
isTrainingFinished() - Method in interface opennlp.tools.monitoring.TrainingProgressMonitor
  Checks whether the training has finished.
isValid(String) - Static method in class opennlp.tools.util.LanguageCodeValidator
  Checks whether the given language code is a valid ISO 639 code.
isWhitespace(char) - Static method in class opennlp.tools.util.StringUtil
  Determines if the specified `Character` is a whitespace.
isWhitespace(int) - Static method in class opennlp.tools.util.StringUtil
  Determines if the specified `Character` is a whitespace.
ITERATIONS_DEFAULT_VALUE - Static variable in interface opennlp.tools.util.Parameters
  The default number of iterations is 100.
ITERATIONS_PARAM - Static variable in interface opennlp.tools.util.Parameters

## L

l1norm(double[]) - Static method in class opennlp.tools.ml.ArrayMath
  Computes the L1-norm for a vector `v`.
l2norm(double[]) - Static method in class opennlp.tools.ml.ArrayMath
  Computes the L2-norm for a vector `v`.
labelGaps(Stack<Constituent>) - Method in interface opennlp.tools.parser.GapLabeler
  Labels `constituents` found in the `stack` with gap labels if appropriate.
language() - Method in record class opennlp.tools.langdetect.LanguageSample
  Returns the value of the `language` record component.
Language - Class in opennlp.tools.langdetect
  Class for holding the document language and its confidence
Language(String) - Constructor for class opennlp.tools.langdetect.Language
Language(String, double) - Constructor for class opennlp.tools.langdetect.Language
LanguageCodeValidator - Class in opennlp.tools.util
  Validates language codes against ISO 639 standards.
LanguageDetector - Interface in opennlp.tools.langdetect
  The interface for `LanguageDetector` which predicts the `Language` for a context.
LanguageDetectorContextGenerator - Interface in opennlp.tools.langdetect
  A context generator interface for `LanguageDetector`.
LanguageDetectorEvaluationMonitor - Interface in opennlp.tools.langdetect
  A marker interface for evaluating `language detectors`.
LanguageModel - Interface in opennlp.tools.languagemodel
  A language model can calculate the probability p (between 0 and 1) of a certain sequence of tokens, given its underlying vocabulary.
LanguageParams - Interface in opennlp.tools.cmdline.params
LanguageSample - Record Class in opennlp.tools.langdetect
  Holds a classified document and its `Language`.
LanguageSample(Language, CharSequence) - Constructor for record class opennlp.tools.langdetect.LanguageSample
  Creates an instance of a `LanguageSample` record class.
LemmaSample - Class in opennlp.tools.lemmatizer
  Represents a lemmatized sentence.
LemmaSample(String[], String[], String[]) - Constructor for class opennlp.tools.lemmatizer.LemmaSample
  Initializes a `LemmaSample` instance with the given parameters.
LemmaSample(List<String>, List<String>, List<String>) - Constructor for class opennlp.tools.lemmatizer.LemmaSample
  Initializes a `LemmaSample` instance with the given parameters.
lemmatize(String[], String[]) - Method in interface opennlp.tools.lemmatizer.Lemmatizer
  Generates lemmas for the word and postag.
lemmatize(List<String>, List<String>) - Method in interface opennlp.tools.lemmatizer.Lemmatizer
  Generates lemma tags for the word and postag.
Lemmatizer - Interface in opennlp.tools.lemmatizer
  The common interface for lemmatizers.
LEMMATIZER - Enum constant in enum class opennlp.tools.models.ModelType
LemmatizerContextGenerator - Interface in opennlp.tools.lemmatizer
  Interface for the context generator used for probabilistic `Lemmatizer`.
LemmatizerEvaluationMonitor - Interface in opennlp.tools.lemmatizer
  A marker interface for evaluating `lemmatizers`.
length() - Method in class opennlp.tools.util.Span
levenshteinDistance(String, String) - Static method in class opennlp.tools.util.StringUtil
  Computes the Levenshtein distance of two strings in a matrix.
LinkedSpan<T> - Class in opennlp.tools.entitylinker
  A default, extended `Span` that holds additional information about a `Span`.
LinkedSpan(ArrayList<T>, int, int) - Constructor for class opennlp.tools.entitylinker.LinkedSpan
  Initializes a new `LinkedSpan`.
LinkedSpan(ArrayList<T>, int, int, String) - Constructor for class opennlp.tools.entitylinker.LinkedSpan
  Initializes a new `LinkedSpan`.
LinkedSpan(ArrayList<T>, int, int, String, double) - Constructor for class opennlp.tools.entitylinker.LinkedSpan
  Initializes a new `LinkedSpan`.
LinkedSpan(ArrayList<T>, Span, int) - Constructor for class opennlp.tools.entitylinker.LinkedSpan
  Initializes a new `LinkedSpan` via an existing `Span` which is shifted by the specified `offset`.
LOG_LIKELIHOOD - Enum constant in enum class opennlp.tools.monitoring.TrainingMeasure
logPrior(double[], int[]) - Method in interface opennlp.tools.ml.model.Prior
  Populates the specified array with the log of the distribution for the specified context.
logPrior(double[], int[], float[]) - Method in interface opennlp.tools.ml.model.Prior
  Populates the specified array with the log of the distribution for the specified context.
logPrior(double[], Context[], float[]) - Method in interface opennlp.tools.ml.model.Prior
  Populates the specified array with the log of the distribution for the specified context.
logSumOfExps(double[]) - Static method in class opennlp.tools.ml.ArrayMath
  Computes `\log(\sum_{i=1}^n e^{x_i})` using a maximum-element trick to avoid arithmetic overflow.

## M

max(double[]) - Static method in class opennlp.tools.ml.ArrayMath
  Finds the maximum element in a vector `x`.
MAXENT - Enum constant in enum class opennlp.tools.ml.AlgorithmType
MAXENT - Enum constant in enum class opennlp.tools.util.model.ModelType
MAXENT_QN - Enum constant in enum class opennlp.tools.ml.AlgorithmType
MaxentModel - Interface in opennlp.tools.ml.model
  Interface for maximum entropy models.
mean() - Method in class opennlp.tools.util.eval.Mean
Mean - Class in opennlp.tools.util.eval
  Calculates the arithmetic mean of values added with the `Mean.add(double)` method.
Mean() - Constructor for class opennlp.tools.util.eval.Mean
MERGE_BOTH - Enum constant in enum class opennlp.tools.tokenize.Detokenizer.DetokenizationOperation
  The current token should be attached to the string on the left side, as well as to the start token on the right side.
MERGE_TO_LEFT - Enum constant in enum class opennlp.tools.tokenize.Detokenizer.DetokenizationOperation
  The current token should be attached to the string on the left side.
MERGE_TO_RIGHT - Enum constant in enum class opennlp.tools.tokenize.Detokenizer.DetokenizationOperation
  The current token should be attached to the start token on the right side.
mergeInto(FMeasure) - Method in class opennlp.tools.util.eval.FMeasure
  Merge results into `metric`.
misclassified(T, T) - Method in interface opennlp.tools.util.eval.EvaluationMonitor
model() - Method in record class opennlp.tools.models.ClassPathModelEntry
  Returns the value of the `model` record component.
ModelType - Enum Class in opennlp.tools.models
  A model type to pattern enumeration.
ModelType - Enum Class in opennlp.tools.util.model
  Enumeration of supported model types.
MutableTagDictionary - Interface in opennlp.tools.postag
  Interface that allows `TagDictionary` entries to be added and removed.

## N

NAIVE_BAYES - Enum constant in enum class opennlp.tools.ml.AlgorithmType
NAME_FINDER - Enum constant in enum class opennlp.tools.models.ModelType
NameContextGenerator - Interface in opennlp.tools.namefind
  Interface for generating the context for a `name finder` by specifying a set of feature generators.
NameSample - Class in opennlp.tools.namefind
  Encapsulates names for a single unit of text.
NameSample(String[], Span[], boolean) - Constructor for class opennlp.tools.namefind.NameSample
  Initializes a `NameSample` instance with given parameters.
NameSample(String[], Span[], String[][], boolean) - Constructor for class opennlp.tools.namefind.NameSample
  Initializes a `NameSample` instance with given parameters.
NameSample(String, String[], Span[], String[][], boolean) - Constructor for class opennlp.tools.namefind.NameSample
  Initializes a `NameSample` instance with given parameters.
next() - Method in class opennlp.tools.util.ReverseListIterator
nicePrint() - Method in class opennlp.tools.chunker.ChunkSample
  Creates a nice to read string for the phrases formatted as following:
  `[NP Rockwell_NNP ] [VP said_VBD ] [NP the_DT agreement_NN ] [VP calls_VBZ ] [SBAR for_IN ] [NP it_PRP ] [VP to_TO supply_VB ] [NP 200_CD additional_JJ so-called_JJ shipsets_NNS ] [PP for_IN ] [NP the_DT planes_NNS ] ._.`
NO_OPERATION - Enum constant in enum class opennlp.tools.tokenize.Detokenizer.DetokenizationOperation
  Do not perform a merge operation for this token, but is possible that another token can be attached to the left or right side of this one.
normalize(CharSequence) - Method in interface opennlp.tools.util.normalizer.CharSequenceNormalizer
  Normalizes a sequence of characters.

## O

ObjectStream<T> - Interface in opennlp.tools.util
  Reads `objects` from a stream.
ObjectStreamFactory<T,P> - Interface in opennlp.tools.cmdline
ObjectStreamUtils - Class in opennlp.tools.util
ObjectStreamUtils() - Constructor for class opennlp.tools.util.ObjectStreamUtils
OPENNLP_MODEL_JAR_PREFIX - Static variable in interface opennlp.tools.models.ClassPathModelFinder
opennlp.tools.chunker - package opennlp.tools.chunker
opennlp.tools.cmdline - package opennlp.tools.cmdline
opennlp.tools.cmdline.params - package opennlp.tools.cmdline.params
opennlp.tools.commons - package opennlp.tools.commons
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.ml - package opennlp.tools.ml
opennlp.tools.ml.model - package opennlp.tools.ml.model
opennlp.tools.models - package opennlp.tools.models
opennlp.tools.monitoring - package opennlp.tools.monitoring
opennlp.tools.namefind - package opennlp.tools.namefind
opennlp.tools.parser - package opennlp.tools.parser
opennlp.tools.postag - package opennlp.tools.postag
opennlp.tools.sentdetect - package opennlp.tools.sentdetect
opennlp.tools.sentiment - package opennlp.tools.sentiment
opennlp.tools.stemmer - package opennlp.tools.stemmer
opennlp.tools.tokenize - package opennlp.tools.tokenize
opennlp.tools.util - package opennlp.tools.util
opennlp.tools.util.eval - package opennlp.tools.util.eval
opennlp.tools.util.ext - package opennlp.tools.util.ext
opennlp.tools.util.featuregen - package opennlp.tools.util.featuregen
opennlp.tools.util.java - package opennlp.tools.util.java
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

## P

Parameters - Interface in opennlp.tools.util
parse(String) - Static method in enum class opennlp.tools.parser.ParserType
parse(String) - Static method in class opennlp.tools.postag.POSSample
  Parses a `sentenceString`.
parse(String[], Class<T>) - Static method in class opennlp.tools.cmdline.ArgumentParser
  Parses the passed arguments and creates an instance of the proxy interface.
parse(String, boolean) - Static method in class opennlp.tools.namefind.NameSample
  Parses given input into a `NameSample`.
parse(String, String) - Static method in class opennlp.tools.tokenize.TokenSample
  Parses a string sample.
parse(String, String, boolean) - Static method in class opennlp.tools.namefind.NameSample
  Parses given input into a `NameSample`.
parse(Parse) - Method in interface opennlp.tools.parser.Parser
  Returns a `Parse` for the specified `Parse` of `tokens`.
parse(Parse, int) - Method in interface opennlp.tools.parser.Parser
  Returns the specified number of parses or fewer for the specified tokens.
Parse - Class in opennlp.tools.parser
  Data structure for holding parse constituents.
Parse(String, Span, String, double, int) - Constructor for class opennlp.tools.parser.Parse
  Initializes a `node` for this specified `text` and `span` of the specified `type` with probability `p` and the head `index`.
Parse(String, Span, String, double, Parse) - Constructor for class opennlp.tools.parser.Parse
  Initializes a `node` for this specified `text` and `span` of the specified `type` with probability `p` and the head `index`.
parseParse(String) - Static method in class opennlp.tools.parser.Parse
  Parses the specified tree-bank style parse string and return a `Parse` structure for that string.
parseParse(String, GapLabeler) - Static method in class opennlp.tools.parser.Parse
  Parses the specified tree-bank style `Parse` string and return a `Parse` structure for that string.
Parser - Interface in opennlp.tools.parser
  Defines common methods for full-syntactic parsers.
PARSER - Enum constant in enum class opennlp.tools.models.ModelType
ParserEvaluationMonitor - Interface in opennlp.tools.parser
  A marker interface for evaluating `parsers`.
ParserEventTypeEnum - Enum Class in opennlp.tools.parser
  Enumeration of event types for a `Parser`.
ParserType - Enum Class in opennlp.tools.parser
  Enumeration of supported `Parser` types.
PERCEPTRON - Enum constant in enum class opennlp.tools.ml.AlgorithmType
PERCEPTRON - Enum constant in enum class opennlp.tools.util.model.ModelType
PERCEPTRON_SEQUENCE - Enum constant in enum class opennlp.tools.ml.AlgorithmType
PERCEPTRON_SEQUENCE - Enum constant in enum class opennlp.tools.util.model.ModelType
phrasesAsSpanList(String[], String[], String[]) - Static method in class opennlp.tools.chunker.ChunkSample
  Create arrays of `spans` of phrases.
PlainTextByLineStream - Class in opennlp.tools.util
  Reads a plain text file and returns each line as a `String` object.
PlainTextByLineStream(InputStreamFactory, String) - Constructor for class opennlp.tools.util.PlainTextByLineStream
  Initializes a `PlainTextByLineStream`.
PlainTextByLineStream(InputStreamFactory, Charset) - Constructor for class opennlp.tools.util.PlainTextByLineStream
  Initializes a `PlainTextByLineStream`.
POS - Enum constant in enum class opennlp.tools.models.ModelType
POS_GENERIC - Enum constant in enum class opennlp.tools.models.ModelType
POSContextGenerator - Interface in opennlp.tools.postag
  Interface for a `BeamSearchContextGenerator` used in POS tagging.
POSSample - Class in opennlp.tools.postag
  Represents an pos-tagged `sentence`.
POSSample(String[], String[]) - Constructor for class opennlp.tools.postag.POSSample
  Initializes a `POSSample` instance.
POSSample(String[], String[], String[][]) - Constructor for class opennlp.tools.postag.POSSample
  Initializes a `POSSample` instance.
POSSample(List<String>, List<String>) - Constructor for class opennlp.tools.postag.POSSample
  Initializes a `POSSample` instance.
POSSample(List<String>, List<String>, String[][]) - Constructor for class opennlp.tools.postag.POSSample
  Initializes a `POSSample` instance.
POSTagger - Interface in opennlp.tools.postag
  The interface for part of speech taggers.
POSTaggerEvaluationMonitor - Interface in opennlp.tools.postag
  A marker interface for evaluating `pos taggers`.
precision(Object[], Object[]) - Static method in class opennlp.tools.util.eval.FMeasure
  Calculates the precision score for the given reference and predicted spans.
predict(String) - Method in interface opennlp.tools.sentiment.SentimentDetector
  Conducts a sentiment prediction for the specifed sentence.
predict(String[]) - Method in interface opennlp.tools.sentiment.SentimentDetector
  Conducts a sentiment prediction for the specifed sentence.
predictLanguage(CharSequence) - Method in interface opennlp.tools.langdetect.LanguageDetector
  Predicts the `Language` for the full `content` length.
predictLanguages(CharSequence) - Method in interface opennlp.tools.langdetect.LanguageDetector
  Predicts the `languages` for the full `content` length.
predictNextTokens(String...) - Method in interface opennlp.tools.languagemodel.LanguageModel
  Predict the most probable output sequence of tokens, given an input sequence of `tokens`.
Prior - Interface in opennlp.tools.ml.model
  This interface allows one to implement a prior distribution for use in maximum entropy model training.
Probabilistic - Interface in opennlp.tools.ml
  A marker interface for classes with probabilistic capabilities.
probs() - Method in interface opennlp.tools.ml.Probabilistic
  Retrieves the probabilities of the last decoded sequence.
progMon() - Method in record class opennlp.tools.util.TrainingConfiguration
  Returns the value of the `progMon` record component.
properties() - Method in record class opennlp.tools.models.ClassPathModelEntry
  Returns the value of the `properties` record component.
pruneParse(Parse) - Static method in class opennlp.tools.parser.Parse
  Prune the specified sentence parse of vacuous productions.
put(String, boolean) - Method in interface opennlp.tools.util.Parameters
  Puts a `value` into the current `Parameters` under a certain `key`.
put(String, double) - Method in interface opennlp.tools.util.Parameters
  Puts a `value` into the current `Parameters` under a certain `key`.
put(String, int) - Method in interface opennlp.tools.util.Parameters
  Puts a `value` into the current `Parameters` under a certain `key`.
put(String, String) - Method in interface opennlp.tools.util.Parameters
  Puts a `value` into the current `Parameters` under a certain `key`.
put(String, String...) - Method in interface opennlp.tools.postag.MutableTagDictionary
  Associates the specified tags with the specified word.
put(String, String, boolean) - Method in interface opennlp.tools.util.Parameters
  Puts a `value` into the current `Parameters` under a certain `key`.
put(String, String, double) - Method in interface opennlp.tools.util.Parameters
  Puts a `value` into the current `Parameters` under a certain `key`.
put(String, String, int) - Method in interface opennlp.tools.util.Parameters
  Puts a `value` into the current `Parameters` under a certain `key`.
put(String, String, String) - Method in interface opennlp.tools.util.Parameters
  Puts a `value` into the current `Parameters` under a certain `key`.
putIfAbsent(String, boolean) - Method in interface opennlp.tools.util.Parameters
  Puts a `value` into the current `Parameters` under a certain `key`, if the value was not present before.
putIfAbsent(String, double) - Method in interface opennlp.tools.util.Parameters
  Puts a `value` into the current `Parameters` under a certain `key`, if the value was not present before.
putIfAbsent(String, int) - Method in interface opennlp.tools.util.Parameters
  Puts a `value` into the current `Parameters` under a certain `key`, if the value was not present before.
putIfAbsent(String, String) - Method in interface opennlp.tools.util.Parameters
  Puts a `value` into the current `Parameters` under a certain `key`, if the value was not present before.
putIfAbsent(String, String, boolean) - Method in interface opennlp.tools.util.Parameters
  Puts a `value` into the current `Parameters` under a certain `key`, if the value was not present before.
putIfAbsent(String, String, double) - Method in interface opennlp.tools.util.Parameters
  Puts a `value` into the current `Parameters` under a certain `key`, if the value was not present before.
putIfAbsent(String, String, int) - Method in interface opennlp.tools.util.Parameters
  Puts a `value` into the current `Parameters` under a certain `key`, if the value was not present before.
putIfAbsent(String, String, String) - Method in interface opennlp.tools.util.Parameters
  Puts a `value` into the current `Parameters` under a certain `key`, if the value was not present before.

## R

read() - Method in class opennlp.tools.util.AbstractObjectStream
read() - Method in interface opennlp.tools.util.ObjectStream
  Returns the next `ObjectStream` object.
read() - Method in class opennlp.tools.util.PlainTextByLineStream
readDouble() - Method in interface opennlp.tools.ml.model.DataReader
readInt() - Method in interface opennlp.tools.ml.model.DataReader
readUTF() - Method in interface opennlp.tools.ml.model.DataReader
recall(Object[], Object[]) - Static method in class opennlp.tools.util.eval.FMeasure
  Calculates the recall score for the given reference and predicted spans.
registerAllowedPackage(String) - Static method in class opennlp.tools.util.ext.ExtensionLoader
  Registers an additional package prefix whose classes are permitted to be loaded as OpenNLP extensions.
remove() - Method in class opennlp.tools.util.ReverseListIterator
remove(int) - Method in class opennlp.tools.parser.Parse
reset() - Method in class opennlp.tools.util.AbstractObjectStream
reset() - Method in interface opennlp.tools.util.ObjectStream
  Repositions the stream at the beginning and the previously seen object sequence will be repeated exactly.
reset() - Method in class opennlp.tools.util.PlainTextByLineStream
reset() - Method in interface opennlp.tools.util.ResetableIterator
  Sets the `Iterator` back to the first retrieved element.
ResetableIterator<E> - Interface in opennlp.tools.util
  This interface makes an `Iterator` resettable.
ReverseListIterator<T> - Class in opennlp.tools.util
  An iterator for a list which returns values in the opposite order as the typical list iterator.
ReverseListIterator(List<T>) - Constructor for class opennlp.tools.util.ReverseListIterator
ROBERTA_CLS_TOKEN - Static variable in class opennlp.tools.tokenize.WordpieceTokenizer
  RoBERTa classification token: `<s>`.
ROBERTA_SEP_TOKEN - Static variable in class opennlp.tools.tokenize.WordpieceTokenizer
  RoBERTa separator token.
ROBERTA_UNK_TOKEN - Static variable in class opennlp.tools.tokenize.WordpieceTokenizer
  RoBERTa unknown token.

## S

Sample - Interface in opennlp.tools.commons
  Represents a generic type of processable elements.
scoreMap(String[]) - Method in interface opennlp.tools.doccat.DocumentCategorizer
  Retrieves a `Map` in which the key is the category name and the value is the score.
SDContextGenerator - Interface in opennlp.tools.sentdetect
  Interface for `SentenceDetector` context generators.
sentDetect(CharSequence) - Method in interface opennlp.tools.sentdetect.SentenceDetector
  Detects sentences in a character sequence.
SENTENCE_DETECTOR - Enum constant in enum class opennlp.tools.models.ModelType
SentenceDetector - Interface in opennlp.tools.sentdetect
  The interface for sentence detectors, which find the sentence boundaries in a text.
SentenceDetectorEvaluationMonitor - Interface in opennlp.tools.sentdetect
SentenceSample - Class in opennlp.tools.sentdetect
  A `SentenceSample` contains a document with begin indexes of the individual sentences.
SentenceSample(CharSequence, Span...) - Constructor for class opennlp.tools.sentdetect.SentenceSample
  Initializes the current instance.
SentenceSample(Detokenizer, String[][]) - Constructor for class opennlp.tools.sentdetect.SentenceSample
SentimentDetector - Interface in opennlp.tools.sentiment
SentimentEvaluationMonitor - Interface in opennlp.tools.sentiment
  An sentiment specific `EvaluationMonitor` to be used by the evaluator.
SentimentSample - Class in opennlp.tools.sentiment
  Class for holding text used for sentiment analysis.
SentimentSample(String, String[]) - Constructor for class opennlp.tools.sentiment.SentimentSample
  Instantiates a `SentimentSample` object.
SentimentSample(String, String[], boolean) - Constructor for class opennlp.tools.sentiment.SentimentSample
sentPosDetect(CharSequence) - Method in interface opennlp.tools.sentdetect.SentenceDetector
  Detects sentences in a character sequence.
Sequence<T> - Class in opennlp.tools.ml.model
  Class which models a sequence.
Sequence - Class in opennlp.tools.util
  Represents a weighted sequence of outcomes.
Sequence() - Constructor for class opennlp.tools.util.Sequence
  Initializes a new `Sequence` of outcomes.
Sequence(List<String>) - Constructor for class opennlp.tools.util.Sequence
  Initializes a new `Sequence` of outcomes from a list of `outcomes`.
Sequence(Event[], T) - Constructor for class opennlp.tools.ml.model.Sequence
  Initializes `Sequence` made up of the specified events and derived from the specified source.
Sequence(Sequence) - Constructor for class opennlp.tools.util.Sequence
  Initializes a new `Sequence` of outcomes from an existing `Sequence`.
Sequence(Sequence, String, double) - Constructor for class opennlp.tools.util.Sequence
  Initializes a new `Sequence` of outcomes from an existing `Sequence`.
SEQUENCE_VALUE - Static variable in interface opennlp.tools.ml.EventModelSequenceTrainer
SEQUENCE_VALUE - Static variable in interface opennlp.tools.ml.SequenceTrainer
SequenceClassificationModel - Interface in opennlp.tools.ml.model
  A classification model that can label an input `Sequence`.
SequenceCodec<T> - Interface in opennlp.tools.util
  A codec for sequences of type `SequenceCodec`.
SequenceStream<S> - Interface in opennlp.tools.ml.model
  Interface for streams of `sequences` used to train sequence models.
SequenceTrainer<P> - Interface in opennlp.tools.ml
SequenceValidator<T> - Interface in opennlp.tools.util
SerializableArtifact - Interface in opennlp.tools.util.model
  A marker interface so that implementing classes can refer to the corresponding `ArtifactSerializer` implementation.
serialize(OutputStream) - Method in interface opennlp.tools.util.Parameters
  Serializes a `Parameters` instance via a specified `OutputStream`.
serialize(T, OutputStream) - Method in interface opennlp.tools.util.model.ArtifactSerializer
  Serializes an artifact to the provided `OutputStream`.
setChild(int, String) - Method in class opennlp.tools.parser.Parse
  Replaces the child at the specified index with a new child with the specified label.
setDerivation(StringBuffer) - Method in class opennlp.tools.parser.Parse
  Specifies the derivation string to be associated with this parse.
setItemID(String) - Method in class opennlp.tools.entitylinker.BaseLink
setItemName(String) - Method in class opennlp.tools.entitylinker.BaseLink
setItemParentID(String) - Method in class opennlp.tools.entitylinker.BaseLink
setItemType(String) - Method in class opennlp.tools.entitylinker.BaseLink
setKeepNewLines(boolean) - Method in class opennlp.tools.tokenize.WhitespaceTokenizer
  Switches whether to keep new lines or not.
setLabel(String) - Method in class opennlp.tools.parser.Constituent
  Assigns the label to the constituent.
setLabel(String) - Method in class opennlp.tools.parser.Parse
  Assigns this parse the specified label.
setLabels(String[], String[]) - Method in interface opennlp.tools.ml.model.Prior
  Method to specify the label for the outcomes and contexts.
setLinkedEntries(ArrayList<T>) - Method in class opennlp.tools.entitylinker.LinkedSpan
setNextPunctuation(Collection<Parse>) - Method in class opennlp.tools.parser.Parse
  Sets the `punctuation tags` which follow this parse.
setParent(Parse) - Method in class opennlp.tools.parser.Parse
  Specifies the parent parse node for this constituent.
setPrevPunctuation(Collection<Parse>) - Method in class opennlp.tools.parser.Parse
  Sets the `punctuation tags` which precede this parse.
setScoreMap(Map<String, Double>) - Method in class opennlp.tools.entitylinker.BaseLink
setSearchTerm(String) - Method in class opennlp.tools.entitylinker.LinkedSpan
setSentenceid(int) - Method in class opennlp.tools.entitylinker.LinkedSpan
setType(String) - Method in class opennlp.tools.parser.Parse
  Set the type of this constituent to the specified type.
show() - Method in class opennlp.tools.parser.Parse
  Prints this parse using Penn Treebank-style formatting.
show(StringBuffer) - Method in class opennlp.tools.parser.Parse
  Fills the specified `StringBuffer` with a string representation of this parse.
showCodeTree() - Method in class opennlp.tools.parser.Parse
  Prints to standard out a representation of the specified parse which contains hash codes so that parent/child relationships can be explicitly seen.
since() - Element in annotation interface opennlp.tools.commons.Internal
  The OpenNLP release when an element was first declared internal.
since() - Element in annotation interface opennlp.tools.commons.ThreadSafe
  The OpenNLP release when an element was first declared `thread-safe`.
size() - Method in interface opennlp.tools.util.wordvector.WordVectorTable
sortedScoreMap(String[]) - Method in interface opennlp.tools.doccat.DocumentCategorizer
  Retrieves a `SortedMap` of the scores sorted in ascending order, together with their associated categories.
Span - Class in opennlp.tools.util
  Class for storing start and end integer offsets.
Span(int, int) - Constructor for class opennlp.tools.util.Span
  Initializes a new `Span`.
Span(int, int, double) - Constructor for class opennlp.tools.util.Span
  Initializes a new `Span`.
Span(int, int, String) - Constructor for class opennlp.tools.util.Span
  Initializes a new `Span`.
Span(int, int, String, double) - Constructor for class opennlp.tools.util.Span
  Initializes a new `Span`.
Span(Span, double) - Constructor for class opennlp.tools.util.Span
  Creates a new immutable `Span` based on an existing `Span`, where the existing `Span` did not include the probability.
Span(Span, int) - Constructor for class opennlp.tools.util.Span
  Initializes a new `Span` with an existing `Span` which is shifted by an offset.
spansToStrings(Span[], CharSequence) - Static method in class opennlp.tools.util.Span
  Converts an array of `spans` to an array of `String`.
spansToStrings(Span[], String[]) - Static method in class opennlp.tools.util.Span
START_TAG - Static variable in class opennlp.tools.namefind.NameSample
START_TAG_PREFIX - Static variable in class opennlp.tools.namefind.NameSample
startsWith(Span) - Method in class opennlp.tools.util.Span
stem(CharSequence) - Method in interface opennlp.tools.stemmer.Stemmer
Stemmer - Interface in opennlp.tools.stemmer
  The stemmer is reducing a word to its stem.
stopCriteria() - Method in record class opennlp.tools.util.TrainingConfiguration
  Returns the value of the `stopCriteria` record component.
StopCriteria<T> - Interface in opennlp.tools.monitoring
  Stop criteria for model training.
StringInterner - Interface in opennlp.tools.util.jvm
  A marker-interface for a String interner implementation.
StringUtil - Class in opennlp.tools.util
StringUtil() - Constructor for class opennlp.tools.util.StringUtil
sumFeatures(Context[], float[], double[]) - Static method in class opennlp.tools.ml.ArrayMath

## T

tag() - Method in record class opennlp.tools.util.TokenTag
  Returns the value of the `tag` record component.
tag(String[]) - Method in interface opennlp.tools.postag.POSTagger
  Assigns the sentence of tokens pos tags.
tag(String[], Object[]) - Method in interface opennlp.tools.postag.POSTagger
  Assigns the sentence of tokens pos tags.
TAG - Enum constant in enum class opennlp.tools.parser.ParserEventTypeEnum
  Deprecated.
TagDictionary - Interface in opennlp.tools.postag
  Interface to determine which tags are valid for a particular word based on a tag dictionary.
TerminateToolException - Exception Class in opennlp.tools.cmdline
  Exception to terminate the execution of a command line tool.
TerminateToolException(int) - Constructor for exception class opennlp.tools.cmdline.TerminateToolException
TerminateToolException(int, String) - Constructor for exception class opennlp.tools.cmdline.TerminateToolException
TerminateToolException(int, String, Throwable) - Constructor for exception class opennlp.tools.cmdline.TerminateToolException
THREADS_PARAM - Static variable in interface opennlp.tools.util.Parameters
ThreadSafe - Annotation Interface in opennlp.tools.commons
  Classes, fields, or methods annotated `&#64;ThreadSafe` are safe to use in multithreading contexts.
toDoubleArray(List<Double>) - Static method in class opennlp.tools.ml.ArrayMath
  Convert a list of `Double` objects into an array of primitive doubles.
toDoubleBuffer() - Method in interface opennlp.tools.util.wordvector.WordVector
toFloatBuffer() - Method in interface opennlp.tools.util.wordvector.WordVector
toIntArray(List<Integer>) - Static method in class opennlp.tools.ml.ArrayMath
  Convert a list of `Integer` objects into an array of primitive integers.
TOK_NODE - Static variable in interface opennlp.tools.parser.Parser
  The label for a token node.
token() - Method in record class opennlp.tools.util.TokenTag
  Returns the value of the `token` record component.
TokenContextGenerator - Interface in opennlp.tools.tokenize
  Interface for context generators required for `tokenizer implementations`.
tokenize(String) - Method in class opennlp.tools.tokenize.WhitespaceTokenizer
tokenize(String) - Method in interface opennlp.tools.tokenize.Tokenizer
  Splits a string into its atomic parts.
tokenize(String) - Method in class opennlp.tools.tokenize.WordpieceTokenizer
tokenizePos(String) - Method in interface opennlp.tools.tokenize.Tokenizer
  Finds the boundaries of atomic parts in a string.
tokenizePos(String) - Method in class opennlp.tools.tokenize.WhitespaceTokenizer
tokenizePos(String) - Method in class opennlp.tools.tokenize.WordpieceTokenizer
Tokenizer - Interface in opennlp.tools.tokenize
  The interface for tokenizers, which segment a string into its tokens.
TOKENIZER - Enum constant in enum class opennlp.tools.models.ModelType
TokenizerEvaluationMonitor - Interface in opennlp.tools.tokenize
  A marker interface for evaluating `tokenizers`.
TokenNameFinder - Interface in opennlp.tools.namefind
  The interface for name finders which provide name tags for a sequence of tokens.
TokenNameFinderEvaluationMonitor - Interface in opennlp.tools.namefind
  A marker interface for evaluating `name finders`.
tokens() - Method in interface opennlp.tools.util.wordvector.WordVectorTable
TokenSample - Class in opennlp.tools.tokenize
  A `TokenSample` is text with token spans.
TokenSample(String, Span[]) - Constructor for class opennlp.tools.tokenize.TokenSample
  Initializes a `instance`.
TokenSample(Detokenizer, String[]) - Constructor for class opennlp.tools.tokenize.TokenSample
  Initializes a `instance` via a `Detokenizer`.
TokenTag - Record Class in opennlp.tools.util
TokenTag(String, String, String[]) - Constructor for record class opennlp.tools.util.TokenTag
  Creates an instance of a `TokenTag` record class.
toLowerCase(CharSequence) - Static method in class opennlp.tools.util.StringUtil
  Converts a `CharSequence` to lower case, independent of the current `Locale` via `Character.toLowerCase(int)` which uses mapping information from the UnicodeData file.
toLowerCaseCharBuffer(CharSequence) - Static method in class opennlp.tools.util.StringUtil
TOP_NODE - Static variable in interface opennlp.tools.parser.Parser
  The label for the top node.
topKSequences(String[]) - Method in interface opennlp.tools.postag.POSTagger
  Assigns the sentence the top-k `sequences`.
topKSequences(String[], Object[]) - Method in interface opennlp.tools.postag.POSTagger
  Assigns the sentence the top-k `sequences`.
topKSequences(String[], String[]) - Method in interface opennlp.tools.chunker.Chunker
  Computes the top k chunk `sequences` for the specified sentence with the specified pos-tags.
topKSequences(String[], String[], double) - Method in interface opennlp.tools.chunker.Chunker
  Computes the top k chunk `sequences` for the specified sentence with the specified pos-tags.
toString() - Method in class opennlp.tools.chunker.ChunkSample
toString() - Method in class opennlp.tools.doccat.DocumentSample
toString() - Method in class opennlp.tools.entitylinker.BaseLink
toString() - Method in class opennlp.tools.entitylinker.LinkedSpan
toString() - Method in class opennlp.tools.langdetect.Language
toString() - Method in record class opennlp.tools.langdetect.LanguageSample
  Returns a string representation of this record class.
toString() - Method in class opennlp.tools.lemmatizer.LemmaSample
toString() - Method in class opennlp.tools.ml.model.Event
toString() - Method in record class opennlp.tools.models.ClassPathModelEntry
  Returns a string representation of this record class.
toString() - Method in class opennlp.tools.namefind.NameSample
toString() - Method in class opennlp.tools.parser.Parse
  Represents this `Parse` in a human-readable way.
toString() - Method in class opennlp.tools.postag.POSSample
toString() - Method in class opennlp.tools.sentdetect.SentenceSample
toString() - Method in class opennlp.tools.sentiment.SentimentSample
toString() - Method in class opennlp.tools.tokenize.TokenSample
toString() - Method in class opennlp.tools.util.eval.FMeasure
toString() - Method in class opennlp.tools.util.eval.Mean
toString() - Method in class opennlp.tools.util.Sequence
toString() - Method in class opennlp.tools.util.Span
toString() - Method in record class opennlp.tools.util.TokenTag
  Returns a string representation of this record class.
toString() - Method in record class opennlp.tools.util.TrainingConfiguration
  Returns a string representation of this record class.
toStringPennTreebank() - Method in class opennlp.tools.parser.Parse
toUpperCase(CharSequence) - Static method in class opennlp.tools.util.StringUtil
  Converts a `CharSequence` to upper case, independent of the current `Locale` via `Character.toUpperCase(char)` which uses mapping information from the UnicodeData file.
train(DataIndexer<P>) - Method in interface opennlp.tools.ml.EventTrainer
  Trains a `MaxentModel` for given `events`.
train(SequenceStream<T>) - Method in interface opennlp.tools.ml.EventModelSequenceTrainer
  Trains a `MaxentModel` for given `events`.
train(SequenceStream<T>) - Method in interface opennlp.tools.ml.SequenceTrainer
  Trains a `SequenceClassificationModel` for given `events`.
train(ObjectStream<Event>) - Method in interface opennlp.tools.ml.EventTrainer
  Trains a `MaxentModel` for given `events`.
Trainer<P> - Interface in opennlp.tools.commons
  Represents a common base for training implementations.
TRAINER_TYPE_PARAM - Static variable in interface opennlp.tools.util.Parameters
TrainingConfiguration - Record Class in opennlp.tools.util
  Configuration used for model training.
TrainingConfiguration(TrainingProgressMonitor, StopCriteria<Double>) - Constructor for record class opennlp.tools.util.TrainingConfiguration
  Creates an instance of a `TrainingConfiguration` record class.
TrainingMeasure - Enum Class in opennlp.tools.monitoring
  Enumeration of Training measures.
TrainingProgressMonitor - Interface in opennlp.tools.monitoring
  An interface to capture training progress of a model.
TrainingToolParams - Interface in opennlp.tools.cmdline.params
  Common training parameters.
TREEINSERT - Enum constant in enum class opennlp.tools.parser.ParserType
trim(CharSequence) - Method in class opennlp.tools.util.Span

## U

unregisterAllowedPackage(String) - Static method in class opennlp.tools.util.ext.ExtensionLoader
  Removes a previously registered package prefix.
updateAdaptiveData(String[], String[]) - Method in interface opennlp.tools.namefind.NameContextGenerator
  Informs all the feature generators that the specified `tokens` have been classified with the corresponds set of specified `outcomes`.
updateAdaptiveData(String[], String[]) - Method in interface opennlp.tools.util.featuregen.AdaptiveFeatureGenerator
  Informs a feature generator that the specified tokens have been classified with the corresponding set of specified `outcomes`.
updateContext(Sequence<S>, MaxentModel) - Method in interface opennlp.tools.ml.model.SequenceStream
  Creates a new event array based on the outcomes predicted by the specified parameters for the specified `Sequence`.
updateHeads(HeadRules) - Method in class opennlp.tools.parser.Parse
  Computes the head parses for this parse and its sub-parses and stores this information in the parse data structure.
updateScores(Object[], Object[]) - Method in class opennlp.tools.util.eval.FMeasure
  Updates the score based on the number of true positives and the number of predictions and references.
updateSpan() - Method in class opennlp.tools.parser.Parse
useFunctionTags(boolean) - Static method in class opennlp.tools.parser.Parse
  Specifies whether function tags should be included as part of the constituent type.

## V

validateArguments(String[], Class<?>...) - Static method in class opennlp.tools.cmdline.ArgumentParser
  Tests if the argument are correct or incorrect.
validateArguments(String[], Class<T>) - Static method in class opennlp.tools.cmdline.ArgumentParser
  Tests if the argument are correct or incorrect.
validateArgumentsLoudly(String[], Class<?>) - Static method in class opennlp.tools.cmdline.ArgumentParser
  Tests if the arguments are correct or incorrect.
validateArgumentsLoudly(String[], Class<?>...) - Static method in class opennlp.tools.cmdline.ArgumentParser
  Tests if the arguments are correct or incorrect.
validateLanguageCode(String) - Static method in class opennlp.tools.util.LanguageCodeValidator
  Validates the given language code and throws an `IllegalArgumentException` if it is not a recognized ISO 639 language code.
validSequence(int, T[], String[], String) - Method in interface opennlp.tools.util.SequenceValidator
  Determines whether a particular continuation of a `sequence` is valid.
value() - Element in annotation interface opennlp.tools.commons.Internal
valueName() - Element in annotation interface opennlp.tools.cmdline.ArgumentParser.ParameterDescription
valueOf(String) - Static method in enum class opennlp.tools.ml.AlgorithmType
  Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class opennlp.tools.models.ModelType
  Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class opennlp.tools.monitoring.TrainingMeasure
  Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class opennlp.tools.parser.ParserEventTypeEnum
  Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class opennlp.tools.parser.ParserType
  Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class opennlp.tools.tokenize.Detokenizer.DetokenizationOperation
  Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class opennlp.tools.util.model.ModelType
  Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class opennlp.tools.util.wordvector.WordVectorType
  Returns the enum constant of this class with the specified name.
values() - Static method in enum class opennlp.tools.ml.AlgorithmType
  Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class opennlp.tools.models.ModelType
  Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class opennlp.tools.monitoring.TrainingMeasure
  Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class opennlp.tools.parser.ParserEventTypeEnum
  Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class opennlp.tools.parser.ParserType
  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.Detokenizer.DetokenizationOperation
  Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class opennlp.tools.util.model.ModelType
  Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class opennlp.tools.util.wordvector.WordVectorType
  Returns an array containing the constants of this enum class, in the order they are declared.

## W

WhitespaceTokenizer - Class in opennlp.tools.tokenize
  A basic `Tokenizer` implementation which performs tokenization using white spaces.
WordpieceTokenizer - Class in opennlp.tools.tokenize
  A `Tokenizer` implementation which performs tokenization using word pieces.
WordpieceTokenizer(Set<String>) - Constructor for class opennlp.tools.tokenize.WordpieceTokenizer
  Initializes a `WordpieceTokenizer` with a `vocabulary` and a default `maxTokenLength` of `50`.
WordpieceTokenizer(Set<String>, int) - Constructor for class opennlp.tools.tokenize.WordpieceTokenizer
  Initializes a `WordpieceTokenizer` with a `vocabulary` and a custom `maxTokenLength`.
WordpieceTokenizer(Set<String>, String, String, String) - Constructor for class opennlp.tools.tokenize.WordpieceTokenizer
  Initializes a `WordpieceTokenizer` with a `vocabulary` and custom special tokens.
WordVector - Interface in opennlp.tools.util.wordvector
  A word vector.
WordVectorTable - Interface in opennlp.tools.util.wordvector
  A table that maps tokens to word vectors.
WordVectorType - Enum Class in opennlp.tools.util.wordvector

A B C D E F G H I L M N O P R S T U V W
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form