Index

A B C D E F G H I J L M N O P Q 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
 
AbstractDataIndexer - Class in opennlp.tools.ml.model
Abstract DataIndexer implementation for collecting event and context counts used in training.
AbstractDataIndexer() - Constructor for class opennlp.tools.ml.model.AbstractDataIndexer
 
AbstractEventModelSequenceTrainer - Class in opennlp.tools.ml
A basic EventModelSequenceTrainer implementation that processes events.
AbstractEventModelSequenceTrainer() - Constructor for class opennlp.tools.ml.AbstractEventModelSequenceTrainer
 
AbstractEventStream<T> - Class in opennlp.tools.util
A base ObjectStream implementation for events.
AbstractEventStream(ObjectStream<T>) - Constructor for class opennlp.tools.util.AbstractEventStream
Initializes an AbstractEventStream with a sample Iterator.
AbstractEventTrainer - Class in opennlp.tools.ml
A basic EventTrainer implementation.
AbstractEventTrainer() - Constructor for class opennlp.tools.ml.AbstractEventTrainer
 
AbstractEventTrainer(TrainingParameters) - Constructor for class opennlp.tools.ml.AbstractEventTrainer
 
AbstractMLModelWriter - Class in opennlp.tools.ml
 
AbstractMLModelWriter() - Constructor for class opennlp.tools.ml.AbstractMLModelWriter
 
AbstractModel - Class in opennlp.tools.ml.model
A basic MaxentModel implementation.
AbstractModel(Context[], String[], String[]) - Constructor for class opennlp.tools.ml.model.AbstractModel
Initializes an AbstractModel.
AbstractModel.ModelType - Enum Class in opennlp.tools.ml.model
 
AbstractModelReader - Class in opennlp.tools.ml.model
An abstract, basic implementation of a model reader.
AbstractModelReader(File) - Constructor for class opennlp.tools.ml.model.AbstractModelReader
Initializes a AbstractModelReader via a File.
AbstractModelReader(DataReader) - Constructor for class opennlp.tools.ml.model.AbstractModelReader
Initializes a AbstractModelReader via a DataReader.
AbstractModelWriter - Class in opennlp.tools.ml.model
An abstract, basic implementation of a model writer.
AbstractModelWriter() - Constructor for class opennlp.tools.ml.model.AbstractModelWriter
 
AbstractObjectStream<T> - Class in opennlp.tools.util
A base ObjectStream implementation.
AbstractParserEventStream - Class in opennlp.tools.parser
Abstract class extended by parser event streams which perform tagging and chunking.
AbstractParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum) - Constructor for class opennlp.tools.parser.AbstractParserEventStream
 
AbstractParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum, Dictionary) - Constructor for class opennlp.tools.parser.AbstractParserEventStream
 
AbstractSampleStreamFactory<T,P> - Class in opennlp.tools.formats
Base class for sample stream factories.
AbstractToSentenceSampleStream<T> - Class in opennlp.tools.formats.convert
 
AbstractTrainer - Class in opennlp.tools.ml
 
AbstractTrainer() - Constructor for class opennlp.tools.ml.AbstractTrainer
 
AbstractTrainer(TrainingParameters) - Constructor for class opennlp.tools.ml.AbstractTrainer
AbstractXmlFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
 
AdaptiveFeatureGenerator - Interface in opennlp.tools.util.featuregen
An interface for generating features for name entity identification and for updating document level contexts.
ADChunkSampleStream - Class in opennlp.tools.formats.ad
Parser for Floresta Sita(c)tica Arvores Deitadas corpus, output to for the Portuguese Chunker training.
ADChunkSampleStream(InputStreamFactory, String) - Constructor for class opennlp.tools.formats.ad.ADChunkSampleStream
Instantiates a ADChunkSampleStream stream from an InputStreamFactory.
ADChunkSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.ad.ADChunkSampleStream
Instantiates a ADChunkSampleStream stream from ObjectStream<String>, that could be a PlainTextByLineStream object.
ADChunkSampleStreamFactory<P> - Class in opennlp.tools.formats.ad
A Factory to create a Arvores Deitadas ChunkStream from the command line utility.
add(char) - Method in class opennlp.tools.stemmer.PorterStemmer
Add a character to the word being stemmed.
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(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(String, double) - Method in class opennlp.tools.util.Sequence
Adds an outcome and probability to this sequence.
add(IrishSentenceBankDocument.IrishSentenceBankSentence) - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument
 
add(Parse, HeadRules) - Method in class opennlp.tools.parser.Parse
 
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<String, String>, int, int) - Static method in class opennlp.tools.util.model.ModelUtil
Adds cutoff and iterations to manifestInfoEntries.
addElement(ADSentenceStream.SentenceParser.TreeElement) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Node
 
addFeatureGenerator(AdaptiveFeatureGenerator) - Method in class opennlp.tools.namefind.DefaultNameContextGenerator
 
addFeatureGenerator(AdaptiveFeatureGenerator) - Method in interface opennlp.tools.namefind.NameContextGenerator
Adds a feature generator.
addIn(double) - Method in class opennlp.tools.ml.naivebayes.LogProbability
Compounds the existing probability mass on the label with the new probability passed in to the method.
addIn(double) - Method in class opennlp.tools.ml.naivebayes.Probability
Compounds the existing probability mass on the label with the new probability passed in to the method.
addIn(T, double, int) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
Compounds the existing probability mass on the label t with the new probability passed in to the method.
addIn(T, double, int) - Method in class opennlp.tools.ml.naivebayes.Probabilities
Compounds the existing probability mass on the label t with the new probability passed in to the method.
additionalContext(String[], Map<String, String>) - 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
 
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
 
ADNameSampleStream - Class in opennlp.tools.formats.ad
Parser for Floresta Sita(c)tica Arvores Deitadas corpus, output to for the Portuguese NER training.
ADNameSampleStream(InputStreamFactory, String, boolean) - Constructor for class opennlp.tools.formats.ad.ADNameSampleStream
Deprecated.
ADNameSampleStream(ObjectStream<String>, boolean) - Constructor for class opennlp.tools.formats.ad.ADNameSampleStream
Initializes a new ADNameSampleStream stream from a ObjectStream<String>, that could be a PlainTextByLineStream object.
ADNameSampleStreamFactory<P> - Class in opennlp.tools.formats.ad
A Factory to create a Arvores Deitadas NameSampleDataStream from the command line utility.
ADPOSSampleStream - Class in opennlp.tools.formats.ad
Note: Do not use this class, internal use only!
ADPOSSampleStream(InputStreamFactory, String, boolean, boolean) - Constructor for class opennlp.tools.formats.ad.ADPOSSampleStream
Creates a new POSSample stream from an InputStreamFactory
ADPOSSampleStream(ObjectStream<String>, boolean, boolean) - Constructor for class opennlp.tools.formats.ad.ADPOSSampleStream
Creates a new ADPOSSampleStream stream from a ObjectStream<String>, that could be a PlainTextByLineStream object.
ADPOSSampleStreamFactory<P> - Class in opennlp.tools.formats.ad
Note: Do not use this class, internal use only!
ADSentenceSampleStream - Class in opennlp.tools.formats.ad
Note: Do not use this class, internal use only!
ADSentenceSampleStream(InputStreamFactory, String, boolean) - Constructor for class opennlp.tools.formats.ad.ADSentenceSampleStream
Initializes a new ADSentenceSampleStream.
ADSentenceSampleStream(ObjectStream<String>, boolean) - Constructor for class opennlp.tools.formats.ad.ADSentenceSampleStream
Initializes a new ADSentenceSampleStream from a ObjectStream<String>, that could be a PlainTextByLineStream object.
ADSentenceSampleStreamFactory<P> - Class in opennlp.tools.formats.ad
Note: Do not use this class, internal use only!
ADSentenceStream - Class in opennlp.tools.formats.ad
Stream filter which merges text lines into sentences, following the Arvores Deitadas syntax.
ADSentenceStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.ad.ADSentenceStream
 
ADSentenceStream.Sentence - Class in opennlp.tools.formats.ad
 
ADSentenceStream.SentenceParser - Class in opennlp.tools.formats.ad
Parses a sample of AD corpus.
ADSentenceStream.SentenceParser.Leaf - Class in opennlp.tools.formats.ad
Represents the AD leaf
ADSentenceStream.SentenceParser.Node - Class in opennlp.tools.formats.ad
Represents the AD node
ADSentenceStream.SentenceParser.TreeElement - Class in opennlp.tools.formats.ad
Represents a tree element, Node or Leaf
ADTokenSampleStreamFactory<P> - Class in opennlp.tools.formats.ad
Note: Do not use this class, internal use only!
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 AdaptiveFeatureGenerators and calls them to generate the features.
AggregatedFeatureGenerator(Collection<AdaptiveFeatureGenerator>) - Constructor for class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
 
AggregatedFeatureGenerator(AdaptiveFeatureGenerator...) - Constructor for class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
Initializes the current instance.
AggregatedFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
 
AggregatedFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.AggregatedFeatureGeneratorFactory
 
algorithm() - Method in class opennlp.tools.util.TrainingParameters
 
algorithm(String) - Method in class opennlp.tools.util.TrainingParameters
 
ALGORITHM_PARAM - Static variable in class opennlp.tools.ml.AbstractTrainer
 
ALGORITHM_PARAM - Static variable in class opennlp.tools.util.TrainingParameters
 
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
 
AnnotationConfiguration - Class in opennlp.tools.formats.brat
 
AnnotationConfiguration(Map<String, String>) - Constructor for class opennlp.tools.formats.brat.AnnotationConfiguration
 
AnnotatorNoteAnnotation - Class in opennlp.tools.formats.brat
 
ARABIC - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
 
arabicStemmer - Class in opennlp.tools.stemmer.snowball
This class was automatically generated by a Snowball to Java compiler It 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
 
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
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.
asStringSet() - Method in class opennlp.tools.dictionary.Dictionary
Converts this Dictionary to a Set<String>.
ATTACH - Enum constant in enum class opennlp.tools.parser.ParserEventTypeEnum
 
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<String>) - Constructor for class opennlp.tools.parser.treeinsert.AttachContextGenerator
Instantiates an AttachContextGenerator for making decisions about attachments.
ATTRIBUTE_TYPE - Static variable in class opennlp.tools.formats.brat.AnnotationConfiguration
 
AttributeAnnotation - Class in opennlp.tools.formats.brat
 
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
 
available_models - Static variable in class opennlp.tools.util.DownloadUtil
 

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.
BaseLink - Class in opennlp.tools.entitylinker
Represents a minimal tuple of information.
BaseLink(String, String, String, String) - Constructor for class opennlp.tools.entitylinker.BaseLink
 
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
BasicContextGenerator - Class in opennlp.tools.ml.maxent
A ContextGenerator implementation for maxent decisions, assuming that the input given to the BasicContextGenerator.getContext(String) method is a String containing contextual predicates separated by spaces, for instance:
BasicContextGenerator() - Constructor for class opennlp.tools.ml.maxent.BasicContextGenerator
 
BasicContextGenerator(String) - Constructor for class opennlp.tools.ml.maxent.BasicContextGenerator
Initializes a BasicContextGenerator with a different separator char.
BasicFormatParams - Interface in opennlp.tools.cmdline.params
Common format parameters.
BasicTrainingParams - Interface in opennlp.tools.cmdline.params
Common training parameters.
BEAM_SIZE_PARAMETER - Static variable in class opennlp.tools.ml.BeamSearch
 
BeamSearch<T> - Class in opennlp.tools.ml
Performs k-best search over a sequence.
BeamSearch(int, MaxentModel) - Constructor for class opennlp.tools.ml.BeamSearch
Initializes a BeamSearch instance.
BeamSearch(int, MaxentModel, int) - Constructor for class opennlp.tools.ml.BeamSearch
Initializes a BeamSearch instance.
BeamSearchContextGenerator<T> - Interface in opennlp.tools.util
Interface for context generators used with a sequence beam search.
bestSequence(T[], Object[], BeamSearchContextGenerator<T>, SequenceValidator<T>) - Method in class opennlp.tools.ml.BeamSearch
Computes the best sequence of outcomes based on the MaxentModel.
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 class opennlp.tools.ml.BeamSearch
Computes the best sequence of outcomes based on the MaxentModel.
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 class opennlp.tools.ml.BeamSearch
Computes the best sequence of outcomes based on the MaxentModel.
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.
BigramNameFeatureGenerator - Class in opennlp.tools.util.featuregen
 
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
 
BinaryFileDataReader - Class in opennlp.tools.ml.model
A DataReader that reads files from a binary format.
BinaryFileDataReader(DataInputStream) - Constructor for class opennlp.tools.ml.model.BinaryFileDataReader
BinaryFileDataReader(File) - Constructor for class opennlp.tools.ml.model.BinaryFileDataReader
Instantiates BinaryFileDataReader via a File and creates a DataInputStream for it.
BinaryFileDataReader(InputStream) - Constructor for class opennlp.tools.ml.model.BinaryFileDataReader
Instantiates BinaryFileDataReader via an InputStream and creates a DataInputStream for it.
BinaryGISModelReader - Class in opennlp.tools.ml.maxent.io
A GISModelReader that reads models from a binary format.
BinaryGISModelReader(DataInputStream) - Constructor for class opennlp.tools.ml.maxent.io.BinaryGISModelReader
Instantiates BinaryGISModelReader via a DataInputStream containing the model contents.
BinaryGISModelWriter - Class in opennlp.tools.ml.maxent.io
A GISModelWriter that writes models in a binary format.
BinaryGISModelWriter(AbstractModel, DataOutputStream) - Constructor for class opennlp.tools.ml.maxent.io.BinaryGISModelWriter
BinaryGISModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.maxent.io.BinaryGISModelWriter
Instantiates BinaryGISModelWriter via an GIS model and a File.
BinaryNaiveBayesModelReader - Class in opennlp.tools.ml.naivebayes
A NaiveBayesModelReader that reads models from a binary format.
BinaryNaiveBayesModelReader(DataInputStream) - Constructor for class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelReader
Instantiates BinaryNaiveBayesModelReader via a DataInputStream containing the model contents.
BinaryNaiveBayesModelReader(File) - Constructor for class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelReader
Instantiates BinaryNaiveBayesModelReader via a File and creates a reader for it.
BinaryNaiveBayesModelWriter - Class in opennlp.tools.ml.naivebayes
A NaiveBayesModelWriter that writes models in a binary format.
BinaryNaiveBayesModelWriter(AbstractModel, DataOutputStream) - Constructor for class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelWriter
BinaryNaiveBayesModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelWriter
BinaryPerceptronModelReader - Class in opennlp.tools.ml.perceptron
A PerceptronModelReader that reads models from a binary format.
BinaryPerceptronModelReader(DataInputStream) - Constructor for class opennlp.tools.ml.perceptron.BinaryPerceptronModelReader
Instantiates BinaryPerceptronModelReader via a DataInputStream containing the model contents.
BinaryPerceptronModelReader(File) - Constructor for class opennlp.tools.ml.perceptron.BinaryPerceptronModelReader
Instantiates BinaryPerceptronModelReader via a File and creates a reader for it.
BinaryPerceptronModelWriter - Class in opennlp.tools.ml.perceptron
A PerceptronModelWriter that writes models in a binary format.
BinaryPerceptronModelWriter(AbstractModel, DataOutputStream) - Constructor for class opennlp.tools.ml.perceptron.BinaryPerceptronModelWriter
BinaryPerceptronModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.perceptron.BinaryPerceptronModelWriter
BinaryQNModelReader - Class in opennlp.tools.ml.maxent.io
A QNModelReader that reads models from a binary format.
BinaryQNModelReader(DataInputStream) - Constructor for class opennlp.tools.ml.maxent.io.BinaryQNModelReader
Instantiates BinaryQNModelReader via a DataInputStream containing the model contents.
BinaryQNModelWriter - Class in opennlp.tools.ml.maxent.io
A QNModelWriter that writes models in a binary format.
BinaryQNModelWriter(AbstractModel, DataOutputStream) - Constructor for class opennlp.tools.ml.maxent.io.BinaryQNModelWriter
Instantiates BinaryQNModelWriter via an QN model and a DataOutputStream.
BinaryQNModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.maxent.io.BinaryQNModelWriter
Instantiates BinaryQNModelWriter via an QN model and a File.
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
 
BioNLP2004NameSampleStream - Class in opennlp.tools.formats
A sample stream for the training files of the BioNLP/NLPBA 2004 shared task.
BioNLP2004NameSampleStream(InputStreamFactory, int) - Constructor for class opennlp.tools.formats.BioNLP2004NameSampleStream
BioNLP2004NameSampleStreamFactory<P> - Class in opennlp.tools.formats
 
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
 
BratAnnotation - Class in opennlp.tools.formats.brat
 
BratAnnotationStream - Class in opennlp.tools.formats.brat
Reads the annotations from the brat .ann annotation file.
BratDocument - Class in opennlp.tools.formats.brat
Brat (brat rapid annotation tool) is based on the stav visualiser which was originally made in order to visualise BioNLP'11 Shared Task data.
BratDocument(AnnotationConfiguration, String, String, Collection<BratAnnotation>) - Constructor for class opennlp.tools.formats.brat.BratDocument
 
BratDocumentParser - Class in opennlp.tools.formats.brat
 
BratDocumentParser(SentenceDetector, Tokenizer) - Constructor for class opennlp.tools.formats.brat.BratDocumentParser
 
BratDocumentParser(SentenceDetector, Tokenizer, Set<String>) - Constructor for class opennlp.tools.formats.brat.BratDocumentParser
 
BratDocumentStream - Class in opennlp.tools.formats.brat
 
BratDocumentStream(AnnotationConfiguration, File, boolean, FileFilter) - Constructor for class opennlp.tools.formats.brat.BratDocumentStream
Creates a BratDocumentStream which reads the documents from the given input directory.
BratNameSampleStream - Class in opennlp.tools.formats.brat
Generates Name Sample objects for a Brat Document object.
BratNameSampleStream(SentenceDetector, Tokenizer, ObjectStream<BratDocument>) - Constructor for class opennlp.tools.formats.brat.BratNameSampleStream
Creates a new BratNameSampleStream.
BratNameSampleStream(SentenceDetector, Tokenizer, ObjectStream<BratDocument>, Set<String>) - Constructor for class opennlp.tools.formats.brat.BratNameSampleStream
Creates a new BratNameSampleStream.
BratNameSampleStream(SentenceModel, TokenizerModel, ObjectStream<BratDocument>) - Constructor for class opennlp.tools.formats.brat.BratNameSampleStream
Creates a new BratNameSampleStream.
BratNameSampleStream(SentenceModel, TokenizerModel, ObjectStream<BratDocument>, Set<String>) - Constructor for class opennlp.tools.formats.brat.BratNameSampleStream
Creates a new BratNameSampleStream.
BratNameSampleStreamFactory - Class in opennlp.tools.formats.brat
 
BrownBigramFeatureGenerator - Class in opennlp.tools.util.featuregen
Generates Brown cluster features for token bigrams.
BrownBigramFeatureGenerator(BrownCluster) - Constructor for class opennlp.tools.util.featuregen.BrownBigramFeatureGenerator
Creates a new Brown Cluster bigram feature generator.
BrownCluster - Class in opennlp.tools.util.featuregen
Class to load a Brown cluster document: word\tword_class\tprob
BrownCluster(InputStream) - Constructor for class opennlp.tools.util.featuregen.BrownCluster
Generates the token to cluster map from Brown cluster an InputStream.
BrownCluster.BrownClusterSerializer - Class in opennlp.tools.util.featuregen
 
BrownClusterBigramFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
Generates Brown clustering features for token bigrams.
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
Generates Brown clustering features for token classes.
BrownClusterTokenClassFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.BrownClusterTokenClassFeatureGeneratorFactory
 
BrownClusterTokenFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
Generates Brown clustering features for current token.
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
 
BrownTokenFeatureGenerator - Class in opennlp.tools.util.featuregen
Generates BrownCluster features for current token.
BrownTokenFeatureGenerator(BrownCluster) - Constructor for class opennlp.tools.util.featuregen.BrownTokenFeatureGenerator
 
BUILD - Enum constant in enum class opennlp.tools.parser.ParserEventTypeEnum
 
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<Parse>, 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<Parse>, 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.
BuildModelUpdaterTool - Class in opennlp.tools.cmdline.parser
 
BuildModelUpdaterTool() - Constructor for class opennlp.tools.cmdline.parser.BuildModelUpdaterTool
 
buildNGramDictionary(ObjectStream<POSSample>, int) - Static method in class opennlp.tools.postag.POSTaggerME
Constructs a 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

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
 
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<StringList>) - 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<StringList>, Double) - Static method in class opennlp.tools.ngram.NGramUtils
calculate the probability of a bigram in a vocabulary using prior Laplace smoothing algorithm
calculateHashSum() - Method in class opennlp.tools.ml.model.HashSumEventStream
Calculates the hash sum of the stream and wraps it into a BigInteger.
calculateLaplaceSmoothingProbability(StringList, Iterable<StringList>, 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<StringList>) - 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<StringList>) - 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 interface opennlp.tools.languagemodel.LanguageModel
Calculate the probability of a series of tokens (e.g. a sentence), given a vocabulary.
calculateProbability(String...) - Method in class opennlp.tools.languagemodel.NGramLanguageModel
 
calculateTrigramLinearInterpolationProbability(String, String, String, Collection<StringList>, 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<StringList>) - Static method in class opennlp.tools.ngram.NGramUtils
calculate the probability of a trigram in a vocabulary using maximum likelihood estimation
calculateUnigramMLProbability(String, Collection<StringList>) - 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 was automatically generated by a Snowball to Java compiler It implements the stemming algorithm defined by a snowball script.
catalanStemmer() - Constructor for class opennlp.tools.stemmer.snowball.catalanStemmer
 
categorize(String[]) - Method in interface opennlp.tools.doccat.DocumentCategorizer
Categorizes the given text, provided in separate tokens.
categorize(String[]) - Method in class opennlp.tools.doccat.DocumentCategorizerME
 
categorize(String[], Map<String, Object>) - Method in interface opennlp.tools.doccat.DocumentCategorizer
Categorizes the given text provided as tokens along with the provided extraInformation.
categorize(String[], Map<String, Object>) - Method in class opennlp.tools.doccat.DocumentCategorizerME
Categorize the given text provided as tokens along with the provided extra information.
CensusDictionaryCreatorTool - Class in opennlp.tools.cmdline.namefind
This tool helps create a loadable dictionary for the NameFinder, from data collected from US Census data.
CensusDictionaryCreatorTool() - Constructor for class opennlp.tools.cmdline.namefind.CensusDictionaryCreatorTool
 
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 min 2 length and max 5 length of ngrams.
CharacterNgramFeatureGenerator(int, int) - Constructor for class opennlp.tools.util.featuregen.CharacterNgramFeatureGenerator
CharacterNgramFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
 
CharacterNgramFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.CharacterNgramFeatureGeneratorFactory
 
characters(char[], int, int) - Method in class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtDocumentHandler
 
characters(CharSequence) - Method in class opennlp.tools.formats.muc.MucNameContentHandler
 
characters(CharSequence) - Method in class opennlp.tools.formats.muc.SgmlParser.ContentHandler
 
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
 
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<String>) - Constructor for class opennlp.tools.parser.treeinsert.CheckContextGenerator
Instantiates a CheckContextGenerator for making decisions using a punctSet.
checkModelType() - Method in class opennlp.tools.ml.maxent.io.GISModelReader
 
checkModelType() - Method in class opennlp.tools.ml.maxent.io.QNModelReader
 
checkModelType() - Method in class opennlp.tools.ml.model.AbstractModelReader
Checks the model type via the the underlying DataReader.
checkModelType() - Method in class opennlp.tools.ml.model.GenericModelReader
 
checkModelType() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModelReader
Reads the mode type from the underlying reader and informs if it not a Naive Bayes model.
checkModelType() - Method in class opennlp.tools.ml.perceptron.PerceptronModelReader
Reads the mode type from the underlying reader and informs if it not a Perceptron model.
CheckModelUpdaterTool - Class in opennlp.tools.cmdline.parser
Trains a new check model.
CheckModelUpdaterTool() - Constructor for class opennlp.tools.cmdline.parser.CheckModelUpdaterTool
 
chunk(String[], String[]) - Method in interface opennlp.tools.chunker.Chunker
Generates chunk tags for the given sequence returning the result in an array.
chunk(String[], String[]) - Method in class opennlp.tools.chunker.ChunkerME
 
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.
chunkAsSpans(String[], String[]) - Method in class opennlp.tools.chunker.ChunkerME
 
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.
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.util.DownloadUtil.ModelType
 
ChunkerContextGenerator - Interface in opennlp.tools.chunker
Interface for a BeamSearchContextGenerator used in syntactic chunking.
ChunkerConverterTool - Class in opennlp.tools.cmdline.chunker
Tool to convert multiple data formats into native OpenNLP chunker training format.
ChunkerConverterTool() - Constructor for class opennlp.tools.cmdline.chunker.ChunkerConverterTool
 
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.
ChunkerCrossValidatorTool - Class in opennlp.tools.cmdline.chunker
 
ChunkerCrossValidatorTool() - Constructor for class opennlp.tools.cmdline.chunker.ChunkerCrossValidatorTool
 
ChunkerDetailedFMeasureListener - Class in opennlp.tools.cmdline.chunker
 
ChunkerDetailedFMeasureListener() - Constructor for class opennlp.tools.cmdline.chunker.ChunkerDetailedFMeasureListener
 
ChunkerEvaluationMonitor - Interface in opennlp.tools.chunker
A marker interface for evaluating chunkers.
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.
ChunkerEvaluatorTool - Class in opennlp.tools.cmdline.chunker
A default ChunkSample-centric implementation of AbstractEvaluatorTool that prints to an output stream.
ChunkerEvaluatorTool() - Constructor for class opennlp.tools.cmdline.chunker.ChunkerEvaluatorTool
 
ChunkerEventStream - Class in opennlp.tools.chunker
Class for creating an event stream out of data files for training a Chunker.
ChunkerEventStream(ObjectStream<ChunkSample>, 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 the Chunker by downloading a default model.
ChunkerME(ChunkerModel) - Constructor for class opennlp.tools.chunker.ChunkerME
Initializes the current instance with the specified ChunkerModel.
ChunkerMETool - Class in opennlp.tools.cmdline.chunker
 
ChunkerMETool() - Constructor for class opennlp.tools.cmdline.chunker.ChunkerMETool
 
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<String, String>, ChunkerFactory) - Constructor for class opennlp.tools.chunker.ChunkerModel
Initializes a ChunkerModel instance via given parameters.
ChunkerModel(String, MaxentModel, Map<String, String>, 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<String>, Map<String, String>, 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.
ChunkerModelLoader - Class in opennlp.tools.cmdline.chunker
Loads a ChunkerModel for the command line tools.
ChunkerModelLoader() - Constructor for class opennlp.tools.cmdline.chunker.ChunkerModelLoader
 
ChunkerModelSerializer - Class in opennlp.tools.util.model
An ArtifactSerializer implementation for models.
ChunkerModelSerializer() - Constructor for class opennlp.tools.util.model.ChunkerModelSerializer
 
ChunkerSampleStreamFactory<P> - Class in opennlp.tools.formats
Factory producing OpenNLP ChunkSampleStreams.
ChunkerTrainerTool - Class in opennlp.tools.cmdline.chunker
 
ChunkerTrainerTool() - Constructor for class opennlp.tools.cmdline.chunker.ChunkerTrainerTool
 
ChunkEvaluationErrorListener - Class in opennlp.tools.cmdline.chunker
A default implementation of EvaluationMonitor that prints to an output stream.
ChunkEvaluationErrorListener() - Constructor for class opennlp.tools.cmdline.chunker.ChunkEvaluationErrorListener
Creates a listener that will print to the configured logger.
ChunkEvaluationErrorListener(OutputStream) - Constructor for class opennlp.tools.cmdline.chunker.ChunkEvaluationErrorListener
Creates a listener that will print to a given OutputStream
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.
ChunkSampleSequenceStream - Class in opennlp.tools.chunker
A SequenceStream implementation encapsulating samples.
ChunkSampleSequenceStream(ObjectStream<ChunkSample>, 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<String>) - Constructor for class opennlp.tools.chunker.ChunkSampleStream
Initializes a instance.
ChunkSampleStream(ObjectStream<Parse>) - 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 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 class opennlp.tools.namefind.NameFinderME
 
clearAdaptiveData() - Method in class opennlp.tools.namefind.RegexNameFinder
 
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.
clearAdaptiveData() - Method in class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
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
 
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.chunker.ChunkSampleSequenceStream
 
close() - Method in class opennlp.tools.formats.ad.ADChunkSampleStream
 
close() - Method in class opennlp.tools.formats.ad.ADNameSampleStream
 
close() - Method in class opennlp.tools.formats.ad.ADPOSSampleStream
 
close() - Method in class opennlp.tools.formats.ad.ADSentenceSampleStream
 
close() - Method in class opennlp.tools.formats.BioNLP2004NameSampleStream
 
close() - Method in class opennlp.tools.formats.brat.BratAnnotationStream
 
close() - Method in class opennlp.tools.formats.brat.BratDocumentStream
 
close() - Method in class opennlp.tools.formats.Conll02NameSampleStream
 
close() - Method in class opennlp.tools.formats.Conll03NameSampleStream
 
close() - Method in class opennlp.tools.formats.conllu.ConlluStream
 
close() - Method in class opennlp.tools.formats.DirectorySampleStream
Closes the ObjectStream and releases all allocated resources.
close() - Method in class opennlp.tools.formats.EvalitaNameSampleStream
 
close() - Method in class opennlp.tools.formats.masc.MascDocumentStream
Remove the corpus from the memory.
close() - Method in class opennlp.tools.formats.masc.MascNamedEntitySampleStream
 
close() - Method in class opennlp.tools.formats.masc.MascPOSSampleStream
 
close() - Method in class opennlp.tools.formats.masc.MascSentenceSampleStream
 
close() - Method in class opennlp.tools.formats.masc.MascTokenSampleStream
 
close() - Method in class opennlp.tools.formats.NameFinderCensus90NameStream
 
close() - Method in class opennlp.tools.formats.TwentyNewsgroupSampleStream
 
close() - Method in class opennlp.tools.lemmatizer.LemmaSampleSequenceStream
 
close() - Method in class opennlp.tools.ml.maxent.io.BinaryGISModelWriter
 
close() - Method in class opennlp.tools.ml.maxent.io.BinaryQNModelWriter
Closes the underlying DataOutputStream.
close() - Method in class opennlp.tools.ml.maxent.RealBasicEventStream
 
close() - Method in class opennlp.tools.ml.model.AbstractModelWriter
Closes the underlying DataOutputStream.
close() - Method in class opennlp.tools.ml.model.FileEventStream
 
close() - Method in class opennlp.tools.ml.model.GenericModelWriter
 
close() - Method in class opennlp.tools.ml.model.SequenceStreamEventStream
 
close() - Method in class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelWriter
 
close() - Method in class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelWriter
 
close() - Method in class opennlp.tools.ml.perceptron.BinaryPerceptronModelWriter
 
close() - Method in class opennlp.tools.namefind.NameSampleSequenceStream
 
close() - Method in class opennlp.tools.postag.POSSampleSequenceStream
 
close() - Method in class opennlp.tools.tokenize.TokenizerStream
 
close() - Method in class opennlp.tools.util.AbstractEventStream
 
close() - Method in class opennlp.tools.util.AbstractObjectStream
 
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.
close() - Method in interface opennlp.tools.util.ObjectStream
Closes the ObjectStream and releases all allocated resources.
close() - Method in class opennlp.tools.util.PlainTextByLineStream
 
collapsePunctuation(Parse[], Set<String>) - 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 CollectionObjectStream as source for elements.
CollectionObjectStream(Collection<E>) - Constructor for class opennlp.tools.util.CollectionObjectStream
 
ComparableEvent - Class in opennlp.tools.ml.model
A maxent event representation which we can use to sort based on the predicates indexes contained in the events.
ComparableEvent(int, int[]) - Constructor for class opennlp.tools.ml.model.ComparableEvent
 
ComparableEvent(int, int[], float[]) - Constructor for class opennlp.tools.ml.model.ComparableEvent
 
ComparablePredicate - Class in opennlp.tools.ml.model
A maxent predicate representation which we can use to sort based on the outcomes.
ComparablePredicate(String, int[], double[]) - Constructor for class opennlp.tools.ml.model.ComparablePredicate
 
compareTo(ComparableEvent) - Method in class opennlp.tools.ml.model.ComparableEvent
 
compareTo(ComparablePredicate) - Method in class opennlp.tools.ml.model.ComparablePredicate
 
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.
compareToIgnoreCase(StringList) - Method in class opennlp.tools.util.StringList
Compares to token list and ignores the case of the tokens.
complete() - Method in class opennlp.tools.parser.Parse
 
COMPLETE - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
Outcome used when a constituent is complete.
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.
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.
Conll02NameSampleStream - Class in opennlp.tools.formats
Parser for the Dutch and Spanish ner training files of the CONLL 2002 shared task.
Conll02NameSampleStream(Conll02NameSampleStream.LANGUAGE, InputStreamFactory, int) - Constructor for class opennlp.tools.formats.Conll02NameSampleStream
Conll02NameSampleStream(Conll02NameSampleStream.LANGUAGE, ObjectStream<String>, int) - Constructor for class opennlp.tools.formats.Conll02NameSampleStream
Conll02NameSampleStream.LANGUAGE - Enum Class in opennlp.tools.formats
 
Conll02NameSampleStreamFactory<P> - Class in opennlp.tools.formats
Note: Do not use this class, internal use only!
Conll03NameSampleStream - Class in opennlp.tools.formats
An import stream which can parse the CONLL03 data.
Conll03NameSampleStream(Conll03NameSampleStream.LANGUAGE, InputStreamFactory, int) - Constructor for class opennlp.tools.formats.Conll03NameSampleStream
Conll03NameSampleStream(Conll03NameSampleStream.LANGUAGE, ObjectStream<String>, int) - Constructor for class opennlp.tools.formats.Conll03NameSampleStream
Conll03NameSampleStream.LANGUAGE - Enum Class in opennlp.tools.formats
 
Conll03NameSampleStreamFactory<P> - Class in opennlp.tools.formats
 
CONLLU_FORMAT - Static variable in class opennlp.tools.formats.conllu.ConlluPOSSampleStreamFactory
 
ConlluLemmaSampleStream - Class in opennlp.tools.formats.conllu
 
ConlluLemmaSampleStream(ObjectStream<ConlluSentence>, ConlluTagset) - Constructor for class opennlp.tools.formats.conllu.ConlluLemmaSampleStream
ConlluLemmaSampleStreamFactory<P> - Class in opennlp.tools.formats.conllu
Note: Do not use this class, internal use only!
ConlluPOSSampleStream - Class in opennlp.tools.formats.conllu
 
ConlluPOSSampleStream(ObjectStream<ConlluSentence>, ConlluTagset) - Constructor for class opennlp.tools.formats.conllu.ConlluPOSSampleStream
Initializes a ConlluPOSSampleStream.
ConlluPOSSampleStreamFactory<P> - Class in opennlp.tools.formats.conllu
Note: Do not use this class, internal use only!
ConlluSentence - Class in opennlp.tools.formats.conllu
 
ConlluSentence(List<ConlluWordLine>, String, String, boolean, String, boolean, String, Map<Locale, String>, String) - Constructor for class opennlp.tools.formats.conllu.ConlluSentence
 
ConlluSentenceSampleStream - Class in opennlp.tools.formats.conllu
 
ConlluSentenceSampleStream(ObjectStream<ConlluSentence>, int) - Constructor for class opennlp.tools.formats.conllu.ConlluSentenceSampleStream
ConlluSentenceSampleStreamFactory<P> - Class in opennlp.tools.formats.conllu
Note: Do not use this class, internal use only!
ConlluStream - Class in opennlp.tools.formats.conllu
The CoNNL-U Format is specified here.
ConlluStream(InputStreamFactory) - Constructor for class opennlp.tools.formats.conllu.ConlluStream
Initializes a ConlluStream.
ConlluTagset - Enum Class in opennlp.tools.formats.conllu
 
ConlluTokenSampleStream - Class in opennlp.tools.formats.conllu
 
ConlluTokenSampleStream(ObjectStream<ConlluSentence>) - Constructor for class opennlp.tools.formats.conllu.ConlluTokenSampleStream
ConlluTokenSampleStreamFactory<P> - Class in opennlp.tools.formats.conllu
Note: Do not use this class, internal use only!
ConlluWordLine - Class in opennlp.tools.formats.conllu
 
CONLLX_FORMAT - Static variable in class opennlp.tools.formats.ConllXPOSSampleStreamFactory
 
ConllXPOSSampleStream - Class in opennlp.tools.formats
Parses the data from the CONLL 06 shared task into POS Samples.
ConllXPOSSampleStream(InputStreamFactory, Charset) - Constructor for class opennlp.tools.formats.ConllXPOSSampleStream
Initializes a ConllXPOSSampleStream.
ConllXPOSSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.ConllXPOSSampleStream
Initializes a ConllXPOSSampleStream.
ConllXPOSSampleStreamFactory<P> - Class in opennlp.tools.formats
Note: Do not use this class, internal use only!
ConllXSentenceSampleStreamFactory<P> - Class in opennlp.tools.formats
Note: Do not use this class, internal use only!
ConllXTokenSampleStreamFactory<P> - Class in opennlp.tools.formats
Note: Do not use this class, internal use only!
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
 
ConstitParseSampleStream - Class in opennlp.tools.formats.frenchtreebank
 
ConstitParseSampleStreamFactory - Class in opennlp.tools.formats.frenchtreebank
Note: Do not use this class, internal use only!
Constituent - Class in opennlp.tools.parser
Holds constituents when reading parses.
Constituent(String, Span) - Constructor for class opennlp.tools.parser.Constituent
 
constructModel() - Method in class opennlp.tools.ml.maxent.io.GISModelReader
Retrieves a model from disk.
constructModel() - Method in class opennlp.tools.ml.maxent.io.QNModelReader
Retrieves a model from disk.
constructModel() - Method in class opennlp.tools.ml.model.AbstractModelReader
Constructs a model.
constructModel() - Method in class opennlp.tools.ml.model.GenericModelReader
 
constructModel() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModelReader
Constructs a model.
constructModel() - Method in class opennlp.tools.ml.perceptron.PerceptronModelReader
Constructs a model.
CONT - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
Prefix for outcomes continuing a constituent.
contains(int) - Method in class opennlp.tools.ml.model.MutableContext
 
contains(int) - Method in class opennlp.tools.util.Span
An index with the value of end is considered outside the Span.
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(Span) - Method in class opennlp.tools.util.Span
Identical spans are considered to contain each other.
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
 
ContentHandler() - Constructor for class opennlp.tools.formats.muc.SgmlParser.ContentHandler
 
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.
ContextGenerator<T> - Interface in opennlp.tools.ml.maxent
Represents a generator of contexts for maxent decisions.
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
 
CONVERGE_TOLERANCE - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
 
convertFuncTag(String, boolean) - Static method in class opennlp.tools.formats.ad.ADChunkSampleStream
 
correctlyClassified(DocumentSample, DocumentSample) - Method in class opennlp.tools.cmdline.doccat.DoccatFineGrainedReportListener
 
correctlyClassified(LanguageSample, LanguageSample) - Method in class opennlp.tools.cmdline.langdetect.LanguageDetectorFineGrainedReportListener
 
correctlyClassified(LemmaSample, LemmaSample) - Method in class opennlp.tools.cmdline.lemmatizer.LemmatizerFineGrainedReportListener
 
correctlyClassified(NameSample, NameSample) - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderFineGrainedReportListener
 
correctlyClassified(POSSample, POSSample) - Method in class opennlp.tools.cmdline.postag.POSTaggerFineGrainedReportListener
 
correctlyClassified(T, T) - Method in interface opennlp.tools.util.eval.EvaluationMonitor
 
count() - Method in class opennlp.tools.util.eval.Mean
 
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 interface opennlp.tools.util.model.ArtifactSerializer
Creates an artifact from the provided InputStream.
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<? extends BaseToolFactory>, 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[]) - Method in class opennlp.tools.formats.ad.ADChunkSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.ad.ADNameSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.ad.ADPOSSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.ad.ADSentenceSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.ad.ADTokenSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.BioNLP2004NameSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.brat.BratNameSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.ChunkerSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.Conll02NameSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.Conll03NameSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.conllu.ConlluLemmaSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.conllu.ConlluPOSSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.conllu.ConlluSentenceSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.conllu.ConlluTokenSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.ConllXPOSSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.ConllXSentenceSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.ConllXTokenSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.convert.NameToSentenceSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.convert.NameToTokenSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.convert.ParseToPOSSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.convert.ParseToSentenceSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.convert.ParseToTokenSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.convert.POSToSentenceSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.convert.POSToTokenSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.DocumentSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.EvalitaNameSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.frenchtreebank.ConstitParseSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankSentenceStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankTokenSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.LanguageDetectorSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.LemmatizerSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.letsmt.LetsmtSentenceStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.masc.MascNamedEntitySampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.masc.MascPOSSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.masc.MascSentenceSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.masc.MascTokenSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.moses.MosesSentenceSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.muc.Muc6NameSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.NameSampleDataStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.nkjp.NKJPSentenceSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.ontonotes.OntoNotesNameSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.ontonotes.OntoNotesParseSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.ontonotes.OntoNotesPOSSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.ParseSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.SentenceSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.TokenSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.TwentyNewsgroupSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.WordTagSampleStreamFactory
 
create(String[], String[]) - Static method in record class opennlp.tools.util.TokenTag
 
create(String, byte[], Map<String, Object>, TagDictionary) - Static method in class opennlp.tools.postag.POSTaggerFactory
Instantiates a POSTaggerFactory via a given subclassName.
create(String, byte[], Map<String, Object>, SequenceCodec<String>) - 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
 
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.
createDefaultTrainingParameters() - Static method in class opennlp.tools.util.model.ModelUtil
Creates the default TrainingParameters in case they are not provided.
createDictionary(ObjectStream<StringList>) - Static method in class opennlp.tools.cmdline.namefind.CensusDictionaryCreatorTool
Creates a dictionary.
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
createFeatureGenerators() - Method in class opennlp.tools.postag.POSTaggerFactory
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.
createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.AdditionalContextFeatureGenerator
 
createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.BigramNameFeatureGenerator
 
createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.BrownBigramFeatureGenerator
 
createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.BrownTokenClassFeatureGenerator
 
createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.BrownTokenFeatureGenerator
 
createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
 
createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.CharacterNgramFeatureGenerator
 
createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
 
createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.DocumentBeginFeatureGenerator
 
createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.InSpanGenerator
 
createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.OutcomePriorFeatureGenerator
 
createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.PosTaggerFeatureGenerator
 
createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.POSTaggerNameFeatureGenerator
 
createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.PrefixFeatureGenerator
 
createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.PreviousMapFeatureGenerator
 
createFeatures(List<String>, 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>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.SentenceFeatureGenerator
 
createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.SuffixFeatureGenerator
 
createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.TokenClassFeatureGenerator
 
createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.TokenFeatureGenerator
 
createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.TokenPatternFeatureGenerator
 
createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.TrigramNameFeatureGenerator
 
createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.WindowFeatureGenerator
 
createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.WordClusterFeatureGenerator
 
createInputStream() - Method in interface opennlp.tools.util.InputStreamFactory
 
createInputStream() - Method in class opennlp.tools.util.MarkableFileInputStreamFactory
 
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
 
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.
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<String>) - Method in class opennlp.tools.sentdetect.lang.Factory
 
createSentenceContextGenerator(Set<String>, 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
 
createSequenceValidator() - Method in interface opennlp.tools.util.SequenceCodec
 
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<String>) - Method in class opennlp.tools.tokenize.lang.Factory
Initializes a customized TokenContextGenerator via a set of abbreviations.
crosses(Span) - Method in class opennlp.tools.util.Span
Checks if the specified Span crosses this span.
CrossValidationPartitioner<E> - Class in opennlp.tools.util.eval
Provides access to training and test partitions for n-fold cross validation.
CrossValidationPartitioner(Collection<E>, int) - Constructor for class opennlp.tools.util.eval.CrossValidationPartitioner
Initializes CrossValidationPartitioner instance.
CrossValidationPartitioner(ObjectStream<E>, 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
 
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.
CUTOFF_DEFAULT - Static variable in class opennlp.tools.ml.AbstractTrainer
 
CUTOFF_DEFAULT - Static variable in class opennlp.tools.ml.model.AbstractDataIndexer
 
CUTOFF_DEFAULT_VALUE - Static variable in class opennlp.tools.util.TrainingParameters
 
CUTOFF_PARAM - Static variable in class opennlp.tools.ml.AbstractTrainer
 
CUTOFF_PARAM - Static variable in class opennlp.tools.ml.model.AbstractDataIndexer
 
CUTOFF_PARAM - Static variable in class opennlp.tools.util.TrainingParameters
 
CVParams - Interface in opennlp.tools.cmdline.params
Common cross validator parameters.

D

DANISH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
 
DATA_INDEXER_ONE_PASS_REAL_VALUE - Static variable in class opennlp.tools.ml.AbstractEventTrainer
 
DATA_INDEXER_ONE_PASS_VALUE - Static variable in class opennlp.tools.ml.AbstractEventTrainer
 
DATA_INDEXER_PARAM - Static variable in class opennlp.tools.ml.AbstractEventTrainer
 
DATA_INDEXER_TWO_PASS_VALUE - Static variable in class opennlp.tools.ml.AbstractEventTrainer
 
DataIndexer - Interface in opennlp.tools.ml.model
Represents an indexer which compresses events in memory and performs feature selection.
DataIndexerFactory - Class in opennlp.tools.ml.model
A factory that produces DataIndexer instances.
DataIndexerFactory() - Constructor for class opennlp.tools.ml.model.DataIndexerFactory
 
DataReader - Interface in opennlp.tools.ml.model
Describes generic ways to read data from a DataInputStream.
DataStream - Interface in opennlp.tools.ml.maxent
An interface for objects which can deliver a stream of training data to be supplied to an EventStream.
DE - Enum constant in enum class opennlp.tools.formats.Conll03NameSampleStream.LANGUAGE
 
decode(List<String>) - Method in class opennlp.tools.namefind.BilouCodec
 
decode(List<String>) - Method in class opennlp.tools.namefind.BioCodec
 
decode(List<T>) - Method in interface opennlp.tools.util.SequenceCodec
Decodes a sequence of objects into Span objects.
decodeLemmas(String[], String[]) - Static method in class opennlp.tools.lemmatizer.LemmatizerME
Decodes the lemma from the word and the induced lemma class.
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_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
 
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
 
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.
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() - Constructor for class opennlp.tools.namefind.DefaultNameContextGenerator
Deprecated.
DefaultNameContextGenerator(AdaptiveFeatureGenerator...) - Constructor for class opennlp.tools.namefind.DefaultNameContextGenerator
Creates a name context generator with the specified feature generators.
defaultParams() - Static method in class opennlp.tools.util.TrainingParameters
 
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<String>, 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<String>) - 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
 
DetokenEvaluationErrorListener - Class in opennlp.tools.cmdline.tokenizer
A default implementation of EvaluationMonitor that prints to an output stream.
DetokenEvaluationErrorListener() - Constructor for class opennlp.tools.cmdline.tokenizer.DetokenEvaluationErrorListener
Creates a listener that will print to the configured logger.
DetokenEvaluationErrorListener(OutputStream) - Constructor for class opennlp.tools.cmdline.tokenizer.DetokenEvaluationErrorListener
Creates a listener that will print to a given OutputStream.
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 interface opennlp.tools.tokenize.Detokenizer
Detokenizes the collection of tokens.
detokenize(String[]) - Method in class opennlp.tools.tokenize.DictionaryDetokenizer
 
detokenize(String[], String) - Method in interface opennlp.tools.tokenize.Detokenizer
Detokenizes the input tokens into a String.
detokenize(String[], String) - Method in class opennlp.tools.tokenize.DictionaryDetokenizer
 
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.
DetokenizerEvaluator - Class in opennlp.tools.tokenize
The DetokenizerEvaluator measures the performance of the given Detokenizer with the provided reference samples.
DetokenizerEvaluator(Detokenizer, DetokenEvaluationErrorListener...) - Constructor for class opennlp.tools.tokenize.DetokenizerEvaluator
Initializes the current instance with the given Detokenizer.
DetokenizerParameter - Interface in opennlp.tools.cmdline.params
 
DetokenizerSampleStreamFactory<T,P> - Class in opennlp.tools.formats
Base class for factories which need a Detokenizer.
DetokenizeSentenceSampleStream - Class in opennlp.tools.formats.letsmt
 
DetokenizeSentenceSampleStream(Detokenizer, ObjectStream<SentenceSample>) - Constructor for class opennlp.tools.formats.letsmt.DetokenizeSentenceSampleStream
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.
DictionaryBuilderTool - Class in opennlp.tools.cmdline.dictionary
 
DictionaryBuilderTool() - Constructor for class opennlp.tools.cmdline.dictionary.DictionaryBuilderTool
 
DictionaryDetokenizer - Class in opennlp.tools.tokenize
A rule based detokenizer.
DictionaryDetokenizer(DetokenizationDictionary) - Constructor for class opennlp.tools.tokenize.DictionaryDetokenizer
Initializes a DictionaryDetokenizer instance.
DictionaryDetokenizerTool - Class in opennlp.tools.cmdline.tokenizer
 
DictionaryDetokenizerTool() - Constructor for class opennlp.tools.cmdline.tokenizer.DictionaryDetokenizerTool
 
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 the DictionaryNameFinder to generated features for detected names based on the InSpanGenerator.
DictionaryFeatureGenerator(String, Dictionary) - Constructor for class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
 
DictionaryFeatureGenerator(Dictionary) - Constructor for class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
 
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.
dimension() - Method in interface opennlp.tools.util.wordvector.WordVector
 
dimension() - Method in interface opennlp.tools.util.wordvector.WordVectorTable
 
DirectorySampleStream - Class in opennlp.tools.formats
The directory sample stream allows for creating an ObjectStream<File> from a directory listing of files.
DirectorySampleStream(File[], FileFilter, boolean) - Constructor for class opennlp.tools.formats.DirectorySampleStream
Initializes a DirectorySampleStream.
DirectorySampleStream(File, FileFilter, boolean) - Constructor for class opennlp.tools.formats.DirectorySampleStream
Initializes a DirectorySampleStream.
discardCountsBelow(double) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
 
discardCountsBelow(double) - Method in class opennlp.tools.ml.naivebayes.Probabilities
 
DoccatConverterTool - Class in opennlp.tools.cmdline.doccat
Tool to convert multiple data formats into native OpenNLP doccat training format.
DoccatConverterTool() - Constructor for class opennlp.tools.cmdline.doccat.DoccatConverterTool
 
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.
DoccatCrossValidatorTool - Class in opennlp.tools.cmdline.doccat
 
DoccatCrossValidatorTool() - Constructor for class opennlp.tools.cmdline.doccat.DoccatCrossValidatorTool
 
DoccatEvaluationErrorListener - Class in opennlp.tools.cmdline.doccat
A default implementation of EvaluationMonitor that prints to an output stream.
DoccatEvaluationErrorListener() - Constructor for class opennlp.tools.cmdline.doccat.DoccatEvaluationErrorListener
Creates a listener that will print to the configured logger.
DoccatEvaluationErrorListener(OutputStream) - Constructor for class opennlp.tools.cmdline.doccat.DoccatEvaluationErrorListener
Creates a listener that will print to a given OutputStream
DoccatEvaluationMonitor - Interface in opennlp.tools.doccat
A marker interface for evaluating doccat.
DoccatEvaluatorTool - Class in opennlp.tools.cmdline.doccat
A default DocumentSample-centric implementation of AbstractEvaluatorTool that prints to an output stream.
DoccatEvaluatorTool() - Constructor for class opennlp.tools.cmdline.doccat.DoccatEvaluatorTool
 
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.
DoccatFineGrainedReportListener - Class in opennlp.tools.cmdline.doccat
Generates a detailed report for the POS Tagger.
DoccatFineGrainedReportListener() - Constructor for class opennlp.tools.cmdline.doccat.DoccatFineGrainedReportListener
Creates a listener that will print to the configured logger.
DoccatFineGrainedReportListener(OutputStream) - Constructor for class opennlp.tools.cmdline.doccat.DoccatFineGrainedReportListener
Creates a listener that prints to a given OutputStream
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<String, String>, 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.
DoccatModelLoader - Class in opennlp.tools.cmdline.doccat
Loads a DoccatModel for the command line tools.
DoccatModelLoader() - Constructor for class opennlp.tools.cmdline.doccat.DoccatModelLoader
 
DoccatTool - Class in opennlp.tools.cmdline.doccat
 
DoccatTool() - Constructor for class opennlp.tools.cmdline.doccat.DoccatTool
 
DoccatTrainerTool - Class in opennlp.tools.cmdline.doccat
 
DoccatTrainerTool() - Constructor for class opennlp.tools.cmdline.doccat.DoccatTrainerTool
 
doConstrainedLineSearch(Function, double[], LineSearch.LineSearchResult, double, double) - Static method in class opennlp.tools.ml.maxent.quasinewton.LineSearch
Conducts a constrained line search (see section 3.2 in the paper "Scalable Training of L1-Regularized Log-Linear Models", Andrew et al. 2007)
DOCSTART - Static variable in class opennlp.tools.formats.Conll02NameSampleStream
 
DOCSTART - Static variable in class opennlp.tools.formats.EvalitaNameSampleStream
 
DocumentBeginFeatureGenerator - Class in opennlp.tools.util.featuregen
 
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
 
DocumentCategorizer - Interface in opennlp.tools.doccat
Interface for classes which categorize documents.
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<DocumentSample>) - Constructor for class opennlp.tools.doccat.DocumentCategorizerEventStream
Initializes a DocumentCategorizerEventStream via samples.
DocumentCategorizerEventStream(ObjectStream<DocumentSample>, 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.
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.
DocumentSampleStream - Class in opennlp.tools.doccat
Reads in string encoded training samples, parses them and outputs DocumentSample objects.
DocumentSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.doccat.DocumentSampleStream
Initializes a instance.
DocumentSampleStreamFactory<P> - Class in opennlp.tools.formats
Factory producing OpenNLP DocumentSampleStreams.
DocumentToLineStream - Class in opennlp.tools.formats.ontonotes
Reads a plain text file and return each line as a String object.
DocumentToLineStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.ontonotes.DocumentToLineStream
Initializes a DocumentToLineStream.
doLineSearch(Function, double[], LineSearch.LineSearchResult, double) - Static method in class opennlp.tools.ml.maxent.quasinewton.LineSearch
Conducts a backtracking line search (see Nocedal & Wright 2006, Numerical Optimization, p. 37).
DONE - Static variable in class opennlp.tools.parser.treeinsert.Parser
Outcome used when a constituent needs an no additional parent node/building.
doTrain(DataIndexer) - Method in class opennlp.tools.ml.AbstractEventTrainer
 
doTrain(DataIndexer) - Method in class opennlp.tools.ml.maxent.GISTrainer
doTrain(DataIndexer) - Method in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
 
doTrain(DataIndexer) - Method in class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
 
doTrain(DataIndexer) - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
 
doTrain(SequenceStream<Event>) - Method in class opennlp.tools.ml.AbstractEventModelSequenceTrainer
 
doTrain(SequenceStream<Event>) - Method in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
 
DOUBLE - Enum constant in enum class opennlp.tools.util.wordvector.WordVectorType
 
downloadModel(String, DownloadUtil.ModelType, Class<T>) - Static method in class opennlp.tools.util.DownloadUtil
Triggers a download for the specified DownloadUtil.ModelType.
downloadModel(URL, Class<T>) - 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
 
DownloadUtil.ModelType - Enum Class in opennlp.tools.util
The type of model.
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
 
DynamicEvalParameters - Class in opennlp.tools.ml.model
 
DynamicEvalParameters(List<? extends Context>, int) - Constructor for class opennlp.tools.ml.model.DynamicEvalParameters
Creates a set of parameters which can be evaluated with the eval method.

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<String>) - Constructor for class opennlp.tools.sentdetect.EmptyLinePreprocessorStream
 
EN - Enum constant in enum class opennlp.tools.formats.Conll03NameSampleStream.LANGUAGE
 
encode(Span[], int) - Method in class opennlp.tools.namefind.BilouCodec
 
encode(Span[], int) - Method in class opennlp.tools.namefind.BioCodec
 
encode(Span[], int) - Method in interface opennlp.tools.util.SequenceCodec
Encodes Span objects into a sequence of objects.
encodeLemmas(String[], String[]) - Static method in class opennlp.tools.lemmatizer.LemmatizerME
Encodes the word given its lemmas.
EncodingParameter - Interface in opennlp.tools.cmdline.params
Encoding parameter.
END_TAG - Static variable in class opennlp.tools.namefind.NameSampleDataStream
 
endElement(String) - Method in class opennlp.tools.formats.muc.MucNameContentHandler
 
endElement(String) - Method in class opennlp.tools.formats.muc.SgmlParser.ContentHandler
 
endElement(String, String, String) - Method in class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtDocumentHandler
 
endElement(String, String, String) - Method in class opennlp.tools.formats.masc.MascPennTagParser
 
EndOfSentenceScanner - Interface in opennlp.tools.sentdetect
Scans CharSequence, StringBuffer, and char[] for the offsets of sentence ending characters.
ENGLISH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
 
ENTITY_TYPE - Static variable in class opennlp.tools.formats.brat.AnnotationConfiguration
 
EntityLinker<T extends Span> - Interface in opennlp.tools.entitylinker
EntityLinkers establish connections with external data to enrich extracted entities.
EntityLinkerFactory - Class in opennlp.tools.entitylinker
Generates a EntityLinker instances via a properties file configuration.
EntityLinkerFactory() - Constructor for class opennlp.tools.entitylinker.EntityLinkerFactory
 
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.
EntityLinkerTool - Class in opennlp.tools.cmdline.entitylinker
 
EntityLinkerTool() - Constructor for class opennlp.tools.cmdline.entitylinker.EntityLinkerTool
 
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.chunker.ChunkSample
 
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 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 record class opennlp.tools.langdetect.ProbingLanguageDetectionResult
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.maxent.GISModel
 
equals(Object) - Method in class opennlp.tools.ml.model.AbstractModel
 
equals(Object) - Method in class opennlp.tools.ml.model.ComparableEvent
 
equals(Object) - Method in class opennlp.tools.ml.model.ComparablePredicate
 
equals(Object) - Method in class opennlp.tools.ml.model.Context
 
equals(Object) - Method in class opennlp.tools.ml.model.EvalParameters
 
equals(Object) - Method in class opennlp.tools.ml.model.UniformPrior
 
equals(Object) - Method in class opennlp.tools.ml.perceptron.PerceptronModel
 
equals(Object) - Method in class opennlp.tools.namefind.NameSample
 
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.Parse
 
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.postag.POSSample
 
equals(Object) - Method in class opennlp.tools.sentdetect.SentenceSample
 
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.greekStemmer
 
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.tokenize.TokenizerModel
 
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 class opennlp.tools.util.StringList
 
equals(Object) - Method in record class opennlp.tools.util.TokenTag
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class opennlp.tools.util.Version
 
eval(int[], double[], EvalParameters) - Static method in class opennlp.tools.ml.maxent.GISModel
Evaluates a context and return an array of the likelihood of each outcome given the specified context and the specified parameters.
eval(int[], double[], EvalParameters) - Static method in class opennlp.tools.ml.naivebayes.NaiveBayesModel
Evaluates a NaiveBayesModel.
eval(int[], double[], EvalParameters) - Static method in class opennlp.tools.ml.perceptron.PerceptronModel
Evaluates a PerceptronModel.
eval(String[]) - Method in class opennlp.tools.ml.maxent.GISModel
Evaluates a context and return an array of the likelihood of each outcome given that context.
eval(String[]) - Method in class opennlp.tools.ml.maxent.quasinewton.QNModel
Evaluates a context.
eval(String[]) - Method in interface opennlp.tools.ml.model.MaxentModel
Evaluates a context.
eval(String[]) - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModel
Evaluates a context.
eval(String[]) - Method in class opennlp.tools.ml.perceptron.PerceptronModel
Evaluates a context.
eval(String[], double[]) - Method in class opennlp.tools.ml.maxent.GISModel
Evaluates a context.
eval(String[], double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.QNModel
Evaluates a context.
eval(String[], double[]) - Method in interface opennlp.tools.ml.model.MaxentModel
Evaluates a context.
eval(String[], double[]) - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModel
Evaluates a context.
eval(String[], double[]) - Method in class opennlp.tools.ml.perceptron.PerceptronModel
Evaluates a context.
eval(String[], float[]) - Method in class opennlp.tools.ml.maxent.GISModel
Evaluates a context with the specified context values.
eval(String[], float[]) - Method in class opennlp.tools.ml.maxent.quasinewton.QNModel
Evaluates a context with the specified context values.
eval(String[], float[]) - Method in interface opennlp.tools.ml.model.MaxentModel
Evaluates a context with the specified context values.
eval(String[], float[]) - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModel
Evaluates a context with the specified context values.
eval(String[], float[]) - Method in class opennlp.tools.ml.perceptron.PerceptronModel
Evaluates a context with the specified context values.
eval(String[], float[], double[]) - Method in class opennlp.tools.ml.maxent.GISModel
Evaluates a context and return an array of the likelihood of each outcome given that context.
eval(String[], float[], double[]) - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModel
 
eval(String[], float[], double[]) - Method in class opennlp.tools.ml.perceptron.PerceptronModel
 
EvalitaNameSampleStream - Class in opennlp.tools.formats
Parser for the Italian NER training files of the Evalita 2007 and 2009 NER shared tasks.
EvalitaNameSampleStream(EvalitaNameSampleStream.LANGUAGE, InputStreamFactory, int) - Constructor for class opennlp.tools.formats.EvalitaNameSampleStream
 
EvalitaNameSampleStream(EvalitaNameSampleStream.LANGUAGE, ObjectStream<String>, int) - Constructor for class opennlp.tools.formats.EvalitaNameSampleStream
 
EvalitaNameSampleStream.LANGUAGE - Enum Class in opennlp.tools.formats
 
EvalitaNameSampleStreamFactory<P> - Class in opennlp.tools.formats
Note: Do not use this class, internal use only!
EvalParameters - Class in opennlp.tools.ml.model
This class encapsulates the variables used in producing probabilities from a model and facilitates passing these variables to the eval method.
EvalParameters(Context[], int) - Constructor for class opennlp.tools.ml.model.EvalParameters
 
evaluate(double[]) - Method in interface opennlp.tools.ml.maxent.quasinewton.QNMinimizer.Evaluator
Measure quality of the training parameters.
evaluate(ObjectStream<ChunkSample>, int) - Method in class opennlp.tools.chunker.ChunkerCrossValidator
Starts the evaluation.
evaluate(ObjectStream<DocumentSample>, int) - Method in class opennlp.tools.doccat.DoccatCrossValidator
Starts the evaluation.
evaluate(ObjectStream<LanguageSample>, int) - Method in class opennlp.tools.langdetect.LanguageDetectorCrossValidator
Starts the evaluation.
evaluate(ObjectStream<NameSample>, int) - Method in class opennlp.tools.namefind.TokenNameFinderCrossValidator
Starts the evaluation.
evaluate(ObjectStream<Parse>, int) - Method in class opennlp.tools.parser.ParserCrossValidator
Starts the evaluation.
evaluate(ObjectStream<POSSample>, int) - Method in class opennlp.tools.postag.POSTaggerCrossValidator
Starts the evaluation.
evaluate(ObjectStream<SentenceSample>, int) - Method in class opennlp.tools.sentdetect.SDCrossValidator
Starts the evaluation.
evaluate(ObjectStream<TokenSample>, int) - Method in class opennlp.tools.tokenize.TokenizerCrossValidator
Starts the evaluation.
evaluate(ObjectStream<T>) - 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.
EvaluationMonitor<T> - Interface in opennlp.tools.util.eval
 
Evaluator<T> - Class in opennlp.tools.util.eval
An abstract base class for evaluators.
Evaluator(EvaluationMonitor<T>...) - Constructor for class opennlp.tools.util.eval.Evaluator
 
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_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
 
EVENT_TYPE - Static variable in class opennlp.tools.formats.brat.AnnotationConfiguration
 
EVENT_VALUE - Static variable in interface opennlp.tools.ml.EventTrainer
 
EventAnnotation - Class in opennlp.tools.formats.brat
 
EventModelSequenceTrainer<T> - Interface in opennlp.tools.ml
A specialized Trainer that is based on a 'EventModelSequence' approach.
EventTraceStream - Class in opennlp.tools.util
 
EventTraceStream(ObjectStream<Event>, Writer) - Constructor for class opennlp.tools.util.EventTraceStream
Initializes an EventTraceStream.
EventTrainer - 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 in opennlp.tools.util.ext
Exception indicates that an OpenNLP extension could not be loaded.
ExtensionNotLoadedException(String) - Constructor for exception opennlp.tools.util.ext.ExtensionNotLoadedException
 
ExtensionNotLoadedException(Throwable) - Constructor for exception opennlp.tools.util.ext.ExtensionNotLoadedException
 
ExtensionServiceKeys - Class in opennlp.tools.util.ext
 
ExtensionServiceKeys() - Constructor for class opennlp.tools.util.ext.ExtensionServiceKeys
 
extractArtifactSerializerMappings(InputStream) - Static method in class opennlp.tools.util.featuregen.GeneratorFactory
 
extractFeatures(String[], Map<String, Object>) - Method in class opennlp.tools.doccat.BagOfWordsFeatureGenerator
 
extractFeatures(String[], Map<String, Object>) - Method in interface opennlp.tools.doccat.FeatureGenerator
Extracts features from given text fragments.
extractFeatures(String[], Map<String, Object>) - Method in class opennlp.tools.doccat.NGramFeatureGenerator
 
extractTags(TokenTag[]) - Static method in record class opennlp.tools.util.TokenTag
 
extractTokens(TokenTag[]) - Static method in record class opennlp.tools.util.TokenTag
 

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
 
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.
FeatureGeneratorUtil - Class in opennlp.tools.util.featuregen
This class provide common utilities for feature generation.
FeatureGeneratorUtil() - Constructor for class opennlp.tools.util.featuregen.FeatureGeneratorUtil
 
FileEventStream - Class in opennlp.tools.ml.model
Class for using a file of events as an event stream.
FileEventStream(File) - Constructor for class opennlp.tools.ml.model.FileEventStream
Instantiates a FileEventStream via a File.
FileEventStream(Reader) - Constructor for class opennlp.tools.ml.model.FileEventStream
Instantiates a FileEventStream via a Reader.
FileEventStream(String) - Constructor for class opennlp.tools.ml.model.FileEventStream
Instantiates a FileEventStream from the specified file name.
FileEventStream(String, String) - Constructor for class opennlp.tools.ml.model.FileEventStream
Instantiates a FileEventStream from the specified file name.
FileToByteArraySampleStream - Class in opennlp.tools.formats.convert
Note: Do not use this class, internal use only!
FileToByteArraySampleStream(ObjectStream<File>) - Constructor for class opennlp.tools.formats.convert.FileToByteArraySampleStream
FileToStringSampleStream - Class in opennlp.tools.formats.convert
Provides the ability to read the contents of files contained in an object stream of files.
FileToStringSampleStream(ObjectStream<File>, Charset) - Constructor for class opennlp.tools.formats.convert.FileToStringSampleStream
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 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[], 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.
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.
FineGrainedEvaluatorParams - Interface in opennlp.tools.cmdline.params
Common evaluation parameters.
FINNISH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
 
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
 
FRENCH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
 
Function - Interface in opennlp.tools.ml.maxent.quasinewton
Interface for a function.

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.
generate(char[], int, String) - Static method in class opennlp.tools.ngram.NGramGenerator
Generates nGrams based on a char[] input.
generate(List<String>, int, String) - Static method in class opennlp.tools.ngram.NGramGenerator
Creates nGrams separated by the separator param value i.e.
GENERATE_CELLLINE_ENTITIES - Static variable in class opennlp.tools.formats.BioNLP2004NameSampleStream
 
GENERATE_CELLTYPE_ENTITIES - Static variable in class opennlp.tools.formats.BioNLP2004NameSampleStream
 
GENERATE_DNA_ENTITIES - Static variable in class opennlp.tools.formats.BioNLP2004NameSampleStream
 
GENERATE_GPE_ENTITIES - Static variable in class opennlp.tools.formats.EvalitaNameSampleStream
 
GENERATE_LOCATION_ENTITIES - Static variable in class opennlp.tools.formats.Conll02NameSampleStream
 
GENERATE_LOCATION_ENTITIES - Static variable in class opennlp.tools.formats.EvalitaNameSampleStream
 
GENERATE_MISC_ENTITIES - Static variable in class opennlp.tools.formats.Conll02NameSampleStream
 
GENERATE_ORGANIZATION_ENTITIES - Static variable in class opennlp.tools.formats.Conll02NameSampleStream
 
GENERATE_ORGANIZATION_ENTITIES - Static variable in class opennlp.tools.formats.EvalitaNameSampleStream
 
GENERATE_PERSON_ENTITIES - Static variable in class opennlp.tools.formats.Conll02NameSampleStream
 
GENERATE_PERSON_ENTITIES - Static variable in class opennlp.tools.formats.EvalitaNameSampleStream
 
GENERATE_PROTEIN_ENTITIES - Static variable in class opennlp.tools.formats.BioNLP2004NameSampleStream
 
GENERATE_RNA_ENTITIES - Static variable in class opennlp.tools.formats.BioNLP2004NameSampleStream
 
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.
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
 
GenericModelReader - Class in opennlp.tools.ml.model
An generic AbstractModelReader implementation.
GenericModelReader(File) - Constructor for class opennlp.tools.ml.model.GenericModelReader
Initializes a GenericModelReader via a File.
GenericModelReader(DataReader) - Constructor for class opennlp.tools.ml.model.GenericModelReader
Initializes a GenericModelReader via a DataReader.
GenericModelSerializer - Class in opennlp.tools.util.model
An ArtifactSerializer implementation for models.
GenericModelSerializer() - Constructor for class opennlp.tools.util.model.GenericModelSerializer
 
GenericModelWriter - Class in opennlp.tools.ml.model
An generic AbstractModelWriter implementation.
GenericModelWriter(AbstractModel, DataOutputStream) - Constructor for class opennlp.tools.ml.model.GenericModelWriter
Initializes a GenericModelWriter for an AbstractModel with an associated DataOutputStream the model shall be written to.
GenericModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.model.GenericModelWriter
Initializes a GenericModelWriter for an AbstractModel with an associated File the model shall be written to.
GERMAN - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
 
get() - Method in class opennlp.tools.ml.naivebayes.LogProbability
 
get() - Method in class opennlp.tools.ml.naivebayes.Probability
 
get(String) - Method in interface opennlp.tools.util.wordvector.WordVectorTable
 
get(T) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
 
get(T) - Method in class opennlp.tools.ml.naivebayes.Probabilities
 
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
 
getAdditionalContext() - Method in class opennlp.tools.namefind.NameSample
 
getAdditionalContext() - Method in class opennlp.tools.postag.POSSample
 
getAdditionalData() - Method in record class opennlp.tools.util.TokenTag
Deprecated, for removal: This API element is subject to removal in a future version.
getAlgorithm() - Method in class opennlp.tools.ml.AbstractTrainer
 
getAll() - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
 
getAll() - Method in class opennlp.tools.ml.naivebayes.Probabilities
 
getAllOutcomes(double[]) - Method in class opennlp.tools.ml.model.AbstractModel
Retrieves a string matching all the outcome names with all the probabilities produced by the MaxentModel.eval(String[]) method.
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.
getAllPosTags() - Method in class opennlp.tools.postag.POSTaggerME
 
getAllResults(double[]) - Method in interface opennlp.tools.doccat.DocumentCategorizer
Retrieves the name of the category associated with the given probabilities.
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
 
getAnnotation(String) - Method in class opennlp.tools.formats.brat.BratDocument
 
getAnnotations() - Method in class opennlp.tools.formats.brat.BratDocument
 
getArg1() - Method in class opennlp.tools.formats.brat.RelationAnnotation
 
getArg2() - Method in class opennlp.tools.formats.brat.RelationAnnotation
 
getArguments() - Method in class opennlp.tools.formats.brat.EventAnnotation
 
getArtifact(String) - Method in interface opennlp.tools.util.model.ArtifactProvider
 
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
 
getArtifactSerializerClass() - Method in interface opennlp.tools.util.model.SerializableArtifact
Retrieves the class which can serialize and recreate this artifact.
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
 
getAsDouble(int) - Method in interface opennlp.tools.util.wordvector.WordVector
 
getAsFloat(int) - Method in interface opennlp.tools.util.wordvector.WordVector
 
getAttachedId() - Method in class opennlp.tools.formats.brat.AnnotatorNoteAnnotation
 
getAttachedTo() - Method in class opennlp.tools.formats.brat.AttributeAnnotation
 
getAttachModel() - Method in class opennlp.tools.parser.ParserModel
 
getAttributes() - Method in record class opennlp.tools.dictionary.serializer.Entry
Deprecated, for removal: This API element is subject to removal in a future version.
getBase() - Method in class opennlp.tools.formats.masc.MascToken
 
getBases() - Method in class opennlp.tools.formats.masc.MascPennTagParser
 
getBestCategory(double[]) - Method in interface opennlp.tools.doccat.DocumentCategorizer
Retrieves the best category from previously generated outcome probabilities
getBestCategory(double[]) - Method in class opennlp.tools.doccat.DocumentCategorizerME
 
getBestOutcome(double[]) - Method in class opennlp.tools.ml.model.AbstractModel
Return the name of the outcome corresponding to the highest likelihood in the parameter ocs.
getBestOutcome(double[]) - Method in interface opennlp.tools.ml.model.MaxentModel
Retrieves the outcome associated with the index containing the highest probability in the double[].
getBool(String) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
 
getBool(String, boolean) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
 
getBooleanParameter(String, boolean) - Method in class opennlp.tools.util.TrainingParameters
Obtains a training parameter value.
getBooleanParameter(String, String, boolean) - Method in class opennlp.tools.util.TrainingParameters
Obtains a training parameter value in the specified namespace.
getBuildModel() - Method in class opennlp.tools.parser.ParserModel
 
getCachedFeatureGenerator() - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
 
getCategory() - Method in class opennlp.tools.doccat.DocumentSample
 
getCategory(int) - Method in interface opennlp.tools.doccat.DocumentCategorizer
Retrieves the category at a given index.
getCategory(int) - Method in class opennlp.tools.doccat.DocumentCategorizerME
 
getCheckModel() - Method in class opennlp.tools.parser.ParserModel
 
getChildCount() - Method in class opennlp.tools.parser.Parse
 
getChildren() - Method in class opennlp.tools.parser.Parse
 
getChunkerModel() - Method in class opennlp.tools.chunker.ChunkerModel
Deprecated.
use ChunkerModel.getChunkerSequenceModel() instead. This method will be removed soon.
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.
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
 
getConfidence() - Method in class opennlp.tools.ml.naivebayes.Probabilities
 
getConfig() - Method in class opennlp.tools.formats.brat.BratDocument
 
getContext() - Method in record class opennlp.tools.langdetect.LanguageSample
Deprecated, for removal: This API element is subject to removal in a future version.
getContext() - Method in class opennlp.tools.ml.model.Event
 
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.parser.ChunkContextGenerator
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 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 class opennlp.tools.chunker.DefaultChunkerContextGenerator
 
getContext(int, String[], String[], String[]) - Method in class opennlp.tools.lemmatizer.DefaultLemmatizerContextGenerator
 
getContext(int, String[], String[], String[]) - Method in interface opennlp.tools.lemmatizer.LemmatizerContextGenerator
Returns the contexts for lemmatizing of the specified index.
getContext(int, String[], String[], String[]) - Method in class opennlp.tools.parser.ChunkContextGenerator
 
getContext(int, String[], String[], String[], Object[]) - Method in class opennlp.tools.chunker.DefaultChunkerContextGenerator
 
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(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 class opennlp.tools.langdetect.DefaultLanguageDetectorContextGenerator
 
getContext(CharSequence) - Method in interface opennlp.tools.langdetect.LanguageDetectorContextGenerator
Retrieves the contexts for a document using character ngrams.
getContext(CharSequence, int) - Method in class opennlp.tools.sentdetect.DefaultSDContextGenerator
 
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(Object) - Method in class opennlp.tools.parser.ChunkContextGenerator
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.ml.maxent.BasicContextGenerator
 
getContext(String, int) - Method in class opennlp.tools.tokenize.DefaultTokenContextGenerator
 
getContext(String, int) - Method in interface opennlp.tools.tokenize.TokenContextGenerator
 
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<Parse>, 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.
getContext(T) - Method in interface opennlp.tools.ml.maxent.ContextGenerator
Builds up the list of contextual predicates given an object.
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
 
getContexts() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
getContexts() - Method in interface opennlp.tools.ml.model.DataIndexer
 
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.
getCoveredText() - Method in class opennlp.tools.formats.brat.SpanAnnotation
 
getCoveredText() - Method in class opennlp.tools.parser.Parse
 
getCoveredText(CharSequence) - Method in class opennlp.tools.util.Span
 
getCurrent() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
Get the current string.
getCurrPoint() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
 
getCutoff() - Method in class opennlp.tools.ml.AbstractTrainer
 
getData() - Method in interface opennlp.tools.cmdline.params.BasicFormatParams
 
getDataIndexer(ObjectStream<Event>) - Method in class opennlp.tools.ml.AbstractEventTrainer
 
getDataIndexer(TrainingParameters, Map<String, String>) - Static method in class opennlp.tools.ml.model.DataIndexerFactory
Instantiates a DataIndexer configured via TrainingParameters.
getDataStructures() - Method in class opennlp.tools.ml.model.AbstractModel
Provides the fundamental data structures which encode the maxent model information.
getDataType() - Method in interface opennlp.tools.util.wordvector.WordVector
 
getDefaultRegexNameFinders(Map<String, Pattern[]>, 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.
getDeprel() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
 
getDeps() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
 
getDerivation() - Method in class opennlp.tools.parser.Parse
 
getDescriptorElements(InputStream) - Static method in class opennlp.tools.util.featuregen.GeneratorFactory
Provides a list with all the elements in the xml feature descriptor.
getDetokenizer() - Method in interface opennlp.tools.cmdline.params.DetokenizerParameter
 
getDictMap() - Method in class opennlp.tools.lemmatizer.DictionaryLemmatizer
 
getDimension() - Method in interface opennlp.tools.ml.maxent.quasinewton.Function
 
getDimension() - Method in class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
 
getDimension() - Method in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer.L2RegFunction
 
getDocument() - Method in class opennlp.tools.sentdetect.SentenceSample
 
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
 
getDocumentId() - Method in class opennlp.tools.formats.conllu.ConlluSentence
 
getDouble(String) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
 
getDouble(String, double) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
 
getDoubleParameter(String, double) - Method in class opennlp.tools.util.TrainingParameters
Obtains a training parameter value.
getDoubleParameter(String, String, double) - Method in class opennlp.tools.util.TrainingParameters
Obtains a training parameter value in the specified namespace.
getElement(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
Parse a tree element from a AD line
getElements() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Node
 
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.
getEndOfSentenceScanner() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
 
getEntityIDsToTokens() - Method in class opennlp.tools.formats.masc.MascNamedEntityParser
 
getEntityIDtoEntityType() - Method in class opennlp.tools.formats.masc.MascNamedEntityParser
 
getEosCharacters() - Method in class opennlp.tools.sentdetect.SentenceModel
 
getEOSCharacters() - Method in class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
 
getEOSCharacters() - Method in interface opennlp.tools.sentdetect.EndOfSentenceScanner
 
getEOSCharacters() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
 
getEOSCharacters(String) - Method in class opennlp.tools.sentdetect.lang.Factory
 
getEvaluator() - Method in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
 
getEventModelSequenceTrainer(TrainingParameters, Map<String, String>) - Static method in class opennlp.tools.ml.TrainerFactory
Retrieves an EventModelSequenceTrainer that fits the given parameters.
getEvents() - Method in class opennlp.tools.ml.model.Sequence
 
getEventTrainer(TrainingParameters, Map<String, String>) - Static method in class opennlp.tools.ml.TrainerFactory
Retrieves an EventTrainer that fits the given parameters.
getEventTrigger() - Method in class opennlp.tools.formats.brat.EventAnnotation
 
getExtraInformation() - Method in class opennlp.tools.doccat.DocumentSample
 
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.tokenize.TokenizerModel
 
getFctEvalCount() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
 
getFeats() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
 
getFeatureGenerators() - Method in class opennlp.tools.doccat.DoccatFactory
 
getFlex() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankFlex
 
getFlex() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
 
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.parser.ParserCrossValidator
 
getFMeasure() - Method in class opennlp.tools.parser.ParserEvaluator
 
getFMeasure() - Method in class opennlp.tools.sentdetect.SDCrossValidator
 
getFMeasure() - Method in class opennlp.tools.sentdetect.SentenceDetectorEvaluator
 
getFMeasure() - Method in class opennlp.tools.tokenize.DetokenizerEvaluator
 
getFMeasure() - Method in class opennlp.tools.tokenize.TokenizerCrossValidator
 
getFMeasure() - Method in class opennlp.tools.tokenize.TokenizerEvaluator
 
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
 
getForm() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
 
getFuncChangeRate() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
 
getFunctionalTag() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
 
getGenerators() - Method in class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
Retrieves a Collections of all aggregated AdaptiveFeatureGenerators.
getGradAtCurr() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
 
getGradAtNext() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
 
getHead() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
 
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.
getHead(Parse[], String) - Method in class opennlp.tools.parser.lang.en.HeadRules
 
getHead(Parse[], String) - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
 
getHeadIndex() - Method in class opennlp.tools.parser.Parse
 
getHeadRules() - Method in class opennlp.tools.parser.ParserModel
 
getHelp() - Method in class opennlp.tools.cmdline.chunker.ChunkerMETool
 
getHelp() - Method in class opennlp.tools.cmdline.dictionary.DictionaryBuilderTool
 
getHelp() - Method in class opennlp.tools.cmdline.doccat.DoccatTool
 
getHelp() - Method in class opennlp.tools.cmdline.entitylinker.EntityLinkerTool
 
getHelp() - Method in class opennlp.tools.cmdline.langdetect.LanguageDetectorTool
 
getHelp() - Method in class opennlp.tools.cmdline.languagemodel.NGramLanguageModelTool
 
getHelp() - Method in class opennlp.tools.cmdline.lemmatizer.LemmatizerMETool
 
getHelp() - Method in class opennlp.tools.cmdline.namefind.CensusDictionaryCreatorTool
 
getHelp() - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderTool
 
getHelp() - Method in class opennlp.tools.cmdline.parser.ParserTool
 
getHelp() - Method in class opennlp.tools.cmdline.parser.TaggerModelReplacerTool
 
getHelp() - Method in class opennlp.tools.cmdline.postag.POSTaggerTool
 
getHelp() - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorTool
 
getHelp() - Method in class opennlp.tools.cmdline.tokenizer.DictionaryDetokenizerTool
 
getHelp() - Method in class opennlp.tools.cmdline.tokenizer.SimpleTokenizerTool
 
getHelp() - Method in class opennlp.tools.cmdline.tokenizer.TokenizerMETool
 
getId() - Method in class opennlp.tools.formats.brat.BratAnnotation
 
getId() - Method in class opennlp.tools.formats.brat.BratDocument
 
getId() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
 
getId() - Method in class opennlp.tools.formats.masc.MascWord
 
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 class opennlp.tools.doccat.DocumentCategorizerME
 
getIndex(String) - Method in class opennlp.tools.ml.model.AbstractModel
 
getIndex(String) - Method in interface opennlp.tools.ml.model.MaxentModel
Retrieves the index associated with the String name of the given outcome.
getInitialChunks(Parse) - Static method in class opennlp.tools.parser.AbstractParserEventStream
 
getInitialChunks(Parse) - Static method in class opennlp.tools.parser.ChunkSampleStream
 
getInitialObject(double, double[], double[]) - Static method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
Initial linear search object.
getInitialObject(double, double[], double[], double[], double[], int) - Static method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
 
getInitialObjectForL1(double, double[], double[], double[]) - Static method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
Initial linear search object for L1-regularization.
getInitialPoint() - Method in class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
 
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
 
getIntParameter(String, int) - Method in class opennlp.tools.util.TrainingParameters
Obtains a training parameter value.
getIntParameter(String, String, int) - Method in class opennlp.tools.util.TrainingParameters
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
 
getIterations() - Method in class opennlp.tools.ml.AbstractTrainer
 
getKeys() - Method in class opennlp.tools.ml.naivebayes.Probabilities
 
getLabel() - Method in class opennlp.tools.ml.naivebayes.LogProbability
 
getLabel() - Method in class opennlp.tools.ml.naivebayes.Probability
 
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.
getLabelComparator(Map<String, FineGrainedReportListener.Counter>) - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderFineGrainedReportListener
 
getLang() - Method in interface opennlp.tools.cmdline.params.LanguageParams
 
getLang() - Method in class opennlp.tools.formats.AbstractSampleStreamFactory
 
getLang() - Method in class opennlp.tools.formats.LanguageSampleStreamFactory
 
getLang() - Method in class opennlp.tools.langdetect.Language
 
getLanguage() - Method in record class opennlp.tools.langdetect.LanguageSample
Deprecated, for removal: This API element is subject to removal in a future version.
getLanguage() - Method in interface opennlp.tools.util.model.ArtifactProvider
 
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
 
getLanguages() - Method in record class opennlp.tools.langdetect.ProbingLanguageDetectionResult
Deprecated, for removal: This API element is subject to removal in a future version.
getLemma() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
 
getLemma() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
 
getLemmas() - Method in class opennlp.tools.lemmatizer.LemmaSample
 
getLemmatizerSequenceModel() - Method in class opennlp.tools.lemmatizer.LemmatizerModel
 
getLength() - Method in record class opennlp.tools.langdetect.ProbingLanguageDetectionResult
Deprecated, for removal: This API element is subject to removal in a future version.
getLevel() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
 
getLexeme() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
 
getLinkedEntries() - Method in class opennlp.tools.entitylinker.LinkedSpan
 
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.
getLog() - Method in class opennlp.tools.ml.naivebayes.LogProbability
 
getLog() - Method in class opennlp.tools.ml.naivebayes.Probability
 
getLog(T) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
 
getLog(T) - Method in class opennlp.tools.ml.naivebayes.Probabilities
 
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 interface opennlp.tools.util.model.ArtifactProvider
 
getManifestProperty(String) - Method in class opennlp.tools.util.model.BaseModel
 
getMatchingPatterns() - Method in class opennlp.tools.namefind.RegexNameFinder
 
getMatrixLabelComparator(Map<String, FineGrainedReportListener.ConfusionMatrixLine>) - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderFineGrainedReportListener
 
getMax() - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
 
getMax() - Method in class opennlp.tools.ml.naivebayes.Probabilities
 
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.tokenize.TokenizerModel
 
getMaxLength() - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
 
getMaxTokenCount() - Method in class opennlp.tools.dictionary.Dictionary
 
getMaxTokenLength() - Method in class opennlp.tools.tokenize.WordpieceTokenizer
 
getMaxValue() - Method in class opennlp.tools.ml.naivebayes.Probabilities
 
getMetadata() - Method in class opennlp.tools.formats.ad.ADSentenceStream.Sentence
 
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
 
getMisc() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
 
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
 
getModel() - Method in class opennlp.tools.ml.model.AbstractModelReader
 
getModelType() - Method in class opennlp.tools.ml.model.AbstractModel
 
getMorphologicalTag() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
 
getName() - Method in class opennlp.tools.cmdline.chunker.ChunkerTrainerTool
 
getName() - Method in class opennlp.tools.cmdline.lemmatizer.LemmatizerTrainerTool
 
getNameCounters() - Method in class opennlp.tools.cmdline.namefind.NameSampleCountersStream
 
getNamedEntities() - Method in class opennlp.tools.formats.masc.MascSentence
 
getNameFinderSequenceModel() - Method in class opennlp.tools.namefind.TokenNameFinderModel
 
getNames() - Method in class opennlp.tools.namefind.NameSample
 
getNextPoint() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
 
getNextPunctuationSet() - Method in class opennlp.tools.parser.Parse
 
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
getNonTokenizedText() - Method in class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtSentence
 
getNote() - Method in class opennlp.tools.formats.brat.BratAnnotation
 
getNumberOfCacheHits() - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
 
getNumberOfCacheMisses() - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
 
getNumberOfCategories() - Method in interface opennlp.tools.doccat.DocumentCategorizer
Retrieves the number of categories.
getNumberOfCategories() - Method in class opennlp.tools.doccat.DocumentCategorizerME
 
getNumEvents() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
getNumEvents() - Method in interface opennlp.tools.ml.model.DataIndexer
 
getNumOutcomes() - Method in class opennlp.tools.ml.maxent.quasinewton.QNModel
getNumOutcomes() - Method in class opennlp.tools.ml.model.AbstractModel
 
getNumOutcomes() - Method in class opennlp.tools.ml.model.DynamicEvalParameters
 
getNumOutcomes() - Method in class opennlp.tools.ml.model.EvalParameters
 
getNumOutcomes() - Method in interface opennlp.tools.ml.model.MaxentModel
 
getNumTimesEventsSeen() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
getNumTimesEventsSeen() - Method in interface opennlp.tools.ml.model.DataIndexer
 
getObjectSettings() - Method in class opennlp.tools.util.TrainingParameters
 
getObjectSettings(String) - Method in class opennlp.tools.util.TrainingParameters
 
getOntoNotesDir() - Method in interface opennlp.tools.formats.ontonotes.OntoNotesFormatParameters
 
getOrderedTags(List<String>, List<String>, int) - Method in class opennlp.tools.postag.POSTaggerME
 
getOrderedTags(List<String>, List<String>, int, double[]) - Method in class opennlp.tools.postag.POSTaggerME
 
getOriginal() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
 
getOutcome() - Method in class opennlp.tools.ml.model.Event
 
getOutcome(int) - Method in class opennlp.tools.ml.model.AbstractModel
 
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 class opennlp.tools.ml.model.AbstractDataIndexer
getOutcomeLabels() - Method in interface opennlp.tools.ml.model.DataIndexer
 
getOutcomeList() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
getOutcomeList() - Method in interface opennlp.tools.ml.model.DataIndexer
 
getOutcomes() - Method in class opennlp.tools.ml.BeamSearch
 
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
 
getOutcomeTotals() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesEvalParameters
 
getParagraphId() - Method in class opennlp.tools.formats.conllu.ConlluSentence
 
getParameters() - Method in class opennlp.tools.formats.AbstractSampleStreamFactory
 
getParameters() - Method in class opennlp.tools.ml.model.Context
 
getParameters(String) - Method in class opennlp.tools.util.TrainingParameters
 
getParams() - Method in interface opennlp.tools.cmdline.params.BasicTrainingParams
 
getParams() - Method in class opennlp.tools.ml.model.DynamicEvalParameters
 
getParams() - Method in class opennlp.tools.ml.model.EvalParameters
 
getParent() - Method in class opennlp.tools.parser.Parse
 
getParserChunkerModel() - Method in class opennlp.tools.parser.ParserModel
 
getParserTaggerModel() - Method in class opennlp.tools.parser.ParserModel
 
getParserType() - Method in class opennlp.tools.parser.ParserModel
 
getPhrasesAsSpanList() - Method in class opennlp.tools.chunker.ChunkSample
 
getPos() - Method in class opennlp.tools.formats.masc.MascToken
 
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(char[]) - Method in interface opennlp.tools.sentdetect.EndOfSentenceScanner
The receiver scans cbuf for sentence ending characters and returns their offsets.
getPositions(CharSequence) - Method in class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
 
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 class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
 
getPositions(StringBuffer) - Method in interface opennlp.tools.sentdetect.EndOfSentenceScanner
The receiver scans buf for sentence ending characters and returns their offsets.
getPosModel() - Method in class opennlp.tools.postag.POSModel
Deprecated.
use POSModel.getPosSequenceModel() instead. This method will be removed soon. Only required for Parser 1.5.x backward compatibility. Newer models don't need this anymore.
getPosSequenceModel() - Method in class opennlp.tools.postag.POSModel
 
getPosTag(ConlluTagset) - Method in class opennlp.tools.formats.conllu.ConlluWordLine
 
getPrecisionScore() - Method in class opennlp.tools.util.eval.FMeasure
 
getPredCounts() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
getPredCounts() - Method in interface opennlp.tools.ml.model.DataIndexer
 
getPredLabels() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
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.
getPseudoGradAtNext() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
 
getPunctuationTags() - Method in interface opennlp.tools.parser.HeadRules
 
getPunctuationTags() - Method in class opennlp.tools.parser.lang.en.HeadRules
 
getPunctuationTags() - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
 
getQuarks() - Method in class opennlp.tools.formats.masc.MascToken
 
getRecallScore() - Method in class opennlp.tools.util.eval.FMeasure
 
getRegexMap() - Method in interface opennlp.tools.namefind.RegexNameFinderFactory.RegexAble
 
getReportOutputFile() - Method in interface opennlp.tools.cmdline.params.FineGrainedEvaluatorParams
 
getResource(String) - Method in interface opennlp.tools.util.featuregen.FeatureGeneratorResourceProvider
 
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<String>) - Static method in class opennlp.tools.parser.treeinsert.Parser
Returns the right frontier of the specified tree with nodes ordered from deepest to shallowest.
getRoot() - Method in class opennlp.tools.formats.ad.ADSentenceStream.Sentence
 
getScore() - Method in class opennlp.tools.util.Sequence
 
getScoreMap() - Method in class opennlp.tools.entitylinker.BaseLink
 
getSDContextGenerator() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
 
getSearchTerm() - Method in class opennlp.tools.entitylinker.LinkedSpan
 
getSecondaryTag() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
 
getSegments() - Method in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument
 
getSentDetectText() - Method in class opennlp.tools.formats.masc.MascSentence
 
getSentence() - Method in class opennlp.tools.chunker.ChunkSample
 
getSentence() - Method in class opennlp.tools.namefind.NameSample
 
getSentence() - Method in class opennlp.tools.postag.POSSample
 
getSentenceCount() - Method in class opennlp.tools.cmdline.namefind.NameSampleCountersStream
 
getSentenceid() - Method in class opennlp.tools.entitylinker.LinkedSpan
 
getSentenceIdComment() - Method in class opennlp.tools.formats.conllu.ConlluSentence
 
getSentenceProbabilities() - Method in class opennlp.tools.sentdetect.SentenceDetectorME
Returns the probabilities associated with the most recent calls to SentenceDetectorME.sentDetect(CharSequence).
getSentences() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument
 
getSentences() - Method in class opennlp.tools.formats.letsmt.LetsmtDocument
 
getSentences() - Method in class opennlp.tools.sentdetect.SentenceSample
 
getSequenceCodec() - Method in class opennlp.tools.namefind.TokenNameFinderModel
 
getSequenceModelTrainer(TrainingParameters, Map<String, String>) - 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
 
getShortDescription() - Method in class opennlp.tools.cmdline.chunker.ChunkerCrossValidatorTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.chunker.ChunkerEvaluatorTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.chunker.ChunkerMETool
 
getShortDescription() - Method in class opennlp.tools.cmdline.chunker.ChunkerTrainerTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.dictionary.DictionaryBuilderTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.doccat.DoccatCrossValidatorTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.doccat.DoccatEvaluatorTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.doccat.DoccatTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.doccat.DoccatTrainerTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.entitylinker.EntityLinkerTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.langdetect.LanguageDetectorCrossValidatorTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.langdetect.LanguageDetectorEvaluatorTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.langdetect.LanguageDetectorTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.langdetect.LanguageDetectorTrainerTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.languagemodel.NGramLanguageModelTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.lemmatizer.LemmatizerEvaluatorTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.lemmatizer.LemmatizerMETool
 
getShortDescription() - Method in class opennlp.tools.cmdline.lemmatizer.LemmatizerTrainerTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.namefind.CensusDictionaryCreatorTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderCrossValidatorTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderEvaluatorTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderTrainerTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.parser.BuildModelUpdaterTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.parser.CheckModelUpdaterTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.parser.ParserEvaluatorTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.parser.ParserTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.parser.ParserTrainerTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.parser.TaggerModelReplacerTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.postag.POSTaggerCrossValidatorTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.postag.POSTaggerEvaluatorTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.postag.POSTaggerTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.postag.POSTaggerTrainerTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorCrossValidatorTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorEvaluatorTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorTrainerTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.tokenizer.DictionaryDetokenizerTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.tokenizer.SimpleTokenizerTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.tokenizer.TokenizerCrossValidatorTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.tokenizer.TokenizerMEEvaluatorTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.tokenizer.TokenizerMETool
 
getShortDescription() - Method in class opennlp.tools.cmdline.tokenizer.TokenizerTrainerTool
 
getShortestEditScript(String, String) - Static method in class opennlp.tools.util.StringUtil
 
getSignVector() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
 
getSize() - Method in class opennlp.tools.util.Sequence
 
getSource() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
 
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
 
getSpans() - Method in class opennlp.tools.formats.brat.SpanAnnotation
 
getSpanType() - Method in class opennlp.tools.namefind.RegexNameFinder
 
getStart() - Method in class opennlp.tools.util.Span
 
getStepSize() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
 
getStr(String) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
 
getStr(String, String) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
 
getStringParameter(String, String) - Method in class opennlp.tools.util.TrainingParameters
Obtains a training parameter value.
getStringParameter(String, String, String) - Method in class opennlp.tools.util.TrainingParameters
Obtains a training parameter value in the specified namespace.
getSupportedLanguages() - Method in interface opennlp.tools.langdetect.LanguageDetector
 
getSupportedLanguages() - Method in class opennlp.tools.langdetect.LanguageDetectorME
 
getSurface() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankFlex
 
getSyntacticTag() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
 
getTag() - Method in record class opennlp.tools.util.TokenTag
Deprecated, for removal: This API element is subject to removal in a future version.
getTagDictionary() - Method in class opennlp.tools.postag.POSTaggerFactory
 
getTagNodes() - Method in class opennlp.tools.parser.Parse
 
getTags() - Method in class opennlp.tools.chunker.ChunkSample
 
getTags() - Method in class opennlp.tools.formats.masc.MascPennTagParser
 
getTags() - Method in class opennlp.tools.formats.masc.MascSentence
 
getTags() - Method in class opennlp.tools.lemmatizer.LemmaSample
 
getTags() - Method in class opennlp.tools.postag.POSSample
 
getTags(String) - Method in class opennlp.tools.postag.POSDictionary
Returns a list of valid tags for the specified word.
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
 
getTestSampleStream() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner.TrainingSampleStream
Retrieves the ObjectStream over the test/evaluations elements and poisons this CrossValidationPartitioner.TrainingSampleStream.
getText() - Method in class opennlp.tools.doccat.DocumentSample
 
getText() - Method in class opennlp.tools.formats.ad.ADSentenceStream.Sentence
 
getText() - Method in class opennlp.tools.formats.brat.BratDocument
 
getText() - Method in class opennlp.tools.parser.Parse
 
getText() - Method in class opennlp.tools.tokenize.TokenSample
 
getTextComment() - Method in class opennlp.tools.formats.conllu.ConlluSentence
 
getTextLang() - Method in class opennlp.tools.formats.conllu.ConlluSentence
 
getToken() - Method in record class opennlp.tools.util.TokenTag
Deprecated, for removal: This API element is subject to removal in a future version.
getToken(int) - Method in class opennlp.tools.util.StringList
 
getTokenCount() - Method in class opennlp.tools.cmdline.namefind.NameSampleCountersStream
 
getTokenId() - Method in class opennlp.tools.formats.masc.MascToken
 
getTokenNodes() - Method in class opennlp.tools.parser.Parse
 
getTokenProbabilities() - Method in class opennlp.tools.tokenize.TokenizerME
 
getTokens() - Method in record class opennlp.tools.dictionary.serializer.Entry
Deprecated, for removal: This API element is subject to removal in a future version.
getTokens() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
 
getTokens() - Method in class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtSentence
 
getTokens() - Method in class opennlp.tools.lemmatizer.LemmaSample
 
getTokenSample() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
 
getTokenSpans() - Method in class opennlp.tools.tokenize.TokenSample
 
getTokensSpans() - Method in class opennlp.tools.formats.masc.MascSentence
Retrieves the boundaries of individual tokens.
getTokenStrings() - Method in class opennlp.tools.formats.masc.MascSentence
 
getTokenText() - Method in class opennlp.tools.formats.masc.MascSentence
 
getTokenToQuarks() - Method in class opennlp.tools.formats.masc.MascPennTagParser
 
getTrainerType(TrainingParameters) - Static method in class opennlp.tools.ml.TrainerFactory
getTranslation() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
 
getTranslit() - Method in class opennlp.tools.formats.conllu.ConlluSentence
 
getType() - Method in class opennlp.tools.formats.brat.BratAnnotation
 
getType() - Method in interface opennlp.tools.namefind.RegexNameFinderFactory.RegexAble
 
getType() - Method in class opennlp.tools.parser.Parse
 
getType() - Method in class opennlp.tools.util.Span
 
getTypeClass(String) - Method in class opennlp.tools.formats.brat.AnnotationConfiguration
 
getValue() - Method in class opennlp.tools.formats.brat.AttributeAnnotation
 
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.
getValueAtCurr() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
 
getValueAtNext() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
 
getValues() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
 
getValues() - Method in interface opennlp.tools.ml.model.DataIndexer
 
getValues() - Method in class opennlp.tools.ml.model.Event
 
getValues() - Method in class opennlp.tools.ml.model.OnePassRealValueDataIndexer
 
getVersion() - Method in class opennlp.tools.util.model.BaseModel
 
getVocabulary() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesEvalParameters
 
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
 
getWordLines() - Method in class opennlp.tools.formats.conllu.ConlluSentence
 
GISModel - Class in opennlp.tools.ml.maxent
A maximum entropy model which has been trained using the Generalized Iterative Scaling (GIS) procedure.
GISModel(Context[], String[], String[]) - Constructor for class opennlp.tools.ml.maxent.GISModel
Initializes a GISModel with the specified parameters, outcome names, and predicate/feature labels.
GISModel(Context[], String[], String[], Prior) - Constructor for class opennlp.tools.ml.maxent.GISModel
Initializes a GISModel with the specified parameters, outcome names, and predicate/feature labels.
GISModelReader - Class in opennlp.tools.ml.maxent.io
The base class for readers of GIS models.
GISModelReader(File) - Constructor for class opennlp.tools.ml.maxent.io.GISModelReader
Initializes a GISModelReader via a File.
GISModelReader(DataReader) - Constructor for class opennlp.tools.ml.maxent.io.GISModelReader
Initializes a GISModelReader via a DataReader.
GISModelWriter - Class in opennlp.tools.ml.maxent.io
The base class for writers of GIS models.
GISModelWriter(AbstractModel) - Constructor for class opennlp.tools.ml.maxent.io.GISModelWriter
Initializes a GISModelWriter for a GIS model.
GISTrainer - Class in opennlp.tools.ml.maxent
An implementation of Generalized Iterative Scaling (GIS).
GISTrainer() - Constructor for class opennlp.tools.ml.maxent.GISTrainer
Initializes a GISTrainer.
Glove - Class in opennlp.tools.util.wordvector
GloVe is an unsupervised learning algorithm for obtaining vector representations for words.
gradientAt(double[]) - Method in interface opennlp.tools.ml.maxent.quasinewton.Function
 
gradientAt(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
Computes the gradient.
gradientAt(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.ParallelNegLogLikelihood
Computes the gradient.
gradientAt(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer.L2RegFunction
 
GREEK - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
 
greekStemmer - Class in opennlp.tools.stemmer.snowball
This class was automatically generated by a Snowball to Java compiler It implements the stemming algorithm defined by a snowball script.
greekStemmer() - Constructor for class opennlp.tools.stemmer.snowball.greekStemmer
 

H

hashCode() - Method in class opennlp.tools.chunker.ChunkSample
 
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 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 record class opennlp.tools.langdetect.ProbingLanguageDetectionResult
Returns a hash code value for this object.
hashCode() - Method in class opennlp.tools.lemmatizer.LemmaSample
 
hashCode() - Method in class opennlp.tools.ml.maxent.GISModel
 
hashCode() - Method in class opennlp.tools.ml.model.AbstractModel
 
hashCode() - Method in class opennlp.tools.ml.model.ComparableEvent
 
hashCode() - Method in class opennlp.tools.ml.model.ComparablePredicate
 
hashCode() - Method in class opennlp.tools.ml.model.Context
 
hashCode() - Method in class opennlp.tools.ml.model.EvalParameters
 
hashCode() - Method in class opennlp.tools.ml.model.UniformPrior
 
hashCode() - Method in class opennlp.tools.ml.perceptron.PerceptronModel
 
hashCode() - Method in class opennlp.tools.namefind.NameSample
 
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.Parse
 
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.postag.POSSample
 
hashCode() - Method in class opennlp.tools.sentdetect.SentenceSample
 
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.greekStemmer
 
hashCode() - Method in class opennlp.tools.stemmer.snowball.indonesianStemmer
 
hashCode() - Method in class opennlp.tools.stemmer.snowball.irishStemmer
 
hashCode() - Method in class opennlp.tools.tokenize.TokenizerModel
 
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 class opennlp.tools.util.StringList
 
hashCode() - Method in record class opennlp.tools.util.TokenTag
Returns a hash code value for this object.
hashCode() - Method in class opennlp.tools.util.Version
 
HashSumEventStream - Class in opennlp.tools.ml.model
A hash sum based AbstractObjectStream implementation.
HashSumEventStream(ObjectStream<Event>) - Constructor for class opennlp.tools.ml.model.HashSumEventStream
 
hasNamedEntities() - Method in class opennlp.tools.formats.masc.MascDocument
Checks whether there is NER by GATE-5.0 ANNIE.
hasNext() - Method in interface opennlp.tools.ml.maxent.DataStream
Test whether there are any events remaining in this DataStream.
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.
hasNext() - Method in class opennlp.tools.util.ReverseListIterator
 
hasParams() - Method in class opennlp.tools.cmdline.tokenizer.SimpleTokenizerTool
 
hasPennTags() - Method in class opennlp.tools.formats.masc.MascDocument
Checks whether there is Penn tagging produced by GATE-5.0 ANNIE.
HeadRules - Class in opennlp.tools.parser.lang.en
Class for storing the English HeadRules associated with parsing.
HeadRules - Interface in opennlp.tools.parser
Encoder for head rules 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(String) - Constructor for class opennlp.tools.parser.lang.en.HeadRules
Deprecated.
Use HeadRules(Reader) instead.
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
 

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 class opennlp.tools.parser.AbstractBottomUpParser
The label for the top if an incomplete node.
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(ObjectStream<Event>) - Method in interface opennlp.tools.ml.model.DataIndexer
Performs the data indexing.
index(ObjectStream<Event>) - Method in class opennlp.tools.ml.model.OnePassDataIndexer
Performs the data indexing.
index(ObjectStream<Event>) - Method in class opennlp.tools.ml.model.TwoPassDataIndexer
Performs the data indexing.
Index - Class in opennlp.tools.dictionary
This classes indexes string lists.
Index(Iterator<StringList>) - Constructor for class opennlp.tools.dictionary.Index
Initializes an Index with the given Iterator over StringList elements.
indexOf(Parse) - Method in class opennlp.tools.parser.Parse
 
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
 
init(EntityLinkerProperties) - Method in interface opennlp.tools.entitylinker.EntityLinker
Initializes an EntityLinker and allows for passing properties through the EntityLinkerFactory into all impls dynamically.
init(TrainingParameters, Map<String, String>) - Method in interface opennlp.tools.commons.Trainer
Conducts the initialization of an Trainer via TrainingParameters and a report map.
init(TrainingParameters, Map<String, String>) - Method in class opennlp.tools.ml.AbstractTrainer
init(TrainingParameters, Map<String, String>) - Method in class opennlp.tools.ml.maxent.GISTrainer
init(TrainingParameters, Map<String, String>) - Method in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
 
init(TrainingParameters, Map<String, String>) - Method in class opennlp.tools.ml.model.AbstractDataIndexer
Sets parameters used during the data indexing.
init(TrainingParameters, Map<String, String>) - Method in interface opennlp.tools.ml.model.DataIndexer
Sets parameters used during the data indexing.
INITIAL_STEP_SIZE - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
 
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(Entry) - Method in interface opennlp.tools.dictionary.serializer.EntryInserter
 
insert(Parse) - Method in class opennlp.tools.parser.Parse
Inserts the specified constituent into this parse based on its text span.
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.
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.
instantiateSequenceCodec(String) - Static method in class opennlp.tools.namefind.TokenNameFinderFactory
Initializes a SequenceCodec instance via given parameters.
InsufficientTrainingDataException - Exception in opennlp.tools.util
This exception indicates that the provided training data is insufficient to train a desired model.
InsufficientTrainingDataException(String) - Constructor for exception opennlp.tools.util.InsufficientTrainingDataException
 
InsufficientTrainingDataException(String, Throwable) - Constructor for exception opennlp.tools.util.InsufficientTrainingDataException
 
InsufficientTrainingDataException(Throwable) - Constructor for exception opennlp.tools.util.InsufficientTrainingDataException
 
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 in opennlp.tools.util
This exception indicates that a resource violates the expected data format.
InvalidFormatException(String) - Constructor for exception opennlp.tools.util.InvalidFormatException
 
InvalidFormatException(String, Throwable) - Constructor for exception opennlp.tools.util.InvalidFormatException
 
InvalidFormatException(Throwable) - Constructor for exception opennlp.tools.util.InvalidFormatException
 
invL2norm(double[]) - Static method in class opennlp.tools.ml.ArrayMath
Computes the Inverse L2-norm for a vector v.
IRISH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
 
IrishSentenceBankDocument - Class in opennlp.tools.formats.irishsentencebank
A structure to hold an Irish Sentence Bank document, which is a collection of tokenized sentences.
IrishSentenceBankDocument() - Constructor for class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument
Initializes an empty IrishSentenceBankDocument.
IrishSentenceBankDocument.IrishSentenceBankFlex - Class in opennlp.tools.formats.irishsentencebank
 
IrishSentenceBankDocument.IrishSentenceBankSentence - Class in opennlp.tools.formats.irishsentencebank
 
IrishSentenceBankFlex(String, String[]) - Constructor for class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankFlex
 
IrishSentenceBankSentence(String, String, String, Span[], IrishSentenceBankDocument.IrishSentenceBankFlex[]) - Constructor for class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
 
IrishSentenceBankSentenceStreamFactory<P> - Class in opennlp.tools.formats.irishsentencebank
 
IrishSentenceBankTokenSampleStreamFactory<P> - Class in opennlp.tools.formats.irishsentencebank
 
irishStemmer - Class in opennlp.tools.stemmer.snowball
This class was automatically generated by a Snowball to Java compiler It 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.postag.POSDictionary
 
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
 
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.
isInitialCapitalLetter() - Method in class opennlp.tools.util.featuregen.StringPattern
 
isLarger(Probability<T>) - Method in class opennlp.tools.ml.naivebayes.LogProbability
 
isLarger(Probability<T>) - Method in class opennlp.tools.ml.naivebayes.Probability
Checks if a probability is greater than the old one.
isLeaf() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
 
isLeaf() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
 
isLoadedFromSerialized() - Method in interface opennlp.tools.util.model.ArtifactProvider
Indicates if this provider was loaded from a serialized form.
isLoadedFromSerialized() - Method in class opennlp.tools.util.model.BaseModel
 
isNewDocument() - Method in class opennlp.tools.formats.conllu.ConlluSentence
 
isNewParagraph() - Method in class opennlp.tools.formats.conllu.ConlluSentence
 
isPosTag() - Method in class opennlp.tools.parser.Parse
Indicates whether this parse node is a pos-tag.
isSnapshot() - Method in class opennlp.tools.util.Version
 
isSortAndMerge() - Method in class opennlp.tools.ml.AbstractEventTrainer
 
isSortAndMerge() - Method in class opennlp.tools.ml.maxent.GISTrainer
isSortAndMerge() - Method in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
 
isSortAndMerge() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
 
isSortAndMerge() - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
 
isUseAlphaNumericOptimization() - Method in class opennlp.tools.tokenize.TokenizerFactory
 
isUseTokenEnd() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
 
isValid(TrainingParameters) - Static method in class opennlp.tools.ml.TrainerFactory
 
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.
IT - Enum constant in enum class opennlp.tools.formats.EvalitaNameSampleStream.LANGUAGE
 
ITALIAN - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
 
ITERATIONS_DEFAULT - Static variable in class opennlp.tools.ml.AbstractTrainer
 
ITERATIONS_DEFAULT_VALUE - Static variable in class opennlp.tools.util.TrainingParameters
 
ITERATIONS_PARAM - Static variable in class opennlp.tools.ml.AbstractTrainer
 
ITERATIONS_PARAM - Static variable in class opennlp.tools.util.TrainingParameters
 
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

L1COST_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
 
L1COST_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
 
L1COST_PARAM - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
 
l1norm(double[]) - Static method in class opennlp.tools.ml.ArrayMath
Computes the L1-norm for a vector v.
L2COST_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
 
L2COST_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
 
L2COST_PARAM - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
 
l2norm(double[]) - Static method in class opennlp.tools.ml.ArrayMath
Computes the L2-norm for a vector v.
L2RegFunction(Function, double) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNMinimizer.L2RegFunction
 
labelGaps(Stack<Constituent>) - Method in interface opennlp.tools.parser.GapLabeler
Labels constituents found in the stack with gap labels if appropriate.
labelGaps(Stack<Constituent>) - Method in class opennlp.tools.parser.lang.en.HeadRules
 
labelGaps(Stack<Constituent>) - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
 
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
 
LanguageDetector - Interface in opennlp.tools.langdetect
The interface for LanguageDetector which predicts the Language for a context.
LanguageDetectorConfig - Class in opennlp.tools.langdetect
 
LanguageDetectorConfig() - Constructor for class opennlp.tools.langdetect.LanguageDetectorConfig
 
LanguageDetectorContextGenerator - Interface in opennlp.tools.langdetect
A context generator interface for LanguageDetector.
LanguageDetectorConverterTool - Class in opennlp.tools.cmdline.langdetect
Tool to convert multiple data formats into native OpenNLP language detection training format.
LanguageDetectorConverterTool() - Constructor for class opennlp.tools.cmdline.langdetect.LanguageDetectorConverterTool
 
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.
LanguageDetectorCrossValidatorTool - Class in opennlp.tools.cmdline.langdetect
 
LanguageDetectorCrossValidatorTool() - Constructor for class opennlp.tools.cmdline.langdetect.LanguageDetectorCrossValidatorTool
 
LanguageDetectorEvaluationErrorListener - Class in opennlp.tools.cmdline.langdetect
A default implementation of EvaluationMonitor that prints to an output stream.
LanguageDetectorEvaluationErrorListener() - Constructor for class opennlp.tools.cmdline.langdetect.LanguageDetectorEvaluationErrorListener
Creates a listener that will print to the configured logger.
LanguageDetectorEvaluationErrorListener(OutputStream) - Constructor for class opennlp.tools.cmdline.langdetect.LanguageDetectorEvaluationErrorListener
Creates a listener that will print to a given OutputStream
LanguageDetectorEvaluationMonitor - Interface in opennlp.tools.langdetect
A marker interface for evaluating language detectors.
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.
LanguageDetectorEvaluatorTool - Class in opennlp.tools.cmdline.langdetect
A default LanguageSample-centric implementation of AbstractEvaluatorTool that prints to an output stream.
LanguageDetectorEvaluatorTool() - Constructor for class opennlp.tools.cmdline.langdetect.LanguageDetectorEvaluatorTool
 
LanguageDetectorEventStream - Class in opennlp.tools.langdetect
Iterator-like class for modeling an event stream of samples.
LanguageDetectorEventStream(ObjectStream<LanguageSample>, 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
 
LanguageDetectorFineGrainedReportListener - Class in opennlp.tools.cmdline.langdetect
Generates a detailed report for the POS Tagger.
LanguageDetectorFineGrainedReportListener() - Constructor for class opennlp.tools.cmdline.langdetect.LanguageDetectorFineGrainedReportListener
Creates a listener that will print to System.err
LanguageDetectorFineGrainedReportListener(OutputStream) - Constructor for class opennlp.tools.cmdline.langdetect.LanguageDetectorFineGrainedReportListener
Creates a listener that prints to a given OutputStream
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<String, String>, LanguageDetectorFactory) - Constructor for class opennlp.tools.langdetect.LanguageDetectorModel
Initializes a LanguageDetectorModel instance via given parameters.
LanguageDetectorModelLoader - Class in opennlp.tools.cmdline.langdetect
Loads a LanguageDetectorModel for the command line tools.
LanguageDetectorModelLoader() - Constructor for class opennlp.tools.cmdline.langdetect.LanguageDetectorModelLoader
 
LanguageDetectorSampleStream - Class in opennlp.tools.langdetect
This class reads in string encoded training samples, parses them and outputs LanguageSample objects.
LanguageDetectorSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.langdetect.LanguageDetectorSampleStream
Initializes a instance.
LanguageDetectorSampleStreamFactory<P> - Class in opennlp.tools.formats
Factory producing OpenNLP DocumentSampleStreams.
LanguageDetectorTool - Class in opennlp.tools.cmdline.langdetect
 
LanguageDetectorTool() - Constructor for class opennlp.tools.cmdline.langdetect.LanguageDetectorTool
 
LanguageDetectorTrainerTool - Class in opennlp.tools.cmdline.langdetect
 
LanguageDetectorTrainerTool() - Constructor for class opennlp.tools.cmdline.langdetect.LanguageDetectorTrainerTool
 
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
 
languages() - Method in record class opennlp.tools.langdetect.ProbingLanguageDetectionResult
Returns the value of the languages record component.
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.
LanguageSampleStreamFactory<T,P> - Class in opennlp.tools.formats
Stream factory for those streams which carry language.
LAST - Static variable in class opennlp.tools.namefind.BilouCodec
 
Leaf() - Constructor for class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
 
LeipzigLanguageSampleStream - Class in opennlp.tools.formats.leipzig
 
LeipzigLanguageSampleStream(File, int, int) - Constructor for class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStream
LeipzigLanguageSampleStreamFactory<P> - Class in opennlp.tools.formats.leipzig
Note: Do not use this class, internal use only!
LEMMA_NUMBER - Static variable in class opennlp.tools.lemmatizer.LemmatizerME
 
LemmaEvaluationErrorListener - Class in opennlp.tools.cmdline.lemmatizer
A default implementation of EvaluationMonitor that prints to an output stream.
LemmaEvaluationErrorListener() - Constructor for class opennlp.tools.cmdline.lemmatizer.LemmaEvaluationErrorListener
Creates a listener that will print to the configured logger.
LemmaEvaluationErrorListener(OutputStream) - Constructor for class opennlp.tools.cmdline.lemmatizer.LemmaEvaluationErrorListener
Creates a listener that will print to a given OutputStream
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.
LemmaSampleEventStream - Class in opennlp.tools.lemmatizer
Class for creating an event stream out of data files for training a probabilistic Lemmatizer.
LemmaSampleEventStream(ObjectStream<LemmaSample>, 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<LemmaSample>, LemmatizerContextGenerator) - Constructor for class opennlp.tools.lemmatizer.LemmaSampleSequenceStream
 
LemmaSampleStream - Class in opennlp.tools.lemmatizer
Reads data for training and testing the Lemmatizer.
LemmaSampleStream(ObjectStream<String>) - 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 interface opennlp.tools.lemmatizer.Lemmatizer
Generates lemmas for the word and postag.
lemmatize(String[], String[]) - Method in class opennlp.tools.lemmatizer.LemmatizerME
 
lemmatize(List<String>, List<String>) - Method in class opennlp.tools.lemmatizer.DictionaryLemmatizer
 
lemmatize(List<String>, List<String>) - Method in interface opennlp.tools.lemmatizer.Lemmatizer
Generates lemma tags for the word and postag.
lemmatize(List<String>, List<String>) - Method in class opennlp.tools.lemmatizer.LemmatizerME
 
Lemmatizer - Interface in opennlp.tools.lemmatizer
The common interface for lemmatizers.
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.
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.
LemmatizerEvaluatorTool - Class in opennlp.tools.cmdline.lemmatizer
A default LemmaSample-centric implementation of AbstractEvaluatorTool that prints to an output stream.
LemmatizerEvaluatorTool() - Constructor for class opennlp.tools.cmdline.lemmatizer.LemmatizerEvaluatorTool
 
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.
LemmatizerFineGrainedReportListener - Class in opennlp.tools.cmdline.lemmatizer
Generates a detailed report for the Lemmatizer.
LemmatizerFineGrainedReportListener() - Constructor for class opennlp.tools.cmdline.lemmatizer.LemmatizerFineGrainedReportListener
Creates a listener that will print to the configured logger.
LemmatizerFineGrainedReportListener(OutputStream) - Constructor for class opennlp.tools.cmdline.lemmatizer.LemmatizerFineGrainedReportListener
Creates a listener that prints to a given OutputStream
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.
LemmatizerMETool - Class in opennlp.tools.cmdline.lemmatizer
 
LemmatizerMETool() - Constructor for class opennlp.tools.cmdline.lemmatizer.LemmatizerMETool
 
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<String, String>, LemmatizerFactory) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
Initializes a LemmatizerModel instance via given parameters.
LemmatizerModel(String, MaxentModel, Map<String, String>, 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<String>, Map<String, String>, 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.
LemmatizerModelLoader - Class in opennlp.tools.cmdline.lemmatizer
Loads a LemmatizerModel for the command line tools.
LemmatizerModelLoader() - Constructor for class opennlp.tools.cmdline.lemmatizer.LemmatizerModelLoader
 
LemmatizerSampleStreamFactory<P> - Class in opennlp.tools.formats
Factory producing OpenNLP LemmaSampleStreams.
LemmatizerTrainerTool - Class in opennlp.tools.cmdline.lemmatizer
 
LemmatizerTrainerTool() - Constructor for class opennlp.tools.cmdline.lemmatizer.LemmatizerTrainerTool
 
length() - Method in record class opennlp.tools.langdetect.ProbingLanguageDetectionResult
Returns the value of the length record component.
length() - Method in class opennlp.tools.util.Span
 
LetsmtDocument - Class in opennlp.tools.formats.letsmt
A structure to hold the letsmt document.
LetsmtDocument.LetsmtDocumentHandler - Class in opennlp.tools.formats.letsmt
A content handler to receive and process SAX events.
LetsmtDocument.LetsmtSentence - Class in opennlp.tools.formats.letsmt
 
LetsmtDocumentHandler() - Constructor for class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtDocumentHandler
 
LetsmtSentence() - Constructor for class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtSentence
 
LetsmtSentenceStreamFactory<P> - Class in opennlp.tools.formats.letsmt
 
levenshteinDistance(String, String) - Static method in class opennlp.tools.util.StringUtil
Computes the Levenshtein distance of two strings in a matrix.
LineSearch - Class in opennlp.tools.ml.maxent.quasinewton
Class that performs line search to find minimum.
LineSearch() - Constructor for class opennlp.tools.ml.maxent.quasinewton.LineSearch
 
LineSearch.LineSearchResult - Class in opennlp.tools.ml.maxent.quasinewton
Represents a LineSearch result.
LineSearchResult(double, double, double, double[], double[], double[], double[], double[], double[], int) - Constructor for class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
Constructor with sign vector
LineSearchResult(double, double, double, double[], double[], double[], double[], int) - Constructor for class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
Constructor
LinkedSpan<T extends BaseLink> - 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.
loadResources(File, File) - Static method in class opennlp.tools.cmdline.namefind.TokenNameFinderTrainerTool
Load the resources, such as dictionaries, by reading the feature xml descriptor and looking into the directory passed as argument.
LOG_LIKELIHOOD_THRESHOLD_DEFAULT - Static variable in class opennlp.tools.ml.maxent.GISTrainer
 
LOG_LIKELIHOOD_THRESHOLD_PARAM - Static variable in class opennlp.tools.ml.maxent.GISTrainer
 
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.
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[]) - Method in class opennlp.tools.ml.model.UniformPrior
 
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[], int[], float[]) - Method in class opennlp.tools.ml.model.UniformPrior
 
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.
logPrior(double[], Context[], float[]) - Method in class opennlp.tools.ml.model.UniformPrior
 
LogProbabilities<T> - Class in opennlp.tools.ml.naivebayes
Class implementing the probability distribution over labels returned by a classifier as a log of probabilities.
LogProbabilities() - Constructor for class opennlp.tools.ml.naivebayes.LogProbabilities
 
LogProbability<T> - Class in opennlp.tools.ml.naivebayes
A class implementing the logarithmic Probability for a label.
LogProbability(T) - Constructor for class opennlp.tools.ml.naivebayes.LogProbability
 
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.
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

M_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
 
M_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
 
M_PARAM - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
 
MarkableFileInputStreamFactory - Class in opennlp.tools.util
A factory that creates MarkableFileInputStream from a File
MarkableFileInputStreamFactory(File) - Constructor for class opennlp.tools.util.MarkableFileInputStreamFactory
MASC_FORMAT - Static variable in class opennlp.tools.formats.masc.MascNamedEntitySampleStreamFactory
 
MASC_FORMAT - Static variable in class opennlp.tools.formats.masc.MascPOSSampleStreamFactory
 
MASC_FORMAT - Static variable in class opennlp.tools.formats.masc.MascSentenceSampleStreamFactory
 
MASC_FORMAT - Static variable in class opennlp.tools.formats.masc.MascTokenSampleStreamFactory
 
MascDocument - Class in opennlp.tools.formats.masc
 
MascDocument(String, List<MascSentence>) - Constructor for class opennlp.tools.formats.masc.MascDocument
 
MascDocumentStream - Class in opennlp.tools.formats.masc
 
MascDocumentStream(File) - Constructor for class opennlp.tools.formats.masc.MascDocumentStream
 
MascDocumentStream(File, boolean, FileFilter) - Constructor for class opennlp.tools.formats.masc.MascDocumentStream
Creates a MascDocumentStream to read the documents from a given directory.
MascNamedEntityParser - Class in opennlp.tools.formats.masc
A class to process the MASC Named entity stand-off annotation file
MascNamedEntityParser() - Constructor for class opennlp.tools.formats.masc.MascNamedEntityParser
 
MascNamedEntitySampleStream - Class in opennlp.tools.formats.masc
 
MascNamedEntitySampleStream(ObjectStream<MascDocument>) - Constructor for class opennlp.tools.formats.masc.MascNamedEntitySampleStream
Initializes MascNamedEntitySampleStream from a stream of documents.
MascNamedEntitySampleStreamFactory<P> - Class in opennlp.tools.formats.masc
 
MascPennTagParser - Class in opennlp.tools.formats.masc
A class for parsing MASC's Penn tagging/tokenization stand-off annotation
MascPennTagParser() - Constructor for class opennlp.tools.formats.masc.MascPennTagParser
 
MascPOSSampleStream - Class in opennlp.tools.formats.masc
 
MascPOSSampleStream(ObjectStream<MascDocument>) - Constructor for class opennlp.tools.formats.masc.MascPOSSampleStream
Initializes MascPOSSampleStream from a stream of documents.
MascPOSSampleStreamFactory<P> - Class in opennlp.tools.formats.masc
 
MascSentence - Class in opennlp.tools.formats.masc
 
MascSentence(int, int, String, List<MascWord>, List<MascWord>) - Constructor for class opennlp.tools.formats.masc.MascSentence
Initializes a MascSentence containing its associated text and quarks
MascSentenceSampleStream - Class in opennlp.tools.formats.masc
 
MascSentenceSampleStream(ObjectStream<MascDocument>, int) - Constructor for class opennlp.tools.formats.masc.MascSentenceSampleStream
 
MascSentenceSampleStreamFactory<P> - Class in opennlp.tools.formats.masc
 
MascToken - Class in opennlp.tools.formats.masc
A specialized Span to express tokens in documents.
MascToken(int, int, int, String, String, MascWord[]) - Constructor for class opennlp.tools.formats.masc.MascToken
Initializes a MascToken which may combine multiple quarks.
MascTokenSampleStream - Class in opennlp.tools.formats.masc
 
MascTokenSampleStream(ObjectStream<MascDocument>) - Constructor for class opennlp.tools.formats.masc.MascTokenSampleStream
Initializes a MascTokenSampleStream.
MascTokenSampleStreamFactory<P> - Class in opennlp.tools.formats.masc
 
MascWord - Class in opennlp.tools.formats.masc
 
MascWord(int, int, int) - Constructor for class opennlp.tools.formats.masc.MascWord
Holds one of MASC's quarks, that is: basic-level units (may be sub-word).
max(double[]) - Static method in class opennlp.tools.ml.ArrayMath
Finds the maximum element in a vector x.
MAX_FCT_EVAL_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
 
MAX_FCT_EVAL_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
 
MAX_FCT_EVAL_PARAM - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
 
Maxent - Enum constant in enum class opennlp.tools.ml.model.AbstractModel.ModelType
 
MAXENT - Enum constant in enum class opennlp.tools.util.model.ModelType
 
MAXENT_QN_VALUE - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
 
MAXENT_VALUE - Static variable in class opennlp.tools.ml.maxent.GISTrainer
 
MaxentModel - Interface in opennlp.tools.ml.model
Interface for maximum entropy models.
MaxentQn - Enum constant in enum class opennlp.tools.ml.model.AbstractModel.ModelType
 
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.
mergeReportIntoManifest(Map<String, String>, Map<String, String>, String) - Static method in class opennlp.tools.parser.chunking.Parser
 
META_LABEL_FINAL - Static variable in class opennlp.tools.formats.ad.ADSentenceStream.Sentence
 
methodObject - Static variable in class opennlp.tools.stemmer.snowball.indonesianStemmer
 
MGRS - Enum constant in enum class opennlp.tools.namefind.RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER
 
MIN_STEP_SIZE - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
 
minimize(Function) - Method in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
Finds the parameters that minimize the objective function.
misclassified(ChunkSample, ChunkSample) - Method in class opennlp.tools.cmdline.chunker.ChunkEvaluationErrorListener
 
misclassified(DocumentSample, DocumentSample) - Method in class opennlp.tools.cmdline.doccat.DoccatEvaluationErrorListener
 
misclassified(DocumentSample, DocumentSample) - Method in class opennlp.tools.cmdline.doccat.DoccatFineGrainedReportListener
 
misclassified(LanguageSample, LanguageSample) - Method in class opennlp.tools.cmdline.langdetect.LanguageDetectorEvaluationErrorListener
 
misclassified(LanguageSample, LanguageSample) - Method in class opennlp.tools.cmdline.langdetect.LanguageDetectorFineGrainedReportListener
 
misclassified(LemmaSample, LemmaSample) - Method in class opennlp.tools.cmdline.lemmatizer.LemmaEvaluationErrorListener
 
misclassified(LemmaSample, LemmaSample) - Method in class opennlp.tools.cmdline.lemmatizer.LemmatizerFineGrainedReportListener
 
misclassified(NameSample, NameSample) - Method in class opennlp.tools.cmdline.namefind.NameEvaluationErrorListener
 
misclassified(NameSample, NameSample) - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderFineGrainedReportListener
 
misclassified(POSSample, POSSample) - Method in class opennlp.tools.cmdline.postag.POSEvaluationErrorListener
 
misclassified(POSSample, POSSample) - Method in class opennlp.tools.cmdline.postag.POSTaggerFineGrainedReportListener
 
misclassified(SentenceSample, SentenceSample) - Method in class opennlp.tools.cmdline.sentdetect.SentenceEvaluationErrorListener
 
misclassified(TokenSample, TokenSample) - Method in class opennlp.tools.cmdline.tokenizer.DetokenEvaluationErrorListener
 
misclassified(TokenSample, TokenSample) - Method in class opennlp.tools.cmdline.tokenizer.TokenEvaluationErrorListener
 
misclassified(T, T) - Method in interface opennlp.tools.util.eval.EvaluationMonitor
 
ModelParameterChunker - Class in opennlp.tools.ml.model
A helper class that handles Strings with more than 64k (65535 bytes) in length.
ModelType - Enum Class in opennlp.tools.util.model
Enumeration of supported model types.
ModelUtil - Class in opennlp.tools.util.model
Utility class for handling of models.
MosesSentenceSampleStream - Class in opennlp.tools.formats.moses
 
MosesSentenceSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.moses.MosesSentenceSampleStream
MosesSentenceSampleStreamFactory<P> - Class in opennlp.tools.formats.moses
Factory producing OpenNLP MosesSentenceSampleStream objects.
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.
Muc6NameSampleStreamFactory - Class in opennlp.tools.formats.muc
 
MucNameContentHandler - Class in opennlp.tools.formats.muc
 
MucNameContentHandler(Tokenizer, List<NameSample>) - Constructor for class opennlp.tools.formats.muc.MucNameContentHandler
Initializes a MucNameContentHandler.
MucNameSampleStream - Class in opennlp.tools.formats.muc
 
MutableContext - Class in opennlp.tools.ml.model
An extension of Context used to store parameters or expected values associated with this context which can be updated or assigned.
MutableContext(int[], double[]) - Constructor for class opennlp.tools.ml.model.MutableContext
Creates a new parameters object with the specified parameters associated with the specified outcome pattern.
MutableInt - Class in opennlp.tools.util
This is a non-thread safe mutable int.
MutableInt(int) - Constructor for class opennlp.tools.util.MutableInt
 
MutableTagDictionary - Interface in opennlp.tools.postag
Interface that allows TagDictionary entries to be added and removed.

N

NAIVE_BAYES_VALUE - Static variable in class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
 
NaiveBayes - Enum constant in enum class opennlp.tools.ml.model.AbstractModel.ModelType
 
NaiveBayesEvalParameters - Class in opennlp.tools.ml.naivebayes
Specialized parameters for the evaluation of a naive bayes classifier
NaiveBayesEvalParameters(Context[], int, double[], long) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesEvalParameters
 
NaiveBayesModel - Class in opennlp.tools.ml.naivebayes
A MaxentModel implementation of the multinomial Naive Bayes classifier model.
NaiveBayesModel(Context[], String[], String[]) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesModel
Initializes a NaiveBayesModel.
NaiveBayesModelReader - Class in opennlp.tools.ml.naivebayes
The base class for readers of models.
NaiveBayesModelReader(File) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesModelReader
Initializes a NaiveBayesModelReader via a File.
NaiveBayesModelReader(DataReader) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesModelReader
Initializes a NaiveBayesModelReader via a DataReader.
NaiveBayesModelWriter - Class in opennlp.tools.ml.naivebayes
The base class for NaiveBayesModel writers.
NaiveBayesModelWriter(AbstractModel) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesModelWriter
NaiveBayesTrainer - Class in opennlp.tools.ml.naivebayes
Trains models using the combination of EM algorithm and Naive Bayes classifier which is described in:
NaiveBayesTrainer() - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
Instantiates a NaiveBayesTrainer with default training parameters.
NaiveBayesTrainer(TrainingParameters) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
Instantiates a NaiveBayesTrainer with specific TrainingParameters.
name - Variable in class opennlp.tools.ml.model.ComparablePredicate
 
NAME_FINDER - Enum constant in enum class opennlp.tools.util.DownloadUtil.ModelType
 
NameContextGenerator - Interface in opennlp.tools.namefind
Interface for generating the context for a name finder by specifying a set of feature generators.
NameEvaluationErrorListener - Class in opennlp.tools.cmdline.namefind
A default implementation of EvaluationMonitor that prints to an output stream.
NameEvaluationErrorListener() - Constructor for class opennlp.tools.cmdline.namefind.NameEvaluationErrorListener
Creates a listener that will print to the configured logger.
NameEvaluationErrorListener(OutputStream) - Constructor for class opennlp.tools.cmdline.namefind.NameEvaluationErrorListener
Creates a listener that will print to a given OutputStream.
NameFinderCensus90NameStream - Class in opennlp.tools.formats
This class helps to read the US Census data from the files to build a StringList for each dictionary entry in the name-finder dictionary.
NameFinderCensus90NameStream(InputStreamFactory, Charset) - Constructor for class opennlp.tools.formats.NameFinderCensus90NameStream
NameFinderCensus90NameStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.NameFinderCensus90NameStream
NameFinderEventStream - Class in opennlp.tools.namefind
Class for creating an event stream out of data files for training an TokenNameFinder.
NameFinderEventStream(ObjectStream<NameSample>, String, NameContextGenerator, SequenceCodec<String>) - 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
 
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.
NameSampleCountersStream - Class in opennlp.tools.cmdline.namefind
Counts tokens, sentences and names by type.
NameSampleDataStream - Class in opennlp.tools.namefind
The NameSampleDataStream class converts tagged strings provided by a DataStream to NameSample objects.
NameSampleDataStream(ObjectStream<String>) - Constructor for class opennlp.tools.namefind.NameSampleDataStream
Initializes a NameSampleDataStream with given psi samples.
NameSampleDataStreamFactory<P> - Class in opennlp.tools.formats
Factory producing OpenNLP NameSampleDataStreams.
NameSampleDataStreamFactory.Parameters - Interface in opennlp.tools.formats
 
NameSampleSequenceStream - Class in opennlp.tools.namefind
A SequenceStream implementation encapsulating samples.
NameSampleSequenceStream(ObjectStream<NameSample>) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
Initializes a NameSampleSequenceStream with given psi samples.
NameSampleSequenceStream(ObjectStream<NameSample>, NameContextGenerator) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
Initializes a NameSampleSequenceStream with given psi samples and an feature generator.
NameSampleSequenceStream(ObjectStream<NameSample>, NameContextGenerator, boolean) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
Initializes a NameSampleSequenceStream with given psi samples and an feature generator.
NameSampleSequenceStream(ObjectStream<NameSample>, NameContextGenerator, boolean, SequenceCodec<String>) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
Initializes a NameSampleSequenceStream with given psi samples and an feature generator.
NameSampleSequenceStream(ObjectStream<NameSample>, AdaptiveFeatureGenerator) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
Initializes a NameSampleSequenceStream with given psi samples and an feature generator.
NameSampleSequenceStream(ObjectStream<NameSample>, 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<NameSample>) - Constructor for class opennlp.tools.namefind.NameSampleTypeFilter
Initializes a NameSampleTypeFilter.
NameSampleTypeFilter(Set<String>, ObjectStream<NameSample>) - Constructor for class opennlp.tools.namefind.NameSampleTypeFilter
Initializes a NameSampleTypeFilter.
NameToSentenceSampleStream - Class in opennlp.tools.formats.convert
Note: Do not use this class, internal use only!
NameToSentenceSampleStream(Detokenizer, ObjectStream<NameSample>, int) - Constructor for class opennlp.tools.formats.convert.NameToSentenceSampleStream
NameToSentenceSampleStreamFactory<P> - Class in opennlp.tools.formats.convert
Note: Do not use this class, internal use only!
NameToTokenSampleStream - Class in opennlp.tools.formats.convert
Note: Do not use this class, internal use only!
NameToTokenSampleStream(Detokenizer, ObjectStream<NameSample>) - Constructor for class opennlp.tools.formats.convert.NameToTokenSampleStream
NameToTokenSampleStreamFactory<P> - Class in opennlp.tools.formats.convert
Note: Do not use this class, internal use only!
NegLogLikelihood - Class in opennlp.tools.ml.maxent.quasinewton
Evaluate negative log-likelihood and its gradient from DataIndexer.
NegLogLikelihood(DataIndexer) - Constructor for class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
 
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() - Method in class opennlp.tools.util.ReverseListIterator
 
NEXT_PREFIX - Static variable in class opennlp.tools.util.featuregen.WindowFeatureGenerator
 
nextIteration(int) - Method in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
 
nextToken() - Method in interface opennlp.tools.ml.maxent.DataStream
Returns the next slice of data held in this DataStream.
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.
NGramLanguageModelTool - Class in opennlp.tools.cmdline.languagemodel
Command line tool for NGramLanguageModel.
NGramLanguageModelTool() - Constructor for class opennlp.tools.cmdline.languagemodel.NGramLanguageModelTool
 
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
Initializes an empty instance.
NGramModel(InputStream) - Constructor for class opennlp.tools.ngram.NGramModel
Initializes the current instance.
NGramUtils - Class in opennlp.tools.ngram
Utility class for ngrams.
NGramUtils() - Constructor for class opennlp.tools.ngram.NGramUtils
 
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 ] ._.
NKJPSegmentationDocument - Class in opennlp.tools.formats.nkjp
 
NKJPSegmentationDocument.Pointer - Class in opennlp.tools.formats.nkjp
 
NKJPSentenceSampleStream - Class in opennlp.tools.formats.nkjp
 
NKJPSentenceSampleStreamFactory<P> - Class in opennlp.tools.formats.nkjp
 
NKJPTextDocument - Class in opennlp.tools.formats.nkjp
The National corpus of Polish (NKJP) format.
NLD - Enum constant in enum class opennlp.tools.formats.Conll02NameSampleStream.LANGUAGE
 
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.
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.
Node() - Constructor for class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Node
 
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 interface opennlp.tools.util.normalizer.CharSequenceNormalizer
Normalizes a sequence of characters.
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
 
NUM_ITERATIONS_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
 
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

ObjectDataReader - Class in opennlp.tools.ml.model
A DataReader implementation based on ObjectInputStream.
ObjectDataReader(ObjectInputStream) - Constructor for class opennlp.tools.ml.model.ObjectDataReader
Instantiates an ObjectDataReader.
ObjectStream<T> - Interface in opennlp.tools.util
Reads objects from a stream.
ObjectStreamUtils - Class in opennlp.tools.util
 
ObjectStreamUtils() - Constructor for class opennlp.tools.util.ObjectStreamUtils
 
OnePassDataIndexer - Class in opennlp.tools.ml.model
A DataIndexer for maxent model data which handles cutoffs for uncommon contextual predicates and provides a unique integer index for each of the predicates.
OnePassDataIndexer() - Constructor for class opennlp.tools.ml.model.OnePassDataIndexer
 
OnePassRealValueDataIndexer - Class in opennlp.tools.ml.model
A DataIndexer for maxent model data which handles cutoffs for uncommon contextual predicates and provides a unique integer index for each of the predicates and maintains event values.
OnePassRealValueDataIndexer() - Constructor for class opennlp.tools.ml.model.OnePassRealValueDataIndexer
 
OntoNotesFormatParameters - Interface in opennlp.tools.formats.ontonotes
 
OntoNotesNameSampleStream - Class in opennlp.tools.formats.ontonotes
Name Sample Stream parser for the OntoNotes 4.0 corpus.
OntoNotesNameSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.ontonotes.OntoNotesNameSampleStream
OntoNotesNameSampleStreamFactory - Class in opennlp.tools.formats.ontonotes
 
OntoNotesNameSampleStreamFactory() - Constructor for class opennlp.tools.formats.ontonotes.OntoNotesNameSampleStreamFactory
 
OntoNotesParseSampleStream - Class in opennlp.tools.formats.ontonotes
 
OntoNotesParseSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.ontonotes.OntoNotesParseSampleStream
OntoNotesParseSampleStreamFactory - Class in opennlp.tools.formats.ontonotes
 
OntoNotesPOSSampleStreamFactory - Class in opennlp.tools.formats.ontonotes
 
openFeatureGeneratorBytes(File) - Static method in class opennlp.tools.cmdline.namefind.TokenNameFinderTrainerTool
 
opennlp.tools.chunker - package opennlp.tools.chunker
Package related to finding non-recursive syntactic annotation such as noun phrase chunks.
opennlp.tools.cmdline.chunker - package opennlp.tools.cmdline.chunker
 
opennlp.tools.cmdline.dictionary - package opennlp.tools.cmdline.dictionary
 
opennlp.tools.cmdline.doccat - package opennlp.tools.cmdline.doccat
 
opennlp.tools.cmdline.entitylinker - package opennlp.tools.cmdline.entitylinker
 
opennlp.tools.cmdline.langdetect - package opennlp.tools.cmdline.langdetect
 
opennlp.tools.cmdline.languagemodel - package opennlp.tools.cmdline.languagemodel
 
opennlp.tools.cmdline.lemmatizer - package opennlp.tools.cmdline.lemmatizer
Classes giving access to the opennlp.tools.lemmatizer functionalities.
opennlp.tools.cmdline.namefind - package opennlp.tools.cmdline.namefind
 
opennlp.tools.cmdline.params - package opennlp.tools.cmdline.params
 
opennlp.tools.cmdline.parser - package opennlp.tools.cmdline.parser
 
opennlp.tools.cmdline.postag - package opennlp.tools.cmdline.postag
 
opennlp.tools.cmdline.sentdetect - package opennlp.tools.cmdline.sentdetect
 
opennlp.tools.cmdline.tokenizer - package opennlp.tools.cmdline.tokenizer
 
opennlp.tools.commons - package opennlp.tools.commons
Package related to common interfaces used in different contexts.
opennlp.tools.dictionary - package opennlp.tools.dictionary
Package related to parsing and storing dictionaries.
opennlp.tools.dictionary.serializer - package opennlp.tools.dictionary.serializer
 
opennlp.tools.doccat - package opennlp.tools.doccat
Package for classifying a document into a category.
opennlp.tools.entitylinker - package opennlp.tools.entitylinker
Package related to linking entities to external data sources.
opennlp.tools.formats - package opennlp.tools.formats
Experimental package related to converting various corpora to OpenNLP Format.
opennlp.tools.formats.ad - package opennlp.tools.formats.ad
Experimental package related to the Arvores Deitadas corpus format.
opennlp.tools.formats.brat - package opennlp.tools.formats.brat
Experimental package related to the corpus format used by the "brat rapid annotation tool" (brat).
opennlp.tools.formats.conllu - package opennlp.tools.formats.conllu
Experimental package related to the CoNNL-U format.
opennlp.tools.formats.convert - package opennlp.tools.formats.convert
 
opennlp.tools.formats.frenchtreebank - package opennlp.tools.formats.frenchtreebank
Experimental package related to the French Treebank format.
opennlp.tools.formats.irishsentencebank - package opennlp.tools.formats.irishsentencebank
Experimental package related to the Irish Sentence Bank format.
opennlp.tools.formats.leipzig - package opennlp.tools.formats.leipzig
Experimental package related to the Leipzig corpus format.
opennlp.tools.formats.letsmt - package opennlp.tools.formats.letsmt
Experimental package related to the letsmt corpus format.
opennlp.tools.formats.masc - package opennlp.tools.formats.masc
Experimental package related to the MASC corpus format.
opennlp.tools.formats.moses - package opennlp.tools.formats.moses
 
opennlp.tools.formats.muc - package opennlp.tools.formats.muc
Experimental package related to the MUC corpus format.
opennlp.tools.formats.nkjp - package opennlp.tools.formats.nkjp
Experimental package related to the National corpus of Polish NKJP format.
opennlp.tools.formats.ontonotes - package opennlp.tools.formats.ontonotes
Experimental package related to the OntoNotes 4.0 format.
opennlp.tools.langdetect - package opennlp.tools.langdetect
Package related to predicting languages from samples of text.
opennlp.tools.languagemodel - package opennlp.tools.languagemodel
Package related to language models
opennlp.tools.lemmatizer - package opennlp.tools.lemmatizer
Package related to the lemmatizer functionality.
opennlp.tools.log - package opennlp.tools.log
Package contains a PrintStream adapter for internal use only.
opennlp.tools.ml - package opennlp.tools.ml
Package related to Machine Learning (ML) features of OpenNLP, the related ML models, and trainers.
opennlp.tools.ml.maxent - package opennlp.tools.ml.maxent
Package related to ML by means of the Maximum Entropy (ME) algorithm.
opennlp.tools.ml.maxent.io - package opennlp.tools.ml.maxent.io
Package related to the I/O functionality of the maxent package including reading and writing models in several formats.
opennlp.tools.ml.maxent.quasinewton - package opennlp.tools.ml.maxent.quasinewton
Package related to ML by means of the Quasi Newton (QN) algorithm.
opennlp.tools.ml.model - package opennlp.tools.ml.model
Package related to ML models and feature selection techniques.
opennlp.tools.ml.naivebayes - package opennlp.tools.ml.naivebayes
Package related to ML by means of the Naive Bayes algorithm.
opennlp.tools.ml.perceptron - package opennlp.tools.ml.perceptron
Package related to ML by means of the perceptron algorithm.
opennlp.tools.namefind - package opennlp.tools.namefind
Package related to finding proper names and numeric amounts.
opennlp.tools.ngram - package opennlp.tools.ngram
Package related to computing and storing n-gram frequencies.
opennlp.tools.parser - package opennlp.tools.parser
Package containing common code for performing full syntactic parsing.
opennlp.tools.parser.chunking - package opennlp.tools.parser.chunking
Package containing code for performing full syntactic parsing using shift/reduce-style decisions.
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
Package containing experimental code for performing full syntactic parsing using attachment decisions.
opennlp.tools.postag - package opennlp.tools.postag
Package related to part-of-speech tagging.
opennlp.tools.sentdetect - package opennlp.tools.sentdetect
Package related to identifying sentence boundaries.
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.stemmer - package opennlp.tools.stemmer
 
opennlp.tools.stemmer.snowball - package opennlp.tools.stemmer.snowball
 
opennlp.tools.tokenize - package opennlp.tools.tokenize
Contains classes related to finding token or words in a string.
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
Package containing utility data structures and algorithms used by multiple other packages.
opennlp.tools.util.eval - package opennlp.tools.util.eval
 
opennlp.tools.util.ext - package opennlp.tools.util.ext
Package containing extension loading code.
opennlp.tools.util.featuregen - package opennlp.tools.util.featuregen
This package contains classes for generating sequence features.
opennlp.tools.util.java - package opennlp.tools.util.java
 
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.formats.ad.ADChunkSampleStream
 
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.
outcome - Variable in class opennlp.tools.ml.model.ComparableEvent
 
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
 
outcomes - Variable in class opennlp.tools.ml.model.ComparablePredicate
 

P

ParagraphStream - Class in opennlp.tools.util
A FilterObjectStream which merges text lines into paragraphs.
ParagraphStream(ObjectStream<String>) - Constructor for class opennlp.tools.util.ParagraphStream
Initializes an FilterObjectStream.
ParallelNegLogLikelihood - Class in opennlp.tools.ml.maxent.quasinewton
Evaluate negative log-likelihood and its gradient in parallel
ParallelNegLogLikelihood(DataIndexer, int) - Constructor for class opennlp.tools.ml.maxent.quasinewton.ParallelNegLogLikelihood
 
params - Variable in class opennlp.tools.ml.model.ComparablePredicate
 
parse(File) - Static method in class opennlp.tools.formats.brat.AnnotationConfiguration
 
parse(InputStream) - Static method in class opennlp.tools.formats.brat.AnnotationConfiguration
 
parse(InputStream) - Static method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument
Parses the data provided via an InputStream into a IrishSentenceBankDocument.
parse(InputStream) - Static method in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument
 
parse(InputStream) - Static method in class opennlp.tools.formats.nkjp.NKJPTextDocument
 
parse(InputStream) - Static method in class opennlp.tools.util.wordvector.Glove
Parses a glove vector plain text file.
parse(Reader, SgmlParser.ContentHandler) - Method in class opennlp.tools.formats.muc.SgmlParser
 
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) - 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(String, boolean) - Static method in class opennlp.tools.namefind.NameSample
Parses given input into a NameSample.
parse(String, int, boolean, boolean) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
Parses a sentence string into a ADSentenceStream.Sentence.
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(BratDocument) - Method in class opennlp.tools.formats.brat.BratDocumentParser
 
parse(Parse) - Method in class opennlp.tools.parser.AbstractBottomUpParser
 
parse(Parse) - Method in interface opennlp.tools.parser.Parser
Returns a Parse for the specified Parse of tokens.
parse(Parse, int) - Method in class opennlp.tools.parser.AbstractBottomUpParser
 
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.
parseContexts(String[]) - Static method in class opennlp.tools.ml.model.RealValueFileEventStream
Parses the specified contexts and re-populates context array with features and returns the values for these features.
parseDocument(String, InputStream, InputStream, InputStream, InputStream, InputStream) - Static method in class opennlp.tools.formats.masc.MascDocument
Initializes a MascDocument with all the stand-off annotations translated into the internal structure.
parseDocument(AnnotationConfiguration, String, InputStream, InputStream) - Static method in class opennlp.tools.formats.brat.BratDocument
 
parseLine(String, Parser, int) - Static method in class opennlp.tools.cmdline.parser.ParserTool
 
parseLine(String, Parser, Tokenizer, int) - Static method in class opennlp.tools.cmdline.parser.ParserTool
 
parseOneEntryPerLine(Reader) - Static method in class opennlp.tools.dictionary.Dictionary
Reads a Dictionary which has one entry per line.
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 - 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 - Interface in opennlp.tools.parser
Defines common methods for full-syntactic parsers.
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.
PARSER - Enum constant in enum class opennlp.tools.util.DownloadUtil.ModelType
 
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
 
ParserConverterTool - Class in opennlp.tools.cmdline.parser
Tool to convert multiple data formats into native OpenNLP parser format.
ParserConverterTool() - Constructor for class opennlp.tools.cmdline.parser.ParserConverterTool
 
ParserCrossValidator - Class in opennlp.tools.parser
Cross validator for a Parser.
ParserCrossValidator(String, TrainingParameters, HeadRules, ParserType, ParserEvaluationMonitor...) - Constructor for class opennlp.tools.parser.ParserCrossValidator
Initializes a ParserCrossValidator instance via given parameters.
ParserEvaluationMonitor - Interface in opennlp.tools.parser
A marker interface for evaluating parsers.
ParserEvaluator - Class in opennlp.tools.parser
This implementation of Evaluator<Parse> behaves like EVALB with no exceptions, e.g, without removing punctuation tags, or equality between ADVP and PRT, as in COLLINS convention.
ParserEvaluator(Parser, ParserEvaluationMonitor...) - Constructor for class opennlp.tools.parser.ParserEvaluator
Initializes a ParserEvaluator instance with the given Parser.
ParserEvaluatorTool - Class in opennlp.tools.cmdline.parser
A default Parse-centric implementation of AbstractEvaluatorTool that prints to an output stream.
ParserEvaluatorTool() - Constructor for class opennlp.tools.cmdline.parser.ParserEvaluatorTool
 
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<Parse>, 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<Parse>, 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<Parse>, 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<Parse>, 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.
ParserEventTypeEnum - Enum Class in opennlp.tools.parser
Enumeration of event types for a Parser.
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<String, String>) - Constructor for class opennlp.tools.parser.ParserModel
Initializes a ParserModel instance via given parameters.
ParserModel(String, MaxentModel, MaxentModel, POSModel, ChunkerModel, HeadRules, ParserType, Map<String, String>) - 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.
ParserModelLoader - Class in opennlp.tools.cmdline.parser
Loads a ParserModel for the command line tools.
ParserModelLoader() - Constructor for class opennlp.tools.cmdline.parser.ParserModelLoader
 
ParserTool - Class in opennlp.tools.cmdline.parser
 
ParserTool() - Constructor for class opennlp.tools.cmdline.parser.ParserTool
 
ParserTrainerTool - Class in opennlp.tools.cmdline.parser
 
ParserTrainerTool() - Constructor for class opennlp.tools.cmdline.parser.ParserTrainerTool
 
ParserType - Enum Class in opennlp.tools.parser
Enumeration of supported Parser types.
ParseSampleStream - Class in opennlp.tools.parser
 
ParseSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.parser.ParseSampleStream
Initializes a instance.
ParseSampleStreamFactory<P> - Class in opennlp.tools.formats
Factory producing OpenNLP ParseSampleStreams.
ParseSampleStreamFactory.Parameters - Interface in opennlp.tools.formats
 
ParseToPOSSampleStream - Class in opennlp.tools.formats.convert
Note: Do not use this class, internal use only!
ParseToPOSSampleStream(ObjectStream<Parse>) - Constructor for class opennlp.tools.formats.convert.ParseToPOSSampleStream
Initializes a ParseToPOSSampleStream.
ParseToPOSSampleStreamFactory - Class in opennlp.tools.formats.convert
Note: Do not use this class, internal use only!
ParseToSentenceSampleStreamFactory - Class in opennlp.tools.formats.convert
Note: Do not use this class, internal use only!
ParseToTokenSampleStreamFactory - Class in opennlp.tools.formats.convert
Note: Do not use this class, internal use only!
pathLengths - Static variable in class opennlp.tools.util.featuregen.BrownTokenClasses
 
Perceptron - Enum constant in enum class opennlp.tools.ml.model.AbstractModel.ModelType
 
PERCEPTRON - Enum constant in enum class opennlp.tools.util.model.ModelType
 
PERCEPTRON_SEQUENCE - Enum constant in enum class opennlp.tools.util.model.ModelType
 
PERCEPTRON_SEQUENCE_VALUE - Static variable in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
 
PERCEPTRON_VALUE - Static variable in class opennlp.tools.ml.perceptron.PerceptronTrainer
 
PerceptronModel - Class in opennlp.tools.ml.perceptron
A model implementation based one the perceptron algorithm.
PerceptronModel(Context[], String[], String[]) - Constructor for class opennlp.tools.ml.perceptron.PerceptronModel
Initializes a PerceptronModel.
PerceptronModelReader - Class in opennlp.tools.ml.perceptron
The base class for readers of models.
PerceptronModelReader(File) - Constructor for class opennlp.tools.ml.perceptron.PerceptronModelReader
Initializes a PerceptronModelReader via a File.
PerceptronModelReader(DataReader) - Constructor for class opennlp.tools.ml.perceptron.PerceptronModelReader
Initializes a PerceptronModelReader via a DataReader.
PerceptronModelWriter - Class in opennlp.tools.ml.perceptron
The base class for PerceptronModel writers.
PerceptronModelWriter(AbstractModel) - Constructor for class opennlp.tools.ml.perceptron.PerceptronModelWriter
PerceptronTrainer - Class in opennlp.tools.ml.perceptron
Trains models using the perceptron algorithm.
PerceptronTrainer() - Constructor for class opennlp.tools.ml.perceptron.PerceptronTrainer
Instantiates a PerceptronTrainer with default training parameters.
PerceptronTrainer(TrainingParameters) - Constructor for class opennlp.tools.ml.perceptron.PerceptronTrainer
Instantiates a PerceptronTrainer with specific TrainingParameters.
persist() - Method in class opennlp.tools.ml.AbstractMLModelWriter
 
persist() - Method in class opennlp.tools.ml.maxent.io.GISModelWriter
persist() - Method in class opennlp.tools.ml.maxent.io.QNModelWriter
persist() - Method in class opennlp.tools.ml.model.AbstractModelWriter
Serializes the model using the AbstractModelWriter.writeUTF(String), AbstractModelWriter.writeDouble(double), or AbstractModelWriter.writeInt(int)} methods implemented by extending classes.
persist() - Method in class opennlp.tools.ml.model.GenericModelWriter
 
persist() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModelWriter
persist() - Method in class opennlp.tools.ml.perceptron.PerceptronModelWriter
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.
PlainTextFileDataReader - Class in opennlp.tools.ml.model
A generic DataReader implementation for plain text files.
PlainTextFileDataReader(BufferedReader) - Constructor for class opennlp.tools.ml.model.PlainTextFileDataReader
PlainTextFileDataReader(File) - Constructor for class opennlp.tools.ml.model.PlainTextFileDataReader
Initializes a PlainTextFileDataReader via a File.
PlainTextFileDataReader(InputStream) - Constructor for class opennlp.tools.ml.model.PlainTextFileDataReader
PlainTextNaiveBayesModelReader - Class in opennlp.tools.ml.naivebayes
A NaiveBayesModelReader that reads models from a plain text format.
PlainTextNaiveBayesModelReader(BufferedReader) - Constructor for class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelReader
Instantiates PlainTextNaiveBayesModelReader via a BufferedReader containing the model contents.
PlainTextNaiveBayesModelReader(File) - Constructor for class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelReader
Instantiates PlainTextNaiveBayesModelReader via a File and creates a reader for it.
PlainTextNaiveBayesModelWriter - Class in opennlp.tools.ml.naivebayes
A NaiveBayesModelWriter that writes models in a plain text format.
PlainTextNaiveBayesModelWriter(AbstractModel, BufferedWriter) - Constructor for class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelWriter
PlainTextNaiveBayesModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelWriter
Pointer(String, String, int, int, boolean) - Constructor for class opennlp.tools.formats.nkjp.NKJPSegmentationDocument.Pointer
 
populatePOSDictionary(ObjectStream<POSSample>, 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
PorterStemmer() - Constructor for class opennlp.tools.stemmer.PorterStemmer
 
PORTUGUESE - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
 
PortugueseContractionUtility - Class in opennlp.tools.formats.ad
Utility class to handle Portuguese contractions.
PortugueseContractionUtility() - Constructor for class opennlp.tools.formats.ad.PortugueseContractionUtility
 
POS - Enum constant in enum class opennlp.tools.util.DownloadUtil.ModelType
 
POSContextGenerator - Interface in opennlp.tools.postag
Interface for a BeamSearchContextGenerator used in POS tagging.
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
 
POSEvaluationErrorListener - Class in opennlp.tools.cmdline.postag
A default implementation of EvaluationMonitor that prints to an output stream.
POSEvaluationErrorListener() - Constructor for class opennlp.tools.cmdline.postag.POSEvaluationErrorListener
Creates a listener that will print to the configured logger.
POSEvaluationErrorListener(OutputStream) - Constructor for class opennlp.tools.cmdline.postag.POSEvaluationErrorListener
Creates a listener that will print to a given OutputStream.
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<String, String>, POSTaggerFactory) - Constructor for class opennlp.tools.postag.POSModel
Initializes a POSModel instance via given parameters.
POSModel(String, MaxentModel, Map<String, String>, POSTaggerFactory) - Constructor for class opennlp.tools.postag.POSModel
Initializes a POSModel instance via given parameters.
POSModel(String, SequenceClassificationModel<String>, Map<String, String>, 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.
POSModelLoader - Class in opennlp.tools.cmdline.postag
Loads a POSModel for the command line tools.
POSModelLoader() - Constructor for class opennlp.tools.cmdline.postag.POSModelLoader
 
POSModelSerializer - Class in opennlp.tools.util.model
An ArtifactSerializer implementation for models.
POSModelSerializer() - Constructor for class opennlp.tools.util.model.POSModelSerializer
 
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.
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<POSSample>) - Constructor for class opennlp.tools.postag.POSSampleEventStream
Initializes the current instance with given samples and a DefaultPOSContextGenerator.
POSSampleEventStream(ObjectStream<POSSample>, 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<POSSample>) - Constructor for class opennlp.tools.postag.POSSampleSequenceStream
Creates a POSSampleSequenceStream with given samples using a DefaultPOSContextGenerator.
POSSampleSequenceStream(ObjectStream<POSSample>, 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<Parse>) - Constructor for class opennlp.tools.parser.PosSampleStream
Initializes a instance.
POSTagger - Interface in opennlp.tools.postag
The interface for part of speech taggers.
POSTaggerConverterTool - Class in opennlp.tools.cmdline.postag
Tool to convert multiple data formats into native OpenNLP part of speech tagging training format.
POSTaggerConverterTool() - Constructor for class opennlp.tools.cmdline.postag.POSTaggerConverterTool
 
POSTaggerCrossValidator - Class in opennlp.tools.postag
 
POSTaggerCrossValidator(String, TrainingParameters, File, byte[], Map<String, Object>, Integer, String, POSTaggerEvaluationMonitor...) - Constructor for class opennlp.tools.postag.POSTaggerCrossValidator
Initializes a POSTaggerCrossValidator that builds a ngram dictionary dynamically.
POSTaggerCrossValidator(String, TrainingParameters, POSTaggerFactory, POSTaggerEvaluationMonitor...) - Constructor for class opennlp.tools.postag.POSTaggerCrossValidator
Creates a POSTaggerCrossValidator using the given POSTaggerFactory.
POSTaggerCrossValidatorTool - Class in opennlp.tools.cmdline.postag
 
POSTaggerCrossValidatorTool() - Constructor for class opennlp.tools.cmdline.postag.POSTaggerCrossValidatorTool
 
POSTaggerEvaluationMonitor - Interface in opennlp.tools.postag
A marker interface for evaluating pos taggers.
POSTaggerEvaluatorTool - Class in opennlp.tools.cmdline.postag
A default POSSample-centric implementation of AbstractEvaluatorTool that prints to an output stream.
POSTaggerEvaluatorTool() - Constructor for class opennlp.tools.cmdline.postag.POSTaggerEvaluatorTool
 
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<String, Object>, 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
 
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
 
POSTaggerFineGrainedReportListener - Class in opennlp.tools.cmdline.postag
Generates a detailed report for the POS Tagger.
POSTaggerFineGrainedReportListener() - Constructor for class opennlp.tools.cmdline.postag.POSTaggerFineGrainedReportListener
Creates a listener that will print to the configured logger.
POSTaggerFineGrainedReportListener(OutputStream) - Constructor for class opennlp.tools.cmdline.postag.POSTaggerFineGrainedReportListener
Creates a listener that prints to a given OutputStream.
POSTaggerME - Class in opennlp.tools.postag
A part-of-speech tagger 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(POSModel) - 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 new instance.
POSTaggerNameFeatureGenerator(POSTagger) - Constructor for class opennlp.tools.util.featuregen.POSTaggerNameFeatureGenerator
Initializes a new instance.
POSTaggerNameFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
 
POSTaggerNameFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.POSTaggerNameFeatureGeneratorFactory
 
POSTaggerTool - Class in opennlp.tools.cmdline.postag
 
POSTaggerTool() - Constructor for class opennlp.tools.cmdline.postag.POSTaggerTool
 
POSTaggerTrainerTool - Class in opennlp.tools.cmdline.postag
 
POSTaggerTrainerTool() - Constructor for class opennlp.tools.cmdline.postag.POSTaggerTrainerTool
 
POSToSentenceSampleStream - Class in opennlp.tools.formats.convert
Note: Do not use this class, internal use only!
POSToSentenceSampleStream(Detokenizer, ObjectStream<POSSample>, int) - Constructor for class opennlp.tools.formats.convert.POSToSentenceSampleStream
POSToSentenceSampleStreamFactory<P> - Class in opennlp.tools.formats.convert
Note: Do not use this class, internal use only!
POSToTokenSampleStream - Class in opennlp.tools.formats.convert
Note: Do not use this class, internal use only!
POSToTokenSampleStream(Detokenizer, ObjectStream<POSSample>) - Constructor for class opennlp.tools.formats.convert.POSToTokenSampleStream
Initializes a POSToTokenSampleStream.
POSToTokenSampleStreamFactory<P> - Class in opennlp.tools.formats.convert
Note: Do not use this class, internal use only!
precision(Object[], Object[]) - Static method in class opennlp.tools.util.eval.FMeasure
Calculates the precision score for the given reference and predicted spans.
predictLanguage(CharSequence) - Method in interface opennlp.tools.langdetect.LanguageDetector
Predicts the Language for the full content length.
predictLanguage(CharSequence) - Method in class opennlp.tools.langdetect.LanguageDetectorME
 
predictLanguages(CharSequence) - Method in interface opennlp.tools.langdetect.LanguageDetector
Predicts the languages for the full content length.
predictLanguages(CharSequence) - Method in class opennlp.tools.langdetect.LanguageDetectorME
 
predictLemmas(int, String[], String[]) - Method in class opennlp.tools.lemmatizer.LemmatizerME
Predict all possible lemmas (using a default upper bound).
predictNextTokens(String...) - Method in interface opennlp.tools.languagemodel.LanguageModel
Predict the most probable output sequence of tokens, given an input sequence of tokens.
predictNextTokens(String...) - Method in class opennlp.tools.languagemodel.NGramLanguageModel
 
predictNextTokens(StringList) - Method in interface opennlp.tools.languagemodel.LanguageModel
predictNextTokens(StringList) - Method in class opennlp.tools.languagemodel.NGramLanguageModel
Deprecated.
predictSES(String[], String[]) - Method in class opennlp.tools.lemmatizer.LemmatizerME
Predict Short Edit Script (automatically induced lemma class).
predIndexes - Variable in class opennlp.tools.ml.model.ComparableEvent
 
PrefixFeatureGenerator - Class in opennlp.tools.util.featuregen
 
PrefixFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.PrefixFeatureGenerator
 
PrefixFeatureGenerator(int) - Constructor for class opennlp.tools.util.featuregen.PrefixFeatureGenerator
 
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
 
printSummary() - Method in class opennlp.tools.cmdline.namefind.NameSampleCountersStream
 
Prior - Interface in opennlp.tools.ml.model
This interface allows one to implement a prior distribution for use in maximum entropy model training.
Probabilities<T> - Class in opennlp.tools.ml.naivebayes
Class implementing the probability distribution over labels returned by a classifier.
Probabilities() - Constructor for class opennlp.tools.ml.naivebayes.Probabilities
 
Probability<T> - Class in opennlp.tools.ml.naivebayes
Class implementing the probability for a label.
Probability(T) - Constructor for class opennlp.tools.ml.naivebayes.Probability
Instantiates a Probability with a given label.
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
Returns an array with the probabilities of the last decoded sequence.
probs() - Method in class opennlp.tools.lemmatizer.LemmatizerME
Returns an array with the probabilities of the last decoded sequence.
probs() - Method in class opennlp.tools.namefind.NameFinderME
Retrieves the probabilities of the last decoded sequence.
probs() - Method in class opennlp.tools.postag.POSTaggerME
 
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 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.
pruneParse(Parse) - Static method in class opennlp.tools.parser.Parse
Prune the specified sentence parse of vacuous productions.
ptEosCharacters - Static variable in class opennlp.tools.sentdetect.lang.Factory
 
put(String, boolean) - Method in class opennlp.tools.util.TrainingParameters
Puts a value into the current TrainingParameters under a certain key.
put(String, double) - Method in class opennlp.tools.util.TrainingParameters
Puts a value into the current TrainingParameters under a certain key.
put(String, int) - Method in class opennlp.tools.util.TrainingParameters
Puts a value into the current TrainingParameters under a certain key.
put(String, String) - Method in class opennlp.tools.util.TrainingParameters
Puts a value into the current TrainingParameters 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...) - Method in class opennlp.tools.postag.POSDictionary
 
put(String, String, boolean) - Method in class opennlp.tools.util.TrainingParameters
Puts a value into the current TrainingParameters under a certain key.
put(String, String, double) - Method in class opennlp.tools.util.TrainingParameters
Puts a value into the current TrainingParameters under a certain key.
put(String, String, int) - Method in class opennlp.tools.util.TrainingParameters
Puts a value into the current TrainingParameters under a certain key.
put(String, String, String) - Method in class opennlp.tools.util.TrainingParameters
Puts a value into the current TrainingParameters under a certain key.
put(StringList) - Method in class opennlp.tools.dictionary.Dictionary
Adds the tokens to the dictionary as one new entry.
putIfAbsent(String, boolean) - Method in class opennlp.tools.util.TrainingParameters
Puts a value into the current TrainingParameters under a certain key, if the value was not present before.
putIfAbsent(String, double) - Method in class opennlp.tools.util.TrainingParameters
Puts a value into the current TrainingParameters under a certain key, if the value was not present before.
putIfAbsent(String, int) - Method in class opennlp.tools.util.TrainingParameters
Puts a value into the current TrainingParameters under a certain key, if the value was not present before.
putIfAbsent(String, String) - Method in class opennlp.tools.util.TrainingParameters
Puts a value into the current TrainingParameters under a certain key, if the value was not present before.
putIfAbsent(String, String, boolean) - Method in class opennlp.tools.util.TrainingParameters
Puts a value into the current TrainingParameters under a certain key, if the value was not present before.
putIfAbsent(String, String, double) - Method in class opennlp.tools.util.TrainingParameters
Puts a value into the current TrainingParameters under a certain key, if the value was not present before.
putIfAbsent(String, String, int) - Method in class opennlp.tools.util.TrainingParameters
Puts a value into the current TrainingParameters under a certain key, if the value was not present before.
putIfAbsent(String, String, String) - Method in class opennlp.tools.util.TrainingParameters
Puts a value into the current TrainingParameters under a certain key, if the value was not present before.

Q

QNMinimizer - Class in opennlp.tools.ml.maxent.quasinewton
Implementation of L-BFGS which supports L1-, L2-regularization and Elastic Net for solving convex optimization problems.
QNMinimizer() - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
Initializes a QNMinimizer with default parameters.
QNMinimizer(double, double) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
Initializes a QNMinimizer.
QNMinimizer(double, double, int) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
Initializes a QNMinimizer.
QNMinimizer(double, double, int, int, int) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
Initializes a QNMinimizer.
QNMinimizer.Evaluator - Interface in opennlp.tools.ml.maxent.quasinewton
Evaluate quality of training parameters.
QNMinimizer.L2RegFunction - Class in opennlp.tools.ml.maxent.quasinewton
L2-regularized objective Function.
QNModel - Class in opennlp.tools.ml.maxent.quasinewton
A maximum entropy model which has been trained using the Quasi Newton (QN) algorithm.
QNModel(Context[], String[], String[]) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNModel
Initializes a QNModel with the specified parameters, outcome names, and predicate/feature labels.
QNModelReader - Class in opennlp.tools.ml.maxent.io
The base class for readers of QN models.
QNModelReader(File) - Constructor for class opennlp.tools.ml.maxent.io.QNModelReader
Initializes a QNModelReader via a File.
QNModelReader(DataReader) - Constructor for class opennlp.tools.ml.maxent.io.QNModelReader
Initializes a QNModelReader via a DataReader.
QNModelWriter - Class in opennlp.tools.ml.maxent.io
The base class for writers of models.
QNModelWriter(AbstractModel) - Constructor for class opennlp.tools.ml.maxent.io.QNModelWriter
 
QNTrainer - Class in opennlp.tools.ml.maxent.quasinewton
A Maxent model Trainer using L-BFGS algorithm.
QNTrainer() - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNTrainer
Initializes a QNTrainer.
QNTrainer(int) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNTrainer
Initializes a QNTrainer.
QNTrainer(int, int) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNTrainer
Initializes a QNTrainer.
QNTrainer(TrainingParameters) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNTrainer
Initializes a QNTrainer.

R

read() - Method in class opennlp.tools.chunker.ChunkSampleSequenceStream
 
read() - Method in class opennlp.tools.chunker.ChunkSampleStream
 
read() - Method in class opennlp.tools.cmdline.namefind.NameSampleCountersStream
 
read() - Method in class opennlp.tools.doccat.DocumentSampleStream
 
read() - Method in class opennlp.tools.formats.ad.ADChunkSampleStream
 
read() - Method in class opennlp.tools.formats.ad.ADNameSampleStream
 
read() - Method in class opennlp.tools.formats.ad.ADPOSSampleStream
 
read() - Method in class opennlp.tools.formats.ad.ADSentenceSampleStream
 
read() - Method in class opennlp.tools.formats.ad.ADSentenceStream
 
read() - Method in class opennlp.tools.formats.BioNLP2004NameSampleStream
 
read() - Method in class opennlp.tools.formats.brat.BratAnnotationStream
 
read() - Method in class opennlp.tools.formats.brat.BratDocumentStream
 
read() - Method in class opennlp.tools.formats.brat.SegmenterObjectStream
 
read() - Method in class opennlp.tools.formats.Conll02NameSampleStream
 
read() - Method in class opennlp.tools.formats.Conll03NameSampleStream
 
read() - Method in class opennlp.tools.formats.conllu.ConlluLemmaSampleStream
 
read() - Method in class opennlp.tools.formats.conllu.ConlluPOSSampleStream
 
read() - Method in class opennlp.tools.formats.conllu.ConlluSentenceSampleStream
 
read() - Method in class opennlp.tools.formats.conllu.ConlluStream
 
read() - Method in class opennlp.tools.formats.conllu.ConlluTokenSampleStream
 
read() - Method in class opennlp.tools.formats.ConllXPOSSampleStream
 
read() - Method in class opennlp.tools.formats.convert.AbstractToSentenceSampleStream
 
read() - Method in class opennlp.tools.formats.convert.FileToByteArraySampleStream
 
read() - Method in class opennlp.tools.formats.convert.FileToStringSampleStream
 
read() - Method in class opennlp.tools.formats.convert.NameToTokenSampleStream
 
read() - Method in class opennlp.tools.formats.convert.ParseToPOSSampleStream
 
read() - Method in class opennlp.tools.formats.convert.POSToTokenSampleStream
 
read() - Method in class opennlp.tools.formats.DirectorySampleStream
 
read() - Method in class opennlp.tools.formats.EvalitaNameSampleStream
 
read() - Method in class opennlp.tools.formats.frenchtreebank.ConstitParseSampleStream
 
read() - Method in class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStream
 
read() - Method in class opennlp.tools.formats.letsmt.DetokenizeSentenceSampleStream
 
read() - Method in class opennlp.tools.formats.masc.MascDocument
 
read() - Method in class opennlp.tools.formats.masc.MascDocumentStream
Return the next document.
read() - Method in class opennlp.tools.formats.masc.MascNamedEntitySampleStream
Reads the next sample of named entities.
read() - Method in class opennlp.tools.formats.masc.MascPOSSampleStream
Reads the next sample.
read() - Method in class opennlp.tools.formats.masc.MascSentenceSampleStream
Reads a new sample of sentences.
read() - Method in class opennlp.tools.formats.masc.MascTokenSampleStream
 
read() - Method in class opennlp.tools.formats.moses.MosesSentenceSampleStream
 
read() - Method in class opennlp.tools.formats.muc.MucNameSampleStream
 
read() - Method in class opennlp.tools.formats.NameFinderCensus90NameStream
 
read() - Method in class opennlp.tools.formats.nkjp.NKJPSentenceSampleStream
 
read() - Method in class opennlp.tools.formats.ontonotes.OntoNotesNameSampleStream
 
read() - Method in class opennlp.tools.formats.ontonotes.OntoNotesParseSampleStream
 
read() - Method in class opennlp.tools.formats.TwentyNewsgroupSampleStream
 
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.ml.maxent.RealBasicEventStream
 
read() - Method in class opennlp.tools.ml.model.FileEventStream
 
read() - Method in class opennlp.tools.ml.model.HashSumEventStream
 
read() - Method in class opennlp.tools.ml.model.RealValueFileEventStream
 
read() - Method in class opennlp.tools.ml.model.SequenceStreamEventStream
 
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
Parses the next sentence and return 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.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.AbstractObjectStream
 
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() - Method in interface opennlp.tools.util.ObjectStream
Returns the next ObjectStream object.
read() - Method in class opennlp.tools.util.ParagraphStream
 
read() - Method in class opennlp.tools.util.PlainTextByLineStream
 
read(InputStream) - Static method in class opennlp.tools.util.model.ModelUtil
Reads from the provided InputStream into a byte array.
readDouble() - Method in class opennlp.tools.ml.model.AbstractModelReader
Implement as needed for the format the model is stored in.
readDouble() - Method in class opennlp.tools.ml.model.BinaryFileDataReader
readDouble() - Method in interface opennlp.tools.ml.model.DataReader
 
readDouble() - Method in class opennlp.tools.ml.model.ObjectDataReader
readDouble() - Method in class opennlp.tools.ml.model.PlainTextFileDataReader
readInt() - Method in class opennlp.tools.ml.model.AbstractModelReader
Implement as needed for the format the model is stored in.
readInt() - Method in class opennlp.tools.ml.model.BinaryFileDataReader
readInt() - Method in interface opennlp.tools.ml.model.DataReader
 
readInt() - Method in class opennlp.tools.ml.model.ObjectDataReader
readInt() - Method in class opennlp.tools.ml.model.PlainTextFileDataReader
readUTF() - Method in class opennlp.tools.ml.model.AbstractModelReader
Implement as needed for the format the model is stored in.
readUTF() - Method in class opennlp.tools.ml.model.BinaryFileDataReader
readUTF() - Method in interface opennlp.tools.ml.model.DataReader
 
readUTF() - Method in class opennlp.tools.ml.model.ObjectDataReader
readUTF() - Method in class opennlp.tools.ml.model.PlainTextFileDataReader
readUTF(DataInputStream) - Static method in class opennlp.tools.ml.model.ModelParameterChunker
Reads model parameters from dis.
RealBasicEventStream - Class in opennlp.tools.ml.maxent
Class for real-valued events as an event stream. .
RealBasicEventStream(ObjectStream<String>) - Constructor for class opennlp.tools.ml.maxent.RealBasicEventStream
 
RealValueFileEventStream - Class in opennlp.tools.ml.model
Class for using a file of real-valued events as an event stream.
RealValueFileEventStream(File) - Constructor for class opennlp.tools.ml.model.RealValueFileEventStream
Instantiates a RealValueFileEventStream via a File.
RealValueFileEventStream(String) - Constructor for class opennlp.tools.ml.model.RealValueFileEventStream
Instantiates a RealValueFileEventStream from the specified file name.
RealValueFileEventStream(String, String) - Constructor for class opennlp.tools.ml.model.RealValueFileEventStream
Instantiates a RealValueFileEventStream from the specified file name.
recall(Object[], Object[]) - Static method in class opennlp.tools.util.eval.FMeasure
Calculates the recall score for the given reference and predicted spans.
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<String, Pattern[]>) - Constructor for class opennlp.tools.namefind.RegexNameFinder
Initializes a RegexNameFinder instance.
RegexNameFinder(Pattern[]) - Constructor for class opennlp.tools.namefind.RegexNameFinder
Deprecated.
Use constructor RegexNameFinder(Pattern[], String) for single types, and/or constructor RegexNameFinder(Map) instead.
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<String, ArtifactSerializer<?>>) - Static method in class opennlp.tools.util.model.GenericModelSerializer
Registers a new GenericModelSerializer in the given factories mapping.
registerFactory() - Static method in class opennlp.tools.formats.ad.ADChunkSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.ad.ADNameSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.ad.ADPOSSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.ad.ADSentenceSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.ad.ADTokenSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.BioNLP2004NameSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.brat.BratNameSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.ChunkerSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.Conll02NameSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.Conll03NameSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.conllu.ConlluLemmaSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.conllu.ConlluPOSSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.conllu.ConlluSentenceSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.conllu.ConlluTokenSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.ConllXPOSSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.ConllXSentenceSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.ConllXTokenSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.convert.NameToSentenceSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.convert.NameToTokenSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.convert.ParseToPOSSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.convert.ParseToSentenceSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.convert.ParseToTokenSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.convert.POSToSentenceSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.convert.POSToTokenSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.DocumentSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.EvalitaNameSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.frenchtreebank.ConstitParseSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankSentenceStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankTokenSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.LanguageDetectorSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.LemmatizerSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.letsmt.LetsmtSentenceStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.masc.MascNamedEntitySampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.masc.MascPOSSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.masc.MascSentenceSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.masc.MascTokenSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.moses.MosesSentenceSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.muc.Muc6NameSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.NameSampleDataStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.nkjp.NKJPSentenceSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.ontonotes.OntoNotesNameSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.ontonotes.OntoNotesParseSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.ontonotes.OntoNotesPOSSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.ParseSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.SentenceSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.TokenSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.TwentyNewsgroupSampleStreamFactory
 
registerFactory() - Static method in class opennlp.tools.formats.WordTagSampleStreamFactory
 
REL_GRAD_NORM_TOL - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
 
RELATION_TYPE - Static variable in class opennlp.tools.formats.brat.AnnotationConfiguration
 
RelationAnnotation - Class in opennlp.tools.formats.brat
 
remove() - Method in class opennlp.tools.tokenize.lang.en.TokenSampleStream
 
remove() - Method in class opennlp.tools.util.ReverseListIterator
 
remove(int) - Method in class opennlp.tools.parser.Parse
 
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.cmdline.namefind.NameSampleCountersStream
 
reset() - Method in class opennlp.tools.formats.ad.ADChunkSampleStream
 
reset() - Method in class opennlp.tools.formats.ad.ADNameSampleStream
 
reset() - Method in class opennlp.tools.formats.ad.ADPOSSampleStream
 
reset() - Method in class opennlp.tools.formats.ad.ADSentenceSampleStream
 
reset() - Method in class opennlp.tools.formats.BioNLP2004NameSampleStream
 
reset() - Method in class opennlp.tools.formats.brat.BratAnnotationStream
 
reset() - Method in class opennlp.tools.formats.brat.BratDocumentStream
 
reset() - Method in class opennlp.tools.formats.Conll02NameSampleStream
 
reset() - Method in class opennlp.tools.formats.Conll03NameSampleStream
 
reset() - Method in class opennlp.tools.formats.conllu.ConlluStream
 
reset() - Method in class opennlp.tools.formats.DirectorySampleStream
 
reset() - Method in class opennlp.tools.formats.EvalitaNameSampleStream
 
reset() - Method in class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStream
 
reset() - Method in class opennlp.tools.formats.masc.MascDocument
Resets the reading of sentences to the beginning of the document.
reset() - Method in class opennlp.tools.formats.masc.MascDocumentStream
Reset the reading of all documents to the first sentence.
reset() - Method in class opennlp.tools.formats.masc.MascNamedEntitySampleStream
 
reset() - Method in class opennlp.tools.formats.masc.MascPOSSampleStream
 
reset() - Method in class opennlp.tools.formats.masc.MascSentenceSampleStream
 
reset() - Method in class opennlp.tools.formats.masc.MascTokenSampleStream
 
reset() - Method in class opennlp.tools.formats.NameFinderCensus90NameStream
 
reset() - Method in class opennlp.tools.formats.nkjp.NKJPSentenceSampleStream
 
reset() - Method in class opennlp.tools.formats.TwentyNewsgroupSampleStream
 
reset() - Method in class opennlp.tools.lemmatizer.LemmaSampleSequenceStream
 
reset() - Method in class opennlp.tools.ml.maxent.RealBasicEventStream
 
reset() - Method in class opennlp.tools.ml.model.FileEventStream
 
reset() - Method in class opennlp.tools.ml.model.SequenceStreamEventStream
 
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.AbstractObjectStream
 
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
 
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
 
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
 
run(String[]) - Method in class opennlp.tools.cmdline.chunker.ChunkerMETool
 
run(String[]) - Method in class opennlp.tools.cmdline.dictionary.DictionaryBuilderTool
 
run(String[]) - Method in class opennlp.tools.cmdline.doccat.DoccatTool
 
run(String[]) - Method in class opennlp.tools.cmdline.entitylinker.EntityLinkerTool
 
run(String[]) - Method in class opennlp.tools.cmdline.langdetect.LanguageDetectorTool
 
run(String[]) - Method in class opennlp.tools.cmdline.languagemodel.NGramLanguageModelTool
 
run(String[]) - Method in class opennlp.tools.cmdline.lemmatizer.LemmatizerMETool
 
run(String[]) - Method in class opennlp.tools.cmdline.namefind.CensusDictionaryCreatorTool
 
run(String[]) - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderTool
 
run(String[]) - Method in class opennlp.tools.cmdline.parser.ParserTool
 
run(String[]) - Method in class opennlp.tools.cmdline.parser.TaggerModelReplacerTool
 
run(String[]) - Method in class opennlp.tools.cmdline.postag.POSTaggerTool
 
run(String[]) - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorTool
Perform sentence detection on a stream of sentences.
run(String[]) - Method in class opennlp.tools.cmdline.tokenizer.DictionaryDetokenizerTool
 
run(String[]) - Method in class opennlp.tools.cmdline.tokenizer.SimpleTokenizerTool
 
run(String[]) - Method in class opennlp.tools.cmdline.tokenizer.TokenizerMETool
 
run(String, String[]) - Method in class opennlp.tools.cmdline.chunker.ChunkerCrossValidatorTool
 
run(String, String[]) - Method in class opennlp.tools.cmdline.chunker.ChunkerEvaluatorTool
 
run(String, String[]) - Method in class opennlp.tools.cmdline.chunker.ChunkerTrainerTool
 
run(String, String[]) - Method in class opennlp.tools.cmdline.doccat.DoccatCrossValidatorTool
 
run(String, String[]) - Method in class opennlp.tools.cmdline.doccat.DoccatEvaluatorTool
 
run(String, String[]) - Method in class opennlp.tools.cmdline.doccat.DoccatTrainerTool
 
run(String, String[]) - Method in class opennlp.tools.cmdline.langdetect.LanguageDetectorCrossValidatorTool
 
run(String, String[]) - Method in class opennlp.tools.cmdline.langdetect.LanguageDetectorEvaluatorTool
 
run(String, String[]) - Method in class opennlp.tools.cmdline.langdetect.LanguageDetectorTrainerTool
 
run(String, String[]) - Method in class opennlp.tools.cmdline.lemmatizer.LemmatizerEvaluatorTool
 
run(String, String[]) - Method in class opennlp.tools.cmdline.lemmatizer.LemmatizerTrainerTool
 
run(String, String[]) - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderCrossValidatorTool
 
run(String, String[]) - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderEvaluatorTool
 
run(String, String[]) - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderTrainerTool
 
run(String, String[]) - Method in class opennlp.tools.cmdline.parser.BuildModelUpdaterTool
 
run(String, String[]) - Method in class opennlp.tools.cmdline.parser.ParserEvaluatorTool
 
run(String, String[]) - Method in class opennlp.tools.cmdline.parser.ParserTrainerTool
 
run(String, String[]) - Method in class opennlp.tools.cmdline.postag.POSTaggerCrossValidatorTool
 
run(String, String[]) - Method in class opennlp.tools.cmdline.postag.POSTaggerEvaluatorTool
 
run(String, String[]) - Method in class opennlp.tools.cmdline.postag.POSTaggerTrainerTool
 
run(String, String[]) - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorCrossValidatorTool
 
run(String, String[]) - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorEvaluatorTool
 
run(String, String[]) - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorTrainerTool
 
run(String, String[]) - Method in class opennlp.tools.cmdline.tokenizer.TokenizerCrossValidatorTool
 
run(String, String[]) - Method in class opennlp.tools.cmdline.tokenizer.TokenizerMEEvaluatorTool
 
run(String, String[]) - Method in class opennlp.tools.cmdline.tokenizer.TokenizerTrainerTool
 
RUSSIAN - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
 

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.
scoreMap(String[]) - Method in class opennlp.tools.doccat.DocumentCategorizerME
 
SDContextGenerator - Interface in opennlp.tools.sentdetect
Interface for SentenceDetectorME context generators.
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<SentenceSample>, SDContextGenerator, EndOfSentenceScanner) - Constructor for class opennlp.tools.sentdetect.SDEventStream
Initializes the current instance.
seen - Variable in class opennlp.tools.ml.model.ComparableEvent
 
SegmenterObjectStream<S,T> - Class in opennlp.tools.formats.brat
 
SegmenterObjectStream(ObjectStream<S>) - Constructor for class opennlp.tools.formats.brat.SegmenterObjectStream
 
sentDetect(CharSequence) - Method in class opennlp.tools.sentdetect.NewlineSentenceDetector
 
sentDetect(CharSequence) - Method in interface opennlp.tools.sentdetect.SentenceDetector
Detects sentences in a character sequence.
sentDetect(CharSequence) - Method in class opennlp.tools.sentdetect.SentenceDetectorME
Detects sentences in given input CharSequence..
Sentence() - Constructor for class opennlp.tools.formats.ad.ADSentenceStream.Sentence
 
SENTENCE_DETECTOR - Enum constant in enum class opennlp.tools.util.DownloadUtil.ModelType
 
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
 
SentenceDetector - Interface in opennlp.tools.sentdetect
The interface for sentence detectors, which find the sentence boundaries in a text.
SentenceDetectorConverterTool - Class in opennlp.tools.cmdline.sentdetect
Tool to convert multiple data formats into native OpenNLP sentence detector training format.
SentenceDetectorConverterTool() - Constructor for class opennlp.tools.cmdline.sentdetect.SentenceDetectorConverterTool
 
SentenceDetectorCrossValidatorTool - Class in opennlp.tools.cmdline.sentdetect
 
SentenceDetectorCrossValidatorTool() - Constructor for class opennlp.tools.cmdline.sentdetect.SentenceDetectorCrossValidatorTool
 
SentenceDetectorEvaluationMonitor - Interface in opennlp.tools.sentdetect
 
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.
SentenceDetectorEvaluatorTool - Class in opennlp.tools.cmdline.sentdetect
A default SentenceSample-centric implementation of AbstractEvaluatorTool that prints to an output stream.
SentenceDetectorEvaluatorTool() - Constructor for class opennlp.tools.cmdline.sentdetect.SentenceDetectorEvaluatorTool
 
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, Factory) - Constructor for class opennlp.tools.sentdetect.SentenceDetectorME
Deprecated.
Use a SentenceDetectorFactory to extend SentenceDetector functionality.
SentenceDetectorTool - Class in opennlp.tools.cmdline.sentdetect
A sentence detector which uses a maxent model to predict the sentences.
SentenceDetectorTool() - Constructor for class opennlp.tools.cmdline.sentdetect.SentenceDetectorTool
 
SentenceDetectorTrainerTool - Class in opennlp.tools.cmdline.sentdetect
 
SentenceDetectorTrainerTool() - Constructor for class opennlp.tools.cmdline.sentdetect.SentenceDetectorTrainerTool
 
SentenceEvaluationErrorListener - Class in opennlp.tools.cmdline.sentdetect
A default implementation of EvaluationMonitor that prints to an output stream.
SentenceEvaluationErrorListener() - Constructor for class opennlp.tools.cmdline.sentdetect.SentenceEvaluationErrorListener
Creates a listener that will print to the configured logger.
SentenceEvaluationErrorListener(OutputStream) - Constructor for class opennlp.tools.cmdline.sentdetect.SentenceEvaluationErrorListener
Creates a listener that will print to a given OutputStream.
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
 
SentenceModel(InputStream) - Constructor for class opennlp.tools.sentdetect.SentenceModel
 
SentenceModel(String, MaxentModel, boolean, Dictionary) - Constructor for class opennlp.tools.sentdetect.SentenceModel
 
SentenceModel(String, MaxentModel, boolean, Dictionary, char[]) - Constructor for class opennlp.tools.sentdetect.SentenceModel
SentenceModel(String, MaxentModel, boolean, Dictionary, char[], Map<String, String>) - Constructor for class opennlp.tools.sentdetect.SentenceModel
SentenceModel(String, MaxentModel, boolean, Dictionary, Map<String, String>) - Constructor for class opennlp.tools.sentdetect.SentenceModel
 
SentenceModel(String, MaxentModel, Map<String, String>, SentenceDetectorFactory) - Constructor for class opennlp.tools.sentdetect.SentenceModel
 
SentenceModel(URL) - Constructor for class opennlp.tools.sentdetect.SentenceModel
 
SentenceModel(Path) - Constructor for class opennlp.tools.sentdetect.SentenceModel
 
SentenceParser() - Constructor for class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
 
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
 
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<String>) - Constructor for class opennlp.tools.sentdetect.SentenceSampleStream
 
SentenceSampleStreamFactory<P> - Class in opennlp.tools.formats
Factory producing OpenNLP SentenceSampleStreams.
sentPosDetect(CharSequence) - Method in class opennlp.tools.sentdetect.NewlineSentenceDetector
 
sentPosDetect(CharSequence) - Method in interface opennlp.tools.sentdetect.SentenceDetector
Detects sentences in a character sequence.
sentPosDetect(CharSequence) - Method in class opennlp.tools.sentdetect.SentenceDetectorME
Detects the position of the first words of sentences in a CharSequence.
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_TRAINER - Enum constant in enum class opennlp.tools.ml.TrainerFactory.TrainerType
 
SEQUENCE_VALUE - Static variable in interface opennlp.tools.ml.EventModelSequenceTrainer
 
SEQUENCE_VALUE - Static variable in interface opennlp.tools.ml.SequenceTrainer
 
SequenceClassificationModel<T> - 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.
SequenceStreamEventStream - Class in opennlp.tools.ml.model
Class which turns a SequenceStream into an event stream.
SequenceStreamEventStream(SequenceStream<Event>) - Constructor for class opennlp.tools.ml.model.SequenceStreamEventStream
 
SequenceTrainer - 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(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) - Method in class opennlp.tools.util.TrainingParameters
Serializes a TrainingParameters instance via a specified OutputStream.
serialize(OutputStream, Iterator<Entry>) - Static method in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor
serialize(OutputStream, Iterator<Entry>, 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
 
serialize(T, OutputStream) - Method in interface opennlp.tools.util.model.ArtifactSerializer
Serializes an artifact to the provided OutputStream.
set(double) - Method in class opennlp.tools.ml.naivebayes.LogProbability
Assigns a probability to a label, discarding any previously assigned probability.
set(double) - Method in class opennlp.tools.ml.naivebayes.Probability
Assigns a probability to a label, discarding any previously assigned probability.
set(Probability<T>) - Method in class opennlp.tools.ml.naivebayes.LogProbability
Assigns a probability to a label, discarding any previously assigned probability.
set(Probability<T>) - Method in class opennlp.tools.ml.naivebayes.Probability
Assigns a probability to a label, discarding any previously assigned probability.
set(T, double) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
Assigns a probability to a label t, discarding any previously assigned probability.
set(T, double) - Method in class opennlp.tools.ml.naivebayes.Probabilities
Assigns a probability to a label t, discarding any previously assigned probability.
set(T, Probability<T>) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
Assigns a probability to a label t, discarding any previously assigned probability.
set(T, Probability<T>) - Method in class opennlp.tools.ml.naivebayes.Probabilities
Assigns a probability to a label t, discarding any previously assigned probability.
setAll(double, double, double, double[], double[], double[], double[], double[], double[], int) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
Update line search elements
setAll(double, double, double, double[], double[], double[], double[], int) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
Update line search elements
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.
setChunkSize(int) - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
 
setConfidence(double) - Method in class opennlp.tools.ml.naivebayes.Probabilities
Sets the best confidence with which this set of probabilities has been calculated.
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(String) - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
Set the current string.
setCurrentContext(String[][]) - Method in class opennlp.tools.util.featuregen.AdditionalContextFeatureGenerator
 
setCurrPoint(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
 
setDerivation(StringBuffer) - Method in class opennlp.tools.parser.Parse
Specifies the derivation string to be associated with this parse.
setDictionary(String, Dictionary) - Method in class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
 
setDictionary(Dictionary) - Method in class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
 
setEnd(int) - Method in class opennlp.tools.formats.ad.ADChunkSampleStream
 
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.
setEvaluator(QNMinimizer.Evaluator) - Method in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
 
setFctEvalCount(int) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
 
setFeatureGenerators(FeatureGenerator[]) - Method in class opennlp.tools.doccat.DoccatFactory
 
setFunctionalTag(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
 
setGaussianSigma(double) - Method in class opennlp.tools.ml.maxent.GISTrainer
Sets whether this trainer will use smoothing while training the model.
setGradAtCurr(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
 
setGradAtNext(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
 
setIfLarger(double) - Method in class opennlp.tools.ml.naivebayes.LogProbability
Assigns a probability to a label, discarding any previously assigned probability, if the new probability is greater than the old one.
setIfLarger(double) - Method in class opennlp.tools.ml.naivebayes.Probability
Assigns a probability to a label, discarding any previously assigned probability, if the new probability is greater than the old one.
setIfLarger(Probability<T>) - Method in class opennlp.tools.ml.naivebayes.LogProbability
Assigns a probability to a label, discarding any previously assigned probability, if the new probability is greater than the old one.
setIfLarger(Probability<T>) - Method in class opennlp.tools.ml.naivebayes.Probability
Assigns a probability to a label, discarding any previously assigned probability, if the new probability is greater than the old one.
setIfLarger(T, double) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
Assigns a probability to a label t, discarding any previously assigned probability, if the new probability is greater than the old one.
setIfLarger(T, double) - Method in class opennlp.tools.ml.naivebayes.Probabilities
Assigns a probability to a label t, discarding any previously assigned probability, if the new probability is greater than the old one.
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.
setLabels(String[], String[]) - Method in class opennlp.tools.ml.model.UniformPrior
 
setLemma(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
 
setLevel(int) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
 
setLexeme(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
 
setLinkedEntries(ArrayList<T>) - Method in class opennlp.tools.entitylinker.LinkedSpan
 
setLog(double) - Method in class opennlp.tools.ml.naivebayes.LogProbability
Assigns a log probability to a label, discarding any previously assigned probability.
setLog(double) - Method in class opennlp.tools.ml.naivebayes.Probability
Assigns a log probability to a label, discarding any previously assigned probability.
setLog(T, double) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
Assigns a log probability to a label t, discarding any previously assigned probability.
setLog(T, double) - Method in class opennlp.tools.ml.naivebayes.Probabilities
Assigns a log probability to a label t, discarding any previously assigned probability.
setMatchingPatterns(Pattern[]) - Method in class opennlp.tools.namefind.RegexNameFinder
 
setMaxLength(int) - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
 
setMetadata(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.Sentence
 
setMinConsecImprovements(int) - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
 
setMinDiff(double) - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
 
setMorphologicalTag(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
 
setNextPoint(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
 
setNextPunctuation(Collection<Parse>) - Method in class opennlp.tools.parser.Parse
Sets the punctuation tags which follow this parse.
setNote(String) - Method in class opennlp.tools.formats.brat.BratAnnotation
 
setParameter(int, double) - Method in class opennlp.tools.ml.model.MutableContext
Assigns the parameter or expected value at the specified outcomeIndex the specified value.
setParams(String[]) - Static method in class opennlp.tools.util.TrainingParameters
 
setParent(Parse) - Method in class opennlp.tools.parser.Parse
Specifies the parent parse node for this constituent.
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.
setPrevPunctuation(Collection<Parse>) - Method in class opennlp.tools.parser.Parse
Sets the punctuation tags which precede this parse.
setPseudoGradAtNext(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
 
setRoot(ADSentenceStream.SentenceParser.Node) - Method in class opennlp.tools.formats.ad.ADSentenceStream.Sentence
 
setScoreMap(Map<String, Double>) - Method in class opennlp.tools.entitylinker.BaseLink
 
setSearchTerm(String) - Method in class opennlp.tools.entitylinker.LinkedSpan
 
setSecondaryTag(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
 
setSentenceid(int) - Method in class opennlp.tools.entitylinker.LinkedSpan
 
setSignVector(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
 
setSkippedAveraging(boolean) - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
Enables skipped averaging, this flag changes the standard averaging to special averaging instead.
setSmoothing(boolean) - Method in class opennlp.tools.ml.maxent.GISTrainer
Sets whether this trainer will use smoothing while training the model.
setSmoothingObservation(double) - Method in class opennlp.tools.ml.maxent.GISTrainer
Sets whether this trainer will use smoothing while training the model.
setSpanType(String) - Method in class opennlp.tools.namefind.RegexNameFinder
 
setStart(int) - Method in class opennlp.tools.formats.ad.ADChunkSampleStream
 
setStepSize(double) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
 
setStepSizeDecrease(double) - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
Enables and sets step size decrease.
setSyntacticTag(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
 
setTagDictionary(TagDictionary) - Method in class opennlp.tools.postag.POSTaggerFactory
 
setText(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.Sentence
 
setTolerance(double) - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
Specifies the tolerance.
setType(String) - Method in class opennlp.tools.parser.Parse
Set the type of this constituent to the specified type.
setValue(String, String) - Method in class opennlp.tools.dictionary.serializer.Attributes
Sets a key/value pair.
setValueAtCurr(double) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
 
setValueAtNext(double) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
 
SgmlParser - Class in opennlp.tools.formats.muc
SAX style SGML parser.
SgmlParser() - Constructor for class opennlp.tools.formats.muc.SgmlParser
 
SgmlParser.ContentHandler - Class in opennlp.tools.formats.muc
 
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.
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
 
SIGNATURE_CHUNKED_PARAMS - Static variable in class opennlp.tools.ml.model.ModelParameterChunker
 
SimplePerceptronSequenceTrainer - Class in opennlp.tools.ml.perceptron
Trains models with sequences using the perceptron algorithm.
SimplePerceptronSequenceTrainer() - Constructor for class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
Instantiates a SimplePerceptronSequenceTrainer with a default configuration of training parameters.
SimpleTokenizer - Class in opennlp.tools.tokenize
A basic Tokenizer implementation which performs tokenization using character classes.
SimpleTokenizer() - Constructor for class opennlp.tools.tokenize.SimpleTokenizer
Deprecated.
Use SimpleTokenizer.INSTANCE field instead to obtain an instance. This constructor will be made private in the future.
SimpleTokenizerTool - Class in opennlp.tools.cmdline.tokenizer
 
SimpleTokenizerTool() - Constructor for class opennlp.tools.cmdline.tokenizer.SimpleTokenizerTool
 
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 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
 
size() - Method in interface opennlp.tools.util.wordvector.WordVectorTable
 
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
 
SORT_DEFAULT - Static variable in class opennlp.tools.ml.model.AbstractDataIndexer
 
SORT_PARAM - Static variable in class opennlp.tools.ml.model.AbstractDataIndexer
 
sortedScoreMap(String[]) - Method in interface opennlp.tools.doccat.DocumentCategorizer
Retrieves a SortedMap of the scores sorted in ascending order, together with their associated categories.
sortedScoreMap(String[]) - Method in class opennlp.tools.doccat.DocumentCategorizerME
 
SPA - Enum constant in enum class opennlp.tools.formats.Conll02NameSampleStream.LANGUAGE
 
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.
SPAN_TYPE - Static variable in class opennlp.tools.formats.brat.AnnotationConfiguration
 
SpanAnnotation - Class in opennlp.tools.formats.brat
 
SPANISH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
 
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
 
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.
START_TAG - Static variable in class opennlp.tools.namefind.NameSampleDataStream
 
START_TAG_PREFIX - Static variable in class opennlp.tools.namefind.NameSampleDataStream
 
startElement(String, String, String, Attributes) - Method in class opennlp.tools.formats.masc.MascNamedEntityParser
 
startElement(String, String, String, Attributes) - Method in class opennlp.tools.formats.masc.MascPennTagParser
 
startElement(String, Map<String, String>) - Method in class opennlp.tools.formats.muc.MucNameContentHandler
 
startElement(String, Map<String, String>) - Method in class opennlp.tools.formats.muc.SgmlParser.ContentHandler
 
startsWith(Span) - Method in class opennlp.tools.util.Span
 
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.greekStemmer
 
stem() - Method in class opennlp.tools.stemmer.snowball.indonesianStemmer
 
stem() - Method in class opennlp.tools.stemmer.snowball.irishStemmer
 
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(CharSequence) - Method in interface opennlp.tools.stemmer.Stemmer
 
stem(String) - Method in class opennlp.tools.stemmer.PorterStemmer
Stem a word provided as a String.
Stemmer - Interface in opennlp.tools.stemmer
The stemmer is reducing a word to its stem.
StringList - Class in opennlp.tools.util
A StringList is an immutable list of Strings.
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.
StringUtil - Class in opennlp.tools.util
 
StringUtil() - Constructor for class opennlp.tools.util.StringUtil
 
SuffixFeatureGenerator - Class in opennlp.tools.util.featuregen
 
SuffixFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.SuffixFeatureGenerator
 
SuffixFeatureGenerator(int) - Constructor for class opennlp.tools.util.featuregen.SuffixFeatureGenerator
 
SuffixFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
 
SuffixFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.SuffixFeatureGeneratorFactory
 
sumFeatures(Context[], float[], double[]) - Static method in class opennlp.tools.ml.ArrayMath
 
SWEDISH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
 

T

tag() - Method in record class opennlp.tools.util.TokenTag
Returns the value of the tag record component.
tag(int, String[]) - Method in class opennlp.tools.postag.POSTaggerME
Returns at most the specified numTaggings for the specified sentence.
tag(String[]) - Method in interface opennlp.tools.postag.POSTagger
Assigns the sentence of tokens pos tags.
tag(String[]) - Method in class opennlp.tools.postag.POSTaggerME
 
tag(String[], Object[]) - Method in interface opennlp.tools.postag.POSTagger
Assigns the sentence of tokens pos tags.
tag(String[], Object[]) - Method in class opennlp.tools.postag.POSTaggerME
 
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.
TaggerModelReplacerTool - Class in opennlp.tools.cmdline.parser
 
TaggerModelReplacerTool() - Constructor for class opennlp.tools.cmdline.parser.TaggerModelReplacerTool
 
thEosCharacters - Static variable in class opennlp.tools.sentdetect.lang.Factory
 
THREADS_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
 
THREADS_PARAM - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
 
THREADS_PARAM - Static variable in class opennlp.tools.util.TrainingParameters
 
ThreadSafe - Annotation Interface in opennlp.tools.commons
Classes, fields, or methods annotated &#64;ThreadSafe are safe to use in multithreading contexts.
toContraction(String, String) - Static method in class opennlp.tools.formats.ad.PortugueseContractionUtility
Merges a contraction.
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.
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 class opennlp.tools.parser.AbstractBottomUpParser
The label for a token node.
token() - Method in record class opennlp.tools.util.TokenTag
Returns the value of the token record component.
TokenClassFeatureGenerator - Class in opennlp.tools.util.featuregen
Generates features for different for the class of the token.
TokenClassFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.TokenClassFeatureGenerator
 
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
 
TokenContextGenerator - Interface in opennlp.tools.tokenize
Interface for context generators required for TokenizerME.
TokenEvaluationErrorListener - Class in opennlp.tools.cmdline.tokenizer
A default implementation of EvaluationMonitor that prints to an output stream.
TokenEvaluationErrorListener() - Constructor for class opennlp.tools.cmdline.tokenizer.TokenEvaluationErrorListener
Creates a listener that will print to the configured logger.
TokenEvaluationErrorListener(OutputStream) - Constructor for class opennlp.tools.cmdline.tokenizer.TokenEvaluationErrorListener
Creates a listener that will print to a given OutputStream.
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 the 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.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 class opennlp.tools.tokenize.SimpleTokenizer
 
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.TokenizerME
Tokenizes the 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.util.DownloadUtil.ModelType
 
TokenizerConverterTool - Class in opennlp.tools.cmdline.tokenizer
Tool to convert multiple data formats into native OpenNLP sentence detector training format.
TokenizerConverterTool() - Constructor for class opennlp.tools.cmdline.tokenizer.TokenizerConverterTool
 
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.
TokenizerCrossValidatorTool - Class in opennlp.tools.cmdline.tokenizer
 
TokenizerCrossValidatorTool() - Constructor for class opennlp.tools.cmdline.tokenizer.TokenizerCrossValidatorTool
 
TokenizerEvaluationMonitor - Interface in opennlp.tools.tokenize
A marker interface for evaluating tokenizers.
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, Factory) - Constructor for class opennlp.tools.tokenize.TokenizerME
Deprecated.
use TokenizerFactory to extend the Tokenizer functionality
TokenizerMEEvaluatorTool - Class in opennlp.tools.cmdline.tokenizer
A default TokenSample-centric implementation of AbstractEvaluatorTool that prints to an output stream.
TokenizerMEEvaluatorTool() - Constructor for class opennlp.tools.cmdline.tokenizer.TokenizerMEEvaluatorTool
 
TokenizerMETool - Class in opennlp.tools.cmdline.tokenizer
 
TokenizerMETool() - Constructor for class opennlp.tools.cmdline.tokenizer.TokenizerMETool
 
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<String, String>, TokenizerFactory) - Constructor for class opennlp.tools.tokenize.TokenizerModel
Initializes a TokenizerModel instance via a MaxentModel and related resources.
TokenizerModelLoader - Class in opennlp.tools.cmdline.tokenizer
Loads a TokenizerModel for the command line tools.
TokenizerModelLoader() - Constructor for class opennlp.tools.cmdline.tokenizer.TokenizerModelLoader
 
TokenizerStream - Class in opennlp.tools.tokenize
The TokenizerStream uses a Tokenizer to tokenize the input string and output samples.
TokenizerStream(Tokenizer, ObjectStream<String>) - Constructor for class opennlp.tools.tokenize.TokenizerStream
Initializes a instance.
TokenizerTrainerTool - Class in opennlp.tools.cmdline.tokenizer
 
TokenizerTrainerTool() - Constructor for class opennlp.tools.cmdline.tokenizer.TokenizerTrainerTool
 
TokenNameFinder - Interface in opennlp.tools.namefind
The interface for name finders which provide name tags for a sequence of tokens.
TokenNameFinderConverterTool - Class in opennlp.tools.cmdline.namefind
Tool to convert multiple data formats into native OpenNLP name finder training format.
TokenNameFinderConverterTool() - Constructor for class opennlp.tools.cmdline.namefind.TokenNameFinderConverterTool
 
TokenNameFinderCrossValidator - Class in opennlp.tools.namefind
Cross validator for TokenNameFinder.
TokenNameFinderCrossValidator(String, String, TrainingParameters, byte[], Map<String, Object>, TokenNameFinderEvaluationMonitor...) - Constructor for class opennlp.tools.namefind.TokenNameFinderCrossValidator
Initializes a TokenNameFinderCrossValidator with the given parameters.
TokenNameFinderCrossValidator(String, String, TrainingParameters, byte[], Map<String, Object>, SequenceCodec<String>, 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.
TokenNameFinderCrossValidatorTool - Class in opennlp.tools.cmdline.namefind
 
TokenNameFinderCrossValidatorTool() - Constructor for class opennlp.tools.cmdline.namefind.TokenNameFinderCrossValidatorTool
 
TokenNameFinderDetailedFMeasureListener - Class in opennlp.tools.cmdline.namefind
 
TokenNameFinderDetailedFMeasureListener() - Constructor for class opennlp.tools.cmdline.namefind.TokenNameFinderDetailedFMeasureListener
 
TokenNameFinderEvaluationMonitor - Interface in opennlp.tools.namefind
A marker interface for evaluating name finders.
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.
TokenNameFinderEvaluatorTool - Class in opennlp.tools.cmdline.namefind
A default NameSample-centric implementation of AbstractEvaluatorTool that prints to an output stream.
TokenNameFinderEvaluatorTool() - Constructor for class opennlp.tools.cmdline.namefind.TokenNameFinderEvaluatorTool
 
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<String, Object>, SequenceCodec<String>) - Constructor for class opennlp.tools.namefind.TokenNameFinderFactory
Initializes a TokenNameFinderFactory instance via given parameters.
TokenNameFinderFineGrainedReportListener - Class in opennlp.tools.cmdline.namefind
Generates a detailed report for the NameFinder.
TokenNameFinderFineGrainedReportListener(SequenceCodec<String>) - Constructor for class opennlp.tools.cmdline.namefind.TokenNameFinderFineGrainedReportListener
Creates a listener that will print to the configured logger.
TokenNameFinderFineGrainedReportListener(SequenceCodec<String>, OutputStream) - Constructor for class opennlp.tools.cmdline.namefind.TokenNameFinderFineGrainedReportListener
Creates a listener that prints to a given OutputStream.
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<String, Object>, Map<String, String>) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
Initializes a TokenNameFinderModel instance via given parameters.
TokenNameFinderModel(String, MaxentModel, int, byte[], Map<String, Object>, Map<String, String>) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
Initializes a TokenNameFinderModel instance via given parameters.
TokenNameFinderModel(String, MaxentModel, int, byte[], Map<String, Object>, Map<String, String>, SequenceCodec<String>, TokenNameFinderFactory) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
Initializes a TokenNameFinderModel instance via given parameters.
TokenNameFinderModel(String, MaxentModel, Map<String, Object>, Map<String, String>) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
Initializes a TokenNameFinderModel instance via given parameters.
TokenNameFinderModel(String, SequenceClassificationModel<String>, byte[], Map<String, Object>, Map<String, String>, SequenceCodec<String>, 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 in opennlp.tools.namefind
 
TokenNameFinderModelLoader - Class in opennlp.tools.cmdline.namefind
Loads a TokenNameFinderModel for the command line tools.
TokenNameFinderModelLoader() - Constructor for class opennlp.tools.cmdline.namefind.TokenNameFinderModelLoader
 
TokenNameFinderTool - Class in opennlp.tools.cmdline.namefind
 
TokenNameFinderTool() - Constructor for class opennlp.tools.cmdline.namefind.TokenNameFinderTool
 
TokenNameFinderTrainerTool - Class in opennlp.tools.cmdline.namefind
 
TokenNameFinderTrainerTool() - Constructor for class opennlp.tools.cmdline.namefind.TokenNameFinderTrainerTool
 
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.
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.
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<String>) - Constructor for class opennlp.tools.tokenize.TokenSampleStream
Initializes a instance.
TokenSampleStream(ObjectStream<String>, String) - Constructor for class opennlp.tools.tokenize.TokenSampleStream
Initializes a instance.
TokenSampleStreamFactory<P> - Class in opennlp.tools.formats
Factory producing OpenNLP TokenSampleStreams.
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.
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<TokenSample>, 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<TokenSample>, 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<TokenSample>, boolean, TokenContextGenerator) - Constructor for class opennlp.tools.tokenize.TokSpanEventStream
Initializes a new event stream based on the data stream using a TokenContextGenerator.
TOLERANCE_DEFAULT - Static variable in class opennlp.tools.ml.perceptron.PerceptronTrainer
 
toLine(Event) - Static method in class opennlp.tools.ml.model.FileEventStream
Generates a string representing the specified event.
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 class opennlp.tools.parser.AbstractBottomUpParser
The label for the top node.
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 interface opennlp.tools.postag.POSTagger
Assigns the sentence the top-k sequences.
topKSequences(String[]) - Method in class opennlp.tools.postag.POSTaggerME
 
topKSequences(String[], Object[]) - Method in interface opennlp.tools.postag.POSTagger
Assigns the sentence the top-k sequences.
topKSequences(String[], Object[]) - Method in class opennlp.tools.postag.POSTaggerME
 
topKSequences(String[], String[]) - Method in interface opennlp.tools.chunker.Chunker
Returns the top k chunk sequences for the specified sentence with the specified pos-tags
topKSequences(String[], String[]) - Method in class opennlp.tools.chunker.ChunkerME
 
topKSequences(String[], String[]) - Method in class opennlp.tools.lemmatizer.LemmatizerME
 
topKSequences(String[], String[], double) - Method in interface opennlp.tools.chunker.Chunker
Returns the top k chunk sequences for the specified sentence with the specified pos-tags
topKSequences(String[], String[], double) - Method in class opennlp.tools.chunker.ChunkerME
 
topKSequences(String[], String[], double) - Method in class opennlp.tools.lemmatizer.LemmatizerME
 
toSpan() - Method in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument.Pointer
 
toString() - Method in class opennlp.tools.chunker.ChunkSample
 
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.doccat.DocumentSample
 
toString() - Method in class opennlp.tools.entitylinker.BaseLink
 
toString() - Method in class opennlp.tools.entitylinker.LinkedSpan
 
toString() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
 
toString() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Node
 
toString() - Method in class opennlp.tools.formats.brat.AttributeAnnotation
 
toString() - Method in class opennlp.tools.formats.brat.BratAnnotation
 
toString() - Method in class opennlp.tools.formats.brat.RelationAnnotation
 
toString() - Method in class opennlp.tools.formats.brat.SpanAnnotation
 
toString() - Method in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument.Pointer
 
toString() - Method in class opennlp.tools.langdetect.Language
 
toString() - Method in class opennlp.tools.langdetect.LanguageDetectorEvaluator
Represents this object as human-readable String.
toString() - Method in record class opennlp.tools.langdetect.LanguageSample
Returns a string representation of this record class.
toString() - Method in record class opennlp.tools.langdetect.ProbingLanguageDetectionResult
Returns a string representation of this record class.
toString() - Method in class opennlp.tools.lemmatizer.LemmaSample
 
toString() - Method in class opennlp.tools.lemmatizer.LemmatizerEvaluator
Returns this object's human-readable String representation.
toString() - Method in class opennlp.tools.ml.model.ComparableEvent
 
toString() - Method in class opennlp.tools.ml.model.ComparablePredicate
 
toString() - Method in class opennlp.tools.ml.model.Event
 
toString() - Method in class opennlp.tools.ml.naivebayes.LogProbability
 
toString() - Method in class opennlp.tools.ml.naivebayes.Probabilities
 
toString() - Method in class opennlp.tools.ml.naivebayes.Probability
 
toString() - Method in class opennlp.tools.namefind.NameSample
 
toString() - Method in class opennlp.tools.ngram.NGramCharModel
 
toString() - Method in class opennlp.tools.ngram.NGramModel
 
toString() - Method in class opennlp.tools.parser.Parse
Represents this Parse in a human-readable way.
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.postag.POSSample
 
toString() - Method in class opennlp.tools.sentdetect.SentenceSample
 
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.tokenize.TokenSample
 
toString() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner
 
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.featuregen.CachedFeatureGenerator
 
toString() - Method in class opennlp.tools.util.featuregen.WindowFeatureGenerator
 
toString() - Method in class opennlp.tools.util.Sequence
 
toString() - Method in class opennlp.tools.util.Span
 
toString() - Method in class opennlp.tools.util.StringList
 
toString() - Method in record class opennlp.tools.util.TokenTag
Returns a string representation of this record class.
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.
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(String, String, ObjectStream<NameSample>, TrainingParameters, TokenNameFinderFactory) - Static method in class opennlp.tools.namefind.NameFinderME
Starts a training of a TokenNameFinderModel with the given parameters.
train(String, ObjectStream<ChunkSample>, TrainingParameters, ChunkerFactory) - Static method in class opennlp.tools.chunker.ChunkerME
Starts a training of a ChunkerModel with the given parameters.
train(String, ObjectStream<DocumentSample>, TrainingParameters, DoccatFactory) - Static method in class opennlp.tools.doccat.DocumentCategorizerME
Starts a training of a DoccatModel with the given parameters.
train(String, ObjectStream<LemmaSample>, TrainingParameters, LemmatizerFactory) - Static method in class opennlp.tools.lemmatizer.LemmatizerME
Starts a training of a LemmatizerModel with the given parameters.
train(String, ObjectStream<Parse>, HeadRules, int, int) - Static method in class opennlp.tools.parser.treeinsert.Parser
Starts a training of a ParserModel.
train(String, ObjectStream<Parse>, HeadRules, TrainingParameters) - Static method in class opennlp.tools.parser.chunking.Parser
Starts a training of a ParserModel.
train(String, ObjectStream<Parse>, HeadRules, TrainingParameters) - Static method in class opennlp.tools.parser.treeinsert.Parser
Starts a training of a ParserModel.
train(String, ObjectStream<POSSample>, TrainingParameters, POSTaggerFactory) - Static method in class opennlp.tools.postag.POSTaggerME
 
train(String, ObjectStream<SentenceSample>, boolean, Dictionary, TrainingParameters) - Static method in class opennlp.tools.sentdetect.SentenceDetectorME
train(String, ObjectStream<SentenceSample>, SentenceDetectorFactory, TrainingParameters) - Static method in class opennlp.tools.sentdetect.SentenceDetectorME
 
train(DataIndexer) - Method in class opennlp.tools.ml.AbstractEventTrainer
 
train(DataIndexer) - Method in interface opennlp.tools.ml.EventTrainer
Trains a MaxentModel for given events.
train(SequenceStream<Event>) - Method in class opennlp.tools.ml.AbstractEventModelSequenceTrainer
 
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
train(ObjectStream<LanguageSample>, TrainingParameters, LanguageDetectorFactory) - Static method in class opennlp.tools.langdetect.LanguageDetectorME
Starts a training of a LanguageDetectorModel with the given parameters.
train(ObjectStream<Event>) - Method in class opennlp.tools.ml.AbstractEventTrainer
 
train(ObjectStream<Event>) - Method in interface opennlp.tools.ml.EventTrainer
Trains a MaxentModel for given events.
train(ObjectStream<TokenSample>, TokenizerFactory, TrainingParameters) - Static method in class opennlp.tools.tokenize.TokenizerME
Trains a model for the TokenizerME.
Trainer - Interface in opennlp.tools.commons
Represents a common base for training implementations.
TRAINER_TYPE_PARAM - Static variable in class opennlp.tools.ml.AbstractTrainer
 
TRAINER_TYPE_PARAM - Static variable in class opennlp.tools.util.TrainingParameters
 
TrainerFactory - Class in opennlp.tools.ml
A factory to initialize Trainer instances depending on a trainer type configured via TrainingParameters.
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
 
TrainingParameters - Class in opennlp.tools.util
Declares and handles default parameters used for or during training models.
TrainingParameters() - Constructor for class opennlp.tools.util.TrainingParameters
No-arg constructor to create a default TrainingParameters instance.
TrainingParameters(InputStream) - Constructor for class opennlp.tools.util.TrainingParameters
InputStream based constructor that reads in TrainingParameters.
TrainingParameters(Map<String, Object>) - Constructor for class opennlp.tools.util.TrainingParameters
Key-value based constructor to apply a Map based configuration initialization.
TrainingParameters(TrainingParameters) - Constructor for class opennlp.tools.util.TrainingParameters
Copy constructor to hand over the config of existing TrainingParameters.
TrainingToolParams - Interface in opennlp.tools.cmdline.params
Common training parameters.
trainModel(int, DataIndexer) - Method in class opennlp.tools.ml.maxent.GISTrainer
Trains a model using the GIS algorithm.
trainModel(int, DataIndexer) - Method in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
Trains a model using the QN algorithm.
trainModel(int, DataIndexer, int) - Method in class opennlp.tools.ml.maxent.GISTrainer
Trains a model using the GIS algorithm.
trainModel(int, DataIndexer, int) - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
Trains a PerceptronModel with given parameters.
trainModel(int, DataIndexer, int, boolean) - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
Trains a PerceptronModel with given parameters.
trainModel(int, DataIndexer, Prior, int) - Method in class opennlp.tools.ml.maxent.GISTrainer
Trains a model using the GIS algorithm.
trainModel(int, SequenceStream<Event>, int, boolean) - Method in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
Trains a PerceptronModel with given parameters.
trainModel(DataIndexer) - Method in class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
Trains a NaiveBayesModel with given parameters.
trainModel(ObjectStream<Event>) - Method in class opennlp.tools.ml.maxent.GISTrainer
Trains a model using the GIS algorithm, assuming 100 iterations and no cutoff.
trainModel(ObjectStream<Event>, int, int) - Method in class opennlp.tools.ml.maxent.GISTrainer
Trains a GIS model on the event in the specified event stream, using the specified number of iterations and the specified count cutoff.
TreeElement() - Constructor for class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
 
TREEINSERT - Enum constant in enum class opennlp.tools.parser.ParserType
 
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
 
trim(CharSequence) - Method in class opennlp.tools.util.Span
 
TURKISH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
 
TwentyNewsgroupSampleStream - Class in opennlp.tools.formats
 
TwentyNewsgroupSampleStreamFactory<P> - Class in opennlp.tools.formats
 
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
 
TwoPassDataIndexer - Class in opennlp.tools.ml.model
Collecting event and context counts by making two passes over the events.
TwoPassDataIndexer() - Constructor for class opennlp.tools.ml.model.TwoPassDataIndexer
 

U

U - Enum constant in enum class opennlp.tools.formats.conllu.ConlluTagset
 
UncloseableInputStream - Class in opennlp.tools.util.model
An InputStream which cannot be closed.
UncloseableInputStream(InputStream) - Constructor for class opennlp.tools.util.model.UncloseableInputStream
 
UniformPrior - Class in opennlp.tools.ml.model
Provide a maximum entropy model with a uniform Prior.
UniformPrior() - Constructor for class opennlp.tools.ml.model.UniformPrior
 
UNIT - Static variable in class opennlp.tools.namefind.BilouCodec
 
updateAdaptiveData(String[], String[]) - Method in class opennlp.tools.namefind.DefaultNameContextGenerator
 
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.
updateAdaptiveData(String[], String[]) - Method in class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
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<ChunkSample>, AbstractModel) - Method in class opennlp.tools.chunker.ChunkSampleSequenceStream
 
updateContext(Sequence<LemmaSample>, AbstractModel) - Method in class opennlp.tools.lemmatizer.LemmaSampleSequenceStream
 
updateContext(Sequence<NameSample>, AbstractModel) - Method in class opennlp.tools.namefind.NameSampleSequenceStream
 
updateContext(Sequence<POSSample>, AbstractModel) - Method in class opennlp.tools.postag.POSSampleSequenceStream
 
updateContext(Sequence<S>, AbstractModel) - 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.
updateParameter(int, double) - Method in class opennlp.tools.ml.model.MutableContext
Updated the parameter or expected value at the specified outcomeIndex by adding the specified value to its current value.
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
 
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
 
useFunctionTags(boolean) - Static method in class opennlp.tools.parser.Parse
Specifies whether function tags should be included as part of the constituent type.
useTokenEnd() - Method in class opennlp.tools.sentdetect.SentenceModel
 

V

validate() - Method in class opennlp.tools.ml.AbstractEventTrainer
 
validate() - Method in class opennlp.tools.ml.AbstractTrainer
Checks the configured parameters.
validate() - Method in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
 
validate() - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
Checks the configured parameters.
validate() - Method in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
Checks the configured parameters.
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.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
 
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
 
valueAt(double[]) - Method in interface opennlp.tools.ml.maxent.quasinewton.Function
 
valueAt(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
Computes the negative log-likelihood.
valueAt(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.ParallelNegLogLikelihood
Computes the negative log-likelihood.
valueAt(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer.L2RegFunction
 
valueOf(String) - Static method in enum class opennlp.tools.formats.Conll02NameSampleStream.LANGUAGE
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class opennlp.tools.formats.Conll03NameSampleStream.LANGUAGE
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class opennlp.tools.formats.conllu.ConlluTagset
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class opennlp.tools.formats.EvalitaNameSampleStream.LANGUAGE
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class opennlp.tools.ml.model.AbstractModel.ModelType
Returns the enum constant of this class with the specified name.
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.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.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.
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.DownloadUtil.ModelType
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 - Variable in class opennlp.tools.ml.model.ComparableEvent
 
values() - Static method in enum class opennlp.tools.formats.Conll02NameSampleStream.LANGUAGE
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class opennlp.tools.formats.Conll03NameSampleStream.LANGUAGE
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class opennlp.tools.formats.conllu.ConlluTagset
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class opennlp.tools.formats.EvalitaNameSampleStream.LANGUAGE
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class opennlp.tools.ml.model.AbstractModel.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.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.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.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.
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.DownloadUtil.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.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.
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

WhitespaceTokenizer - Class in opennlp.tools.tokenize
A basic Tokenizer implementation which performs tokenization using white spaces.
WhitespaceTokenStream - Class in opennlp.tools.tokenize
This stream formats ObjectStream of samples into whitespace separated token strings.
WhitespaceTokenStream(ObjectStream<TokenSample>) - Constructor for class opennlp.tools.tokenize.WhitespaceTokenStream
Initializes a WhitespaceTokenStream.
WindowFeatureGenerator - Class in opennlp.tools.util.featuregen
Generates previous and next 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
 
WordClusterFeatureGenerator(WordClusterDictionary, String, boolean) - Constructor for class opennlp.tools.util.featuregen.WordClusterFeatureGenerator
 
WordClusterFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
Defines a word cluster generator factory; it reads an element containing 'w2vwordcluster' as a tag name; these clusters are typically produced by word2vec or clark pos induction systems.
WordClusterFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.WordClusterFeatureGeneratorFactory
 
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.
WordTagSampleStream - Class in opennlp.tools.postag
A stream filter which reads a sentence per line which contains words and tags in word_tag format and outputs a POSSample objects.
WordTagSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.postag.WordTagSampleStream
Initializes a POSSample instance.
WordTagSampleStreamFactory<P> - Class in opennlp.tools.formats
Note: Do not use this class, internal use only!
WordTagSampleStreamFactory.Parameters - Interface in opennlp.tools.formats
 
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
 
writeDouble(double) - Method in class opennlp.tools.ml.maxent.io.BinaryGISModelWriter
Writes a single double to the underlying DataOutputStream.
writeDouble(double) - Method in class opennlp.tools.ml.maxent.io.BinaryQNModelWriter
Writes a single double to the underlying DataOutputStream.
writeDouble(double) - Method in class opennlp.tools.ml.model.AbstractModelWriter
Writes a single double to the underlying DataOutputStream.
writeDouble(double) - Method in class opennlp.tools.ml.model.GenericModelWriter
 
writeDouble(double) - Method in class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelWriter
 
writeDouble(double) - Method in class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelWriter
 
writeDouble(double) - Method in class opennlp.tools.ml.perceptron.BinaryPerceptronModelWriter
 
writeInt(int) - Method in class opennlp.tools.ml.maxent.io.BinaryGISModelWriter
Writes a single int to the underlying DataOutputStream.
writeInt(int) - Method in class opennlp.tools.ml.maxent.io.BinaryQNModelWriter
Writes a single int to the underlying DataOutputStream.
writeInt(int) - Method in class opennlp.tools.ml.model.AbstractModelWriter
Writes a single int to the underlying DataOutputStream.
writeInt(int) - Method in class opennlp.tools.ml.model.GenericModelWriter
 
writeInt(int) - Method in class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelWriter
 
writeInt(int) - Method in class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelWriter
 
writeInt(int) - Method in class opennlp.tools.ml.perceptron.BinaryPerceptronModelWriter
 
writeModel(MaxentModel, OutputStream) - Static method in class opennlp.tools.util.model.ModelUtil
Writes the given MaxentModel to the specified OutputStream.
writeReport() - Method in class opennlp.tools.cmdline.doccat.DoccatFineGrainedReportListener
 
writeReport() - Method in class opennlp.tools.cmdline.langdetect.LanguageDetectorFineGrainedReportListener
 
writeReport() - Method in class opennlp.tools.cmdline.lemmatizer.LemmatizerFineGrainedReportListener
 
writeReport() - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderFineGrainedReportListener
 
writeReport() - Method in class opennlp.tools.cmdline.postag.POSTaggerFineGrainedReportListener
 
writeUTF(DataOutputStream, String) - Static method in class opennlp.tools.ml.model.ModelParameterChunker
Writes the model parameter s to dos.
writeUTF(String) - Method in class opennlp.tools.ml.maxent.io.BinaryGISModelWriter
Writes a String to the underlying DataOutputStream.
writeUTF(String) - Method in class opennlp.tools.ml.maxent.io.BinaryQNModelWriter
Writes a String to the underlying DataOutputStream.
writeUTF(String) - Method in class opennlp.tools.ml.model.AbstractModelWriter
Writes a String to the underlying DataOutputStream.
writeUTF(String) - Method in class opennlp.tools.ml.model.GenericModelWriter
 
writeUTF(String) - Method in class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelWriter
 
writeUTF(String) - Method in class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelWriter
 
writeUTF(String) - Method in class opennlp.tools.ml.perceptron.BinaryPerceptronModelWriter
 

X

X - Enum constant in enum class opennlp.tools.formats.conllu.ConlluTagset
 
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 Q R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form