Skip navigation links
A B C D E F G H I J L M N O P Q R S T U V W X Z 

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 class for collecting event and context counts used in training.
AbstractDataIndexer() - Constructor for class opennlp.tools.ml.model.AbstractDataIndexer
 
AbstractEventModelSequenceTrainer - Class in opennlp.tools.ml
 
AbstractEventModelSequenceTrainer() - Constructor for class opennlp.tools.ml.AbstractEventModelSequenceTrainer
 
AbstractEventStream<T> - Class in opennlp.tools.util
 
AbstractEventStream(ObjectStream<T>) - Constructor for class opennlp.tools.util.AbstractEventStream
Initializes the current instance with a sample Iterator.
AbstractEventTrainer - Class in opennlp.tools.ml
 
AbstractEventTrainer() - Constructor for class opennlp.tools.ml.AbstractEventTrainer
 
AbstractEventTrainer(TrainingParameters) - Constructor for class opennlp.tools.ml.AbstractEventTrainer
 
AbstractModel - Class in opennlp.tools.ml.model
 
AbstractModel(Context[], String[], String[]) - Constructor for class opennlp.tools.ml.model.AbstractModel
 
AbstractModel.ModelType - Enum in opennlp.tools.ml.model
 
AbstractModelReader - Class in opennlp.tools.ml.model
 
AbstractModelReader(File) - Constructor for class opennlp.tools.ml.model.AbstractModelReader
 
AbstractModelReader(DataReader) - Constructor for class opennlp.tools.ml.model.AbstractModelReader
 
AbstractModelWriter - Class in opennlp.tools.ml.model
 
AbstractModelWriter() - Constructor for class opennlp.tools.ml.model.AbstractModelWriter
 
AbstractObjectStream<T> - Class in opennlp.tools.util
 
AbstractParserEventStream - Class in opennlp.tools.parser
Abstract class extended by parser event streams which perform tagging and chunking.
AbstractParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum, Dictionary) - Constructor for class opennlp.tools.parser.AbstractParserEventStream
 
AbstractParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum) - Constructor for class opennlp.tools.parser.AbstractParserEventStream
 
AbstractSampleStreamFactory<T> - Class in opennlp.tools.formats
Base class for sample stream factories.
AbstractSequenceTrainer - Class in opennlp.tools.ml
 
AbstractSequenceTrainer() - Constructor for class opennlp.tools.ml.AbstractSequenceTrainer
 
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
 
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(ObjectStream<String>) - Constructor for class opennlp.tools.formats.ad.ADChunkSampleStream
Creates a new NameSample stream from a line stream, i.e.
ADChunkSampleStream(InputStreamFactory, String) - Constructor for class opennlp.tools.formats.ad.ADChunkSampleStream
 
ADChunkSampleStreamFactory - Class in opennlp.tools.formats.ad
A Factory to create a Arvores Deitadas ChunkStream from the command line utility.
add(IrishSentenceBankDocument.IrishSentenceBankSentence) - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument
 
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.
add(CharSequence, int, int) - Method in class opennlp.tools.ngram.NGramModel
Adds character NGrams to the current instance.
add(Parse, HeadRules) - Method in class opennlp.tools.parser.Parse
 
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(String, double) - Method in class opennlp.tools.util.Sequence
Adds an outcome and probability to this sequence.
addCutoffAndIterations(Map<String, String>, int, int) - Static method in class opennlp.tools.util.model.ModelUtil
 
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 to this set of feature generators.
addIn(T, double, int) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
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.LogProbability
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.Probabilities
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.
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 map.
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
 
addNames(String, Span[], Parse[]) - Static method in class opennlp.tools.parser.Parse
Utility method to inserts 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 probability log 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(ObjectStream<String>, boolean) - Constructor for class opennlp.tools.formats.ad.ADNameSampleStream
Creates a new NameSample stream from a line stream, i.e.
ADNameSampleStream(InputStreamFactory, String, boolean) - Constructor for class opennlp.tools.formats.ad.ADNameSampleStream
Deprecated.
ADNameSampleStreamFactory - 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(ObjectStream<String>, boolean, boolean) - Constructor for class opennlp.tools.formats.ad.ADPOSSampleStream
Creates a new POSSample stream from a line stream, i.e.
ADPOSSampleStream(InputStreamFactory, String, boolean, boolean) - Constructor for class opennlp.tools.formats.ad.ADPOSSampleStream
Creates a new POSSample stream from a InputStream
ADPOSSampleStreamFactory - 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(ObjectStream<String>, boolean) - Constructor for class opennlp.tools.formats.ad.ADSentenceSampleStream
Creates a new SentenceSample stream from a line stream, i.e.
ADSentenceSampleStream(InputStreamFactory, String, boolean) - Constructor for class opennlp.tools.formats.ad.ADSentenceSampleStream
Creates a new SentenceSample stream from a FileInputStream
ADSentenceSampleStreamFactory - 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 - Class in opennlp.tools.formats.ad
Note: Do not use this class, internal use only!
AggregateCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
 
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(AdaptiveFeatureGenerator...) - Constructor for class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
Initializes the current instance.
AggregatedFeatureGenerator(Collection<AdaptiveFeatureGenerator>) - Constructor for class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
 
algorithm(String) - Method in class opennlp.tools.util.TrainingParameters
Retrieves the training algorithm name for a given name space.
algorithm() - Method in class opennlp.tools.util.TrainingParameters
Retrieves the training algorithm name.
ALGORITHM_PARAM - Static variable in class opennlp.tools.ml.AbstractTrainer
 
ALGORITHM_PARAM - Static variable in class opennlp.tools.util.TrainingParameters
 
alphaNumeric - Static variable in class opennlp.tools.tokenize.TokenizerME
Deprecated.
As of release 1.5.2, replaced by Factory.getAlphanumeric(String)
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
 
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 the model are compatible with the codec.
ArrayMath - Class in opennlp.tools.ml.maxent.quasinewton
Utility class for simple vector arithmetic.
ArrayMath() - Constructor for class opennlp.tools.ml.maxent.quasinewton.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.
ArtifactToSerializerMapper - Interface in opennlp.tools.util.featuregen
 
asStringSet() - Method in class opennlp.tools.dictionary.Dictionary
Gets this dictionary as a Set<String>.
ATTACH_DAUGHTER - Static variable in class opennlp.tools.parser.treeinsert.Parser
Outcome used when a node should be attached as a daughter to another node.
ATTACH_SISTER - Static variable in class opennlp.tools.parser.treeinsert.Parser
Outcome used when a node should be attached as a sister to another node.
AttachContextGenerator - Class in opennlp.tools.parser.treeinsert
 
AttachContextGenerator(Set<String>) - Constructor for class opennlp.tools.parser.treeinsert.AttachContextGenerator
 
ATTRIBUTE_TYPE - Static variable in class opennlp.tools.formats.brat.AnnotationConfiguration
 
AttributeAnnotation - Class in opennlp.tools.formats.brat
 
Attributes - Class in opennlp.tools.dictionary.serializer
The Attributes class stores name value pairs.
Attributes() - Constructor for class opennlp.tools.dictionary.serializer.Attributes
 

B

BagOfWordsFeatureGenerator - Class in opennlp.tools.doccat
Generates a feature for each word in a document.
BagOfWordsFeatureGenerator() - Constructor for class opennlp.tools.doccat.BagOfWordsFeatureGenerator
 
BaseLink - Class in opennlp.tools.entitylinker
Stores a minimal tuple of information.
BaseLink() - Constructor for class opennlp.tools.entitylinker.BaseLink
 
BaseLink(String, String, String, String) - Constructor for class opennlp.tools.entitylinker.BaseLink
 
BaseModel - Class in opennlp.tools.util.model
This model is a common based which can be used by the components model classes.
BaseToolFactory - Class in opennlp.tools.util
Base class for all tool factories.
BaseToolFactory() - Constructor for class opennlp.tools.util.BaseToolFactory
All sub-classes should have an empty constructor
BasicContextGenerator - Class in opennlp.tools.ml.maxent
Generate contexts for maxent decisions, assuming that the input given to the getContext() method is a String containing contextual predicates separated by spaces.
BasicContextGenerator() - Constructor for class opennlp.tools.ml.maxent.BasicContextGenerator
 
BasicContextGenerator(String) - Constructor for class opennlp.tools.ml.maxent.BasicContextGenerator
 
BEAM_SIZE_PARAMETER - Static variable in class opennlp.tools.ml.BeamSearch
 
BeamSearch<T> - Class in opennlp.tools.ml
Performs k-best search over sequence.
BeamSearch(int, MaxentModel) - Constructor for class opennlp.tools.ml.BeamSearch
Creates new search object.
BeamSearch(int, MaxentModel, int) - Constructor for class opennlp.tools.ml.BeamSearch
 
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
 
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
Returns the best sequence of outcomes based on model for this object.
bestSequences(int, T[], Object[], BeamSearchContextGenerator<T>, SequenceValidator<T>) - Method in class opennlp.tools.ml.BeamSearch
 
bestSequences(int, T[], Object[], double, BeamSearchContextGenerator<T>, SequenceValidator<T>) - Method in interface opennlp.tools.ml.model.SequenceClassificationModel
Finds the n most probable sequences.
bestSequences(int, T[], Object[], BeamSearchContextGenerator<T>, SequenceValidator<T>) - Method in interface opennlp.tools.ml.model.SequenceClassificationModel
Finds the n most probable sequences.
BigramNameFeatureGenerator - Class in opennlp.tools.util.featuregen
 
BigramNameFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.BigramNameFeatureGenerator
 
BilouCodec - Class in opennlp.tools.namefind
 
BilouCodec() - Constructor for class opennlp.tools.namefind.BilouCodec
 
BilouNameFinderSequenceValidator - Class in opennlp.tools.namefind
 
BilouNameFinderSequenceValidator() - Constructor for class opennlp.tools.namefind.BilouNameFinderSequenceValidator
 
BinaryFileDataReader - Class in opennlp.tools.ml.model
 
BinaryFileDataReader(File) - Constructor for class opennlp.tools.ml.model.BinaryFileDataReader
 
BinaryFileDataReader(InputStream) - Constructor for class opennlp.tools.ml.model.BinaryFileDataReader
 
BinaryFileDataReader(DataInputStream) - Constructor for class opennlp.tools.ml.model.BinaryFileDataReader
 
BinaryGISModelReader - Class in opennlp.tools.ml.maxent.io
A reader for GIS models stored in binary format.
BinaryGISModelReader(DataInputStream) - Constructor for class opennlp.tools.ml.maxent.io.BinaryGISModelReader
Constructor which directly instantiates the DataInputStream containing the model contents.
BinaryGISModelWriter - Class in opennlp.tools.ml.maxent.io
Model writer that saves models in binary format.
BinaryGISModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.maxent.io.BinaryGISModelWriter
Constructor which takes a GISModel and a File and prepares itself to write the model to that file.
BinaryGISModelWriter(AbstractModel, DataOutputStream) - Constructor for class opennlp.tools.ml.maxent.io.BinaryGISModelWriter
Constructor which takes a GISModel and a DataOutputStream and prepares itself to write the model to that stream.
BinaryNaiveBayesModelReader - Class in opennlp.tools.ml.naivebayes
 
BinaryNaiveBayesModelReader(DataInputStream) - Constructor for class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelReader
Constructor which directly instantiates the DataInputStream containing the model contents.
BinaryNaiveBayesModelReader(File) - Constructor for class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelReader
Constructor which takes a File and creates a reader for it.
BinaryNaiveBayesModelWriter - Class in opennlp.tools.ml.naivebayes
Model writer that saves models in binary format.
BinaryNaiveBayesModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelWriter
Constructor which takes a NaiveBayesModel and a File and prepares itself to write the model to that file.
BinaryNaiveBayesModelWriter(AbstractModel, DataOutputStream) - Constructor for class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelWriter
Constructor which takes a NaiveBayesModel and a DataOutputStream and prepares itself to write the model to that stream.
BinaryPerceptronModelReader - Class in opennlp.tools.ml.perceptron
 
BinaryPerceptronModelReader(DataInputStream) - Constructor for class opennlp.tools.ml.perceptron.BinaryPerceptronModelReader
Constructor which directly instantiates the DataInputStream containing the model contents.
BinaryPerceptronModelReader(File) - Constructor for class opennlp.tools.ml.perceptron.BinaryPerceptronModelReader
Constructor which takes a File and creates a reader for it.
BinaryPerceptronModelWriter - Class in opennlp.tools.ml.perceptron
Model writer that saves models in binary format.
BinaryPerceptronModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.perceptron.BinaryPerceptronModelWriter
Constructor which takes a GISModel and a File and prepares itself to write the model to that file.
BinaryPerceptronModelWriter(AbstractModel, DataOutputStream) - Constructor for class opennlp.tools.ml.perceptron.BinaryPerceptronModelWriter
Constructor which takes a GISModel and a DataOutputStream and prepares itself to write the model to that stream.
BinaryQNModelReader - Class in opennlp.tools.ml.maxent.io
A reader for quasi-newton models stored in binary format.
BinaryQNModelReader(DataInputStream) - Constructor for class opennlp.tools.ml.maxent.io.BinaryQNModelReader
Constructor which directly instantiates the DataInputStream containing the model contents.
BinaryQNModelWriter - Class in opennlp.tools.ml.maxent.io
 
BinaryQNModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.maxent.io.BinaryQNModelWriter
Constructor which takes a GISModel and a File and prepares itself to write the model to that file.
BinaryQNModelWriter(AbstractModel, DataOutputStream) - Constructor for class opennlp.tools.ml.maxent.io.BinaryQNModelWriter
Constructor which takes a GISModel and a DataOutputStream and prepares itself to write the model to that stream.
BioCodec - Class in opennlp.tools.namefind
 
BioCodec() - Constructor for class opennlp.tools.namefind.BioCodec
 
BioNLP2004NameSampleStream - Class in opennlp.tools.formats
Parser for the training files of the BioNLP/NLPBA 2004 shared task.
BioNLP2004NameSampleStream(InputStreamFactory, int) - Constructor for class opennlp.tools.formats.BioNLP2004NameSampleStream
 
BioNLP2004NameSampleStreamFactory - 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
 
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
 
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
 
BratNameSampleStream(SentenceModel, TokenizerModel, ObjectStream<BratDocument>) - Constructor for class opennlp.tools.formats.brat.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 http://metaoptimize.com/projects/wordreprs/ The file containing the clustering lexicon has to be passed as the value of the dict attribute of each BrownCluster feature generator.
BrownCluster(InputStream) - Constructor for class opennlp.tools.util.featuregen.BrownCluster
Generates the token to cluster map from Brown cluster input file.
BrownCluster.BrownClusterSerializer - Class in opennlp.tools.util.featuregen
 
BrownClusterSerializer() - Constructor for class opennlp.tools.util.featuregen.BrownCluster.BrownClusterSerializer
 
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 Brown cluster 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 Brown cluster features for current token.
BrownTokenFeatureGenerator(BrownCluster) - Constructor for class opennlp.tools.util.featuregen.BrownTokenFeatureGenerator
 
BuildContextGenerator - Class in opennlp.tools.parser.chunking
Class to generator predictive contexts for deciding how constituents should be combined together.
BuildContextGenerator() - Constructor for class opennlp.tools.parser.chunking.BuildContextGenerator
Creates a new context generator for making decisions about combining constitients togehter.
BuildContextGenerator(Dictionary) - Constructor for class opennlp.tools.parser.chunking.BuildContextGenerator
 
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.treeinsert.BuildContextGenerator
 
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.
buildDictionary(ObjectStream<Parse>, HeadRules, int) - Static method in class opennlp.tools.parser.AbstractBottomUpParser
Creates a n-gram dictionary from the specified data stream using the specified head rule and specified cut-off.
buildNGramDictionary(ObjectStream<POSSample>, int) - Static method in class opennlp.tools.postag.POSTaggerME
 
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
 
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 AdaptiveFeatureGenerators.
CachedFeatureGenerator(AdaptiveFeatureGenerator...) - Constructor for class opennlp.tools.util.featuregen.CachedFeatureGenerator
 
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.
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(StringList) - Method in interface opennlp.tools.languagemodel.LanguageModel
Calculate the probability of a series of tokens (e.g.
calculateProbability(StringList) - 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
categorize(String[], Map<String, Object>) - Method in interface opennlp.tools.doccat.DocumentCategorizer
Categorize the given text provided as tokens along with the provided extra information
categorize(String[]) - Method in interface opennlp.tools.doccat.DocumentCategorizer
Categorizes the given text, provided in separate tokens.
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
categorize(String[]) - Method in class opennlp.tools.doccat.DocumentCategorizerME
Categorizes the given text.
CharacterNgramFeatureGenerator - Class in opennlp.tools.util.featuregen
The CharacterNgramFeatureGenerator uses character ngrams to generate features about each token.
CharacterNgramFeatureGenerator(int, int) - Constructor for class opennlp.tools.util.featuregen.CharacterNgramFeatureGenerator
 
CharacterNgramFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.CharacterNgramFeatureGenerator
Initializes the current instance with min 2 length and max 5 length of ngrams.
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
 
CheckContextGenerator - Class in opennlp.tools.parser.chunking
Class for generating predictive context for deciding when a constituent is complete.
CheckContextGenerator() - Constructor for class opennlp.tools.parser.chunking.CheckContextGenerator
Creates a new context generator for generating predictive context for deciding when a constituent is complete.
CheckContextGenerator - Class in opennlp.tools.parser.treeinsert
 
CheckContextGenerator(Set<String>) - Constructor for class opennlp.tools.parser.treeinsert.CheckContextGenerator
 
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
 
checkModelType() - Method in class opennlp.tools.ml.model.GenericModelReader
 
checkModelType() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModelReader
 
checkModelType() - Method in class opennlp.tools.ml.perceptron.PerceptronModelReader
 
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
 
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 predivtive context for the pre-chunking phases of parsing.
ChunkContextGenerator() - Constructor for class opennlp.tools.parser.ChunkContextGenerator
 
ChunkContextGenerator(int) - Constructor for class opennlp.tools.parser.ChunkContextGenerator
 
Chunker - Interface in opennlp.tools.chunker
The interface for chunkers which provide chunk tags for a sequence of tokens.
ChunkerContextGenerator - Interface in opennlp.tools.chunker
Interface for the context generator used in syntactic chunking.
ChunkerCrossValidator - Class in opennlp.tools.chunker
 
ChunkerCrossValidator(String, TrainingParameters, ChunkerFactory, ChunkerEvaluationMonitor...) - Constructor for class opennlp.tools.chunker.ChunkerCrossValidator
 
ChunkerEvaluationMonitor - Interface in opennlp.tools.chunker
 
ChunkerEvaluator - Class in opennlp.tools.chunker
The ChunkerEvaluator measures the performance of the given Chunker with the provided reference ChunkSamples.
ChunkerEvaluator(Chunker, ChunkerEvaluationMonitor...) - Constructor for class opennlp.tools.chunker.ChunkerEvaluator
Initializes the current instance with the given Chunker.
ChunkerEventStream - Class in opennlp.tools.chunker
Class for creating an event stream out of data files for training a chunker.
ChunkerEventStream(ObjectStream<ChunkSample>, ChunkerContextGenerator) - Constructor for class opennlp.tools.chunker.ChunkerEventStream
Creates a new event stream based on the specified data stream using the specified 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(ChunkerModel) - Constructor for class opennlp.tools.chunker.ChunkerME
Initializes the current instance with the specified model.
ChunkerModel - Class in opennlp.tools.chunker
The ChunkerModel is the model used by a learnable Chunker.
ChunkerModel(String, SequenceClassificationModel<String>, Map<String, String>, ChunkerFactory) - Constructor for class opennlp.tools.chunker.ChunkerModel
 
ChunkerModel(String, MaxentModel, Map<String, String>, ChunkerFactory) - Constructor for class opennlp.tools.chunker.ChunkerModel
 
ChunkerModel(String, MaxentModel, int, Map<String, String>, ChunkerFactory) - Constructor for class opennlp.tools.chunker.ChunkerModel
 
ChunkerModel(String, MaxentModel, ChunkerFactory) - Constructor for class opennlp.tools.chunker.ChunkerModel
 
ChunkerModel(InputStream) - Constructor for class opennlp.tools.chunker.ChunkerModel
 
ChunkerModel(File) - Constructor for class opennlp.tools.chunker.ChunkerModel
 
ChunkerModel(Path) - Constructor for class opennlp.tools.chunker.ChunkerModel
 
ChunkerModel(URL) - Constructor for class opennlp.tools.chunker.ChunkerModel
 
ChunkerModelSerializer - Class in opennlp.tools.util.model
 
ChunkerModelSerializer() - Constructor for class opennlp.tools.util.model.ChunkerModelSerializer
 
ChunkerSampleStreamFactory - Class in opennlp.tools.formats
Factory producing OpenNLP ChunkSampleStreams.
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 the current instance.
ChunkSample(List<String>, List<String>, List<String>) - Constructor for class opennlp.tools.chunker.ChunkSample
Initializes the current instance.
ChunkSampleSequenceStream - Class in opennlp.tools.chunker
 
ChunkSampleSequenceStream(ObjectStream<ChunkSample>, ChunkerContextGenerator) - Constructor for class opennlp.tools.chunker.ChunkSampleSequenceStream
 
ChunkSampleStream - Class in opennlp.tools.chunker
Parses the conll 2000 shared task shallow parser training data.
ChunkSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.chunker.ChunkSampleStream
Initializes the current instance.
ChunkSampleStream - Class in opennlp.tools.parser
 
ChunkSampleStream(ObjectStream<Parse>) - Constructor for class opennlp.tools.parser.ChunkSampleStream
 
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 for a name finder that the context of the adaptive data (typically a document) is no longer valid.
clearAdaptiveData() - Method in class opennlp.tools.namefind.NameFinderME
Forgets all adaptive data which was collected during previous calls to one of the find methods.
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 the 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
Clears the previous map.
clearAdaptiveData() - Method in class opennlp.tools.util.featuregen.PreviousTwoMapFeatureGenerator
Clears the previous map.
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.NameFinderCensus90NameStream
 
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
 
close() - Method in class opennlp.tools.ml.maxent.RealBasicEventStream
 
close() - Method in class opennlp.tools.ml.model.AbstractModelWriter
 
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 has any effect 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
 
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[], float[]) - Constructor for class opennlp.tools.ml.model.ComparableEvent
 
ComparableEvent(int, int[]) - 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 tokens list and ignores the case of the tokens.
COMPLETE - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
Outcome used when a constituent is complete.
complete() - Method in class opennlp.tools.parser.Parse
Returns whether this parse 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 ObjectStreams with the same type.
concatenateObjectStream(ObjectStream<T>...) - Static method in class opennlp.tools.util.ObjectStreamUtils
Creates a single concatenated ObjectStream from multiple individual ObjectStreams with the same type.
ConfigurablePOSContextGenerator - Class in opennlp.tools.postag
A context generator for the POS Tagger.
ConfigurablePOSContextGenerator(int, AdaptiveFeatureGenerator) - Constructor for class opennlp.tools.postag.ConfigurablePOSContextGenerator
Initializes the current instance.
ConfigurablePOSContextGenerator(AdaptiveFeatureGenerator) - Constructor for class opennlp.tools.postag.ConfigurablePOSContextGenerator
Initializes the current 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, ObjectStream<String>, int) - Constructor for class opennlp.tools.formats.Conll02NameSampleStream
 
Conll02NameSampleStream(Conll02NameSampleStream.LANGUAGE, InputStreamFactory, int) - Constructor for class opennlp.tools.formats.Conll02NameSampleStream
 
Conll02NameSampleStream.LANGUAGE - Enum in opennlp.tools.formats
 
Conll02NameSampleStreamFactory - 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, ObjectStream<String>, int) - Constructor for class opennlp.tools.formats.Conll03NameSampleStream
 
Conll03NameSampleStream(Conll03NameSampleStream.LANGUAGE, InputStreamFactory, int) - Constructor for class opennlp.tools.formats.Conll03NameSampleStream
 
Conll03NameSampleStream.LANGUAGE - Enum in opennlp.tools.formats
 
Conll03NameSampleStreamFactory - 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 - Class in opennlp.tools.formats.conllu
Note: Do not use this class, internal use only!
ConlluPOSSampleStream - Class in opennlp.tools.formats.conllu
 
ConlluPOSSampleStreamFactory - Class in opennlp.tools.formats.conllu
Note: Do not use this class, internal use only!
ConlluSentence - Class in opennlp.tools.formats.conllu
 
ConlluSentenceSampleStream - Class in opennlp.tools.formats.conllu
 
ConlluSentenceSampleStream(ObjectStream<ConlluSentence>, int) - Constructor for class opennlp.tools.formats.conllu.ConlluSentenceSampleStream
 
ConlluSentenceSampleStreamFactory - Class in opennlp.tools.formats.conllu
 
ConlluStream - Class in opennlp.tools.formats.conllu
The CoNNL-U Format is specified here: http://universaldependencies.org/format.html
ConlluStream(InputStreamFactory) - Constructor for class opennlp.tools.formats.conllu.ConlluStream
 
ConlluTagset - Enum in opennlp.tools.formats.conllu
 
ConlluTokenSampleStream - Class in opennlp.tools.formats.conllu
 
ConlluTokenSampleStream(ObjectStream<ConlluSentence>) - Constructor for class opennlp.tools.formats.conllu.ConlluTokenSampleStream
 
ConlluTokenSampleStreamFactory - Class in opennlp.tools.formats.conllu
 
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(ObjectStream<String>) - Constructor for class opennlp.tools.formats.ConllXPOSSampleStream
 
ConllXPOSSampleStream(InputStreamFactory, Charset) - Constructor for class opennlp.tools.formats.ConllXPOSSampleStream
 
ConllXPOSSampleStreamFactory - Class in opennlp.tools.formats
Note: Do not use this class, internal use only!
ConllXSentenceSampleStreamFactory - Class in opennlp.tools.formats
Note: Do not use this class, internal use only!
ConllXTokenSampleStreamFactory - Class in opennlp.tools.formats
Note: Do not use this class, internal use only!
Cons - Class in opennlp.tools.parser
Class to hold 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
 
Constituent - Class in opennlp.tools.parser
Class used to hold constituents when reading parses.
Constituent(String, Span) - Constructor for class opennlp.tools.parser.Constituent
 
constructModel() - Method in class opennlp.tools.ml.maxent.io.GISModelReader
Retrieve a model from disk.
constructModel() - Method in class opennlp.tools.ml.maxent.io.QNModelReader
 
constructModel() - Method in class opennlp.tools.ml.model.AbstractModelReader
 
constructModel() - Method in class opennlp.tools.ml.model.GenericModelReader
 
constructModel() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModelReader
Retrieve a model from disk.
constructModel() - Method in class opennlp.tools.ml.perceptron.PerceptronModelReader
Retrieve a model from disk.
CONT - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
Prefix for outcomes continuing a constituent.
contains(StringList) - Method in class opennlp.tools.dictionary.Dictionary
Checks if this dictionary has the given entry.
contains(String) - Method in class opennlp.tools.dictionary.Index
Checks if at leat one StringList contains the given token.
contains(int) - Method in class opennlp.tools.ml.model.MutableContext
 
contains(StringList) - Method in class opennlp.tools.ngram.NGramModel
Checks fit he given tokens are contained by the current instance.
contains(Span) - Method in class opennlp.tools.util.Span
Returns true if the specified span is contained by this span.
contains(int) - Method in class opennlp.tools.util.Span
Returns true if the specified index is contained inside this span.
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 - 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
Generate 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(T, T) - Method in interface opennlp.tools.util.eval.EvaluationMonitor
 
count() - Method in class opennlp.tools.util.eval.Mean
Retrieves the number of times a value was added to the mean.
create(String) - Static method in class opennlp.tools.chunker.ChunkerFactory
 
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(String, FeatureGenerator[]) - Static method in class opennlp.tools.doccat.DoccatFactory
 
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.LeipzigDocumentSampleStreamFactory
Deprecated.
 
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.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.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.WordTagSampleStreamFactory
 
create(String) - Static method in class opennlp.tools.langdetect.LanguageDetectorFactory
 
create(String) - Static method in class opennlp.tools.lemmatizer.LemmatizerFactory
 
create(String, byte[], Map<String, Object>, SequenceCodec<String>) - Static method in class opennlp.tools.namefind.TokenNameFinderFactory
 
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(ParserModel, int, double) - Static method in class opennlp.tools.parser.ParserFactory
 
create(ParserModel) - Static method in class opennlp.tools.parser.ParserFactory
 
create(InputStream) - Static method in class opennlp.tools.postag.POSDictionary
Creates a new POSDictionary from a provided InputStream.
create(String, Dictionary, TagDictionary) - Static method in class opennlp.tools.postag.POSTaggerFactory
Deprecated.
create(String, byte[], Map<String, Object>, TagDictionary) - Static method in class opennlp.tools.postag.POSTaggerFactory
 
create(InputStream) - Method in class opennlp.tools.postag.POSTaggerFactory.POSDictionarySerializer
 
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 create a new TokenizerFactory.
create(String, ArtifactProvider) - Static method in class opennlp.tools.util.BaseToolFactory
 
create(Class<? extends BaseToolFactory>, ArtifactProvider) - Static method in class opennlp.tools.util.BaseToolFactory
 
create(InputStream) - Method in class opennlp.tools.util.featuregen.BrownCluster.BrownClusterSerializer
 
create(InputStream, FeatureGeneratorResourceProvider) - Static method in class opennlp.tools.util.featuregen.GeneratorFactory
Creates an AdaptiveFeatureGenerator from an provided XML descriptor.
create(InputStream) - Method in class opennlp.tools.util.featuregen.WordClusterDictionary.WordClusterDictionarySerializer
 
create(InputStream) - Method in interface opennlp.tools.util.model.ArtifactSerializer
Creates the 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(String[], String[]) - Static method in class opennlp.tools.util.TokenTag
 
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
Creates a Map with pairs of keys and objects.
createArtifactSerializers() - Static method in class opennlp.tools.namefind.TokenNameFinderModel
Create the artifact 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
 
createDefaultTrainingParameters() - Static method in class opennlp.tools.util.model.ModelUtil
Creates the default training parameters in case they are not provided.
createDocumentBuilder() - Static method in class opennlp.tools.util.XmlUtil
Create a new DocumentBuilder which processes XML securely.
createEmptyTagDictionary() - Method in class opennlp.tools.postag.POSTaggerFactory
 
createEndOfSentenceScanner(String) - Method in class opennlp.tools.sentdetect.lang.Factory
 
createEndOfSentenceScanner(char[]) - 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 previous outcomes 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
Creates the manifest entries that will be added to the model manifest
createObjectStream(T...) - Static method in class opennlp.tools.util.ObjectStreamUtils
Creates an ObjectStream form an array.
createObjectStream(Collection<T>) - Static method in class opennlp.tools.util.ObjectStreamUtils
Creates an ObjectStream form a collection.
createSaxParser() - Static method in class opennlp.tools.util.XmlUtil
Create a new SAXParser which processes XML securely.
createSentenceContextGenerator(String, Set<String>) - Method in class opennlp.tools.sentdetect.lang.Factory
 
createSentenceContextGenerator(Set<String>, char[]) - Method in class opennlp.tools.sentdetect.lang.Factory
 
createSentenceContextGenerator(String) - 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
Creates a sequence validator which can validate a sequence of outcomes.
createTagDictionary(File) - Method in class opennlp.tools.postag.POSTaggerFactory
 
createTagDictionary(InputStream) - Method in class opennlp.tools.postag.POSTaggerFactory
 
createTokenContextGenerator(String, Set<String>) - Method in class opennlp.tools.tokenize.lang.Factory
 
crosses(Span) - Method in class opennlp.tools.util.Span
Returns true is 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(ObjectStream<E>, int) - Constructor for class opennlp.tools.util.eval.CrossValidationPartitioner
Initializes the current instance.
CrossValidationPartitioner(Collection<E>, int) - Constructor for class opennlp.tools.util.eval.CrossValidationPartitioner
Initializes the current instance.
CrossValidationPartitioner.TrainingSampleStream<E> - Class in opennlp.tools.util.eval
The TrainingSampleStream which iterates over all training elements.
currentVersion() - Static method in class opennlp.tools.util.Version
Retrieves the current version of the OpenNlp Tools library.
CustomFeatureGenerator - Class in opennlp.tools.util.featuregen
 
CustomFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.CustomFeatureGenerator
 
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_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
 

D

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
Object which compresses events in memory and performs feature selection.
DataIndexerFactory - Class in opennlp.tools.ml.model
 
DataIndexerFactory() - Constructor for class opennlp.tools.ml.model.DataIndexerFactory
 
DataReader - Interface in opennlp.tools.ml.model
 
DataStream - Interface in opennlp.tools.ml.maxent
A interface for objects which can deliver a stream of training data to be supplied to an EventStream.
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 T 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
Read predicted SES by the lemmatizer model and apply 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_SEPARATOR_CHARS - Static variable in class opennlp.tools.tokenize.TokenSample
 
DEFAULT_TYPE - Static variable in class opennlp.tools.namefind.NameSample
The a 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
Creates the default context generator a chunker.
DefaultChunkerSequenceValidator - Class in opennlp.tools.chunker
 
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
 
DefaultLemmatizerSequenceValidator() - Constructor for class opennlp.tools.lemmatizer.DefaultLemmatizerSequenceValidator
 
DefaultNameContextGenerator - Class in opennlp.tools.namefind
Class for determining contextual features for a tag/chunk style named-entity recognizer.
DefaultNameContextGenerator() - Constructor for class opennlp.tools.namefind.DefaultNameContextGenerator
Deprecated.
use the other constructor and always provide the feature generators
DefaultNameContextGenerator(AdaptiveFeatureGenerator...) - Constructor for class opennlp.tools.namefind.DefaultNameContextGenerator
Creates a name context generator with the specified cache size.
defaultParams() - Static method in class opennlp.tools.util.TrainingParameters
 
DefaultPOSContextGenerator - Class in opennlp.tools.postag
A context generator for the POS Tagger.
DefaultPOSContextGenerator(Dictionary) - Constructor for class opennlp.tools.postag.DefaultPOSContextGenerator
Initializes the current instance.
DefaultPOSContextGenerator(int, Dictionary) - Constructor for class opennlp.tools.postag.DefaultPOSContextGenerator
Initializes the current instance.
DefaultPOSSequenceValidator - Class in opennlp.tools.postag
 
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 SDContextGenerator 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
Generate events for maxent decisions for tokenization.
DefaultTokenContextGenerator() - Constructor for class opennlp.tools.tokenize.DefaultTokenContextGenerator
Creates a default context generator for tokenizer.
DefaultTokenContextGenerator(Set<String>) - Constructor for class opennlp.tools.tokenize.DefaultTokenContextGenerator
Creates a default context generator for tokenizer.
DetokenizationDictionary - Class in opennlp.tools.tokenize
 
DetokenizationDictionary(String[], DetokenizationDictionary.Operation[]) - Constructor for class opennlp.tools.tokenize.DetokenizationDictionary
Initializes the current instance.
DetokenizationDictionary(InputStream) - Constructor for class opennlp.tools.tokenize.DetokenizationDictionary
 
DetokenizationDictionary(File) - Constructor for class opennlp.tools.tokenize.DetokenizationDictionary
 
DetokenizationDictionary.Operation - Enum in opennlp.tools.tokenize
 
detokenize(String[]) - Method in interface opennlp.tools.tokenize.Detokenizer
Detokenize the input tokens.
detokenize(String[], String) - Method in interface opennlp.tools.tokenize.Detokenizer
Detokenize the input tokens into a String.
detokenize(String[]) - Method in class opennlp.tools.tokenize.DictionaryDetokenizer
 
detokenize(String[], String) - Method in class opennlp.tools.tokenize.DictionaryDetokenizer
 
Detokenizer - Interface in opennlp.tools.tokenize
A Detokenizer merges tokens back to their untokenized representation.
Detokenizer.DetokenizationOperation - Enum in opennlp.tools.tokenize
This enum contains an operation for every token to merge the tokens together to their detokenized form.
DetokenizerSampleStreamFactory<T> - Class in opennlp.tools.formats
Base class for factories which need 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
This class is a dictionary.
Dictionary() - Constructor for class opennlp.tools.dictionary.Dictionary
Initializes an empty Dictionary.
Dictionary(boolean) - Constructor for class opennlp.tools.dictionary.Dictionary
 
Dictionary(InputStream) - Constructor for class opennlp.tools.dictionary.Dictionary
Initializes the Dictionary from an existing dictionary resource.
DictionaryDetokenizer - Class in opennlp.tools.tokenize
A rule based detokenizer.
DictionaryDetokenizer(DetokenizationDictionary) - Constructor for class opennlp.tools.tokenize.DictionaryDetokenizer
 
DictionaryEntryPersistor - Class in opennlp.tools.dictionary.serializer
This class is 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(Dictionary) - Constructor for class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
 
DictionaryFeatureGenerator(String, Dictionary) - Constructor for class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
 
DictionaryLemmatizer - Class in opennlp.tools.lemmatizer
Lemmatize by simple dictionary lookup into a hashmap built from a file containing, for each line, word\tabpostag\tablemma.
DictionaryLemmatizer(InputStream) - Constructor for class opennlp.tools.lemmatizer.DictionaryLemmatizer
Construct a hashmap from the input tab separated dictionary.
DictionaryLemmatizer(File) - Constructor for class opennlp.tools.lemmatizer.DictionaryLemmatizer
 
DictionaryLemmatizer(Path) - Constructor for class opennlp.tools.lemmatizer.DictionaryLemmatizer
 
DictionaryNameFinder - Class in opennlp.tools.namefind
This is a dictionary based name finder, it scans text for names inside a dictionary.
DictionaryNameFinder(Dictionary, String) - Constructor for class opennlp.tools.namefind.DictionaryNameFinder
Initialized the current instance with he provided dictionary and a type.
DictionaryNameFinder(Dictionary) - Constructor for class opennlp.tools.namefind.DictionaryNameFinder
Initializes the current instance with the provided dictionary.
DictionarySerializer - Class in opennlp.tools.util.model
 
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 a stream from a directory listing of files.
DirectorySampleStream(File[], FileFilter, boolean) - Constructor for class opennlp.tools.formats.DirectorySampleStream
Creates a new directory sample stream.
DirectorySampleStream(File, FileFilter, boolean) - Constructor for class opennlp.tools.formats.DirectorySampleStream
Creates a new directory sample stream.
discardCountsBelow(double) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
 
discardCountsBelow(double) - Method in class opennlp.tools.ml.naivebayes.Probabilities
 
DoccatCrossValidator - Class in opennlp.tools.doccat
Cross validator for document categorization
DoccatCrossValidator(String, TrainingParameters, DoccatFactory, DoccatEvaluationMonitor...) - Constructor for class opennlp.tools.doccat.DoccatCrossValidator
Creates a DoccatCrossValidator with the given FeatureGenerators.
DoccatEvaluationMonitor - Interface in opennlp.tools.doccat
EvaluationMonitor for doccat.
DoccatFactory - Class in opennlp.tools.doccat
The factory that provides Doccat default implementations and resources
DoccatFactory() - Constructor for class opennlp.tools.doccat.DoccatFactory
Creates a DoccatFactory that provides the default implementation of the resources.
DoccatFactory(FeatureGenerator[]) - Constructor for class opennlp.tools.doccat.DoccatFactory
 
DoccatModel - Class in opennlp.tools.doccat
A model for document categorization
DoccatModel(String, MaxentModel, Map<String, String>, DoccatFactory) - Constructor for class opennlp.tools.doccat.DoccatModel
 
DoccatModel(InputStream) - Constructor for class opennlp.tools.doccat.DoccatModel
 
DoccatModel(File) - Constructor for class opennlp.tools.doccat.DoccatModel
 
DoccatModel(Path) - Constructor for class opennlp.tools.doccat.DoccatModel
 
DoccatModel(URL) - Constructor for class opennlp.tools.doccat.DoccatModel
 
doConstrainedLineSearch(Function, double[], LineSearch.LineSearchResult, double, double) - Static method in class opennlp.tools.ml.maxent.quasinewton.LineSearch
Constrained line search (see section 3.2 in the paper "Scalable Training of L1-Regularized Log-Linear Models", Andrew et al.
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
 
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 DocumentSamples.
DocumentCategorizerEvaluator(DocumentCategorizer, DoccatEvaluationMonitor...) - Constructor for class opennlp.tools.doccat.DocumentCategorizerEvaluator
Initializes the current instance.
DocumentCategorizerEventStream - Class in opennlp.tools.doccat
Iterator-like class for modeling document classification events.
DocumentCategorizerEventStream(ObjectStream<DocumentSample>, FeatureGenerator...) - Constructor for class opennlp.tools.doccat.DocumentCategorizerEventStream
Initializes the current instance via samples and feature generators.
DocumentCategorizerEventStream(ObjectStream<DocumentSample>) - Constructor for class opennlp.tools.doccat.DocumentCategorizerEventStream
Initializes the current instance.
DocumentCategorizerME - Class in opennlp.tools.doccat
Maxent implementation of DocumentCategorizer.
DocumentCategorizerME(DoccatModel) - Constructor for class opennlp.tools.doccat.DocumentCategorizerME
Initializes the current instance with a doccat model.
DocumentNameFinder - Interface in opennlp.tools.namefind
Name finding interface which processes an entire document allowing the name finder 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
 
DocumentSample(String, String[], Map<String, Object>) - Constructor for class opennlp.tools.doccat.DocumentSample
 
DocumentSampleStream - Class in opennlp.tools.doccat
This class reads in string encoded training samples, parses them and outputs DocumentSample objects.
DocumentSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.doccat.DocumentSampleStream
 
DocumentSampleStreamFactory - 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
 
doLineSearch(Function, double[], LineSearch.LineSearchResult, double) - Static method in class opennlp.tools.ml.maxent.quasinewton.LineSearch
Backtracking line search (see Nocedal & Wright 2006, Numerical Optimization, p.
DONE - Static variable in class opennlp.tools.parser.treeinsert.Parser
Outcome used when a constituent needs an no additional parent node/building.
doTrain(SequenceStream) - Method in class opennlp.tools.ml.AbstractEventModelSequenceTrainer
 
doTrain(DataIndexer) - Method in class opennlp.tools.ml.AbstractEventTrainer
 
doTrain(SequenceStream) - Method in class opennlp.tools.ml.AbstractSequenceTrainer
 
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) - Method in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
 
dropOverlappingSpans(Span[]) - Static method in class opennlp.tools.namefind.NameFinderME
Removes spans with are intersecting or crossing in anyway.
DynamicEvalParameters - Class in opennlp.tools.ml.model
 
DynamicEvalParameters(List<? extends Context>, int) - Constructor for class opennlp.tools.ml.model.DynamicEvalParameters
Creates a set of paramters which can be evaulated with the eval method.

E

EmojiCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
 
EmojiCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.EmojiCharSequenceNormalizer
 
EmptyLinePreprocessorStream - Class in opennlp.tools.sentdetect
Stream to 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
 
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 T objects.
encodeLemmas(String[], String[]) - Static method in class opennlp.tools.lemmatizer.LemmatizerME
 
END_TAG - Static variable in class opennlp.tools.namefind.NameSampleDataStream
 
endElement(String, String, String) - Method in class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtDocumentHandler
 
endElement(String) - Method in class opennlp.tools.formats.muc.MucNameContentHandler
 
endElement(String) - Method in class opennlp.tools.formats.muc.SgmlParser.ContentHandler
 
EndOfSentenceScanner - Interface in opennlp.tools.sentdetect
Scans Strings, StringBuffers, and char[] arrays for the offsets of sentence ending characters.
ENTITY_TYPE - Static variable in class opennlp.tools.formats.brat.AnnotationConfiguration
 
EntityLinker<T extends Span> - Interface in opennlp.tools.entitylinker
EntityLinkers establish connections to external data to enrich extracted entities.
EntityLinkerFactory - Class in opennlp.tools.entitylinker
Generates an EntityLinker implementation via properties file configuration
EntityLinkerFactory() - Constructor for class opennlp.tools.entitylinker.EntityLinkerFactory
 
EntityLinkerProperties - Class in opennlp.tools.entitylinker
Properties wrapper for the EntityLinker framework
EntityLinkerProperties(File) - Constructor for class opennlp.tools.entitylinker.EntityLinkerProperties
Constructor takes location of properties file as arg
EntityLinkerProperties(InputStream) - Constructor for class opennlp.tools.entitylinker.EntityLinkerProperties
 
Entry - Class in opennlp.tools.dictionary.serializer
An Entry is a StringList which can optionally be mapped to attributes.
Entry(StringList, Attributes) - Constructor for class opennlp.tools.dictionary.serializer.Entry
Initializes the current instance.
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 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 class opennlp.tools.langdetect.LanguageSample
 
equals(Object) - Method in class opennlp.tools.lemmatizer.LemmaSample
 
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.namefind.NameSample
 
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.postag.POSDictionary
 
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.irishStemmer
 
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
Checks if the specified span is equal to the current span.
equals(Object) - Method in class opennlp.tools.util.StringList
 
equals(Object) - Method in class opennlp.tools.util.TokenTag
 
equals(Object) - Method in class opennlp.tools.util.Version
 
eval(String[]) - Method in class opennlp.tools.ml.maxent.GISModel
Use this model to evaluate a context and return an array of the likelihood of each outcome given that context.
eval(String[], float[]) - Method in class opennlp.tools.ml.maxent.GISModel
 
eval(String[], double[]) - Method in class opennlp.tools.ml.maxent.GISModel
 
eval(String[], float[], double[]) - Method in class opennlp.tools.ml.maxent.GISModel
Use this model to evaluate a context and return an array of the likelihood of each outcome given that context.
eval(int[], double[], EvalParameters) - Static method in class opennlp.tools.ml.maxent.GISModel
Use this model to evaluate a context and return an array of the likelihood of each outcome given the specified context and the specified parameters.
eval(String[]) - Method in class opennlp.tools.ml.maxent.quasinewton.QNModel
 
eval(String[], double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.QNModel
 
eval(String[], float[]) - Method in class opennlp.tools.ml.maxent.quasinewton.QNModel
 
eval(String[]) - Method in interface opennlp.tools.ml.model.MaxentModel
Evaluates a context.
eval(String[], double[]) - Method in interface opennlp.tools.ml.model.MaxentModel
Evaluates a context.
eval(String[], float[]) - Method in interface opennlp.tools.ml.model.MaxentModel
Evaluates a contexts with the specified context values.
eval(String[]) - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModel
 
eval(String[], float[]) - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModel
 
eval(String[], double[]) - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModel
 
eval(String[], float[], double[]) - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModel
 
eval(int[], double[], EvalParameters) - Static method in class opennlp.tools.ml.naivebayes.NaiveBayesModel
 
eval(String[]) - Method in class opennlp.tools.ml.perceptron.PerceptronModel
 
eval(String[], float[]) - Method in class opennlp.tools.ml.perceptron.PerceptronModel
 
eval(String[], double[]) - Method in class opennlp.tools.ml.perceptron.PerceptronModel
 
eval(String[], float[], double[]) - Method in class opennlp.tools.ml.perceptron.PerceptronModel
 
eval(int[], double[], EvalParameters) - Static 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, ObjectStream<String>, int) - Constructor for class opennlp.tools.formats.EvalitaNameSampleStream
 
EvalitaNameSampleStream(EvalitaNameSampleStream.LANGUAGE, InputStreamFactory, int) - Constructor for class opennlp.tools.formats.EvalitaNameSampleStream
 
EvalitaNameSampleStream.LANGUAGE - Enum in opennlp.tools.formats
 
EvalitaNameSampleStreamFactory - 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 varibales used in producing probabilities from a model and facilitaes passing these variables to the eval method.
EvalParameters(Context[], int) - Constructor for class opennlp.tools.ml.model.EvalParameters
 
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(double[]) - Method in interface opennlp.tools.ml.maxent.quasinewton.QNMinimizer.Evaluator
Measure quality of the training parameters
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
 
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 from the stream and evaluates each sample object with 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
The Evaluator is an abstract base class for evaluators.
Evaluator(EvaluationMonitor<T>...) - Constructor for class opennlp.tools.util.eval.Evaluator
 
Event - Class in opennlp.tools.ml.model
The context of a decision point during training.
Event(String, String[]) - Constructor for class opennlp.tools.ml.model.Event
 
Event(String, String[], float[]) - Constructor for class opennlp.tools.ml.model.Event
 
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 - Interface in opennlp.tools.ml
 
EventTraceStream - Class in opennlp.tools.util
 
EventTraceStream(ObjectStream<Event>, Writer) - Constructor for class opennlp.tools.util.EventTraceStream
 
EventTrainer - Interface in opennlp.tools.ml
 
expandTopNode(Parse) - Method in class opennlp.tools.parser.Parse
 
Experimental - Annotation Type in opennlp.tools.util.java
Indicates that the API is not stable.
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
Extract features from given text fragments
extractFeatures(String[], Map<String, Object>) - Method in class opennlp.tools.doccat.NGramFeatureGenerator
Extract ngram features from given text fragments
extractTags(TokenTag[]) - Static method in class opennlp.tools.util.TokenTag
 
extractTokens(TokenTag[]) - Static method in class opennlp.tools.util.TokenTag
 

F

Factory - Class in opennlp.tools.sentdetect.lang
 
Factory() - Constructor for class opennlp.tools.sentdetect.lang.Factory
 
Factory - Class in opennlp.tools.tokenize.lang
 
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 provided 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(String, String) - Constructor for class opennlp.tools.ml.model.FileEventStream
Creates a new file event stream from the specified file name.
FileEventStream(String) - Constructor for class opennlp.tools.ml.model.FileEventStream
 
FileEventStream(Reader) - Constructor for class opennlp.tools.ml.model.FileEventStream
 
FileEventStream(File) - Constructor for class opennlp.tools.ml.model.FileEventStream
Creates a new file event stream from the specified file.
FileToByteArraySampleStream - Class in opennlp.tools.formats.convert
 
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
Creates a new file-to-string sample stream.
FilterObjectStream<S,T> - Class in opennlp.tools.util
Abstract base class for filtering ObjectStreams.
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.
find(String[]) - Method in class opennlp.tools.namefind.DictionaryNameFinder
 
find(String[][]) - Method in interface opennlp.tools.namefind.DocumentNameFinder
Returns tokens span for the specified document of sentences and their tokens.
find(String[]) - Method in class opennlp.tools.namefind.NameFinderME
 
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[]) - Method in class opennlp.tools.namefind.RegexNameFinder
 
find(String) - Method in class opennlp.tools.namefind.RegexNameFinder
NEW.
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.
fixPossesives(Parse) - Static method in class opennlp.tools.parser.Parse
 
FMeasure - Class in opennlp.tools.util.eval
The FMeasure is an utility class for evaluators which measure precision, recall and the resulting f-measure.
FMeasure() - Constructor for class opennlp.tools.util.eval.FMeasure
 
Function - Interface in opennlp.tools.ml.maxent.quasinewton
Interface for a function

G

GapLabeler - Interface in opennlp.tools.parser
Interface for labeling nodes which contain traces so that these traces can be predicted by the parser.
generate(List<String>, int, String) - Static method in class opennlp.tools.ngram.NGramGenerator
Creates an ngram separated by the separator param value i.e.
generate(char[], int, String) - Static method in class opennlp.tools.ngram.NGramGenerator
Generates an nGram based on a char[] input
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[], NameContextGenerator) - Static method in class opennlp.tools.namefind.NameFinderEventStream
 
generateEvents(String[], String[], Object[], POSContextGenerator) - Static method in class opennlp.tools.postag.POSSampleEventStream
 
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
 
GenericModelReader - Class in opennlp.tools.ml.model
 
GenericModelReader(File) - Constructor for class opennlp.tools.ml.model.GenericModelReader
 
GenericModelReader(DataReader) - Constructor for class opennlp.tools.ml.model.GenericModelReader
 
GenericModelSerializer - Class in opennlp.tools.util.model
 
GenericModelSerializer() - Constructor for class opennlp.tools.util.model.GenericModelSerializer
 
GenericModelWriter - Class in opennlp.tools.ml.model
 
GenericModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.model.GenericModelWriter
 
GenericModelWriter(AbstractModel, DataOutputStream) - Constructor for class opennlp.tools.ml.model.GenericModelWriter
 
get(T) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
Returns the probability associated with a label
get() - Method in class opennlp.tools.ml.naivebayes.LogProbability
Returns the probability associated with a label
get(T) - Method in class opennlp.tools.ml.naivebayes.Probabilities
Returns the probability associated with a label
get() - Method in class opennlp.tools.ml.naivebayes.Probability
Returns the probability associated with a label
get(CharSequence) - Method in interface opennlp.tools.util.wordvector.WordVectorTable
 
getAbbreviationDictionary() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
 
getAbbreviationDictionary() - Method in class opennlp.tools.tokenize.TokenizerFactory
Gets the abbreviation dictionary
getAbbreviations() - Method in class opennlp.tools.sentdetect.SentenceModel
 
getAbbreviations() - Method in class opennlp.tools.tokenize.TokenizerModel
 
getAccuracy() - Method in class opennlp.tools.doccat.DocumentCategorizerEvaluator
Retrieves the accuracy of provided DocumentCategorizer.
getAccuracy() - Method in class opennlp.tools.langdetect.LanguageDetectorEvaluator
Retrieves the accuracy of provided DocumentCategorizer.
getAddictionalContext() - Method in class opennlp.tools.postag.POSSample
 
getAdditionalContext() - Method in class opennlp.tools.namefind.NameSample
 
getAddtionalData() - Method in class opennlp.tools.util.TokenTag
 
getAlgorithm() - Method in class opennlp.tools.ml.AbstractTrainer
 
getAll() - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
Returns the probabilities associated with all labels
getAll() - Method in class opennlp.tools.ml.naivebayes.Probabilities
Returns the probabilities associated with all labels
getAllOutcomes(double[]) - Method in class opennlp.tools.ml.model.AbstractModel
Return a string matching all the outcome names with all the probabilities produced by the eval(String[] context) method.
getAllOutcomes(double[]) - Method in interface opennlp.tools.ml.model.MaxentModel
Return a string matching all the outcome names with all the probabilities produced by the eval(String[] context) method.
getAllPosTags() - Method in class opennlp.tools.postag.POSTaggerME
Retrieves an array of all possible part-of-speech tags from the tagger.
getAllResults(double[]) - Method in interface opennlp.tools.doccat.DocumentCategorizer
get the name of the category associated with the given probabilties
getAllResults(double[]) - Method in class opennlp.tools.doccat.DocumentCategorizerME
 
getAlphanumeric(String) - Method in class opennlp.tools.tokenize.lang.Factory
Gets the alpha numeric pattern for the language.
getAlphaNumericPattern() - Method in class opennlp.tools.tokenize.TokenizerFactory
Gets the alpha numeric pattern.
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
Gets an artifact by name
getArtifact(String) - Method in class opennlp.tools.util.model.BaseModel
 
getArtifactSerializerClass() - Method in class opennlp.tools.dictionary.Dictionary
Gets the Serializer Class for 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 interface opennlp.tools.util.featuregen.ArtifactToSerializerMapper
 
getAsDouble(int) - Method in interface opennlp.tools.util.wordvector.WordVector
 
getAsFloat(int) - Method in interface opennlp.tools.util.wordvector.WordVector
 
getAttachedTo() - Method in class opennlp.tools.formats.brat.AttributeAnnotation
 
getAttachModel() - Method in class opennlp.tools.parser.ParserModel
 
getAttributes() - Method in class opennlp.tools.dictionary.serializer.Entry
Retrieves the Attributes.
getBestCategory(double[]) - Method in interface opennlp.tools.doccat.DocumentCategorizer
get 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
Simple function to return the outcome associated with the index containing the highest probability in the double[].
getBooleanParameter(String, boolean) - Method in class opennlp.tools.util.TrainingParameters
get a Boolean parameter
getBooleanParameter(String, String, boolean) - Method in class opennlp.tools.util.TrainingParameters
get a Boolean parameter in the specified namespace
getBuildModel() - Method in class opennlp.tools.parser.ParserModel
 
getCategory(int) - Method in interface opennlp.tools.doccat.DocumentCategorizer
get the category at a given index
getCategory(int) - Method in class opennlp.tools.doccat.DocumentCategorizerME
 
getCategory() - Method in class opennlp.tools.doccat.DocumentSample
 
getCheckModel() - Method in class opennlp.tools.parser.ParserModel
 
getChildCount() - Method in class opennlp.tools.parser.Parse
Returns the number of children for this parse node.
getChildren() - Method in class opennlp.tools.parser.Parse
Returns the child constituents of this constituent .
getChunkerModel() - Method in class opennlp.tools.chunker.ChunkerModel
Deprecated.
use getChunkerSequenceModel instead. This method will be removed soon.
getChunkerSequenceModel() - Method in class opennlp.tools.chunker.ChunkerModel
 
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
Returns the best confidence with which this set of probabilities has been calculated.
getConfig() - Method in class opennlp.tools.formats.brat.BratDocument
 
getContext(int, String[], String[], String[]) - Method in interface opennlp.tools.chunker.ChunkerContextGenerator
Returns the contexts for chunking of the specified index.
getContext(int, String[], String[], String[], Object[]) - Method in class opennlp.tools.chunker.DefaultChunkerContextGenerator
 
getContext(int, String[], String[], String[]) - Method in class opennlp.tools.chunker.DefaultChunkerContextGenerator
 
getContext(int, TokenTag[], String[], Object[]) - Method in class opennlp.tools.chunker.DefaultChunkerContextGenerator
 
getContext(CharSequence) - Method in class opennlp.tools.langdetect.DefaultLanguageDetectorContextGenerator
Generates the context for a document using character ngrams.
getContext(CharSequence) - Method in interface opennlp.tools.langdetect.LanguageDetectorContextGenerator
 
getContext() - Method in class opennlp.tools.langdetect.LanguageSample
 
getContext(int, String[], String[], Object[]) - Method in class opennlp.tools.lemmatizer.DefaultLemmatizerContextGenerator
 
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(String) - Method in class opennlp.tools.ml.maxent.BasicContextGenerator
Builds up the list of contextual predicates given a String.
getContext(T) - Method in interface opennlp.tools.ml.maxent.ContextGenerator
Builds up the list of contextual predicates given an Object.
getContext() - Method in class opennlp.tools.ml.model.Event
 
getContext(int, String[], String[], Object[]) - Method in class opennlp.tools.namefind.DefaultNameContextGenerator
Return the context for finding names at the specified index.
getContext(Object) - Method in class opennlp.tools.parser.ChunkContextGenerator
Deprecated.
getContext(int, String[], String[], Object[]) - Method in class opennlp.tools.parser.ChunkContextGenerator
Deprecated.
getContext(int, String[], String[], String[]) - Method in class opennlp.tools.parser.ChunkContextGenerator
 
getContext(int, TokenTag[], String[], Object[]) - Method in class opennlp.tools.parser.ChunkContextGenerator
 
getContext(Object) - Method in class opennlp.tools.parser.chunking.BuildContextGenerator
 
getContext(Parse[], int) - Method in class opennlp.tools.parser.chunking.BuildContextGenerator
Returns the predictive context used to determine how constituent at the specified index should be combined with other contisuents.
getContext(Object) - Method in class opennlp.tools.parser.chunking.CheckContextGenerator
 
getContext(Parse[], String, int, int) - Method in class opennlp.tools.parser.chunking.CheckContextGenerator
Returns 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(Object) - Method in class opennlp.tools.parser.treeinsert.AttachContextGenerator
 
getContext(Parse[], int, List<Parse>, int) - Method in class opennlp.tools.parser.treeinsert.AttachContextGenerator
 
getContext(Object) - Method in class opennlp.tools.parser.treeinsert.BuildContextGenerator
 
getContext(Parse[], int) - Method in class opennlp.tools.parser.treeinsert.BuildContextGenerator
Returns the contexts/features for the decision to build a new constituent for the specified parse at the specified index.
getContext(Object) - Method in class opennlp.tools.parser.treeinsert.CheckContextGenerator
 
getContext(Parse, Parse[], int, boolean) - Method in class opennlp.tools.parser.treeinsert.CheckContextGenerator
 
getContext(int, String[], String[], Object[]) - Method in class opennlp.tools.postag.ConfigurablePOSContextGenerator
Returns the context for making a pos tag 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
 
getContext(int, Object[], String[]) - Method in class opennlp.tools.postag.DefaultPOSContextGenerator
Returns the context for making a pos tag 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
 
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(String, int) - Method in class opennlp.tools.tokenize.DefaultTokenContextGenerator
 
getContext(String, int) - Method in interface opennlp.tools.tokenize.TokenContextGenerator
Returns an array of features for the specified sentence string at the specified index.
getContext(int, T[], String[], Object[]) - Method in interface opennlp.tools.util.BeamSearchContextGenerator
Returns the context for the specified position in the specified sequence (list).
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
Gets the context generator
getContexts() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
 
getContexts() - Method in interface opennlp.tools.ml.model.DataIndexer
Returns the array of predicates seen in each event.
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
Retrieves the string covered by the current span of the specified text.
getCurrPoint() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
 
getCutoff() - Method in class opennlp.tools.ml.AbstractTrainer
 
getDataIndexer(ObjectStream<Event>) - Method in class opennlp.tools.ml.AbstractEventTrainer
 
getDataIndexer(TrainingParameters, Map<String, String>) - Static method in class opennlp.tools.ml.model.DataIndexerFactory
 
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
Returns a RegexNamefinder that will utilize specified default regexes.
getDeprel() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
Universal dependency relation to the HEAD (root iff HEAD = 0) or a defined language-specific subtype of one.
getDeps() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
Enhanced dependency graph in the form of a list of head-deprel pairs.
getDerivation() - Method in class opennlp.tools.parser.Parse
Returns the derivation string for this parse if one has been created.
getDescriptorElements(InputStream) - Static method in class opennlp.tools.util.featuregen.GeneratorFactory
Provides a list with all the elements in the xml feature descriptor.
getDictionary() - Method in class opennlp.tools.postag.POSTaggerFactory
Deprecated.
this will be reduced in visibility and later removed
getDictMap() - Method in class opennlp.tools.lemmatizer.DictionaryLemmatizer
Get the Map containing the dictionary.
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
Retrieves the document.
getDocumentAccuracy() - Method in class opennlp.tools.doccat.DoccatCrossValidator
Retrieves the accuracy for all iterations.
getDocumentAccuracy() - Method in class opennlp.tools.langdetect.LanguageDetectorCrossValidator
Retrieves the accuracy for all iterations.
getDocumentCount() - Method in class opennlp.tools.doccat.DoccatCrossValidator
Retrieves the number of words which where validated over all iterations.
getDocumentCount() - Method in class opennlp.tools.doccat.DocumentCategorizerEvaluator
 
getDocumentCount() - Method in class opennlp.tools.langdetect.LanguageDetectorCrossValidator
Retrieves the number of words which where validated over all iterations.
getDocumentCount() - Method in class opennlp.tools.langdetect.LanguageDetectorEvaluator
 
getDoubleParameter(String, double) - Method in class opennlp.tools.util.TrainingParameters
get a Double parameter
getDoubleParameter(String, String, double) - Method in class opennlp.tools.util.TrainingParameters
get a Double parameter 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
 
getEnd() - Method in class opennlp.tools.util.Span
Return the end of a span.
getEndOfSentenceCharacters() - Method in class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
 
getEndOfSentenceCharacters() - Method in interface opennlp.tools.sentdetect.EndOfSentenceScanner
Returns an array of character which can indicate the end of a sentence.
getEndOfSentenceScanner() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
 
getEOSCharacters(String) - Method in class opennlp.tools.sentdetect.lang.Factory
 
getEOSCharacters() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
 
getEosCharacters() - Method in class opennlp.tools.sentdetect.SentenceModel
 
getEvaluator() - Method in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
 
getEventModelSequenceTrainer(TrainingParameters, Map<String, String>) - Static method in class opennlp.tools.ml.TrainerFactory
 
getEvents() - Method in class opennlp.tools.ml.model.Sequence
Returns the events which make up this sequence.
getEventTrainer(TrainingParameters, Map<String, String>) - Static method in class opennlp.tools.ml.TrainerFactory
 
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
Retrieve list of morphological features from the universal feature inventory or from a defined language-specific extension; underscore if not available.
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
 
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
It returns the fmeasure result.
getFMeasure() - Method in class opennlp.tools.sentdetect.SDCrossValidator
 
getFMeasure() - Method in class opennlp.tools.sentdetect.SentenceDetectorEvaluator
 
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
Retrieves the f-measure score.
getForm() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
Retrieve the word form or punctuation symbol.
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
Head of the current word, which is either a value of ID or zero (0).
getHead(Parse[], String) - Method in interface opennlp.tools.parser.HeadRules
Returns the head constituent for the specified constituents of the specified 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
 
getHead() - Method in class opennlp.tools.parser.Parse
Returns the head constituent associated with this constituent.
getHeadIndex() - Method in class opennlp.tools.parser.Parse
Returns the index within a sentence of the head token for this parse.
getHeadRules() - Method in class opennlp.tools.parser.ParserModel
 
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
Retrieves the word index.
getId() - Method in class opennlp.tools.namefind.NameSample
 
getIndex(String) - Method in interface opennlp.tools.doccat.DocumentCategorizer
get 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
Gets the index associated with the String name of the given outcome.
getIndex(String) - Method in interface opennlp.tools.ml.model.MaxentModel
Gets 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
 
getIntParameter(String, int) - Method in class opennlp.tools.util.TrainingParameters
get an Integer parameter
getIntParameter(String, String, int) - Method in class opennlp.tools.util.TrainingParameters
get an Integer parameter in the specified namespace
getItemID() - Method in class opennlp.tools.entitylinker.BaseLink
returns the itemid
getItemName() - Method in class opennlp.tools.entitylinker.BaseLink
returns the name
getItemParentID() - Method in class opennlp.tools.entitylinker.BaseLink
Any parent ID for the linked item
getItemType() - Method in class opennlp.tools.entitylinker.BaseLink
returns the type
getIterations() - Method in class opennlp.tools.ml.AbstractTrainer
 
getKeys() - Method in class opennlp.tools.ml.naivebayes.Probabilities
Returns the probabilities associated with all labels
getLabel() - Method in class opennlp.tools.ml.naivebayes.LogProbability
Returns the probabilities associated with all labels
getLabel() - Method in class opennlp.tools.ml.naivebayes.Probability
Returns the probabilities associated with all labels
getLabel() - Method in class opennlp.tools.parser.Constituent
Returns the label of the constituent.
getLabel() - Method in class opennlp.tools.parser.Parse
Returns the label assigned to this parse node during parsing which specifies how this node will be formed into a constituent.
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 class opennlp.tools.langdetect.LanguageSample
 
getLanguage() - Method in interface opennlp.tools.util.model.ArtifactProvider
Retrieves the language code of the material which was used to train the model or x-unspecified if non was set.
getLanguage() - Method in class opennlp.tools.util.model.BaseModel
Retrieves the language code of the material which was used to train the model or x-unspecified if non was set.
getLanguageCode() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
 
getLanguageCode() - Method in class opennlp.tools.tokenize.TokenizerFactory
Retrieves the language code.
getLemma() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
 
getLemma() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
Retrieve the lemma or stem of the word form.
getLemmas() - Method in class opennlp.tools.lemmatizer.LemmaSample
 
getLemmatizerSequenceModel() - Method in class opennlp.tools.lemmatizer.LemmatizerModel
 
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
Returns the n best linked entries from an external data source.
getLinker(String, EntityLinkerProperties) - Static method in class opennlp.tools.entitylinker.EntityLinkerFactory
 
getLinker(EntityLinkerProperties) - Static method in class opennlp.tools.entitylinker.EntityLinkerFactory
 
getLog(T) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
Returns the log probability associated with a label
getLog() - Method in class opennlp.tools.ml.naivebayes.LogProbability
Returns the log probability associated with a label
getLog(T) - Method in class opennlp.tools.ml.naivebayes.Probabilities
Returns the log probability associated with a label
getLog() - Method in class opennlp.tools.ml.naivebayes.Probability
Returns the log probability associated with a label
getMajor() - Method in class opennlp.tools.util.Version
Retrieves the major version.
getManifestProperty(String) - Method in interface opennlp.tools.util.model.ArtifactProvider
Retrieves the value to the given key from the manifest.properties entry.
getManifestProperty(String) - Method in class opennlp.tools.util.model.BaseModel
Retrieves the value to the given key from the manifest.properties entry.
getMax() - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
Returns the most likely label
getMax() - Method in class opennlp.tools.ml.naivebayes.Probabilities
Returns the most likely label
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
 
getMaxTokenCount() - Method in class opennlp.tools.dictionary.Dictionary
 
getMaxValue() - Method in class opennlp.tools.ml.naivebayes.Probabilities
Returns the probability of the most likely label
getMetadata() - Method in class opennlp.tools.formats.ad.ADSentenceStream.Sentence
 
getMinor() - Method in class opennlp.tools.util.Version
Retrieves the minor version.
getMinTokenCount() - Method in class opennlp.tools.dictionary.Dictionary
 
getMisc() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
Retrieve any other annotation.
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
 
getmPatterns() - Method in class opennlp.tools.namefind.RegexNameFinder
 
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
Returns the set of punctuation parses that occur immediately after this parse.
getNgramDictionary() - Method in class opennlp.tools.postag.POSModel
Retrieves the ngram dictionary.
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
 
getNumberOfCacheHits() - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
Retrieves the number of times a cache hit occurred.
getNumberOfCacheMisses() - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
Retrieves the number of times a cache miss occurred.
getNumberOfCategories() - Method in interface opennlp.tools.doccat.DocumentCategorizer
get 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
Returns the number of total events indexed.
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
Returns the number of outcomes for this model.
getNumTimesEventsSeen() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
 
getNumTimesEventsSeen() - Method in interface opennlp.tools.ml.model.DataIndexer
Returns an array indicating the number of times a particular event was seen.
getObjectSettings(String) - Method in class opennlp.tools.util.TrainingParameters
Retrieves a map with the training parameters which have the passed name space.
getObjectSettings() - Method in class opennlp.tools.util.TrainingParameters
Retrieves all parameters without a name space.
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(int) - Method in class opennlp.tools.ml.model.AbstractModel
Return the name of an outcome corresponding to an int id.
getOutcome() - Method in class opennlp.tools.ml.model.Event
 
getOutcome(int) - Method in interface opennlp.tools.ml.model.MaxentModel
Gets the String name of the outcome associated with the index i.
getOutcomeLabels() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
 
getOutcomeLabels() - Method in interface opennlp.tools.ml.model.DataIndexer
Returns an array of outcome names.
getOutcomeList() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
 
getOutcomeList() - Method in interface opennlp.tools.ml.model.DataIndexer
Returns an array indicating the outcome index for each event.
getOutcomes() - Method in class opennlp.tools.ml.BeamSearch
 
getOutcomes() - Method in class opennlp.tools.ml.model.Context
Returns the outcomes for which parameters exists for this context.
getOutcomes() - Method in interface opennlp.tools.ml.model.SequenceClassificationModel
Returns all possible outcomes.
getOutcomes() - Method in class opennlp.tools.util.Sequence
Returns a list of outcomes for this sequence.
getOutcomeTotals() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesEvalParameters
 
getParameters() - Method in class opennlp.tools.formats.AbstractSampleStreamFactory
 
getParameters() - Method in class opennlp.tools.ml.model.Context
Returns the parameters or expected values for the outcomes which occur with this context.
getParameters(String) - Method in class opennlp.tools.util.TrainingParameters
 
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
Returns the parent parse node of this constituent.
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
Gets the phrases as an array of spans
getPOSContextGenerator() - Method in class opennlp.tools.postag.POSTaggerFactory
 
getPOSContextGenerator(int) - Method in class opennlp.tools.postag.POSTaggerFactory
 
getPositions(String) - Method in class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
 
getPositions(StringBuffer) - Method in class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
 
getPositions(char[]) - Method in class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
 
getPositions(String) - Method in interface opennlp.tools.sentdetect.EndOfSentenceScanner
The receiver scans the specified string for sentence ending characters and returns their offsets.
getPositions(StringBuffer) - Method in interface opennlp.tools.sentdetect.EndOfSentenceScanner
The receiver scans `buf' for sentence ending characters and returns their offsets.
getPositions(char[]) - Method in interface opennlp.tools.sentdetect.EndOfSentenceScanner
The receiver scans `cbuf' for sentence ending characters and returns their offsets.
getPosModel() - Method in class opennlp.tools.postag.POSModel
Deprecated.
use 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
Retrieve the Universal part-of-speech tag or the language-specific part-of-speech tag; underscore if not available.
getPrecisionScore() - Method in class opennlp.tools.util.eval.FMeasure
Retrieves the arithmetic mean of the precision scores calculated for each evaluated sample.
getPredCounts() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
 
getPredCounts() - Method in interface opennlp.tools.ml.model.DataIndexer
Returns an array of the count of each predicate in the events.
getPredLabels() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
 
getPredLabels() - Method in interface opennlp.tools.ml.model.DataIndexer
Returns an array of predicate/context names.
getPreds() - Method in class opennlp.tools.chunker.ChunkSample
Gets the Chunk tags in B-* I-* notation
getPreviousPunctuationSet() - Method in class opennlp.tools.parser.Parse
Returns the set of punctuation parses that occur immediately before this parse.
getProb() - Method in class opennlp.tools.parser.Parse
Returns the log of the product of the probability associated with all the decisions which formed this constituent.
getProb() - Method in class opennlp.tools.util.Span
 
getProbs() - Method in class opennlp.tools.util.Sequence
Returns an array of probabilities associated with the outcomes of this sequence.
getProbs(double[]) - Method in class opennlp.tools.util.Sequence
Populates an array with the probabilities associated with the outcomes of this sequence.
getProperty(String, String) - Method in class opennlp.tools.entitylinker.EntityLinkerProperties
Gets a property from the props file.
getPseudoGradAtNext() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
 
getPunctuationTags() - Method in interface opennlp.tools.parser.HeadRules
Returns the set of punctuation tags.
getPunctuationTags() - Method in class opennlp.tools.parser.lang.en.HeadRules
 
getPunctuationTags() - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
 
getRecallScore() - Method in class opennlp.tools.util.eval.FMeasure
Retrieves the arithmetic mean of the recall score calculated for each evaluated sample.
getRegexMap() - Method in interface opennlp.tools.namefind.RegexNameFinderFactory.RegexAble
 
getResource(String) - Method in interface opennlp.tools.util.featuregen.FeatureGeneratorResourceProvider
Retrieves the resource object for the given name/identifier.
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
Retrieves the revision version.
getRightFrontier(Parse, Set<String>) - Static method in class opennlp.tools.parser.treeinsert.Parser
Returns the right frontier of the specified parse 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
Returns the score of this 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
Returns the search term that was used to link this span to an external data source
getSecondaryTag() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
 
getSentence() - Method in class opennlp.tools.chunker.ChunkSample
Gets the training sentence
getSentence() - Method in class opennlp.tools.namefind.NameSample
 
getSentence() - Method in class opennlp.tools.postag.POSSample
 
getSentenceid() - Method in class opennlp.tools.entitylinker.LinkedSpan
Returns the id or index of the sentence from which this span was extracted
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 sentDetect().
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
Retrieves the sentences.
getSequenceCodec() - Method in class opennlp.tools.namefind.TokenNameFinderModel
 
getSequenceModelTrainer(TrainingParameters, Map<String, String>) - Static method in class opennlp.tools.ml.TrainerFactory
 
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
 
getSettings(String) - Method in class opennlp.tools.util.TrainingParameters
getSettings() - Method in class opennlp.tools.util.TrainingParameters
getShortestEditScript(String, String) - Static method in class opennlp.tools.util.StringUtil
Get the SES required to go from a word to a lemma.
getSignVector() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
 
getSource() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
 
getSource() - Method in class opennlp.tools.ml.model.Sequence
Returns an object from which this sequence can be derived.
getSpan() - Method in class opennlp.tools.formats.brat.SpanAnnotation
 
getSpan() - Method in class opennlp.tools.parser.Constituent
Returns the span of the constituent.
getSpan() - Method in class opennlp.tools.parser.Parse
Returns the character offsets for this constituent.
getStart() - Method in class opennlp.tools.util.Span
Return the start of a span.
getStepSize() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
 
getStringParameter(String, String) - Method in class opennlp.tools.util.TrainingParameters
get a String parameter
getStringParameter(String, String, String) - Method in class opennlp.tools.util.TrainingParameters
get a String parameter in the specified namespace
getsType() - Method in class opennlp.tools.namefind.RegexNameFinder
 
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 class opennlp.tools.util.TokenTag
 
getTagDictionary() - Method in class opennlp.tools.postag.POSTaggerFactory
 
getTagNodes() - Method in class opennlp.tools.parser.Parse
Returns the parse nodes which are children of this node and which are pos tags.
getTags() - Method in class opennlp.tools.chunker.ChunkSample
Gets the POS Tags for the sentence
getTags() - Method in class opennlp.tools.lemmatizer.LemmaSample
 
getTags(String) - Method in class opennlp.tools.postag.POSDictionary
Returns a list of valid tags for the specified word.
getTags() - Method in class opennlp.tools.postag.POSSample
 
getTags(String) - Method in interface opennlp.tools.postag.TagDictionary
Returns a list of valid tags for the specified word.
getTagSequenceProb() - Method in class opennlp.tools.parser.Parse
Returns the probability associated with the pos-tag sequence assigned to this parse.
getTestSampleStream() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner.TrainingSampleStream
Retrieves the ObjectStream over the test/evaluations elements and poisons this 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
Returns the text of the sentence over which this parse was formed.
getText() - Method in class opennlp.tools.tokenize.TokenSample
Retrieves the text.
getTextComment() - Method in class opennlp.tools.formats.conllu.ConlluSentence
 
getToken(int) - Method in class opennlp.tools.util.StringList
Retrieves a token from the given index.
getToken() - Method in class opennlp.tools.util.TokenTag
 
getTokenNodes() - Method in class opennlp.tools.parser.Parse
 
getTokenProbabilities() - Method in class opennlp.tools.tokenize.TokenizerME
Returns the probabilities associated with the most recent calls to AbstractTokenizer.tokenize(String) or TokenizerME.tokenizePos(String).
getTokens() - Method in class opennlp.tools.dictionary.serializer.Entry
Retrieves the tokens.
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
Retrieves the token spans.
getTrainerType(TrainingParameters) - Static method in class opennlp.tools.ml.TrainerFactory
Determines the trainer type based on the ALGORITHM_PARAM value.
getTranslation() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
 
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
Returns the constituent label for this node of the parse.
getType() - Method in class opennlp.tools.util.Span
Retrieves the type of the span.
getTypeClass(String) - Method in class opennlp.tools.formats.brat.AnnotationConfiguration
 
getValue(String) - Method in class opennlp.tools.dictionary.serializer.Attributes
Retrieves the value for the given key or null if attribute it not set.
getValue() - Method in class opennlp.tools.formats.brat.AttributeAnnotation
 
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
Returns the values associated with each event context or null if integer values are to be used.
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
Retrieves the OpenNLP version which was used to create the model.
getVocabulary() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesEvalParameters
 
getWordAccuracy() - Method in class opennlp.tools.lemmatizer.LemmatizerEvaluator
Retrieves the word accuracy.
getWordAccuracy() - Method in class opennlp.tools.postag.POSEvaluator
Retrieves the word accuracy.
getWordAccuracy() - Method in class opennlp.tools.postag.POSTaggerCrossValidator
Retrieves the accuracy for all iterations.
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
Retrieves the total number of words considered in the evaluation.
getWordCount() - Method in class opennlp.tools.postag.POSEvaluator
Retrieves the total number of words considered in the evaluation.
getWordCount() - Method in class opennlp.tools.postag.POSTaggerCrossValidator
Retrieves the number of words which where validated over all iterations.
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 procedure (implemented in GIS.java).
GISModel(Context[], String[], String[]) - Constructor for class opennlp.tools.ml.maxent.GISModel
Creates a new model with the specified parameters, outcome names, and predicate/feature labels.
GISModel(Context[], String[], String[], Prior) - Constructor for class opennlp.tools.ml.maxent.GISModel
Creates a new model with the specified parameters, outcome names, and predicate/feature labels.
GISModelReader - Class in opennlp.tools.ml.maxent.io
Abstract parent class for readers of GISModels.
GISModelReader(File) - Constructor for class opennlp.tools.ml.maxent.io.GISModelReader
 
GISModelReader(DataReader) - Constructor for class opennlp.tools.ml.maxent.io.GISModelReader
 
GISModelWriter - Class in opennlp.tools.ml.maxent.io
Abstract parent class for GISModel writers.
GISModelWriter(AbstractModel) - Constructor for class opennlp.tools.ml.maxent.io.GISModelWriter
 
GISTrainer - Class in opennlp.tools.ml.maxent
An implementation of Generalized Iterative Scaling.
GISTrainer() - Constructor for class opennlp.tools.ml.maxent.GISTrainer
Creates a new GISTrainer instance which does not print progress messages about training to STDOUT.
Glove - Class in opennlp.tools.util.wordvector
Warning: Experimental new feature, see OPENNLP-1144 for details, the API might be changed anytime.
gradientAt(double[]) - Method in interface opennlp.tools.ml.maxent.quasinewton.Function
 
gradientAt(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
Compute gradient
gradientAt(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.ParallelNegLogLikelihood
Compute gradient
gradientAt(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer.L2RegFunction
 

H

hashCode() - Method in class opennlp.tools.chunker.ChunkSample
 
hashCode() - Method in class opennlp.tools.dictionary.Dictionary
 
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 class opennlp.tools.langdetect.LanguageSample
 
hashCode() - Method in class opennlp.tools.lemmatizer.LemmaSample
 
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.namefind.NameSample
 
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.postag.POSDictionary
 
hashCode() - Method in class opennlp.tools.postag.POSSample
 
hashCode() - Method in class opennlp.tools.sentdetect.SentenceSample
 
hashCode() - Method in class opennlp.tools.stemmer.snowball.irishStemmer
 
hashCode() - Method in class opennlp.tools.tokenize.TokenSample
 
hashCode() - Method in class opennlp.tools.util.Sequence
 
hashCode() - Method in class opennlp.tools.util.Span
Generates a hash code of the current span.
hashCode() - Method in class opennlp.tools.util.StringList
 
hashCode() - Method in class opennlp.tools.util.TokenTag
 
hashCode() - Method in class opennlp.tools.util.Version
 
HashSumEventStream - Class in opennlp.tools.ml.model
 
HashSumEventStream(ObjectStream<Event>) - Constructor for class opennlp.tools.ml.model.HashSumEventStream
 
hasNext() - Method in interface opennlp.tools.ml.maxent.DataStream
Test whether there are any Events remaining in this EventStream.
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
 
HeadRules - Interface in opennlp.tools.parser
Interface for encoding the head rules associated with parsing.
HeadRules - Class in opennlp.tools.parser.lang.en
Class for storing the English head rules associated with parsing.
HeadRules(String) - Constructor for class opennlp.tools.parser.lang.en.HeadRules
Deprecated.
HeadRules(Reader) - Constructor for class opennlp.tools.parser.lang.en.HeadRules
Creates a new set of head rules based on the specified reader.
HeadRules.HeadRulesSerializer - Class in opennlp.tools.parser.lang.en
 
HeadRulesSerializer() - Constructor for class opennlp.tools.parser.lang.en.HeadRules.HeadRulesSerializer
 
HeadRulesSerializer() - Constructor for class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules.HeadRulesSerializer
 

I

ID - Static variable in class opennlp.tools.util.ext.ExtensionServiceKeys
Property key for the unique id which identifies an OSGi 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.
Index - Class in opennlp.tools.dictionary
This classes indexes StringLists.
Index(Iterator<StringList>) - Constructor for class opennlp.tools.dictionary.Index
Initializes the current instance with the given StringList Iterator.
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
 
index(ObjectStream<Event>) - Method in class opennlp.tools.ml.model.TwoPassDataIndexer
 
indexOf(Parse) - Method in class opennlp.tools.parser.Parse
Returns the index of this specified child.
init(EntityLinkerProperties) - Method in interface opennlp.tools.entitylinker.EntityLinker
allows for passing properties through the EntityLinkerFactory into all impls dynamically.
init() - Method in class opennlp.tools.langdetect.LanguageDetectorFactory
 
init(TrainingParameters, Map<String, String>) - Method in class opennlp.tools.ml.AbstractTrainer
 
init(Map<String, String>, Map<String, String>) - Method in class opennlp.tools.ml.AbstractTrainer
Deprecated.
init(Map<String, String>, Map<String, String>) - Method in interface opennlp.tools.ml.EventModelSequenceTrainer
Deprecated.
init(TrainingParameters, Map<String, String>) - Method in interface opennlp.tools.ml.EventModelSequenceTrainer
 
init(Map<String, String>, Map<String, String>) - Method in interface opennlp.tools.ml.EventTrainer
Deprecated.
init(TrainingParameters, Map<String, String>) - Method in interface opennlp.tools.ml.EventTrainer
 
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(Map<String, String>, Map<String, String>) - Method in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
Deprecated.
init(TrainingParameters, Map<String, String>) - Method in class opennlp.tools.ml.model.AbstractDataIndexer
 
init(TrainingParameters, Map<String, String>) - Method in interface opennlp.tools.ml.model.DataIndexer
Sets parameters used during the data indexing.
init(Map<String, String>, Map<String, String>) - Method in interface opennlp.tools.ml.SequenceTrainer
Deprecated.
init(TrainingParameters, Map<String, String>) - Method in interface opennlp.tools.ml.SequenceTrainer
 
init() - Method in class opennlp.tools.parser.treeinsert.ParserEventStream
 
init(Map<String, String>, FeatureGeneratorResourceProvider) - Method in class opennlp.tools.util.featuregen.CustomFeatureGenerator
Initialized the Custom Feature Generator with defined properties and loaded resources.
INITIAL_STEP_SIZE - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
 
innerProduct(double[], double[]) - Static method in class opennlp.tools.ml.maxent.quasinewton.ArrayMath
 
InputStreamFactory - Interface in opennlp.tools.util
Allows repeated reads through a stream for certain types of model building.
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.This method assumes that the specified constituent can be inserted into this parse.
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 the current instance.
INSTANCE - Static variable in class opennlp.tools.tokenize.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 an user provided extension to OpenNLP.
instantiateSequenceCodec(String) - Static method in class opennlp.tools.namefind.TokenNameFinderFactory
 
InsufficientTrainingDataException - Exception in opennlp.tools.util
This exception indicates that the provided training data is insufficient to train the desired model.
InsufficientTrainingDataException() - Constructor for exception opennlp.tools.util.InsufficientTrainingDataException
 
InsufficientTrainingDataException(String) - Constructor for exception opennlp.tools.util.InsufficientTrainingDataException
 
InsufficientTrainingDataException(Throwable) - Constructor for exception opennlp.tools.util.InsufficientTrainingDataException
 
InsufficientTrainingDataException(String, Throwable) - Constructor for exception opennlp.tools.util.InsufficientTrainingDataException
 
intersects(Span) - Method in class opennlp.tools.util.Span
Returns true 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() - Constructor for exception opennlp.tools.util.InvalidFormatException
 
InvalidFormatException(String) - Constructor for exception opennlp.tools.util.InvalidFormatException
 
InvalidFormatException(Throwable) - Constructor for exception opennlp.tools.util.InvalidFormatException
 
InvalidFormatException(String, Throwable) - Constructor for exception opennlp.tools.util.InvalidFormatException
 
invL2norm(double[]) - Static method in class opennlp.tools.ml.maxent.quasinewton.ArrayMath
Inverse L2-norm
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
 
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 - Class in opennlp.tools.formats.irishsentencebank
 
IrishSentenceBankTokenSampleStreamFactory - 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
 
isAllLetter() - Method in class opennlp.tools.util.featuregen.StringPattern
 
isAllLowerCaseLetter() - Method in class opennlp.tools.util.featuregen.StringPattern
 
isCaseSensitive() - Method in interface opennlp.tools.postag.MutableTagDictionary
Whether if the dictionary is case sensitive or not
isCaseSensitive() - Method in class opennlp.tools.postag.POSDictionary
 
isChunk(boolean) - Method in class opennlp.tools.parser.Parse
 
isChunk() - 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
Returns true if CharSequence.length() is 0 or null.
isFlat() - Method in class opennlp.tools.parser.Parse
Returns true if this constituent contains no sub-constituents.
isInitialCapitalLetter() - Method in class opennlp.tools.util.featuregen.StringPattern
 
isLarger(Probability) - Method in class opennlp.tools.ml.naivebayes.LogProbability
Checks if a probability is greater than the old one.
isLarger(Probability) - 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 serialized.
isLoadedFromSerialized() - Method in class opennlp.tools.util.model.BaseModel
 
isOSGiEnvironment() - Method in exception opennlp.tools.util.ext.ExtensionNotLoadedException
Indicates if OpenNLP is running in an OSGi environment or not.
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
 
isUseAlphaNumericOptmization() - Method in class opennlp.tools.tokenize.TokenizerFactory
Gets whether to use alphanumeric optimization.
isUseTokenEnd() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
 
isValid() - Method in class opennlp.tools.ml.AbstractEventTrainer
Deprecated.
isValid() - Method in class opennlp.tools.ml.AbstractTrainer
Deprecated.
isValid() - Method in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
Deprecated.
isValid() - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
Deprecated.
isValid() - Method in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
Deprecated.
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.
ITERATIONS_DEFAULT - Static variable in class opennlp.tools.ml.AbstractTrainer
 
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
Retrieves an Iterator over all tokens.
iterator() - Method in class opennlp.tools.dictionary.serializer.Attributes
Iterates over the keys.
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
Retrieves an Iterator over all tokens.

J

jpEosCharacters - 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.maxent.quasinewton.ArrayMath
L1-norm
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.maxent.quasinewton.ArrayMath
L2-norm
L2RegFunction(Function, double) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNMinimizer.L2RegFunction
 
labelGaps(Stack<Constituent>) - Method in interface opennlp.tools.parser.GapLabeler
Labels the 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 - 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 provide the @Language according to the context.
LanguageDetectorContextGenerator - Interface in opennlp.tools.langdetect
A context generator interface for language detector.
LanguageDetectorCrossValidator - Class in opennlp.tools.langdetect
Cross validator for language detector
LanguageDetectorCrossValidator(TrainingParameters, LanguageDetectorFactory, LanguageDetectorEvaluationMonitor...) - Constructor for class opennlp.tools.langdetect.LanguageDetectorCrossValidator
LanguageDetectorEvaluationMonitor - Interface in opennlp.tools.langdetect
EvaluationMonitor for Language Detector.
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 the current instance.
LanguageDetectorEventStream - Class in opennlp.tools.langdetect
Iterator-like class for modeling language detector events.
LanguageDetectorEventStream(ObjectStream<LanguageSample>, LanguageDetectorContextGenerator) - Constructor for class opennlp.tools.langdetect.LanguageDetectorEventStream
Initializes the current instance via samples and feature generators.
LanguageDetectorFactory - Class in opennlp.tools.langdetect
Default factory used by Language Detector.
LanguageDetectorFactory() - Constructor for class opennlp.tools.langdetect.LanguageDetectorFactory
 
LanguageDetectorME - Class in opennlp.tools.langdetect
Implements learnable Language Detector
LanguageDetectorME(LanguageDetectorModel) - Constructor for class opennlp.tools.langdetect.LanguageDetectorME
Initializes the current instance with a language detector model.
LanguageDetectorModel - Class in opennlp.tools.langdetect
A model for language detection
LanguageDetectorModel(MaxentModel, Map<String, String>, LanguageDetectorFactory) - Constructor for class opennlp.tools.langdetect.LanguageDetectorModel
 
LanguageDetectorModel(InputStream) - Constructor for class opennlp.tools.langdetect.LanguageDetectorModel
 
LanguageDetectorModel(File) - Constructor for class opennlp.tools.langdetect.LanguageDetectorModel
 
LanguageDetectorModel(URL) - Constructor for class opennlp.tools.langdetect.LanguageDetectorModel
 
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
 
LanguageDetectorSampleStreamFactory - Class in opennlp.tools.formats
Factory producing OpenNLP DocumentSampleStreams.
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.
LanguageSample - Class in opennlp.tools.langdetect
Class which holds a classified document and its @Language.
LanguageSample(Language, CharSequence) - Constructor for class opennlp.tools.langdetect.LanguageSample
 
LanguageSampleStreamFactory<T> - 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
 
LeipzigDoccatSampleStream - Class in opennlp.tools.formats
Deprecated.
will be removed, use the language detector instead
LeipzigDoccatSampleStream(String, int, Tokenizer, InputStreamFactory) - Constructor for class opennlp.tools.formats.LeipzigDoccatSampleStream
Deprecated.
Creates a new LeipzigDoccatSampleStream with the specified parameters.
LeipzigDoccatSampleStream(String, int, InputStreamFactory) - Constructor for class opennlp.tools.formats.LeipzigDoccatSampleStream
Deprecated.
Creates a new LeipzigDoccatSampleStream with the specified parameters.
LeipzigDocumentSampleStreamFactory - Class in opennlp.tools.formats
Deprecated.
will be removed, use the language detector instead
LeipzigLanguageSampleStream - Class in opennlp.tools.formats.leipzig
 
LeipzigLanguageSampleStream(File, int, int) - Constructor for class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStream
 
LeipzigLanguageSampleStreamFactory - 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
 
LemmaSample - Class in opennlp.tools.lemmatizer
Represents an lemmatized sentence.
LemmaSample(String[], String[], String[]) - Constructor for class opennlp.tools.lemmatizer.LemmaSample
Represents one lemma sample.
LemmaSample(List<String>, List<String>, List<String>) - Constructor for class opennlp.tools.lemmatizer.LemmaSample
Lemma Sample constructor.
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 the specified context generator.
LemmaSampleSequenceStream - Class in opennlp.tools.lemmatizer
 
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
 
lemmatize(String[], String[]) - Method in class opennlp.tools.lemmatizer.DictionaryLemmatizer
 
lemmatize(List<String>, List<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 returning the result in an array.
lemmatize(List<String>, List<String>) - Method in interface opennlp.tools.lemmatizer.Lemmatizer
Generates a lemma tags for the word and postag returning the result in a list of every possible lemma for each token and postag.
lemmatize(String[], String[]) - Method in class opennlp.tools.lemmatizer.LemmatizerME
 
lemmatize(List<String>, List<String>) - Method in class opennlp.tools.lemmatizer.LemmatizerME
 
Lemmatizer - Interface in opennlp.tools.lemmatizer
The interface for lemmatizers.
LemmatizerContextGenerator - Interface in opennlp.tools.lemmatizer
Interface for the context generator used for probabilistic lemmatizer.
LemmatizerEvaluationMonitor - Interface in opennlp.tools.lemmatizer
Interface for the lemmatizer evaluator.
LemmatizerEvaluator - Class in opennlp.tools.lemmatizer
The LemmatizerEvaluator measures the performance of the given Lemmatizer with the provided reference LemmaSamples.
LemmatizerEvaluator(Lemmatizer, LemmatizerEvaluationMonitor...) - Constructor for class opennlp.tools.lemmatizer.LemmatizerEvaluator
Initializes the current instance.
LemmatizerFactory - Class in opennlp.tools.lemmatizer
 
LemmatizerFactory() - Constructor for class opennlp.tools.lemmatizer.LemmatizerFactory
Creates a LemmatizerFactory that provides the default implementation of the resources.
LemmatizerME - Class in opennlp.tools.lemmatizer
A probabilistic lemmatizer.
LemmatizerME(LemmatizerModel) - Constructor for class opennlp.tools.lemmatizer.LemmatizerME
Initializes the current instance with the provided model and the default beam size of 3.
LemmatizerModel - Class in opennlp.tools.lemmatizer
The LemmatizerModel is the model used by a learnable Lemmatizer.
LemmatizerModel(String, SequenceClassificationModel<String>, Map<String, String>, LemmatizerFactory) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
 
LemmatizerModel(String, MaxentModel, Map<String, String>, LemmatizerFactory) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
 
LemmatizerModel(String, MaxentModel, int, Map<String, String>, LemmatizerFactory) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
 
LemmatizerModel(String, MaxentModel, LemmatizerFactory) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
 
LemmatizerModel(InputStream) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
 
LemmatizerModel(File) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
 
LemmatizerModel(Path) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
 
LemmatizerModel(URL) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
 
LemmatizerSampleStreamFactory - Class in opennlp.tools.formats
Factory producing OpenNLP LemmaSampleStreams.
length() - Method in class opennlp.tools.util.Span
Returns the length of this span.
LetsmtDocument - Class in opennlp.tools.formats.letsmt
A structure to hold the letsmt document.
LetsmtDocument.LetsmtDocumentHandler - Class in opennlp.tools.formats.letsmt
 
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 - 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
Class to store lineSearch result
LineSearchResult(double, double, double, double[], double[], double[], double[], int) - Constructor for class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
Constructor
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
LinkedSpan<T extends BaseLink> - Class in opennlp.tools.entitylinker
An "default" extended span that holds additional information about the Span
LinkedSpan(ArrayList<T>, int, int, String) - Constructor for class opennlp.tools.entitylinker.LinkedSpan
 
LinkedSpan(ArrayList<T>, int, int, String, double) - Constructor for class opennlp.tools.entitylinker.LinkedSpan
 
LinkedSpan(ArrayList<T>, int, int) - Constructor for class opennlp.tools.entitylinker.LinkedSpan
 
LinkedSpan(ArrayList<T>, Span, int) - Constructor for class opennlp.tools.entitylinker.LinkedSpan
 
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
 
logPrior(double[], int[]) - Method in interface opennlp.tools.ml.model.Prior
Populates the specified array with the the log of the distribution for the specified context.
logPrior(double[], int[], float[]) - Method in interface opennlp.tools.ml.model.Prior
Populates the specified array with the the log of the distribution for the specified context.
logPrior(double[], Context[], float[]) - Method in interface opennlp.tools.ml.model.Prior
Populates the specified array with the 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 class opennlp.tools.ml.model.UniformPrior
 
logPrior(double[], int[]) - 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
Class implementing the probability for a label.
LogProbability(T) - Constructor for class opennlp.tools.ml.naivebayes.LogProbability
 
logSumOfExps(double[]) - Static method in class opennlp.tools.ml.maxent.quasinewton.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
 
max(double[]) - Static method in class opennlp.tools.ml.maxent.quasinewton.ArrayMath
 
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_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.
maxIdx(double[]) - Static method in class opennlp.tools.ml.maxent.quasinewton.ArrayMath
Find index of maximum element in the vector x
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
 
mean() - Method in class opennlp.tools.util.eval.Mean
Retrieves the mean of all values added with Mean.add(double) or 0 if there are zero added values.
mergeInto(FMeasure) - Method in class opennlp.tools.util.eval.FMeasure
Merge results into fmeasure 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
 
MIN_STEP_SIZE - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
 
minimize(Function) - Method in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
Find the parameters that minimize the objective function
missclassified(T, T) - Method in interface opennlp.tools.util.eval.EvaluationMonitor
 
ModelType - Enum in opennlp.tools.util.model
 
ModelUtil - Class in opennlp.tools.util.model
Utility class for handling of MaxentModels.
MosesSentenceSampleStream - Class in opennlp.tools.formats.moses
 
MosesSentenceSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.moses.MosesSentenceSampleStream
 
MosesSentenceSampleStreamFactory - Class in opennlp.tools.formats.moses
Factory producing OpenNLP MosesSentenceSampleStreams.
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
 
MucNameSampleStream - Class in opennlp.tools.formats.muc
 
MutableContext - Class in opennlp.tools.ml.model
Class 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.
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
 
NaiveBayesEvalParameters - Class in opennlp.tools.ml.naivebayes
Parameters for the evalution 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
Class implementing the multinomial Naive Bayes classifier model.
NaiveBayesModel(Context[], String[], String[]) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesModel
 
NaiveBayesModelReader - Class in opennlp.tools.ml.naivebayes
Abstract parent class for readers of NaiveBayes.
NaiveBayesModelReader(File) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesModelReader
 
NaiveBayesModelReader(DataReader) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesModelReader
 
NaiveBayesModelWriter - Class in opennlp.tools.ml.naivebayes
Abstract parent class for NaiveBayes 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: Text Classification from Labeled and Unlabeled Documents using EM Nigam, McCallum, et al paper of 2000
NaiveBayesTrainer() - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
 
NaiveBayesTrainer(TrainingParameters) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
 
name - Variable in class opennlp.tools.ml.model.ComparablePredicate
 
NameContextGenerator - Interface in opennlp.tools.namefind
Interface for generating the context for an name finder by specifying a set of geature generators.
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(ObjectStream<String>) - Constructor for class opennlp.tools.formats.NameFinderCensus90NameStream
This constructor takes an ObjectStream and initializes the class to handle the stream.
NameFinderCensus90NameStream(InputStreamFactory, Charset) - Constructor for class opennlp.tools.formats.NameFinderCensus90NameStream
This constructor takes an InputStream and a Charset and opens an associated stream object with the specified encoding specified.
NameFinderEventStream - Class in opennlp.tools.namefind
Class for creating an event stream out of data files for training an name finder.
NameFinderEventStream(ObjectStream<NameSample>, String, NameContextGenerator, SequenceCodec<String>) - Constructor for class opennlp.tools.namefind.NameFinderEventStream
Creates a new name finder event stream using the specified data stream and context generator.
NameFinderEventStream(ObjectStream<NameSample>) - Constructor for class opennlp.tools.namefind.NameFinderEventStream
 
NameFinderME - Class in opennlp.tools.namefind
Class for creating a maximum-entropy-based name finder.
NameFinderME(TokenNameFinderModel) - Constructor for class opennlp.tools.namefind.NameFinderME
 
NameFinderSequenceValidator - Class in opennlp.tools.namefind
This class is created by the BioCodec.
NameFinderSequenceValidator() - Constructor for class opennlp.tools.namefind.NameFinderSequenceValidator
 
NameSample - Class in opennlp.tools.namefind
Class for holding names for a single unit of text.
NameSample(String, String[], Span[], String[][], boolean) - Constructor for class opennlp.tools.namefind.NameSample
 
NameSample(String[], Span[], String[][], boolean) - Constructor for class opennlp.tools.namefind.NameSample
Initializes the current instance.
NameSample(String[], Span[], boolean) - Constructor for class opennlp.tools.namefind.NameSample
 
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
 
NameSampleDataStreamFactory - Class in opennlp.tools.formats
Factory producing OpenNLP NameSampleDataStreams.
NameSampleDataStreamFactory.Parameters - Interface in opennlp.tools.formats
 
NameSampleSequenceStream - Class in opennlp.tools.namefind
 
NameSampleSequenceStream(ObjectStream<NameSample>) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
 
NameSampleSequenceStream(ObjectStream<NameSample>, AdaptiveFeatureGenerator) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
 
NameSampleSequenceStream(ObjectStream<NameSample>, AdaptiveFeatureGenerator, boolean) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
 
NameSampleSequenceStream(ObjectStream<NameSample>, NameContextGenerator) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
 
NameSampleSequenceStream(ObjectStream<NameSample>, NameContextGenerator, boolean) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
 
NameSampleSequenceStream(ObjectStream<NameSample>, NameContextGenerator, boolean, SequenceCodec<String>) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
 
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
 
NameSampleTypeFilter(Set<String>, ObjectStream<NameSample>) - Constructor for class opennlp.tools.namefind.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 - 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 - 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 Sentence Detector 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.
NGramFeatureGenerator - Class in opennlp.tools.doccat
Generates ngram features for a document.
NGramFeatureGenerator(int, int) - Constructor for class opennlp.tools.doccat.NGramFeatureGenerator
Constructor for ngrams.
NGramFeatureGenerator() - Constructor for class opennlp.tools.doccat.NGramFeatureGenerator
Default constructor for Bi grams
NGramGenerator - Class in opennlp.tools.ngram
Generates an nGram, with 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
LanguageModel based on a NGramModel using Stupid Backoff to get the probabilities of the ngrams.
NGramLanguageModel() - Constructor for class opennlp.tools.languagemodel.NGramLanguageModel
 
NGramLanguageModel(int) - Constructor for class opennlp.tools.languagemodel.NGramLanguageModel
 
NGramLanguageModel(InputStream) - Constructor for class opennlp.tools.languagemodel.NGramLanguageModel
 
NGramLanguageModel(InputStream, int) - Constructor for class opennlp.tools.languagemodel.NGramLanguageModel
 
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 ] ._.
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
 
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
 
NUM_ITERATIONS_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
 
NumberCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
 
NumberCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.NumberCharSequenceNormalizer
 
numberOfGrams() - Method in class opennlp.tools.ngram.NGramModel
Retrieves the total count of all Ngrams.

O

ObjectDataReader - Class in opennlp.tools.ml.model
 
ObjectDataReader(ObjectInputStream) - Constructor for class opennlp.tools.ml.model.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
 
OLD_LL_THRESHOLD_PARAM - Static variable in class opennlp.tools.ml.maxent.GISTrainer
Deprecated.
OnePassDataIndexer - Class in opennlp.tools.ml.model
An indexer 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
An indexer 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
 
opennlp.tools - package opennlp.tools
Contains packages which solve common NLP tasks.
opennlp.tools.chunker - package opennlp.tools.chunker
Package related to finding non-recursive syntactic annotation such as noun phrase chunks.
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
 
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
 
opennlp.tools.formats.brat - package opennlp.tools.formats.brat
 
opennlp.tools.formats.conllu - package opennlp.tools.formats.conllu
 
opennlp.tools.formats.convert - package opennlp.tools.formats.convert
 
opennlp.tools.formats.frenchtreebank - package opennlp.tools.formats.frenchtreebank
 
opennlp.tools.formats.irishsentencebank - package opennlp.tools.formats.irishsentencebank
 
opennlp.tools.formats.leipzig - package opennlp.tools.formats.leipzig
 
opennlp.tools.formats.letsmt - package opennlp.tools.formats.letsmt
 
opennlp.tools.formats.moses - package opennlp.tools.formats.moses
 
opennlp.tools.formats.muc - package opennlp.tools.formats.muc
 
opennlp.tools.formats.ontonotes - package opennlp.tools.formats.ontonotes
 
opennlp.tools.langdetect - package opennlp.tools.langdetect
 
opennlp.tools.languagemodel - package opennlp.tools.languagemodel
Package related to language models
opennlp.tools.lemmatizer - package opennlp.tools.lemmatizer
Package related with the lemmatizer tool
opennlp.tools.ml - package opennlp.tools.ml
 
opennlp.tools.ml.maxent - package opennlp.tools.ml.maxent
Provides main functionality of the maxent package including data structures and algorithms for parameter estimation.
opennlp.tools.ml.maxent.io - package opennlp.tools.ml.maxent.io
Provides 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
 
opennlp.tools.ml.model - package opennlp.tools.ml.model
 
opennlp.tools.ml.naivebayes - package opennlp.tools.ml.naivebayes
 
opennlp.tools.ml.perceptron - package opennlp.tools.ml.perceptron
 
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 sentece boundries.
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
 
OSGiExtensionLoader - Class in opennlp.tools.util.ext
OSGi bundle activator which can use an OSGi service as an OpenNLP extension.
OSGiExtensionLoader() - Constructor for class opennlp.tools.util.ext.OSGiExtensionLoader
 
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
Stream filter which merges text lines into paragraphs.
ParagraphStream(ObjectStream<String>) - Constructor for class opennlp.tools.util.ParagraphStream
 
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(String, int, boolean, boolean) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
Parse the sentence
parse(InputStream) - Static method in class opennlp.tools.formats.brat.AnnotationConfiguration
 
parse(File) - Static method in class opennlp.tools.formats.brat.AnnotationConfiguration
 
parse(BratDocument) - Method in class opennlp.tools.formats.brat.BratDocumentParser
 
parse(InputStream) - Static method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument
 
parse(Reader, SgmlParser.ContentHandler) - Method in class opennlp.tools.formats.muc.SgmlParser
 
parse(String, boolean) - Static method in class opennlp.tools.namefind.NameSample
 
parse(String, String, boolean) - Static method in class opennlp.tools.namefind.NameSample
 
parse(Parse, int) - Method in class opennlp.tools.parser.AbstractBottomUpParser
 
parse(Parse) - Method in class opennlp.tools.parser.AbstractBottomUpParser
 
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
Creates a new parse node for this specified text and span of the specified type with the specified probability and the specified head index.
Parse(String, Span, String, double, Parse) - Constructor for class opennlp.tools.parser.Parse
Creates a new parse node for this specified text and span of the specified type with the specified probability and the specified head and head index.
parse(Parse, int) - Method in interface opennlp.tools.parser.Parser
Returns the specified number of parses or fewer for the specified tokens.
parse(Parse) - Method in interface opennlp.tools.parser.Parser
Returns a parse for the specified parse of tokens.
parse(String) - Static method in enum opennlp.tools.parser.ParserType
 
parse(String) - Static method in class opennlp.tools.postag.POSSample
 
parse(String) - Static method in enum opennlp.tools.tokenize.DetokenizationDictionary.Operation
 
parse(String, String) - Static method in class opennlp.tools.tokenize.TokenSample
 
parse(String) - Static method in class opennlp.tools.util.Version
Return a new Version initialized to the value represented by the specified String
parse(InputStream) - Static method in class opennlp.tools.util.wordvector.Glove
Parses a glove vector plain text file.
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(AnnotationConfiguration, String, InputStream, InputStream) - Static method in class opennlp.tools.formats.brat.BratDocument
 
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
Class for a shift reduce style parser based on Adwait Ratnaparkhi's 1998 thesis.
Parser(ParserModel, int, double) - Constructor for class opennlp.tools.parser.chunking.Parser
 
Parser(ParserModel) - Constructor for class opennlp.tools.parser.chunking.Parser
 
Parser - Interface in opennlp.tools.parser
Interface for full-syntactic parsers.
Parser - Class in opennlp.tools.parser.treeinsert
Built/attach parser.
Parser(ParserModel, int, double) - Constructor for class opennlp.tools.parser.treeinsert.Parser
 
Parser(ParserModel) - Constructor for class opennlp.tools.parser.treeinsert.Parser
 
ParserChunkerFactory - Class in opennlp.tools.parser
 
ParserChunkerFactory() - Constructor for class opennlp.tools.parser.ParserChunkerFactory
 
ParserChunkerSequenceValidator - Class in opennlp.tools.parser
 
ParserChunkerSequenceValidator(String[]) - Constructor for class opennlp.tools.parser.ParserChunkerSequenceValidator
 
ParserCrossValidator - Class in opennlp.tools.parser
 
ParserCrossValidator(String, TrainingParameters, HeadRules, ParserType, ParserEvaluationMonitor...) - Constructor for class opennlp.tools.parser.ParserCrossValidator
 
ParserEvaluationMonitor - Interface in opennlp.tools.parser
 
ParserEvaluator - Class in opennlp.tools.parser
Class for ParserEvaluator.
ParserEvaluator(Parser, ParserEvaluationMonitor...) - Constructor for class opennlp.tools.parser.ParserEvaluator
Construct a parser with some evaluation monitors.
ParserEventStream - Class in opennlp.tools.parser.chunking
Wrapper class for one of four parser event streams.
ParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum, Dictionary) - Constructor for class opennlp.tools.parser.chunking.ParserEventStream
Create an event stream based on the specified data stream of the specified type using the specified head rules.
ParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum) - Constructor for class opennlp.tools.parser.chunking.ParserEventStream
 
ParserEventStream - Class in opennlp.tools.parser.treeinsert
 
ParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum, Dictionary) - Constructor for class opennlp.tools.parser.treeinsert.ParserEventStream
 
ParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum) - Constructor for class opennlp.tools.parser.treeinsert.ParserEventStream
 
ParserEventTypeEnum - Enum in opennlp.tools.parser
Enumerated type of event types for the parser.
ParserFactory - Class in opennlp.tools.parser
 
ParserModel - Class in opennlp.tools.parser
This is an abstract base class for ParserModel implementations.
ParserModel(String, MaxentModel, MaxentModel, MaxentModel, POSModel, ChunkerModel, HeadRules, ParserType, Map<String, String>) - Constructor for class opennlp.tools.parser.ParserModel
 
ParserModel(String, MaxentModel, MaxentModel, MaxentModel, POSModel, ChunkerModel, HeadRules, ParserType) - Constructor for class opennlp.tools.parser.ParserModel
 
ParserModel(String, MaxentModel, MaxentModel, POSModel, ChunkerModel, HeadRules, ParserType, Map<String, String>) - Constructor for class opennlp.tools.parser.ParserModel
 
ParserModel(InputStream) - Constructor for class opennlp.tools.parser.ParserModel
 
ParserModel(File) - Constructor for class opennlp.tools.parser.ParserModel
 
ParserModel(Path) - Constructor for class opennlp.tools.parser.ParserModel
 
ParserModel(URL) - Constructor for class opennlp.tools.parser.ParserModel
 
ParserType - Enum in opennlp.tools.parser
 
ParseSampleStream - Class in opennlp.tools.parser
 
ParseSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.parser.ParseSampleStream
 
ParseSampleStreamFactory - 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
 
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_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
 
PerceptronModel(Context[], String[], String[]) - Constructor for class opennlp.tools.ml.perceptron.PerceptronModel
 
PerceptronModelReader - Class in opennlp.tools.ml.perceptron
Abstract parent class for readers of Perceptron.
PerceptronModelReader(File) - Constructor for class opennlp.tools.ml.perceptron.PerceptronModelReader
 
PerceptronModelReader(DataReader) - Constructor for class opennlp.tools.ml.perceptron.PerceptronModelReader
 
PerceptronModelWriter - Class in opennlp.tools.ml.perceptron
Abstract parent class for Perceptron 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
 
PerceptronTrainer(TrainingParameters) - Constructor for class opennlp.tools.ml.perceptron.PerceptronTrainer
 
persist() - Method in class opennlp.tools.ml.maxent.io.GISModelWriter
Writes the model to disk, using the writeX() methods provided by extending classes.
persist() - Method in class opennlp.tools.ml.maxent.io.QNModelWriter
 
persist() - Method in class opennlp.tools.ml.model.AbstractModelWriter
 
persist() - Method in class opennlp.tools.ml.model.GenericModelWriter
 
persist() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModelWriter
Writes the model to disk, using the writeX() methods provided by extending classes.
persist() - Method in class opennlp.tools.ml.perceptron.PerceptronModelWriter
Writes the model to disk, using the writeX() methods provided by extending classes.
phrasesAsSpanList(String[], String[], String[]) - Static method in class opennlp.tools.chunker.ChunkSample
Static method to create arrays of spans of phrases
PlainTextByLineStream - Class in opennlp.tools.util
Reads a plain text file and return each line as a String object.
PlainTextByLineStream(InputStreamFactory, String) - Constructor for class opennlp.tools.util.PlainTextByLineStream
 
PlainTextByLineStream(InputStreamFactory, Charset) - Constructor for class opennlp.tools.util.PlainTextByLineStream
 
PlainTextFileDataReader - Class in opennlp.tools.ml.model
 
PlainTextFileDataReader(File) - Constructor for class opennlp.tools.ml.model.PlainTextFileDataReader
 
PlainTextFileDataReader(InputStream) - Constructor for class opennlp.tools.ml.model.PlainTextFileDataReader
 
PlainTextFileDataReader(BufferedReader) - Constructor for class opennlp.tools.ml.model.PlainTextFileDataReader
 
PlainTextNaiveBayesModelReader - Class in opennlp.tools.ml.naivebayes
 
PlainTextNaiveBayesModelReader(BufferedReader) - Constructor for class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelReader
Constructor which directly instantiates the BufferedReader containing the model contents.
PlainTextNaiveBayesModelReader(File) - Constructor for class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelReader
Constructor which takes a File and creates a reader for it.
PlainTextNaiveBayesModelWriter - Class in opennlp.tools.ml.naivebayes
Model writer that saves models in plain text format.
PlainTextNaiveBayesModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelWriter
Constructor which takes a NaiveBayesModel and a File and prepares itself to write the model to that file.
PlainTextNaiveBayesModelWriter(AbstractModel, BufferedWriter) - Constructor for class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelWriter
Constructor which takes a NaiveBayesModel and a BufferedWriter and prepares itself to write the model to that writer.
populatePOSDictionary(ObjectStream<POSSample>, MutableTagDictionary, int) - Static method in class opennlp.tools.postag.POSTaggerME
 
PorterStemmer - Class in opennlp.tools.stemmer
Stemmer, implementing the Porter Stemming Algorithm The Stemmer class transforms a word into its root form.
PorterStemmer() - Constructor for class opennlp.tools.stemmer.PorterStemmer
 
PortugueseContractionUtility - Class in opennlp.tools.formats.ad
Utility class to handle Portuguese contractions.
PortugueseContractionUtility() - Constructor for class opennlp.tools.formats.ad.PortugueseContractionUtility
 
POSContextGenerator - Interface in opennlp.tools.postag
The interface for a context generator for the POS Tagger.
POSDictionary - Class in opennlp.tools.postag
Provides a means of determining which tags are valid for a particular word based on a tag dictionary read from a file.
POSDictionary() - Constructor for class opennlp.tools.postag.POSDictionary
Initializes an empty case sensitive POSDictionary.
POSDictionary(boolean) - Constructor for class opennlp.tools.postag.POSDictionary
Initializes an empty POSDictionary.
POSDictionarySerializer() - Constructor for class opennlp.tools.postag.POSTaggerFactory.POSDictionarySerializer
 
POSEvaluator - Class in opennlp.tools.postag
The POSEvaluator measures the performance of the given POSTagger with the provided reference POSSamples.
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(String, SequenceClassificationModel<String>, Map<String, String>, POSTaggerFactory) - Constructor for class opennlp.tools.postag.POSModel
 
POSModel(String, MaxentModel, Map<String, String>, POSTaggerFactory) - Constructor for class opennlp.tools.postag.POSModel
 
POSModel(String, MaxentModel, int, Map<String, String>, POSTaggerFactory) - Constructor for class opennlp.tools.postag.POSModel
 
POSModel(InputStream) - Constructor for class opennlp.tools.postag.POSModel
 
POSModel(File) - Constructor for class opennlp.tools.postag.POSModel
 
POSModel(Path) - Constructor for class opennlp.tools.postag.POSModel
 
POSModel(URL) - Constructor for class opennlp.tools.postag.POSModel
 
POSModelSerializer - Class in opennlp.tools.util.model
 
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
 
POSSample(List<String>, List<String>) - Constructor for class opennlp.tools.postag.POSSample
 
POSSample(List<String>, List<String>, String[][]) - Constructor for class opennlp.tools.postag.POSSample
 
POSSample(String[], String[], String[][]) - Constructor for class opennlp.tools.postag.POSSample
 
POSSampleEventStream - Class in opennlp.tools.postag
This class reads the POSSamples from the given Iterator and converts the POSSamples into Events which can be used by the maxent library for training.
POSSampleEventStream(ObjectStream<POSSample>, POSContextGenerator) - Constructor for class opennlp.tools.postag.POSSampleEventStream
Initializes the current instance with the given samples and the given POSContextGenerator.
POSSampleEventStream(ObjectStream<POSSample>) - Constructor for class opennlp.tools.postag.POSSampleEventStream
Initializes the current instance with given samples and a DefaultPOSContextGenerator.
POSSampleSequenceStream - Class in opennlp.tools.postag
 
POSSampleSequenceStream(ObjectStream<POSSample>) - Constructor for class opennlp.tools.postag.POSSampleSequenceStream
 
POSSampleSequenceStream(ObjectStream<POSSample>, POSContextGenerator) - Constructor for class opennlp.tools.postag.POSSampleSequenceStream
 
PosSampleStream - Class in opennlp.tools.parser
 
PosSampleStream(ObjectStream<Parse>) - Constructor for class opennlp.tools.parser.PosSampleStream
 
POSTagger - Interface in opennlp.tools.postag
The interface for part of speech taggers.
POSTaggerCrossValidator - Class in opennlp.tools.postag
 
POSTaggerCrossValidator(String, TrainingParameters, File, byte[], Map<String, Object>, Integer, String, POSTaggerEvaluationMonitor...) - Constructor for class opennlp.tools.postag.POSTaggerCrossValidator
Creates 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.
POSTaggerEvaluationMonitor - Interface in opennlp.tools.postag
 
POSTaggerFactory - Class in opennlp.tools.postag
The factory that provides POS Tagger default implementations and resources
POSTaggerFactory() - Constructor for class opennlp.tools.postag.POSTaggerFactory
Creates a POSTaggerFactory that provides the default implementation of the resources.
POSTaggerFactory(Dictionary, TagDictionary) - Constructor for class opennlp.tools.postag.POSTaggerFactory
Deprecated.
this constructor is here for backward compatibility and is not functional anymore in the training of 1.8.x series models
POSTaggerFactory(byte[], Map<String, Object>, TagDictionary) - Constructor for class opennlp.tools.postag.POSTaggerFactory
 
POSTaggerFactory.POSDictionarySerializer - Class in opennlp.tools.postag
 
PosTaggerFeatureGenerator - Class in opennlp.tools.util.featuregen
 
PosTaggerFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.PosTaggerFeatureGenerator
 
POSTaggerME - Class in opennlp.tools.postag
A part-of-speech tagger that uses maximum entropy.
POSTaggerME(POSModel) - Constructor for class opennlp.tools.postag.POSTaggerME
Initializes the current instance with the provided model.
POSTaggerNameFeatureGenerator - Class in opennlp.tools.util.featuregen
Adds the token POS Tag as feature.
POSTaggerNameFeatureGenerator(POSTagger) - Constructor for class opennlp.tools.util.featuregen.POSTaggerNameFeatureGenerator
Initializes a new instance.
POSTaggerNameFeatureGenerator(POSModel) - Constructor for class opennlp.tools.util.featuregen.POSTaggerNameFeatureGenerator
Initializes a new instance.
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 - 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
 
POSToTokenSampleStreamFactory - 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
 
predictLanguage(CharSequence) - Method in class opennlp.tools.langdetect.LanguageDetectorME
 
predictLanguages(CharSequence) - Method in interface opennlp.tools.langdetect.LanguageDetector
 
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(StringList) - Method in interface opennlp.tools.languagemodel.LanguageModel
Predict the most probable output sequence of tokens, given an input sequence of tokens
predictNextTokens(StringList) - Method in class opennlp.tools.languagemodel.NGramLanguageModel
 
predictSES(String[], String[]) - Method in class opennlp.tools.lemmatizer.LemmatizerME
Predict Short Edit Script (automatically induced lemma class).
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
 
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 occuring word.
PreviousMapFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.PreviousMapFeatureGenerator
 
PreviousTwoMapFeatureGenerator - Class in opennlp.tools.util.featuregen
This AdaptiveFeatureGenerator generates features indicating the outcome associated with two previously occuring words.
PreviousTwoMapFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.PreviousTwoMapFeatureGenerator
 
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
 
probs(double[]) - Method in class opennlp.tools.chunker.ChunkerME
Populates the specified array with the probabilities of the last decoded sequence.
probs() - Method in class opennlp.tools.chunker.ChunkerME
Returns an 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() - Method in class opennlp.tools.lemmatizer.LemmatizerME
Returns an 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() - Method in class opennlp.tools.namefind.NameFinderME
Returns an array with the probabilities of the last decoded sequence.
probs(Span[]) - Method in class opennlp.tools.namefind.NameFinderME
Returns 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.
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() - Method in class opennlp.tools.postag.POSTaggerME
Returns an array with the probabilities for each tag of the last tagged sentence.
processSample(DocumentSample) - Method in class opennlp.tools.doccat.DocumentCategorizerEvaluator
Evaluates the given reference DocumentSample object.
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(StringList) - Method in class opennlp.tools.dictionary.Dictionary
Adds the tokens to the dictionary as one new entry.
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, String) - Method in class opennlp.tools.util.TrainingParameters
 
put(String, String) - Method in class opennlp.tools.util.TrainingParameters
 
put(String, String, int) - Method in class opennlp.tools.util.TrainingParameters
 
put(String, int) - Method in class opennlp.tools.util.TrainingParameters
 
put(String, String, double) - Method in class opennlp.tools.util.TrainingParameters
 
put(String, double) - Method in class opennlp.tools.util.TrainingParameters
 
put(String, String, boolean) - Method in class opennlp.tools.util.TrainingParameters
 
put(String, boolean) - Method in class opennlp.tools.util.TrainingParameters
 
putIfAbsent(String, String, String) - Method in class opennlp.tools.util.TrainingParameters
 
putIfAbsent(String, String) - Method in class opennlp.tools.util.TrainingParameters
 
putIfAbsent(String, String, int) - Method in class opennlp.tools.util.TrainingParameters
 
putIfAbsent(String, int) - Method in class opennlp.tools.util.TrainingParameters
 
putIfAbsent(String, String, double) - Method in class opennlp.tools.util.TrainingParameters
 
putIfAbsent(String, double) - Method in class opennlp.tools.util.TrainingParameters
 
putIfAbsent(String, String, boolean) - Method in class opennlp.tools.util.TrainingParameters
 
putIfAbsent(String, boolean) - Method in class opennlp.tools.util.TrainingParameters
 

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
 
QNMinimizer(double, double) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
 
QNMinimizer(double, double, int) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
 
QNMinimizer(double, double, int, int, int) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
 
QNMinimizer(double, double, int, int, int, boolean) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
Constructor
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
 
QNModel(Context[], String[], String[]) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNModel
 
QNModelReader - Class in opennlp.tools.ml.maxent.io
 
QNModelReader(DataReader) - Constructor for class opennlp.tools.ml.maxent.io.QNModelReader
 
QNModelReader(File) - Constructor for class opennlp.tools.ml.maxent.io.QNModelReader
 
QNModelWriter - Class in opennlp.tools.ml.maxent.io
 
QNModelWriter(AbstractModel) - Constructor for class opennlp.tools.ml.maxent.io.QNModelWriter
 
QNTrainer - Class in opennlp.tools.ml.maxent.quasinewton
Maxent model trainer using L-BFGS algorithm.
QNTrainer(TrainingParameters) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNTrainer
 
QNTrainer(boolean) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNTrainer
 
QNTrainer(int) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNTrainer
 
QNTrainer(int, boolean) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNTrainer
 
QNTrainer(int, int, boolean) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNTrainer
 
QNTrainer() - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNTrainer
 

R

read() - Method in class opennlp.tools.chunker.ChunkSampleSequenceStream
 
read() - Method in class opennlp.tools.chunker.ChunkSampleStream
 
read() - Method in class opennlp.tools.doccat.DocumentSampleStream
 
read() - Method in class opennlp.tools.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.LeipzigDoccatSampleStream
Deprecated.
 
read() - Method in class opennlp.tools.formats.letsmt.DetokenizeSentenceSampleStream
 
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.ontonotes.OntoNotesNameSampleStream
 
read() - Method in class opennlp.tools.formats.ontonotes.OntoNotesParseSampleStream
 
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(InputStream) - Static method in class opennlp.tools.util.model.ModelUtil
Writes the provided InputStream into a byte array which is returned
read() - Method in interface opennlp.tools.util.ObjectStream
Returns the next object.
read() - Method in class opennlp.tools.util.ParagraphStream
 
read() - Method in class opennlp.tools.util.PlainTextByLineStream
 
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
 
RealBasicEventStream - Class in opennlp.tools.ml.maxent
 
RealBasicEventStream(ObjectStream<String>) - Constructor for class opennlp.tools.ml.maxent.RealBasicEventStream
 
RealValueFileEventStream - Class in opennlp.tools.ml.model
 
RealValueFileEventStream(String) - Constructor for class opennlp.tools.ml.model.RealValueFileEventStream
 
RealValueFileEventStream(String, String) - Constructor for class opennlp.tools.ml.model.RealValueFileEventStream
 
RealValueFileEventStream(File) - Constructor for class opennlp.tools.ml.model.RealValueFileEventStream
 
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
Name finder based on a series of regular expressions.
RegexNameFinder(Map<String, Pattern[]>) - Constructor for class opennlp.tools.namefind.RegexNameFinder
 
RegexNameFinder(Pattern[], String) - Constructor for class opennlp.tools.namefind.RegexNameFinder
 
RegexNameFinder(Pattern[]) - Constructor for class opennlp.tools.namefind.RegexNameFinder
Deprecated.
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 in opennlp.tools.namefind
 
RegexNameFinderFactory.RegexAble - Interface in opennlp.tools.namefind
 
register(Map<String, ArtifactSerializer>) - Static method in class opennlp.tools.util.model.GenericModelSerializer
 
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.LeipzigDocumentSampleStreamFactory
Deprecated.
 
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.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.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.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(StringList) - Method in class opennlp.tools.dictionary.Dictionary
Removes the given tokens form the current instance.
remove() - Method in class opennlp.tools.ml.model.HashSumEventStream
 
remove(StringList) - Method in class opennlp.tools.ngram.NGramModel
Removes the specified tokens form the NGram model, they are just dropped.
remove(int) - Method in class opennlp.tools.parser.Parse
 
remove() - Method in class opennlp.tools.tokenize.lang.en.TokenSampleStream
 
remove() - Method in class opennlp.tools.util.EventTraceStream
 
remove() - Method in class opennlp.tools.util.ReverseListIterator
 
replaceNewLineEscapeTags(String) - Static method in class opennlp.tools.sentdetect.SentenceSampleStream
 
reset() - Method in class opennlp.tools.chunker.ChunkSampleSequenceStream
 
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.NameFinderCensus90NameStream
 
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, the seen sequence of elements must be repeated.
ResetableIterator<E> - Interface in opennlp.tools.util
This interface makes an Iterator resetable.
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
 

S

scoreMap(String[]) - Method in interface opennlp.tools.doccat.DocumentCategorizer
Returns 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
Returns a map in which the key is the category name and the value is the score
SDContextGenerator - Interface in opennlp.tools.sentdetect
Interface for SentenceDetectorME context generators.
SDCrossValidator - Class in opennlp.tools.sentdetect
A cross validator for the sentence detector.
SDCrossValidator(String, TrainingParameters, SentenceDetectorFactory, SentenceDetectorEvaluationMonitor...) - Constructor for class opennlp.tools.sentdetect.SDCrossValidator
 
SDCrossValidator(String, TrainingParameters) - Constructor for class opennlp.tools.sentdetect.SDCrossValidator
SDCrossValidator(String, TrainingParameters, SentenceDetectorEvaluationMonitor...) - Constructor for class opennlp.tools.sentdetect.SDCrossValidator
SDCrossValidator(String) - 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(String) - Method in class opennlp.tools.sentdetect.NewlineSentenceDetector
 
sentDetect(String) - Method in interface opennlp.tools.sentdetect.SentenceDetector
Sentence detect a string.
sentDetect(String) - Method in class opennlp.tools.sentdetect.SentenceDetectorME
Detect sentences in a String.
Sentence() - Constructor for class opennlp.tools.formats.ad.ADSentenceStream.Sentence
 
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.
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.
SentenceDetectorFactory - Class in opennlp.tools.sentdetect
The factory that provides SentenceDetecor 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(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.
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
 
SentenceModel - Class in opennlp.tools.sentdetect
The SentenceModel is the model used by a learnable SentenceDetector.
SentenceModel(String, MaxentModel, Map<String, String>, SentenceDetectorFactory) - 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, char[]) - 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, boolean, Dictionary) - Constructor for class opennlp.tools.sentdetect.SentenceModel
 
SentenceModel(InputStream) - Constructor for class opennlp.tools.sentdetect.SentenceModel
 
SentenceModel(File) - Constructor for class opennlp.tools.sentdetect.SentenceModel
 
SentenceModel(Path) - Constructor for class opennlp.tools.sentdetect.SentenceModel
 
SentenceModel(URL) - 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 a Reader and converts them into SentenceSample objects.
SentenceSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.sentdetect.SentenceSampleStream
 
SentenceSampleStreamFactory - Class in opennlp.tools.formats
Factory producing OpenNLP SentenceSampleStreams.
sentPosDetect(String) - Method in class opennlp.tools.sentdetect.NewlineSentenceDetector
 
sentPosDetect(String) - Method in interface opennlp.tools.sentdetect.SentenceDetector
Sentence detect a string.
sentPosDetect(String) - Method in class opennlp.tools.sentdetect.SentenceDetectorME
Detect the position of the first words of sentences in a String.
Sequence<T> - Class in opennlp.tools.ml.model
Class which models a sequence.
Sequence(Event[], T) - Constructor for class opennlp.tools.ml.model.Sequence
Creates a new sequence made up of the specified events and derived from the specified source.
Sequence - Class in opennlp.tools.util
Represents a weighted sequence of outcomes.
Sequence() - Constructor for class opennlp.tools.util.Sequence
Creates a new sequence of outcomes.
Sequence(Sequence) - Constructor for class opennlp.tools.util.Sequence
 
Sequence(Sequence, String, double) - Constructor for class opennlp.tools.util.Sequence
 
Sequence(List<String>) - Constructor for class opennlp.tools.util.Sequence
 
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
 
SequenceStream - 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 sequence stream into an event stream.
SequenceStreamEventStream(SequenceStream) - 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
 
serialize(OutputStream) - Method in class opennlp.tools.dictionary.Dictionary
Writes the current instance to the given 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(OutputStream) - Method in class opennlp.tools.ngram.NGramModel
Writes the ngram instance to the given OutputStream.
serialize(HeadRules, OutputStream) - Method in class opennlp.tools.parser.lang.en.HeadRules.HeadRulesSerializer
 
serialize(Writer) - Method in class opennlp.tools.parser.lang.en.HeadRules
Writes the head rules to the writer in a format suitable for loading the head rules again with the constructor.
serialize(AncoraSpanishHeadRules, OutputStream) - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules.HeadRulesSerializer
 
serialize(Writer) - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
Writes the head rules to the writer in a format suitable for loading the head rules again with the constructor.
serialize(OutputStream) - Method in class opennlp.tools.postag.POSDictionary
Writes the POSDictionary to the given OutputStream; After the serialization is finished the provided OutputStream remains open.
serialize(POSDictionary, OutputStream) - Method in class opennlp.tools.postag.POSTaggerFactory.POSDictionarySerializer
 
serialize(OutputStream) - Method in class opennlp.tools.tokenize.DetokenizationDictionary
 
serialize(BrownCluster, OutputStream) - Method in class opennlp.tools.util.featuregen.BrownCluster.BrownClusterSerializer
 
serialize(OutputStream) - Method in class opennlp.tools.util.featuregen.BrownCluster
 
serialize(OutputStream) - Method in class opennlp.tools.util.featuregen.WordClusterDictionary
 
serialize(WordClusterDictionary, OutputStream) - Method in class opennlp.tools.util.featuregen.WordClusterDictionary.WordClusterDictionarySerializer
 
serialize(T, OutputStream) - Method in interface opennlp.tools.util.model.ArtifactSerializer
Serializes the artifact to the provided OutputStream.
serialize(OutputStream) - Method in class opennlp.tools.util.model.BaseModel
Serializes the model to the given OutputStream.
serialize(File) - Method in class opennlp.tools.util.model.BaseModel
 
serialize(Path) - Method in class opennlp.tools.util.model.BaseModel
 
serialize(byte[], OutputStream) - Method in class opennlp.tools.util.model.ByteArraySerializer
 
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(POSModel, OutputStream) - Method in class opennlp.tools.util.model.POSModelSerializer
 
serialize(OutputStream) - Method in class opennlp.tools.util.TrainingParameters
 
set(T, double) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
Assigns a probability to a label, discarding any previously assigned probability.
set(T, Probability<T>) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
Assigns a probability to a label, discarding any previously assigned probability.
set(double) - Method in class opennlp.tools.ml.naivebayes.LogProbability
Assigns a probability to a label, discarding any previously assigned probability.
set(Probability) - Method in class opennlp.tools.ml.naivebayes.LogProbability
Assigns a probability to a label, discarding any previously assigned probability.
set(T, double) - Method in class opennlp.tools.ml.naivebayes.Probabilities
Assigns a probability to a label, discarding any previously assigned probability.
set(T, Probability<T>) - Method in class opennlp.tools.ml.naivebayes.Probabilities
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) - Method in class opennlp.tools.ml.naivebayes.Probability
Assigns a probability to a label, discarding any previously assigned probability.
setAll(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[], 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.
setConfidence(double) - Method in class opennlp.tools.ml.naivebayes.Probabilities
Sets the best confidence with which this set of probabilities has been calculated.
setCount(StringList, int) - Method in class opennlp.tools.ngram.NGramModel
Sets the count of an existing ngram.
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(Dictionary) - Method in class opennlp.tools.postag.POSTaggerFactory
Deprecated.
setDictionary(Dictionary) - Method in class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
 
setDictionary(String, 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(T, double) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
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.LogProbability
Assigns a probability to a label, discarding any previously assigned probability, if the new probability is greater than the old one.
setIfLarger(Probability) - 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(T, double) - Method in class opennlp.tools.ml.naivebayes.Probabilities
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) - 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.
setItemID(String) - Method in class opennlp.tools.entitylinker.BaseLink
sets the item id.
setItemName(String) - Method in class opennlp.tools.entitylinker.BaseLink
Sets the item name.
setItemParentID(String) - Method in class opennlp.tools.entitylinker.BaseLink
returns the parent ID of the linked item
setItemType(String) - Method in class opennlp.tools.entitylinker.BaseLink
sets the item type.
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
Sets the n best linked entries from an external data source.
setLog(T, double) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
Assigns a log probability to a label, discarding any previously assigned probability.
setLog(double) - Method in class opennlp.tools.ml.naivebayes.LogProbability
Assigns a log probability to a label, discarding any previously assigned probability.
setLog(T, double) - Method in class opennlp.tools.ml.naivebayes.Probabilities
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.
setMetadata(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.Sentence
 
setMorphologicalTag(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
 
setmPatterns(Pattern[]) - Method in class opennlp.tools.namefind.RegexNameFinder
 
setNextPoint(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
 
setNextPunctuation(Collection<Parse>) - Method in class opennlp.tools.parser.Parse
Sets the set of punctuation tags which follow this parse.
setParameter(int, double) - Method in class opennlp.tools.ml.model.MutableContext
Assigns the parameter or expected value at the specified outcomeIndex the specified value.
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 set of punctuation tags which preceed 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(HashMap<String, Double>) - Method in class opennlp.tools.entitylinker.BaseLink
 
setSearchTerm(String) - Method in class opennlp.tools.entitylinker.LinkedSpan
sets the search term that is used to link this span to an external data source
setSecondaryTag(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
 
setSentenceid(int) - Method in class opennlp.tools.entitylinker.LinkedSpan
sets the id or index of the sentence from which this span was extracted
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.
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.
setsType(String) - Method in class opennlp.tools.namefind.RegexNameFinder
 
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(StringBuffer) - Method in class opennlp.tools.parser.Parse
Appends the specified string buffer with a string representation of this parse.
show() - Method in class opennlp.tools.parser.Parse
Displays this parse using Penn Treebank-style formatting.
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
 
ShrinkCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.ShrinkCharSequenceNormalizer
 
SimplePerceptronSequenceTrainer - Class in opennlp.tools.ml.perceptron
Trains models for sequences using the perceptron algorithm.
SimplePerceptronSequenceTrainer() - Constructor for class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
 
SimpleTokenizer - Class in opennlp.tools.tokenize
Performs tokenization using character classes.
SimpleTokenizer() - Constructor for class opennlp.tools.tokenize.SimpleTokenizer
Deprecated.
Use INSTANCE field instead to obtain an instance, constructor will be made private in the future.
size() - Method in class opennlp.tools.dictionary.Dictionary
Retrieves the number of tokens in the current instance.
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
Retrieves the number of tokens inside this list.
size() - Method in interface opennlp.tools.util.wordvector.WordVectorTable
 
SnowballStemmer - Class in opennlp.tools.stemmer.snowball
 
SnowballStemmer(SnowballStemmer.ALGORITHM, int) - Constructor for class opennlp.tools.stemmer.snowball.SnowballStemmer
 
SnowballStemmer(SnowballStemmer.ALGORITHM) - Constructor for class opennlp.tools.stemmer.snowball.SnowballStemmer
 
SnowballStemmer.ALGORITHM - Enum 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
Get a map of the scores sorted in ascending aorder together with their associated categories.
sortedScoreMap(String[]) - Method in class opennlp.tools.doccat.DocumentCategorizerME
Returns a map with the score as a key in ascending order.
Span - Class in opennlp.tools.util
Class for storing start and end integer offsets.
Span(int, int, String) - Constructor for class opennlp.tools.util.Span
Initializes a new Span Object.
Span(int, int, String, double) - Constructor for class opennlp.tools.util.Span
Initializes a new Span Object.
Span(int, int) - Constructor for class opennlp.tools.util.Span
Initializes a new Span Object.
Span(int, int, double) - Constructor for class opennlp.tools.util.Span
 
Span(Span, int) - Constructor for class opennlp.tools.util.Span
Initializes a new Span object with an existing Span which is shifted by an offset.
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 prob
SPAN_TYPE - Static variable in class opennlp.tools.formats.brat.AnnotationConfiguration
 
SpanAnnotation - Class in opennlp.tools.formats.brat
 
spansToStrings(Span[], CharSequence) - Static method in class opennlp.tools.util.Span
Converts an array of Spans to an array of Strings.
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(BundleContext) - Method in class opennlp.tools.util.ext.OSGiExtensionLoader
 
START_TAG - Static variable in class opennlp.tools.namefind.NameSampleDataStream
 
START_TAG_PREFIX - Static variable in class opennlp.tools.namefind.NameSampleDataStream
 
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
Returns true if the specified span is the begin of this span and the specified span is contained in this span.
stem(String) - Method in class opennlp.tools.stemmer.PorterStemmer
Stem a word provided as a String.
stem(CharSequence) - Method in class opennlp.tools.stemmer.PorterStemmer
Stem a word provided as a CharSequence.
stem(char[]) - Method in class opennlp.tools.stemmer.PorterStemmer
Stem a word contained in a char[].
stem(char[], int, int) - Method in class opennlp.tools.stemmer.PorterStemmer
Stem a word contained in a portion of a char[] array.
stem(char[], int) - Method in class opennlp.tools.stemmer.PorterStemmer
Stem a word contained in a leading portion of a char[] array.
stem() - Method in class opennlp.tools.stemmer.PorterStemmer
Stem the word placed into the Stemmer buffer through calls to add().
stem(int) - Method in class opennlp.tools.stemmer.PorterStemmer
 
stem() - Method in class opennlp.tools.stemmer.snowball.irishStemmer
 
stem(CharSequence) - Method in class opennlp.tools.stemmer.snowball.SnowballStemmer
 
stem(CharSequence) - Method in interface opennlp.tools.stemmer.Stemmer
 
Stemmer - Interface in opennlp.tools.stemmer
The stemmer is reducing a word to its stem.
stop(BundleContext) - Method in class opennlp.tools.util.ext.OSGiExtensionLoader
 
StringList - Class in opennlp.tools.util
The StringList is an immutable list of Strings.
StringList(String) - Constructor for class opennlp.tools.util.StringList
Initializes the current instance.
StringList(String...) - Constructor for class opennlp.tools.util.StringList
Initializes the current 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
 

T

tag(String[]) - Method in interface opennlp.tools.postag.POSTagger
Assigns the sentence of tokens pos tags.
tag(String[], Object[]) - Method in interface opennlp.tools.postag.POSTagger
 
tag(String[]) - Method in class opennlp.tools.postag.POSTaggerME
 
tag(String[], Object[]) - Method in class opennlp.tools.postag.POSTaggerME
 
tag(int, String[]) - Method in class opennlp.tools.postag.POSTaggerME
Returns at most the specified number of taggings for the specified sentence.
TagDictionary - Interface in opennlp.tools.postag
Interface to determine which tags are valid for a particular word based on a tag dictionary.
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
 
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.maxent.quasinewton.ArrayMath
Convert a list of Double objects into an array of primitive doubles
toDoubleArray() - Method in interface opennlp.tools.util.wordvector.WordVector
 
toDoubleBuffer() - Method in interface opennlp.tools.util.wordvector.WordVector
 
toFloatArray() - 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.maxent.quasinewton.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.
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
 
TokenContextGenerator - Interface in opennlp.tools.tokenize
Interface for TokenizerME context generators.
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(boolean) - Constructor for class opennlp.tools.util.featuregen.TokenFeatureGenerator
 
TokenFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.TokenFeatureGenerator
 
tokenize(String) - Method in interface opennlp.tools.tokenize.Tokenizer
Splits a string into its atomic parts
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
 
Tokenizer - Interface in opennlp.tools.tokenize
The interface for tokenizers, which segment a string into its tokens.
TokenizerCrossValidator - Class in opennlp.tools.tokenize
 
TokenizerCrossValidator(TrainingParameters, TokenizerFactory, TokenizerEvaluationMonitor...) - Constructor for class opennlp.tools.tokenize.TokenizerCrossValidator
 
TokenizerEvaluationMonitor - Interface in opennlp.tools.tokenize
 
TokenizerEvaluator - Class in opennlp.tools.tokenize
The TokenizerEvaluator measures the performance of the given Tokenizer with the provided reference TokenSamples.
TokenizerEvaluator(Tokenizer, TokenizerEvaluationMonitor...) - Constructor for class opennlp.tools.tokenize.TokenizerEvaluator
Initializes the current instance with the given Tokenizer.
TokenizerFactory - Class in opennlp.tools.tokenize
The factory that provides Tokenizer default implementations and resources.
TokenizerFactory() - Constructor for class opennlp.tools.tokenize.TokenizerFactory
Creates a TokenizerFactory that provides the default implementation of the resources.
TokenizerFactory(String, Dictionary, boolean, Pattern) - Constructor for class opennlp.tools.tokenize.TokenizerFactory
Creates a TokenizerFactory.
TokenizerME - Class in opennlp.tools.tokenize
A Tokenizer for converting raw text into separated tokens.
TokenizerME(TokenizerModel) - Constructor for class opennlp.tools.tokenize.TokenizerME
 
TokenizerME(TokenizerModel, Factory) - Constructor for class opennlp.tools.tokenize.TokenizerME
Deprecated.
use TokenizerFactory to extend the Tokenizer functionality
TokenizerModel - Class in opennlp.tools.tokenize
The TokenizerModel is the model used by a learnable Tokenizer.
TokenizerModel(MaxentModel, Map<String, String>, TokenizerFactory) - Constructor for class opennlp.tools.tokenize.TokenizerModel
Initializes the current instance.
TokenizerModel(InputStream) - Constructor for class opennlp.tools.tokenize.TokenizerModel
Initializes the current instance.
TokenizerModel(File) - Constructor for class opennlp.tools.tokenize.TokenizerModel
Initializes the current instance.
TokenizerModel(Path) - Constructor for class opennlp.tools.tokenize.TokenizerModel
 
TokenizerModel(URL) - Constructor for class opennlp.tools.tokenize.TokenizerModel
Initializes the current instance.
TokenizerStream - Class in opennlp.tools.tokenize
The TokenizerStream uses a tokenizer to tokenize the input string and output TokenSamples.
TokenizerStream(Tokenizer, ObjectStream<String>) - Constructor for class opennlp.tools.tokenize.TokenizerStream
 
TokenNameFinder - Interface in opennlp.tools.namefind
The interface for name finders which provide name tags for a sequence of tokens.
TokenNameFinderCrossValidator - Class in opennlp.tools.namefind
 
TokenNameFinderCrossValidator(String, String, TrainingParameters, byte[], Map<String, Object>, SequenceCodec<String>, TokenNameFinderEvaluationMonitor...) - Constructor for class opennlp.tools.namefind.TokenNameFinderCrossValidator
Name finder cross validator
TokenNameFinderCrossValidator(String, String, TrainingParameters, byte[], Map<String, Object>, TokenNameFinderEvaluationMonitor...) - Constructor for class opennlp.tools.namefind.TokenNameFinderCrossValidator
 
TokenNameFinderCrossValidator(String, String, TrainingParameters, TokenNameFinderFactory, TokenNameFinderEvaluationMonitor...) - Constructor for class opennlp.tools.namefind.TokenNameFinderCrossValidator
 
TokenNameFinderEvaluationMonitor - Interface in opennlp.tools.namefind
 
TokenNameFinderEvaluator - Class in opennlp.tools.namefind
The TokenNameFinderEvaluator measures the performance of the given TokenNameFinder with the provided reference NameSamples.
TokenNameFinderEvaluator(TokenNameFinder, TokenNameFinderEvaluationMonitor...) - Constructor for class opennlp.tools.namefind.TokenNameFinderEvaluator
Initializes the current instance with the given TokenNameFinder.
TokenNameFinderFactory - Class in opennlp.tools.namefind
 
TokenNameFinderFactory() - Constructor for class opennlp.tools.namefind.TokenNameFinderFactory
Creates a TokenNameFinderFactory that provides the default implementation of the resources.
TokenNameFinderFactory(byte[], Map<String, Object>, SequenceCodec<String>) - Constructor for class opennlp.tools.namefind.TokenNameFinderFactory
 
TokenNameFinderModel - Class in opennlp.tools.namefind
The TokenNameFinderModel is the model used by a learnable TokenNameFinder.
TokenNameFinderModel(String, SequenceClassificationModel<String>, byte[], Map<String, Object>, Map<String, String>, SequenceCodec<String>, TokenNameFinderFactory) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
 
TokenNameFinderModel(String, MaxentModel, int, byte[], Map<String, Object>, Map<String, String>, SequenceCodec<String>, TokenNameFinderFactory) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
 
TokenNameFinderModel(String, MaxentModel, byte[], Map<String, Object>, Map<String, String>) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
 
TokenNameFinderModel(String, MaxentModel, Map<String, Object>, Map<String, String>) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
 
TokenNameFinderModel(InputStream) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
 
TokenNameFinderModel(File) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
 
TokenNameFinderModel(Path) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
 
TokenNameFinderModel(URL) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
 
TokenNameFinderModel.FeatureGeneratorCreationError - Exception in opennlp.tools.namefind
 
TokenPatternFeatureGenerator - Class in opennlp.tools.util.featuregen
Partitions tokens into sub-tokens based on character classes and generates class features for each of the sub-tokens and combinations of those sub-tokens.
TokenPatternFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.TokenPatternFeatureGenerator
Initializes a new instance.
TokenPatternFeatureGenerator(Tokenizer) - Constructor for class opennlp.tools.util.featuregen.TokenPatternFeatureGenerator
Initializes a new instance.
TokenSample - Class in opennlp.tools.tokenize
A TokenSample is text with token spans.
TokenSample(String, Span[]) - Constructor for class opennlp.tools.tokenize.TokenSample
Initializes the current instance.
TokenSample(Detokenizer, String[]) - Constructor for class opennlp.tools.tokenize.TokenSample
 
TokenSampleStream - Class in opennlp.tools.tokenize.lang.en
Class which produces an Iterator<TokenSample> from a file of space delimited token.
TokenSampleStream(InputStream) - Constructor for class opennlp.tools.tokenize.lang.en.TokenSampleStream
 
TokenSampleStream - Class in opennlp.tools.tokenize
This class is a stream filter which reads in string encoded samples and creates TokenSamples out of them.
TokenSampleStream(ObjectStream<String>, String) - Constructor for class opennlp.tools.tokenize.TokenSampleStream
 
TokenSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.tokenize.TokenSampleStream
 
TokenSampleStreamFactory - Class in opennlp.tools.formats
Factory producing OpenNLP TokenSampleStreams.
TokenTag - Class in opennlp.tools.util
 
TokenTag(String, String, String[]) - Constructor for class opennlp.tools.util.TokenTag
 
TokSpanEventStream - Class in opennlp.tools.tokenize
This class reads the TokenSamples from the given Iterator and converts the TokenSamples into Events which can be used by the maxent library for training.
TokSpanEventStream(ObjectStream<TokenSample>, boolean, Pattern, TokenContextGenerator) - Constructor for class opennlp.tools.tokenize.TokSpanEventStream
Initializes the current instance.
TokSpanEventStream(ObjectStream<TokenSample>, boolean, TokenContextGenerator) - Constructor for class opennlp.tools.tokenize.TokSpanEventStream
Initializes the current instance.
TokSpanEventStream(ObjectStream<TokenSample>, boolean) - Constructor for class opennlp.tools.tokenize.TokSpanEventStream
Initializes the current instance.
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 to lower case independent of the current locale via Character.toLowerCase(char) which uses mapping information from the UnicodeData file.
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[], 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[], 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[]) - Method in class opennlp.tools.chunker.ChunkerME
 
topKSequences(String[], String[], double) - Method in class opennlp.tools.chunker.ChunkerME
 
topKSequences(String[], String[]) - Method in class opennlp.tools.lemmatizer.LemmatizerME
 
topKSequences(String[], String[], double) - Method in class opennlp.tools.lemmatizer.LemmatizerME
 
topKSequences(String[]) - Method in interface opennlp.tools.postag.POSTagger
 
topKSequences(String[], Object[]) - Method in interface opennlp.tools.postag.POSTagger
 
topKSequences(String[]) - Method in class opennlp.tools.postag.POSTaggerME
 
topKSequences(String[], Object[]) - Method in class opennlp.tools.postag.POSTaggerME
 
toString() - Method in class opennlp.tools.chunker.ChunkSample
 
toString() - Method in class opennlp.tools.dictionary.Dictionary
 
toString() - Method in class opennlp.tools.doccat.DocumentCategorizerEvaluator
Represents this objects 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.langdetect.Language
 
toString() - Method in class opennlp.tools.langdetect.LanguageDetectorEvaluator
Represents this objects as human readable String.
toString() - Method in class opennlp.tools.langdetect.LanguageSample
 
toString() - Method in class opennlp.tools.lemmatizer.LemmaSample
 
toString() - Method in class opennlp.tools.lemmatizer.LemmatizerEvaluator
Represents this objects as human readable String.
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.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 objects 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
Creates a human read-able String representation.
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
Generates a human readable string.
toString() - Method in class opennlp.tools.util.StringList
 
toString() - Method in class opennlp.tools.util.TokenTag
 
toString() - Method in class opennlp.tools.util.Version
Retrieves the version string.
toUpperCase(CharSequence) - Static method in class opennlp.tools.util.StringUtil
Converts to upper case independent of the current locale via Character.toUpperCase(char) which uses mapping information from the UnicodeData file.
train(String, ObjectStream<ChunkSample>, TrainingParameters, ChunkerFactory) - Static method in class opennlp.tools.chunker.ChunkerME
 
train(String, ObjectStream<DocumentSample>, TrainingParameters, DoccatFactory) - Static method in class opennlp.tools.doccat.DocumentCategorizerME
 
train(ObjectStream<LanguageSample>, TrainingParameters, LanguageDetectorFactory) - Static method in class opennlp.tools.langdetect.LanguageDetectorME
 
train(String, ObjectStream<LemmaSample>, TrainingParameters, LemmatizerFactory) - Static method in class opennlp.tools.lemmatizer.LemmatizerME
 
train(SequenceStream) - Method in class opennlp.tools.ml.AbstractEventModelSequenceTrainer
 
train(DataIndexer) - Method in class opennlp.tools.ml.AbstractEventTrainer
 
train(ObjectStream<Event>) - Method in class opennlp.tools.ml.AbstractEventTrainer
 
train(SequenceStream) - Method in class opennlp.tools.ml.AbstractSequenceTrainer
 
train(SequenceStream) - Method in interface opennlp.tools.ml.EventModelSequenceTrainer
 
train(ObjectStream<Event>) - Method in interface opennlp.tools.ml.EventTrainer
 
train(DataIndexer) - Method in interface opennlp.tools.ml.EventTrainer
 
train(SequenceStream) - Method in interface opennlp.tools.ml.SequenceTrainer
 
train(String, String, ObjectStream<NameSample>, TrainingParameters, TokenNameFinderFactory) - Static method in class opennlp.tools.namefind.NameFinderME
 
train(String, ObjectStream<Parse>, HeadRules, TrainingParameters) - Static method in class opennlp.tools.parser.chunking.Parser
 
train(String, ObjectStream<Parse>, HeadRules, TrainingParameters) - Static method in class opennlp.tools.parser.treeinsert.Parser
 
train(String, ObjectStream<Parse>, HeadRules, int, int) - Static method in class opennlp.tools.parser.treeinsert.Parser
 
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(String, ObjectStream<SentenceSample>, boolean, Dictionary) - Static method in class opennlp.tools.sentdetect.SentenceDetectorME
train(ObjectStream<TokenSample>, TokenizerFactory, TrainingParameters) - Static method in class opennlp.tools.tokenize.TokenizerME
Trains a model for the TokenizerME.
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
 
TrainerFactory() - Constructor for class opennlp.tools.ml.TrainerFactory
 
TrainerFactory.TrainerType - Enum 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
 
TrainingParameters() - Constructor for class opennlp.tools.util.TrainingParameters
 
TrainingParameters(TrainingParameters) - Constructor for class opennlp.tools.util.TrainingParameters
 
TrainingParameters(Map<String, String>) - Constructor for class opennlp.tools.util.TrainingParameters
Deprecated. 
TrainingParameters(InputStream) - Constructor for class opennlp.tools.util.TrainingParameters
 
trainModel(ObjectStream<Event>) - Method in class opennlp.tools.ml.maxent.GISTrainer
Train 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.
trainModel(int, DataIndexer) - Method in class opennlp.tools.ml.maxent.GISTrainer
Train a model using the GIS algorithm.
trainModel(int, DataIndexer, int) - Method in class opennlp.tools.ml.maxent.GISTrainer
Train a model using the GIS algorithm.
trainModel(int, DataIndexer, Prior, int) - Method in class opennlp.tools.ml.maxent.GISTrainer
Train a model using the GIS algorithm.
trainModel(int, DataIndexer) - Method in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
 
trainModel(DataIndexer) - Method in class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
 
trainModel(int, DataIndexer, int) - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
 
trainModel(int, DataIndexer, int, boolean) - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
 
trainModel(int, SequenceStream, int, boolean) - Method in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
 
TreeElement() - Constructor for class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
 
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
 
trim(CharSequence) - Method in class opennlp.tools.util.Span
Return a copy of this span with leading and trailing white spaces removed.
TwitterCharSequenceNormalizer - Class in opennlp.tools.util.normalizer