Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractBottomUpParser - Class in opennlp.tools.parser
-
Abstract class which contains code to tag and chunk parses for bottom up parsing and leaves implementation of advancing parses and completing parses to extend class.
- AbstractBottomUpParser(POSTagger, Chunker, HeadRules, int, double) - Constructor for class opennlp.tools.parser.AbstractBottomUpParser
- AbstractContextGenerator - Class in opennlp.tools.parser
-
Abstract class containing many of the methods used to generate contexts for parsing.
- AbstractContextGenerator() - Constructor for class opennlp.tools.parser.AbstractContextGenerator
- AbstractDataIndexer - Class in opennlp.tools.ml.model
-
Abstract
DataIndexer
implementation for collecting event and context counts used in training. - AbstractDataIndexer() - Constructor for class opennlp.tools.ml.model.AbstractDataIndexer
- AbstractEventModelSequenceTrainer - Class in opennlp.tools.ml
-
A basic
EventModelSequenceTrainer
implementation that processesevents
. - AbstractEventModelSequenceTrainer() - Constructor for class opennlp.tools.ml.AbstractEventModelSequenceTrainer
- AbstractEventStream<T> - Class in opennlp.tools.util
-
A base
ObjectStream
implementation for events. - AbstractEventStream(ObjectStream<T>) - Constructor for class opennlp.tools.util.AbstractEventStream
-
Initializes an
AbstractEventStream
with a sampleIterator
. - AbstractEventTrainer - Class in opennlp.tools.ml
-
A basic
EventTrainer
implementation. - AbstractEventTrainer() - Constructor for class opennlp.tools.ml.AbstractEventTrainer
- AbstractEventTrainer(TrainingParameters) - Constructor for class opennlp.tools.ml.AbstractEventTrainer
- AbstractMLModelWriter - Class in opennlp.tools.ml
- AbstractMLModelWriter() - Constructor for class opennlp.tools.ml.AbstractMLModelWriter
- AbstractModel - Class in opennlp.tools.ml.model
-
A basic
MaxentModel
implementation. - AbstractModel(Context[], String[], String[]) - Constructor for class opennlp.tools.ml.model.AbstractModel
-
Initializes an
AbstractModel
. - AbstractModel.ModelType - Enum Class in opennlp.tools.ml.model
- AbstractModelReader - Class in opennlp.tools.ml.model
-
An abstract, basic implementation of a model reader.
- AbstractModelReader(File) - Constructor for class opennlp.tools.ml.model.AbstractModelReader
-
Initializes a
AbstractModelReader
via aFile
. - AbstractModelReader(DataReader) - Constructor for class opennlp.tools.ml.model.AbstractModelReader
-
Initializes a
AbstractModelReader
via aDataReader
. - AbstractModelWriter - Class in opennlp.tools.ml.model
-
An abstract, basic implementation of a model writer.
- AbstractModelWriter() - Constructor for class opennlp.tools.ml.model.AbstractModelWriter
- AbstractObjectStream<T> - Class in opennlp.tools.util
-
A base
ObjectStream
implementation. - AbstractParserEventStream - Class in opennlp.tools.parser
-
Abstract class extended by parser event streams which perform tagging and chunking.
- AbstractParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum) - Constructor for class opennlp.tools.parser.AbstractParserEventStream
- AbstractParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum, Dictionary) - Constructor for class opennlp.tools.parser.AbstractParserEventStream
- AbstractSampleStreamFactory<T,
P> - Class in opennlp.tools.formats -
Base class for sample stream factories.
- AbstractToSentenceSampleStream<T> - Class in opennlp.tools.formats.convert
- AbstractTrainer - Class in opennlp.tools.ml
- AbstractTrainer() - Constructor for class opennlp.tools.ml.AbstractTrainer
- AbstractTrainer(TrainingParameters) - Constructor for class opennlp.tools.ml.AbstractTrainer
-
Initializes a
AbstractTrainer
viaTrainingParameters
. - AbstractXmlFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- AdaptiveFeatureGenerator - Interface in opennlp.tools.util.featuregen
-
An interface for generating features for name entity identification and for updating document level contexts.
- ADChunkSampleStream - Class in opennlp.tools.formats.ad
-
Parser for Floresta Sita(c)tica Arvores Deitadas corpus, output to for the Portuguese Chunker training.
- ADChunkSampleStream(InputStreamFactory, String) - Constructor for class opennlp.tools.formats.ad.ADChunkSampleStream
-
Instantiates a
ADChunkSampleStream
stream from anInputStreamFactory
. - ADChunkSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.ad.ADChunkSampleStream
-
Instantiates a
ADChunkSampleStream
stream fromObjectStream<String>
, that could be aPlainTextByLineStream
object. - ADChunkSampleStreamFactory<P> - Class in opennlp.tools.formats.ad
-
A Factory to create a Arvores Deitadas ChunkStream from the command line utility.
- add(char) - Method in class opennlp.tools.stemmer.PorterStemmer
-
Add a character to the word being stemmed.
- add(double) - Method in class opennlp.tools.util.eval.Mean
-
Adds a value to the arithmetic mean.
- add(double, long) - Method in class opennlp.tools.util.eval.Mean
-
Adds a value
count
times to the arithmetic mean. - add(CharSequence) - Method in class opennlp.tools.ngram.NGramCharModel
-
Adds an
ngram
. - add(CharSequence, int, int) - Method in class opennlp.tools.ngram.NGramCharModel
-
Adds a
CharSequence
that will be ngrammed into chars. - add(CharSequence, int, int) - Method in class opennlp.tools.ngram.NGramModel
-
Adds character NGrams to the current instance.
- add(String...) - Method in class opennlp.tools.languagemodel.NGramLanguageModel
-
Adds further tokens.
- add(String, double) - Method in class opennlp.tools.util.Sequence
-
Adds an outcome and probability to this sequence.
- add(IrishSentenceBankDocument.IrishSentenceBankSentence) - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument
- add(Parse, HeadRules) - Method in class opennlp.tools.parser.Parse
- add(StringList) - Method in class opennlp.tools.ngram.NGramModel
-
Adds one NGram, if it already exists the count increase by one.
- add(StringList, int, int) - Method in class opennlp.tools.ngram.NGramModel
-
Adds NGrams up to the specified length to the current instance.
- addCutoffAndIterations(Map<String, String>, int, int) - Static method in class opennlp.tools.util.model.ModelUtil
-
Adds
cutoff
anditerations
tomanifestInfoEntries
. - addElement(ADSentenceStream.SentenceParser.TreeElement) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Node
- addFeatureGenerator(AdaptiveFeatureGenerator) - Method in class opennlp.tools.namefind.DefaultNameContextGenerator
- addFeatureGenerator(AdaptiveFeatureGenerator) - Method in interface opennlp.tools.namefind.NameContextGenerator
-
Adds a feature generator.
- addIn(double) - Method in class opennlp.tools.ml.naivebayes.LogProbability
-
Compounds the existing
probability
mass on the label with the new probability passed in to the method. - addIn(double) - Method in class opennlp.tools.ml.naivebayes.Probability
-
Compounds the existing probability mass on the label with the new probability passed in to the method.
- addIn(T, double, int) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
-
Compounds the existing
probability
mass on the labelt
with the new probability passed in to the method. - addIn(T, double, int) - Method in class opennlp.tools.ml.naivebayes.Probabilities
-
Compounds the existing probability mass on the label
t
with the new probability passed in to the method. - additionalContext(String[], Map<String, String>) - Static method in class opennlp.tools.namefind.NameFinderEventStream
-
Generated previous decision features for each token based on contents of the specified
prevMap
. - AdditionalContextFeatureGenerator - Class in opennlp.tools.util.featuregen
-
The
AdditionalContextFeatureGenerator
generates the context from the passed in additional context. - AdditionalContextFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.AdditionalContextFeatureGenerator
- additionalData() - Method in record class opennlp.tools.util.TokenTag
-
Returns the value of the
additionalData
record component. - addNames(String, Span[], Parse[]) - Static method in class opennlp.tools.parser.Parse
-
Utility method to insert named entities.
- addNextPunctuation(Parse) - Method in class opennlp.tools.parser.Parse
-
Designates that the specified punctuation follows this parse.
- addPreviousPunctuation(Parse) - Method in class opennlp.tools.parser.Parse
-
Designates that the specified punctuation should is prior to this parse.
- addProb(double) - Method in class opennlp.tools.parser.Parse
-
Adds the specified
logProb
to this current log for this parse. - adjoin(Parse, HeadRules) - Method in class opennlp.tools.parser.Parse
-
Sister adjoins this node's last child and the specified sister node and returns their new parent node.
- adjoinRoot(Parse, HeadRules, int) - Method in class opennlp.tools.parser.Parse
- ADNameSampleStream - Class in opennlp.tools.formats.ad
-
Parser for Floresta Sita(c)tica Arvores Deitadas corpus, output to for the Portuguese NER training.
- ADNameSampleStream(InputStreamFactory, String, boolean) - Constructor for class opennlp.tools.formats.ad.ADNameSampleStream
-
Deprecated.
- ADNameSampleStream(ObjectStream<String>, boolean) - Constructor for class opennlp.tools.formats.ad.ADNameSampleStream
-
Initializes a new
ADNameSampleStream
stream from aObjectStream<String>
, that could be aPlainTextByLineStream
object. - ADNameSampleStreamFactory<P> - Class in opennlp.tools.formats.ad
-
A Factory to create a Arvores Deitadas NameSampleDataStream from the command line utility.
- ADPOSSampleStream - Class in opennlp.tools.formats.ad
-
Note: Do not use this class, internal use only!
- ADPOSSampleStream(InputStreamFactory, String, boolean, boolean) - Constructor for class opennlp.tools.formats.ad.ADPOSSampleStream
-
Creates a new
POSSample
stream from anInputStreamFactory
- ADPOSSampleStream(ObjectStream<String>, boolean, boolean) - Constructor for class opennlp.tools.formats.ad.ADPOSSampleStream
-
Creates a new
ADPOSSampleStream
stream from aObjectStream<String>
, that could be aPlainTextByLineStream
object. - ADPOSSampleStreamFactory<P> - Class in opennlp.tools.formats.ad
-
Note: Do not use this class, internal use only!
- ADSentenceSampleStream - Class in opennlp.tools.formats.ad
-
Note: Do not use this class, internal use only!
- ADSentenceSampleStream(InputStreamFactory, String, boolean) - Constructor for class opennlp.tools.formats.ad.ADSentenceSampleStream
-
Initializes a new
ADSentenceSampleStream
. - ADSentenceSampleStream(ObjectStream<String>, boolean) - Constructor for class opennlp.tools.formats.ad.ADSentenceSampleStream
-
Initializes a new
ADSentenceSampleStream
from aObjectStream<String>
, that could be aPlainTextByLineStream
object. - ADSentenceSampleStreamFactory<P> - Class in opennlp.tools.formats.ad
-
Note: Do not use this class, internal use only!
- ADSentenceStream - Class in opennlp.tools.formats.ad
-
Stream filter which merges text lines into sentences, following the Arvores Deitadas syntax.
- ADSentenceStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.ad.ADSentenceStream
- ADSentenceStream.Sentence - Class in opennlp.tools.formats.ad
- ADSentenceStream.SentenceParser - Class in opennlp.tools.formats.ad
-
Parses a sample of AD corpus.
- ADSentenceStream.SentenceParser.Leaf - Class in opennlp.tools.formats.ad
-
Represents the AD leaf
- ADSentenceStream.SentenceParser.Node - Class in opennlp.tools.formats.ad
-
Represents the AD node
- ADSentenceStream.SentenceParser.TreeElement - Class in opennlp.tools.formats.ad
-
Represents a tree element, Node or Leaf
- ADTokenSampleStreamFactory<P> - Class in opennlp.tools.formats.ad
-
Note: Do not use this class, internal use only!
- AggregateCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
CharSequenceNormalizer
implementation that aggregates the functionality of other normalizers. - AggregateCharSequenceNormalizer(CharSequenceNormalizer...) - Constructor for class opennlp.tools.util.normalizer.AggregateCharSequenceNormalizer
- AggregatedFeatureGenerator - Class in opennlp.tools.util.featuregen
-
The
AggregatedFeatureGenerator
aggregates a set ofAdaptiveFeatureGenerator
s and calls them to generate the features. - AggregatedFeatureGenerator(Collection<AdaptiveFeatureGenerator>) - Constructor for class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
- AggregatedFeatureGenerator(AdaptiveFeatureGenerator...) - Constructor for class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
-
Initializes the current instance.
- AggregatedFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
- AggregatedFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.AggregatedFeatureGeneratorFactory
- algorithm() - Method in class opennlp.tools.util.TrainingParameters
- algorithm(String) - Method in class opennlp.tools.util.TrainingParameters
- ALGORITHM_PARAM - Static variable in class opennlp.tools.ml.AbstractTrainer
- ALGORITHM_PARAM - Static variable in class opennlp.tools.util.TrainingParameters
- AncoraSpanishHeadRules - Class in opennlp.tools.parser.lang.es
-
Class for storing the Ancora Spanish head rules associated with parsing.
- AncoraSpanishHeadRules(Reader) - Constructor for class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
-
Creates a new set of head rules based on the specified reader.
- AncoraSpanishHeadRules.HeadRulesSerializer - Class in opennlp.tools.parser.lang.es
- AnnotationConfiguration - Class in opennlp.tools.formats.brat
- AnnotationConfiguration(Map<String, String>) - Constructor for class opennlp.tools.formats.brat.AnnotationConfiguration
- AnnotatorNoteAnnotation - Class in opennlp.tools.formats.brat
- ARABIC - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- arabicStemmer - Class in opennlp.tools.stemmer.snowball
-
This class was automatically generated by a Snowball to Java compiler It implements the stemming algorithm defined by a snowball script.
- arabicStemmer() - Constructor for class opennlp.tools.stemmer.snowball.arabicStemmer
- areOutcomesCompatible(String[]) - Method in class opennlp.tools.namefind.BilouCodec
-
B requires CL or L, C requires BL, L requires B, O requires any valid combo/unit, U requires none.
- areOutcomesCompatible(String[]) - Method in class opennlp.tools.namefind.BioCodec
- areOutcomesCompatible(String[]) - Method in interface opennlp.tools.util.SequenceCodec
-
Checks if the
outcomes
of a model are compatible with thisSequenceCodec
. - argmax(double[]) - Static method in class opennlp.tools.ml.ArrayMath
-
Finds the index of the maximum element in a vector
x
- ArrayMath - Class in opennlp.tools.ml
-
Utility class for simple vector arithmetic.
- ArrayMath() - Constructor for class opennlp.tools.ml.ArrayMath
- ArtifactProvider - Interface in opennlp.tools.util.model
-
Provides access to model persisted artifacts.
- ArtifactSerializer<T> - Interface in opennlp.tools.util.model
-
Responsible to create an artifact from an
InputStream
. - asStringSet() - Method in class opennlp.tools.dictionary.Dictionary
-
Converts this
Dictionary
to aSet<String>
. - ATTACH - Enum constant in enum class opennlp.tools.parser.ParserEventTypeEnum
- ATTACH_DAUGHTER - Static variable in class opennlp.tools.parser.treeinsert.Parser
-
Outcome used when a node should be attached as a daughter to another node.
- ATTACH_SISTER - Static variable in class opennlp.tools.parser.treeinsert.Parser
-
Outcome used when a node should be attached as a sister to another node.
- AttachContextGenerator - Class in opennlp.tools.parser.treeinsert
-
Generates predictive contexts for deciding how constituents should be attached.
- AttachContextGenerator(Set<String>) - Constructor for class opennlp.tools.parser.treeinsert.AttachContextGenerator
-
Instantiates an
AttachContextGenerator
for making decisions about attachments. - ATTRIBUTE_TYPE - Static variable in class opennlp.tools.formats.brat.AnnotationConfiguration
- AttributeAnnotation - Class in opennlp.tools.formats.brat
- attributes() - Method in record class opennlp.tools.dictionary.serializer.Entry
-
Returns the value of the
attributes
record component. - Attributes - Class in opennlp.tools.dictionary.serializer
-
The
Attributes
class stores name value pairs. - Attributes() - Constructor for class opennlp.tools.dictionary.serializer.Attributes
- available_models - Static variable in class opennlp.tools.util.DownloadUtil
B
- BagOfWordsFeatureGenerator - Class in opennlp.tools.doccat
-
Generates a feature for each word in a document.
- BagOfWordsFeatureGenerator() - Constructor for class opennlp.tools.doccat.BagOfWordsFeatureGenerator
-
Instantiates a default
BagOfWordsFeatureGenerator
instance. - BaseLink - Class in opennlp.tools.entitylinker
-
Represents a minimal tuple of information.
- BaseLink(String, String, String, String) - Constructor for class opennlp.tools.entitylinker.BaseLink
- BaseModel - Class in opennlp.tools.util.model
-
This is a common base model which can be used by the components' specific model classes.
- BaseToolFactory - Class in opennlp.tools.util
-
Base class for all tool
factories
. - BaseToolFactory() - Constructor for class opennlp.tools.util.BaseToolFactory
-
All subclasses should have an empty constructor
- BasicContextGenerator - Class in opennlp.tools.ml.maxent
-
A
ContextGenerator
implementation for maxent decisions, assuming that the input given to theBasicContextGenerator.getContext(String)
method is a String containing contextual predicates separated by spaces, for instance: - BasicContextGenerator() - Constructor for class opennlp.tools.ml.maxent.BasicContextGenerator
- BasicContextGenerator(String) - Constructor for class opennlp.tools.ml.maxent.BasicContextGenerator
-
Initializes a
BasicContextGenerator
with a different separator char. - BasicFormatParams - Interface in opennlp.tools.cmdline.params
-
Common format parameters.
- BasicTrainingParams - Interface in opennlp.tools.cmdline.params
-
Common training parameters.
- BEAM_SIZE_PARAMETER - Static variable in class opennlp.tools.ml.BeamSearch
- BeamSearch<T> - Class in opennlp.tools.ml
-
Performs k-best search over a sequence.
- BeamSearch(int, MaxentModel) - Constructor for class opennlp.tools.ml.BeamSearch
-
Initializes a
BeamSearch
instance. - BeamSearch(int, MaxentModel, int) - Constructor for class opennlp.tools.ml.BeamSearch
-
Initializes a
BeamSearch
instance. - BeamSearchContextGenerator<T> - Interface in opennlp.tools.util
-
Interface for context generators used with a sequence beam search.
- bestSequence(T[], Object[], BeamSearchContextGenerator<T>, SequenceValidator<T>) - Method in class opennlp.tools.ml.BeamSearch
-
Computes the best sequence of outcomes based on the
MaxentModel
. - bestSequence(T[], Object[], BeamSearchContextGenerator<T>, SequenceValidator<T>) - Method in interface opennlp.tools.ml.model.SequenceClassificationModel
-
Finds the
Sequence
with the highest probability. - bestSequences(int, T[], Object[], double, BeamSearchContextGenerator<T>, SequenceValidator<T>) - Method in class opennlp.tools.ml.BeamSearch
-
Computes the best sequence of outcomes based on the
MaxentModel
. - bestSequences(int, T[], Object[], double, BeamSearchContextGenerator<T>, SequenceValidator<T>) - Method in interface opennlp.tools.ml.model.SequenceClassificationModel
-
Finds the n most probable
sequences
with the highest probability. - bestSequences(int, T[], Object[], BeamSearchContextGenerator<T>, SequenceValidator<T>) - Method in class opennlp.tools.ml.BeamSearch
-
Computes the best sequence of outcomes based on the
MaxentModel
. - bestSequences(int, T[], Object[], BeamSearchContextGenerator<T>, SequenceValidator<T>) - Method in interface opennlp.tools.ml.model.SequenceClassificationModel
-
Finds the n most probable
sequences
with the highest probability. - BigramNameFeatureGenerator - Class in opennlp.tools.util.featuregen
- BigramNameFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.BigramNameFeatureGenerator
- BigramNameFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
- BigramNameFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.BigramNameFeatureGeneratorFactory
- BilouCodec - Class in opennlp.tools.namefind
-
The default
SequenceCodec
implementation according to theBILOU
scheme. - BilouCodec() - Constructor for class opennlp.tools.namefind.BilouCodec
- BilouNameFinderSequenceValidator - Class in opennlp.tools.namefind
-
A
SequenceValidator
implementation for theBilouCodec
. - BilouNameFinderSequenceValidator() - Constructor for class opennlp.tools.namefind.BilouNameFinderSequenceValidator
- BinaryFileDataReader - Class in opennlp.tools.ml.model
-
A
DataReader
that reads files from a binary format. - BinaryFileDataReader(DataInputStream) - Constructor for class opennlp.tools.ml.model.BinaryFileDataReader
-
Instantiates
BinaryFileDataReader
via anDataInputStream
. - BinaryFileDataReader(File) - Constructor for class opennlp.tools.ml.model.BinaryFileDataReader
- BinaryFileDataReader(InputStream) - Constructor for class opennlp.tools.ml.model.BinaryFileDataReader
- BinaryGISModelReader - Class in opennlp.tools.ml.maxent.io
-
A
GISModelReader
that reads models from a binary format. - BinaryGISModelReader(DataInputStream) - Constructor for class opennlp.tools.ml.maxent.io.BinaryGISModelReader
-
Instantiates
BinaryGISModelReader
via aDataInputStream
containing the model contents. - BinaryGISModelWriter - Class in opennlp.tools.ml.maxent.io
-
A
GISModelWriter
that writes models in a binary format. - BinaryGISModelWriter(AbstractModel, DataOutputStream) - Constructor for class opennlp.tools.ml.maxent.io.BinaryGISModelWriter
- BinaryGISModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.maxent.io.BinaryGISModelWriter
- BinaryNaiveBayesModelReader - Class in opennlp.tools.ml.naivebayes
-
A
NaiveBayesModelReader
that reads models from a binary format. - BinaryNaiveBayesModelReader(DataInputStream) - Constructor for class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelReader
-
Instantiates
BinaryNaiveBayesModelReader
via aDataInputStream
containing the model contents. - BinaryNaiveBayesModelReader(File) - Constructor for class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelReader
-
Instantiates
BinaryNaiveBayesModelReader
via aFile
and creates a reader for it. - BinaryNaiveBayesModelWriter - Class in opennlp.tools.ml.naivebayes
-
A
NaiveBayesModelWriter
that writes models in a binary format. - BinaryNaiveBayesModelWriter(AbstractModel, DataOutputStream) - Constructor for class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelWriter
- BinaryNaiveBayesModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelWriter
- BinaryPerceptronModelReader - Class in opennlp.tools.ml.perceptron
-
A
PerceptronModelReader
that reads models from a binary format. - BinaryPerceptronModelReader(DataInputStream) - Constructor for class opennlp.tools.ml.perceptron.BinaryPerceptronModelReader
-
Instantiates
BinaryPerceptronModelReader
via aDataInputStream
containing the model contents. - BinaryPerceptronModelReader(File) - Constructor for class opennlp.tools.ml.perceptron.BinaryPerceptronModelReader
-
Instantiates
BinaryPerceptronModelReader
via aFile
and creates a reader for it. - BinaryPerceptronModelWriter - Class in opennlp.tools.ml.perceptron
-
A
PerceptronModelWriter
that writes models in a binary format. - BinaryPerceptronModelWriter(AbstractModel, DataOutputStream) - Constructor for class opennlp.tools.ml.perceptron.BinaryPerceptronModelWriter
- BinaryPerceptronModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.perceptron.BinaryPerceptronModelWriter
- BinaryQNModelReader - Class in opennlp.tools.ml.maxent.io
-
A
QNModelReader
that reads models from a binary format. - BinaryQNModelReader(DataInputStream) - Constructor for class opennlp.tools.ml.maxent.io.BinaryQNModelReader
-
Instantiates
BinaryQNModelReader
via aDataInputStream
containing the model contents. - BinaryQNModelWriter - Class in opennlp.tools.ml.maxent.io
-
A
QNModelWriter
that writes models in a binary format. - BinaryQNModelWriter(AbstractModel, DataOutputStream) - Constructor for class opennlp.tools.ml.maxent.io.BinaryQNModelWriter
- BinaryQNModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.maxent.io.BinaryQNModelWriter
- BioCodec - Class in opennlp.tools.namefind
-
The default
SequenceCodec
implementation according to theBIO
scheme: B: 'beginning' of a NE I: 'inside', the word is inside a NE O: 'outside', the word is a regular word outside a NE See also the paper by Roth D. and Ratinov L.: Design Challenges and Misconceptions in Named Entity Recognition. - BioCodec() - Constructor for class opennlp.tools.namefind.BioCodec
- BioNLP2004NameSampleStream - Class in opennlp.tools.formats
-
A
sample stream
for the training files of the BioNLP/NLPBA 2004 shared task. - BioNLP2004NameSampleStream(InputStreamFactory, int) - Constructor for class opennlp.tools.formats.BioNLP2004NameSampleStream
-
Initializes a
BioNLP2004NameSampleStream
. - BioNLP2004NameSampleStreamFactory<P> - Class in opennlp.tools.formats
- BRACKET_LCB - Static variable in class opennlp.tools.parser.Parse
- BRACKET_LRB - Static variable in class opennlp.tools.parser.Parse
- BRACKET_LSB - Static variable in class opennlp.tools.parser.Parse
- BRACKET_RCB - Static variable in class opennlp.tools.parser.Parse
- BRACKET_RRB - Static variable in class opennlp.tools.parser.Parse
- BRACKET_RSB - Static variable in class opennlp.tools.parser.Parse
- BratAnnotation - Class in opennlp.tools.formats.brat
- BratAnnotationStream - Class in opennlp.tools.formats.brat
-
Reads the annotations from the brat
.ann
annotation file. - BratDocument - Class in opennlp.tools.formats.brat
-
Brat (brat rapid annotation tool) is based on the stav visualiser which was originally made in order to visualise BioNLP'11 Shared Task data.
- BratDocument(AnnotationConfiguration, String, String, Collection<BratAnnotation>) - Constructor for class opennlp.tools.formats.brat.BratDocument
- BratDocumentParser - Class in opennlp.tools.formats.brat
- BratDocumentParser(SentenceDetector, Tokenizer) - Constructor for class opennlp.tools.formats.brat.BratDocumentParser
- BratDocumentParser(SentenceDetector, Tokenizer, Set<String>) - Constructor for class opennlp.tools.formats.brat.BratDocumentParser
- BratDocumentStream - Class in opennlp.tools.formats.brat
- BratDocumentStream(AnnotationConfiguration, File, boolean, FileFilter) - Constructor for class opennlp.tools.formats.brat.BratDocumentStream
-
Creates a
BratDocumentStream
which reads the documents from the given input directory. - BratNameSampleStream - Class in opennlp.tools.formats.brat
-
Generates Name Sample objects for a Brat Document object.
- BratNameSampleStream(SentenceDetector, Tokenizer, ObjectStream<BratDocument>) - Constructor for class opennlp.tools.formats.brat.BratNameSampleStream
-
Creates a new
BratNameSampleStream
. - BratNameSampleStream(SentenceDetector, Tokenizer, ObjectStream<BratDocument>, Set<String>) - Constructor for class opennlp.tools.formats.brat.BratNameSampleStream
-
Creates a new
BratNameSampleStream
. - BratNameSampleStream(SentenceModel, TokenizerModel, ObjectStream<BratDocument>) - Constructor for class opennlp.tools.formats.brat.BratNameSampleStream
-
Creates a new
BratNameSampleStream
. - BratNameSampleStream(SentenceModel, TokenizerModel, ObjectStream<BratDocument>, Set<String>) - Constructor for class opennlp.tools.formats.brat.BratNameSampleStream
-
Creates a new
BratNameSampleStream
. - BratNameSampleStreamFactory - Class in opennlp.tools.formats.brat
- BrownBigramFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Generates Brown cluster features for token bigrams.
- BrownBigramFeatureGenerator(BrownCluster) - Constructor for class opennlp.tools.util.featuregen.BrownBigramFeatureGenerator
-
Creates a new Brown Cluster bigram feature generator.
- BrownCluster - Class in opennlp.tools.util.featuregen
-
Class to load a Brown cluster document: word\tword_class\tprob
- BrownCluster(InputStream) - Constructor for class opennlp.tools.util.featuregen.BrownCluster
-
Generates the token to cluster map from Brown cluster an
InputStream
. - BrownCluster.BrownClusterSerializer - Class in opennlp.tools.util.featuregen
- BrownClusterBigramFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
Generates Brown clustering features for token bigrams.
- BrownClusterBigramFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.BrownClusterBigramFeatureGeneratorFactory
- BrownClusterSerializer() - Constructor for class opennlp.tools.util.featuregen.BrownCluster.BrownClusterSerializer
- BrownClusterTokenClassFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
Generates Brown clustering features for token classes.
- BrownClusterTokenClassFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.BrownClusterTokenClassFeatureGeneratorFactory
- BrownClusterTokenFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
Generates Brown clustering features for current token.
- BrownClusterTokenFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.BrownClusterTokenFeatureGeneratorFactory
- BrownTokenClasses - Class in opennlp.tools.util.featuregen
-
Obtain the paths listed in the pathLengths array from the Brown class.
- BrownTokenClasses() - Constructor for class opennlp.tools.util.featuregen.BrownTokenClasses
- BrownTokenClassFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Generates
BrownCluster
features for current token and token class. - BrownTokenClassFeatureGenerator(BrownCluster) - Constructor for class opennlp.tools.util.featuregen.BrownTokenClassFeatureGenerator
- BrownTokenFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Generates
BrownCluster
features for current token. - BrownTokenFeatureGenerator(BrownCluster) - Constructor for class opennlp.tools.util.featuregen.BrownTokenFeatureGenerator
- BUILD - Enum constant in enum class opennlp.tools.parser.ParserEventTypeEnum
- BuildContextGenerator - Class in opennlp.tools.parser.chunking
-
Generates predictive contexts for deciding how constituents should be combined.
- BuildContextGenerator - Class in opennlp.tools.parser.treeinsert
-
Creates the features or contexts for the building phase of parsing.
- BuildContextGenerator() - Constructor for class opennlp.tools.parser.chunking.BuildContextGenerator
-
Instantiates a
BuildContextGenerator
for making decisions about combining constituents. - BuildContextGenerator() - Constructor for class opennlp.tools.parser.treeinsert.BuildContextGenerator
-
Instantiates a
BuildContextGenerator
for making decisions. - BuildContextGenerator(Dictionary) - Constructor for class opennlp.tools.parser.chunking.BuildContextGenerator
-
Instantiates a
BuildContextGenerator
for making decisions about combining constituents using aDictionary
. - buildDictionary(ObjectStream<Parse>, HeadRules, int) - Static method in class opennlp.tools.parser.AbstractBottomUpParser
-
Creates a n-gram
Dictionary
from the specified data stream usingHeadRules
and specified cut-off. - buildDictionary(ObjectStream<Parse>, HeadRules, TrainingParameters) - Static method in class opennlp.tools.parser.AbstractBottomUpParser
-
Creates a n-gram
Dictionary
from the specified data stream using the specified head rule and specified cut-off. - BuildModelUpdaterTool - Class in opennlp.tools.cmdline.parser
- BuildModelUpdaterTool() - Constructor for class opennlp.tools.cmdline.parser.BuildModelUpdaterTool
- buildNGramDictionary(ObjectStream<POSSample>, int) - Static method in class opennlp.tools.postag.POSTaggerME
-
Constructs a
nGram dictionary
from anObjectStream
of samples. - BUILT - Static variable in class opennlp.tools.parser.treeinsert.Parser
-
Label used to distinguish build nodes from non-built nodes.
- ByteArraySerializer - Class in opennlp.tools.util.model
-
An
ArtifactSerializer
implementation for binary data, kept inbyte[]
. - ByteArraySerializer() - Constructor for class opennlp.tools.util.model.ByteArraySerializer
C
- Cache<K,
V> - Class in opennlp.tools.util -
Provides fixed size, pre-allocated, least recently used replacement cache.
- Cache(int) - Constructor for class opennlp.tools.util.Cache
- CachedFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Caches features of the aggregated
generators
. - CachedFeatureGenerator(AdaptiveFeatureGenerator) - Constructor for class opennlp.tools.util.featuregen.CachedFeatureGenerator
- CachedFeatureGenerator(AdaptiveFeatureGenerator...) - Constructor for class opennlp.tools.util.featuregen.CachedFeatureGenerator
-
Deprecated.
- CachedFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
- CachedFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.CachedFeatureGeneratorFactory
- calculateBigramMLProbability(String, String, Collection<StringList>) - Static method in class opennlp.tools.ngram.NGramUtils
-
calculate the probability of a bigram in a vocabulary using maximum likelihood estimation
- calculateBigramPriorSmoothingProbability(String, String, Collection<StringList>, Double) - Static method in class opennlp.tools.ngram.NGramUtils
-
calculate the probability of a bigram in a vocabulary using prior Laplace smoothing algorithm
- calculateHashSum() - Method in class opennlp.tools.ml.model.HashSumEventStream
-
Calculates the hash sum of the stream and wraps it into a
BigInteger
. - calculateLaplaceSmoothingProbability(StringList, Iterable<StringList>, Double) - Static method in class opennlp.tools.ngram.NGramUtils
-
calculate the probability of a ngram in a vocabulary using Laplace smoothing algorithm
- calculateMissingNgramProbabilityMass(StringList, double, Iterable<StringList>) - Static method in class opennlp.tools.ngram.NGramUtils
-
calculate the probability of a ngram in a vocabulary using the missing probability mass algorithm
- calculateNgramMLProbability(StringList, Iterable<StringList>) - Static method in class opennlp.tools.ngram.NGramUtils
-
calculate the probability of a ngram in a vocabulary using maximum likelihood estimation
- calculateProbability(String...) - Method in interface opennlp.tools.languagemodel.LanguageModel
-
Calculate the probability of a series of tokens (e.g. a sentence), given a vocabulary.
- calculateProbability(String...) - Method in class opennlp.tools.languagemodel.NGramLanguageModel
- calculateTrigramLinearInterpolationProbability(String, String, String, Collection<StringList>, Double, Double, Double) - Static method in class opennlp.tools.ngram.NGramUtils
-
calculate the probability of a trigram in a vocabulary using a linear interpolation algorithm
- calculateTrigramMLProbability(String, String, String, Iterable<StringList>) - Static method in class opennlp.tools.ngram.NGramUtils
-
calculate the probability of a trigram in a vocabulary using maximum likelihood estimation
- calculateUnigramMLProbability(String, Collection<StringList>) - Static method in class opennlp.tools.ngram.NGramUtils
-
calculate the probability of a unigram in a vocabulary using maximum likelihood estimation
- CATALAN - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- catalanStemmer - Class in opennlp.tools.stemmer.snowball
-
This class was automatically generated by a Snowball to Java compiler It implements the stemming algorithm defined by a snowball script.
- catalanStemmer() - Constructor for class opennlp.tools.stemmer.snowball.catalanStemmer
- categorize(String[]) - Method in interface opennlp.tools.doccat.DocumentCategorizer
-
Categorizes the given
text
, provided in separate tokens. - categorize(String[]) - Method in class opennlp.tools.doccat.DocumentCategorizerME
- categorize(String[], Map<String, Object>) - Method in interface opennlp.tools.doccat.DocumentCategorizer
-
Categorizes the given
text
provided as tokens along with the providedextraInformation
. - categorize(String[], Map<String, Object>) - Method in class opennlp.tools.doccat.DocumentCategorizerME
-
Categorize the given
text
provided as tokens along with the provided extra information. - CensusDictionaryCreatorTool - Class in opennlp.tools.cmdline.namefind
-
This tool helps create a loadable dictionary for the
NameFinder
, from data collected from US Census data. - CensusDictionaryCreatorTool() - Constructor for class opennlp.tools.cmdline.namefind.CensusDictionaryCreatorTool
- CharacterNgramFeatureGenerator - Class in opennlp.tools.util.featuregen
-
The
CharacterNgramFeatureGenerator
uses character ngrams to generate features about each token. - CharacterNgramFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.CharacterNgramFeatureGenerator
-
Initializes a
CharacterNgramFeatureGenerator
with min 2 length and max 5 length of ngrams. - CharacterNgramFeatureGenerator(int, int) - Constructor for class opennlp.tools.util.featuregen.CharacterNgramFeatureGenerator
-
Initializes a
CharacterNgramFeatureGenerator
. - CharacterNgramFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
- CharacterNgramFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.CharacterNgramFeatureGeneratorFactory
- characters(char[], int, int) - Method in class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtDocumentHandler
- characters(CharSequence) - Method in class opennlp.tools.formats.muc.MucNameContentHandler
- characters(CharSequence) - Method in class opennlp.tools.formats.muc.SgmlParser.ContentHandler
- CharSequenceNormalizer - Interface in opennlp.tools.util.normalizer
-
A char sequence normalizer, used to adjusting (prune, substitute, add, etc.)
- CHECK - Enum constant in enum class opennlp.tools.parser.ParserEventTypeEnum
- CheckContextGenerator - Class in opennlp.tools.parser.chunking
-
Generates predictive context for deciding when a constituent is complete.
- CheckContextGenerator - Class in opennlp.tools.parser.treeinsert
-
Generates predictive context for deciding when a constituent is complete.
- CheckContextGenerator() - Constructor for class opennlp.tools.parser.chunking.CheckContextGenerator
-
Instantiates a
CheckContextGenerator
for generating predictive context for deciding when a constituent is complete. - CheckContextGenerator(Set<String>) - Constructor for class opennlp.tools.parser.treeinsert.CheckContextGenerator
-
Instantiates a
CheckContextGenerator
for making decisions using apunctSet
. - checkModelType() - Method in class opennlp.tools.ml.maxent.io.GISModelReader
- checkModelType() - Method in class opennlp.tools.ml.maxent.io.QNModelReader
- checkModelType() - Method in class opennlp.tools.ml.model.AbstractModelReader
-
Checks the model type via the the underlying
DataReader
. - checkModelType() - Method in class opennlp.tools.ml.model.GenericModelReader
- checkModelType() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModelReader
-
Reads the mode type from the underlying reader and informs if it not a
Naive Bayes
model. - checkModelType() - Method in class opennlp.tools.ml.perceptron.PerceptronModelReader
-
Reads the mode type from the underlying reader and informs if it not a
Perceptron
model. - CheckModelUpdaterTool - Class in opennlp.tools.cmdline.parser
-
Trains a new check model.
- CheckModelUpdaterTool() - Constructor for class opennlp.tools.cmdline.parser.CheckModelUpdaterTool
- chunk(String[], String[]) - Method in interface opennlp.tools.chunker.Chunker
-
Generates chunk tags for the given sequence returning the result in an array.
- chunk(String[], String[]) - Method in class opennlp.tools.chunker.ChunkerME
- CHUNK - Enum constant in enum class opennlp.tools.parser.ParserEventTypeEnum
-
Deprecated.
- chunkAsSpans(String[], String[]) - Method in interface opennlp.tools.chunker.Chunker
-
Generates tagged chunk spans for the given sequence returning the result in a span array.
- chunkAsSpans(String[], String[]) - Method in class opennlp.tools.chunker.ChunkerME
- ChunkContextGenerator - Class in opennlp.tools.parser
-
Creates predictive context for the pre-chunking phases of parsing.
- ChunkContextGenerator() - Constructor for class opennlp.tools.parser.ChunkContextGenerator
-
Initializes a
ChunkContextGenerator
instance. - ChunkContextGenerator(int) - Constructor for class opennlp.tools.parser.ChunkContextGenerator
-
Initializes a
ChunkContextGenerator
instance with a customcacheSize
. - Chunker - Interface in opennlp.tools.chunker
-
The interface for chunkers which provide chunk tags for a sequence of tokens.
- CHUNKER - Enum constant in enum class opennlp.tools.util.DownloadUtil.ModelType
- ChunkerContextGenerator - Interface in opennlp.tools.chunker
-
Interface for a
BeamSearchContextGenerator
used in syntactic chunking. - ChunkerConverterTool - Class in opennlp.tools.cmdline.chunker
-
Tool to convert multiple data formats into native OpenNLP chunker training format.
- ChunkerConverterTool() - Constructor for class opennlp.tools.cmdline.chunker.ChunkerConverterTool
- ChunkerCrossValidator - Class in opennlp.tools.chunker
-
Cross validator for
Chunker
. - ChunkerCrossValidator(String, TrainingParameters, ChunkerFactory, ChunkerEvaluationMonitor...) - Constructor for class opennlp.tools.chunker.ChunkerCrossValidator
-
Initializes a
ChunkerCrossValidator
instance via given parameters. - ChunkerCrossValidatorTool - Class in opennlp.tools.cmdline.chunker
- ChunkerCrossValidatorTool() - Constructor for class opennlp.tools.cmdline.chunker.ChunkerCrossValidatorTool
- ChunkerDetailedFMeasureListener - Class in opennlp.tools.cmdline.chunker
- ChunkerDetailedFMeasureListener() - Constructor for class opennlp.tools.cmdline.chunker.ChunkerDetailedFMeasureListener
- ChunkerEvaluationMonitor - Interface in opennlp.tools.chunker
-
A marker interface for evaluating
chunkers
. - ChunkerEvaluator - Class in opennlp.tools.chunker
-
The
ChunkerEvaluator
measures the performance of the givenChunker
with the provided referencesamples
. - ChunkerEvaluator(Chunker, ChunkerEvaluationMonitor...) - Constructor for class opennlp.tools.chunker.ChunkerEvaluator
-
Initializes a
ChunkerEvaluator
instance with the givenChunker
. - ChunkerEvaluatorTool - Class in opennlp.tools.cmdline.chunker
-
A default
ChunkSample
-centric implementation ofAbstractEvaluatorTool
that prints to an output stream. - ChunkerEvaluatorTool() - Constructor for class opennlp.tools.cmdline.chunker.ChunkerEvaluatorTool
- ChunkerEventStream - Class in opennlp.tools.chunker
-
Class for creating an event stream out of data files for training a
Chunker
. - ChunkerEventStream(ObjectStream<ChunkSample>, ChunkerContextGenerator) - Constructor for class opennlp.tools.chunker.ChunkerEventStream
-
Creates a new event stream based on the specified data stream using the given context generator.
- ChunkerFactory - Class in opennlp.tools.chunker
- ChunkerFactory() - Constructor for class opennlp.tools.chunker.ChunkerFactory
-
Creates a
ChunkerFactory
that provides the default implementation of the resources. - ChunkerME - Class in opennlp.tools.chunker
-
The class represents a maximum-entropy-based
Chunker
. - ChunkerME(String) - Constructor for class opennlp.tools.chunker.ChunkerME
-
Initializes the
Chunker
by downloading a default model. - ChunkerME(ChunkerModel) - Constructor for class opennlp.tools.chunker.ChunkerME
-
Initializes the current instance with the specified
ChunkerModel
. - ChunkerMETool - Class in opennlp.tools.cmdline.chunker
- ChunkerMETool() - Constructor for class opennlp.tools.cmdline.chunker.ChunkerMETool
- ChunkerModel - Class in opennlp.tools.chunker
-
The
ChunkerModel
is the model used by a learnableChunker
. - ChunkerModel(File) - Constructor for class opennlp.tools.chunker.ChunkerModel
-
Initializes a
ChunkerModel
instance via a validFile
. - ChunkerModel(InputStream) - Constructor for class opennlp.tools.chunker.ChunkerModel
-
Initializes a
ChunkerModel
instance via a validInputStream
. - ChunkerModel(String, MaxentModel, int, Map<String, String>, ChunkerFactory) - Constructor for class opennlp.tools.chunker.ChunkerModel
-
Initializes a
ChunkerModel
instance via given parameters. - ChunkerModel(String, MaxentModel, Map<String, String>, ChunkerFactory) - Constructor for class opennlp.tools.chunker.ChunkerModel
-
Initializes a
ChunkerModel
instance via given parameters. - ChunkerModel(String, MaxentModel, ChunkerFactory) - Constructor for class opennlp.tools.chunker.ChunkerModel
-
Initializes a
ChunkerModel
instance via given parameters. - ChunkerModel(String, SequenceClassificationModel<String>, Map<String, String>, ChunkerFactory) - Constructor for class opennlp.tools.chunker.ChunkerModel
-
Initializes a
ChunkerModel
instance via given parameters. - ChunkerModel(URL) - Constructor for class opennlp.tools.chunker.ChunkerModel
-
Initializes a
ChunkerModel
instance via a validURL
. - ChunkerModel(Path) - Constructor for class opennlp.tools.chunker.ChunkerModel
-
Initializes a
ChunkerModel
instance via a validPath
. - ChunkerModelLoader - Class in opennlp.tools.cmdline.chunker
-
Loads a
ChunkerModel
for the command line tools. - ChunkerModelLoader() - Constructor for class opennlp.tools.cmdline.chunker.ChunkerModelLoader
- ChunkerModelSerializer - Class in opennlp.tools.util.model
-
An
ArtifactSerializer
implementation formodels
. - ChunkerModelSerializer() - Constructor for class opennlp.tools.util.model.ChunkerModelSerializer
- ChunkerSampleStreamFactory<P> - Class in opennlp.tools.formats
-
Factory producing OpenNLP
ChunkSampleStream
s. - ChunkerTrainerTool - Class in opennlp.tools.cmdline.chunker
- ChunkerTrainerTool() - Constructor for class opennlp.tools.cmdline.chunker.ChunkerTrainerTool
- ChunkEvaluationErrorListener - Class in opennlp.tools.cmdline.chunker
-
A default implementation of
EvaluationMonitor
that prints to an output stream. - ChunkEvaluationErrorListener() - Constructor for class opennlp.tools.cmdline.chunker.ChunkEvaluationErrorListener
-
Creates a listener that will print to the configured
logger
. - ChunkEvaluationErrorListener(OutputStream) - Constructor for class opennlp.tools.cmdline.chunker.ChunkEvaluationErrorListener
-
Creates a listener that will print to a given
OutputStream
- CHUNKING - Enum constant in enum class opennlp.tools.parser.ParserType
- ChunkSample - Class in opennlp.tools.chunker
-
Class for holding chunks for a single unit of text.
- ChunkSample(String[], String[], String[]) - Constructor for class opennlp.tools.chunker.ChunkSample
-
Initializes a
ChunkSample
instance. - ChunkSample(List<String>, List<String>, List<String>) - Constructor for class opennlp.tools.chunker.ChunkSample
-
Initializes a
ChunkSample
instance. - ChunkSampleSequenceStream - Class in opennlp.tools.chunker
-
A
SequenceStream
implementation encapsulatingsamples
. - 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 - Class in opennlp.tools.parser
- ChunkSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.chunker.ChunkSampleStream
-
Initializes a
instance
. - ChunkSampleStream(ObjectStream<Parse>) - Constructor for class opennlp.tools.parser.ChunkSampleStream
-
Initializes a
instance
. - clearAdaptiveData() - Method in class opennlp.tools.namefind.DefaultNameContextGenerator
- clearAdaptiveData() - Method in class opennlp.tools.namefind.DictionaryNameFinder
- clearAdaptiveData() - Method in interface opennlp.tools.namefind.NameContextGenerator
-
Informs all the feature generators that the context of the adaptive data (typically a document) is no longer valid and should be cleared.
- clearAdaptiveData() - Method in class opennlp.tools.namefind.NameFinderME
- clearAdaptiveData() - Method in class opennlp.tools.namefind.RegexNameFinder
- clearAdaptiveData() - Method in interface opennlp.tools.namefind.TokenNameFinder
-
Forgets all adaptive data which was collected during previous calls to one of the find methods.
- clearAdaptiveData() - Method in interface opennlp.tools.util.featuregen.AdaptiveFeatureGenerator
-
Informs a feature generator that the context of the adaptive data (typically a document) is no longer valid.
- clearAdaptiveData() - Method in class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
-
Calls the
AdaptiveFeatureGenerator.clearAdaptiveData()
method on all aggregatedAdaptiveFeatureGenerator
s. - clearAdaptiveData() - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
- clearAdaptiveData() - Method in class opennlp.tools.util.featuregen.DocumentBeginFeatureGenerator
- clearAdaptiveData() - Method in class opennlp.tools.util.featuregen.PreviousMapFeatureGenerator
- clearAdaptiveData() - Method in class opennlp.tools.util.featuregen.PreviousTwoMapFeatureGenerator
- clearAdaptiveData() - Method in class opennlp.tools.util.featuregen.WindowFeatureGenerator
- clone() - Method in class opennlp.tools.parser.Parse
- clone(Parse) - Method in class opennlp.tools.parser.Parse
-
Clones the right frontier of
Parse
up to the specifiednode
. - cloneRoot(Parse, int) - Method in class opennlp.tools.parser.Parse
-
Clones the right frontier of this root
Parse
up to and including the specified node. - close() - Method in class opennlp.tools.chunker.ChunkSampleSequenceStream
- close() - Method in class opennlp.tools.formats.ad.ADChunkSampleStream
- close() - Method in class opennlp.tools.formats.ad.ADNameSampleStream
- close() - Method in class opennlp.tools.formats.ad.ADPOSSampleStream
- close() - Method in class opennlp.tools.formats.ad.ADSentenceSampleStream
- close() - Method in class opennlp.tools.formats.BioNLP2004NameSampleStream
- close() - Method in class opennlp.tools.formats.brat.BratAnnotationStream
- close() - Method in class opennlp.tools.formats.brat.BratDocumentStream
- close() - Method in class opennlp.tools.formats.Conll02NameSampleStream
- close() - Method in class opennlp.tools.formats.Conll03NameSampleStream
- close() - Method in class opennlp.tools.formats.conllu.ConlluStream
- close() - Method in class opennlp.tools.formats.DirectorySampleStream
-
Closes the
ObjectStream
and releases all allocated resources. - close() - Method in class opennlp.tools.formats.EvalitaNameSampleStream
- close() - Method in class opennlp.tools.formats.masc.MascDocumentStream
-
Remove the corpus from the memory.
- close() - Method in class opennlp.tools.formats.masc.MascNamedEntitySampleStream
- close() - Method in class opennlp.tools.formats.masc.MascPOSSampleStream
- close() - Method in class opennlp.tools.formats.masc.MascSentenceSampleStream
- close() - Method in class opennlp.tools.formats.masc.MascTokenSampleStream
- close() - Method in class opennlp.tools.formats.NameFinderCensus90NameStream
- close() - Method in class opennlp.tools.formats.TwentyNewsgroupSampleStream
- close() - Method in class opennlp.tools.lemmatizer.LemmaSampleSequenceStream
- close() - Method in class opennlp.tools.ml.maxent.io.BinaryGISModelWriter
- close() - Method in class opennlp.tools.ml.maxent.io.BinaryQNModelWriter
-
Closes the underlying
DataOutputStream
. - close() - Method in class opennlp.tools.ml.maxent.RealBasicEventStream
- close() - Method in class opennlp.tools.ml.model.AbstractModelWriter
-
Closes the underlying
DataOutputStream
. - close() - Method in class opennlp.tools.ml.model.FileEventStream
- close() - Method in class opennlp.tools.ml.model.GenericModelWriter
- close() - Method in class opennlp.tools.ml.model.SequenceStreamEventStream
- close() - Method in class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelWriter
- close() - Method in class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelWriter
- close() - Method in class opennlp.tools.ml.perceptron.BinaryPerceptronModelWriter
- close() - Method in class opennlp.tools.namefind.NameSampleSequenceStream
- close() - Method in class opennlp.tools.postag.POSSampleSequenceStream
- close() - Method in class opennlp.tools.tokenize.TokenizerStream
- close() - Method in class opennlp.tools.util.AbstractEventStream
- close() - Method in class opennlp.tools.util.AbstractObjectStream
- close() - Method in class opennlp.tools.util.CollectionObjectStream
- close() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner.TrainingSampleStream
- close() - Method in class opennlp.tools.util.FilterObjectStream
- close() - Method in class opennlp.tools.util.model.UncloseableInputStream
-
This method does not have any effect, as the
InputStream
cannot be closed. - close() - Method in interface opennlp.tools.util.ObjectStream
-
Closes the
ObjectStream
and releases all allocated resources. - close() - Method in class opennlp.tools.util.PlainTextByLineStream
- collapsePunctuation(Parse[], Set<String>) - Static method in class opennlp.tools.parser.AbstractBottomUpParser
-
Removes the punctuation from the specified set of
chunks
, adds it to the parses adjacent to the punctuation is specified, and returns a new array of parses with the punctuation removed. - CollectionObjectStream<E> - Class in opennlp.tools.util
-
An
ObjectStream
implementation that works on aCollection
ofCollectionObjectStream
as source for elements. - CollectionObjectStream(Collection<E>) - Constructor for class opennlp.tools.util.CollectionObjectStream
- ComparableEvent - Class in opennlp.tools.ml.model
-
A maxent event representation which we can use to sort based on the predicates indexes contained in the events.
- ComparableEvent(int, int[]) - Constructor for class opennlp.tools.ml.model.ComparableEvent
- ComparableEvent(int, int[], float[]) - Constructor for class opennlp.tools.ml.model.ComparableEvent
- ComparablePredicate - Class in opennlp.tools.ml.model
-
A maxent predicate representation which we can use to sort based on the outcomes.
- ComparablePredicate(String, int[], double[]) - Constructor for class opennlp.tools.ml.model.ComparablePredicate
- compareTo(ComparableEvent) - Method in class opennlp.tools.ml.model.ComparableEvent
- compareTo(ComparablePredicate) - Method in class opennlp.tools.ml.model.ComparablePredicate
- compareTo(Parse) - Method in class opennlp.tools.parser.Parse
- compareTo(Sequence) - Method in class opennlp.tools.util.Sequence
- compareTo(Span) - Method in class opennlp.tools.util.Span
-
Compares the specified
Span
to the current span. - compareToIgnoreCase(StringList) - Method in class opennlp.tools.util.StringList
-
Compares to
token list
and ignores the case of the tokens. - complete() - Method in class opennlp.tools.parser.Parse
- COMPLETE - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
Outcome used when a constituent is complete.
- computeShortestEditScript(String, String, int[][], StringBuffer) - Static method in class opennlp.tools.util.StringUtil
-
Computes the Shortest Edit Script (SES) to convert a word into its lemma.
- concatenateObjectStream(Collection<ObjectStream<T>>) - Static method in class opennlp.tools.util.ObjectStreamUtils
-
Creates a single concatenated
ObjectStream
from multiple individualstreams
with the same typeObjectStreamUtils
. - concatenateObjectStream(ObjectStream<T>...) - Static method in class opennlp.tools.util.ObjectStreamUtils
-
Creates a single concatenated
ObjectStream
from multiple individualstreams
with the same type. - ConfigurablePOSContextGenerator - Class in opennlp.tools.postag
-
A configurable
context generator
for aPOSTagger
. - ConfigurablePOSContextGenerator(int, AdaptiveFeatureGenerator) - Constructor for class opennlp.tools.postag.ConfigurablePOSContextGenerator
-
Initializes a
ConfigurablePOSContextGenerator
instance. - ConfigurablePOSContextGenerator(AdaptiveFeatureGenerator) - Constructor for class opennlp.tools.postag.ConfigurablePOSContextGenerator
-
Initializes a
ConfigurablePOSContextGenerator
instance. - Conll02NameSampleStream - Class in opennlp.tools.formats
-
Parser for the Dutch and Spanish ner training files of the CONLL 2002 shared task.
- Conll02NameSampleStream(Conll02NameSampleStream.LANGUAGE, InputStreamFactory, int) - Constructor for class opennlp.tools.formats.Conll02NameSampleStream
-
Initializes a
Conll02NameSampleStream
. - Conll02NameSampleStream(Conll02NameSampleStream.LANGUAGE, ObjectStream<String>, int) - Constructor for class opennlp.tools.formats.Conll02NameSampleStream
-
Initializes a
Conll02NameSampleStream
. - Conll02NameSampleStream.LANGUAGE - Enum Class in opennlp.tools.formats
- Conll02NameSampleStreamFactory<P> - Class in opennlp.tools.formats
-
Note: Do not use this class, internal use only!
- Conll03NameSampleStream - Class in opennlp.tools.formats
-
An import stream which can parse the CONLL03 data.
- Conll03NameSampleStream(Conll03NameSampleStream.LANGUAGE, InputStreamFactory, int) - Constructor for class opennlp.tools.formats.Conll03NameSampleStream
-
Initializes a
Conll03NameSampleStream
. - Conll03NameSampleStream(Conll03NameSampleStream.LANGUAGE, ObjectStream<String>, int) - Constructor for class opennlp.tools.formats.Conll03NameSampleStream
-
Initializes a
Conll03NameSampleStream
. - Conll03NameSampleStream.LANGUAGE - Enum Class in opennlp.tools.formats
- Conll03NameSampleStreamFactory<P> - Class in opennlp.tools.formats
- CONLLU_FORMAT - Static variable in class opennlp.tools.formats.conllu.ConlluPOSSampleStreamFactory
- ConlluLemmaSampleStream - Class in opennlp.tools.formats.conllu
- ConlluLemmaSampleStream(ObjectStream<ConlluSentence>, ConlluTagset) - Constructor for class opennlp.tools.formats.conllu.ConlluLemmaSampleStream
-
Initializes a
ConlluLemmaSampleStream
. - ConlluLemmaSampleStreamFactory<P> - Class in opennlp.tools.formats.conllu
-
Note: Do not use this class, internal use only!
- ConlluPOSSampleStream - Class in opennlp.tools.formats.conllu
- ConlluPOSSampleStream(ObjectStream<ConlluSentence>, ConlluTagset) - Constructor for class opennlp.tools.formats.conllu.ConlluPOSSampleStream
-
Initializes a
ConlluPOSSampleStream
. - ConlluPOSSampleStreamFactory<P> - Class in opennlp.tools.formats.conllu
-
Note: Do not use this class, internal use only!
- ConlluSentence - Class in opennlp.tools.formats.conllu
- ConlluSentence(List<ConlluWordLine>, String, String, boolean, String, boolean, String, Map<Locale, String>, String) - Constructor for class opennlp.tools.formats.conllu.ConlluSentence
- ConlluSentenceSampleStream - Class in opennlp.tools.formats.conllu
- ConlluSentenceSampleStream(ObjectStream<ConlluSentence>, int) - Constructor for class opennlp.tools.formats.conllu.ConlluSentenceSampleStream
-
Initializes a
ConlluSentenceSampleStream
. - ConlluSentenceSampleStreamFactory<P> - Class in opennlp.tools.formats.conllu
-
Note: Do not use this class, internal use only!
- ConlluStream - Class in opennlp.tools.formats.conllu
-
The CoNNL-U Format is specified here.
- ConlluStream(InputStreamFactory) - Constructor for class opennlp.tools.formats.conllu.ConlluStream
-
Initializes a
ConlluStream
. - ConlluTagset - Enum Class in opennlp.tools.formats.conllu
- ConlluTokenSampleStream - Class in opennlp.tools.formats.conllu
- ConlluTokenSampleStream(ObjectStream<ConlluSentence>) - Constructor for class opennlp.tools.formats.conllu.ConlluTokenSampleStream
-
Initializes a
ConlluTokenSampleStream
. - ConlluTokenSampleStreamFactory<P> - Class in opennlp.tools.formats.conllu
-
Note: Do not use this class, internal use only!
- ConlluWordLine - Class in opennlp.tools.formats.conllu
- CONLLX_FORMAT - Static variable in class opennlp.tools.formats.ConllXPOSSampleStreamFactory
- ConllXPOSSampleStream - Class in opennlp.tools.formats
-
Parses the data from the CONLL 06 shared task into POS Samples.
- ConllXPOSSampleStream(InputStreamFactory, Charset) - Constructor for class opennlp.tools.formats.ConllXPOSSampleStream
-
Initializes a
ConllXPOSSampleStream
. - ConllXPOSSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.ConllXPOSSampleStream
-
Initializes a
ConllXPOSSampleStream
. - ConllXPOSSampleStreamFactory<P> - Class in opennlp.tools.formats
-
Note: Do not use this class, internal use only!
- ConllXSentenceSampleStreamFactory<P> - Class in opennlp.tools.formats
-
Note: Do not use this class, internal use only!
- ConllXTokenSampleStreamFactory<P> - Class in opennlp.tools.formats
-
Note: Do not use this class, internal use only!
- Cons - Class in opennlp.tools.parser
-
Holds feature information about a specific
Parse
node. - Cons(String, String, int, boolean) - Constructor for class opennlp.tools.parser.Cons
- ConstitParseSampleStream - Class in opennlp.tools.formats.frenchtreebank
- ConstitParseSampleStreamFactory - Class in opennlp.tools.formats.frenchtreebank
-
Note: Do not use this class, internal use only!
- Constituent - Class in opennlp.tools.parser
-
Holds constituents when reading
parses
. - Constituent(String, Span) - Constructor for class opennlp.tools.parser.Constituent
- constructModel() - Method in class opennlp.tools.ml.maxent.io.GISModelReader
-
Retrieves a model from disk.
- constructModel() - Method in class opennlp.tools.ml.maxent.io.QNModelReader
-
Retrieves a model from disk.
- constructModel() - Method in class opennlp.tools.ml.model.AbstractModelReader
-
Constructs a
model
. - constructModel() - Method in class opennlp.tools.ml.model.GenericModelReader
- constructModel() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModelReader
-
Constructs a
model
. - constructModel() - Method in class opennlp.tools.ml.perceptron.PerceptronModelReader
-
Constructs a
model
. - CONT - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
Prefix for outcomes continuing a constituent.
- contains(int) - Method in class opennlp.tools.ml.model.MutableContext
- contains(int) - Method in class opennlp.tools.util.Span
-
An index with the value of end is considered outside the
Span
. - contains(CharSequence) - Method in class opennlp.tools.ngram.NGramCharModel
-
Checks if the given
ngram
is contained in aNGramCharModel
. - contains(String) - Method in class opennlp.tools.dictionary.Index
-
Checks if at least one
StringList
contains the specifiedtoken
. - contains(Span) - Method in class opennlp.tools.util.Span
-
Identical
spans
are considered to contain each other. - contains(StringList) - Method in class opennlp.tools.dictionary.Dictionary
-
Checks if this dictionary has the given entry.
- contains(StringList) - Method in class opennlp.tools.ngram.NGramModel
-
Checks fit he given tokens are contained by the current instance.
- containsComma() - Method in class opennlp.tools.util.featuregen.StringPattern
- containsDigit() - Method in class opennlp.tools.util.featuregen.StringPattern
- containsHyphen() - Method in class opennlp.tools.util.featuregen.StringPattern
- containsLetters() - Method in class opennlp.tools.util.featuregen.StringPattern
- containsPeriod() - Method in class opennlp.tools.util.featuregen.StringPattern
- containsSlash() - Method in class opennlp.tools.util.featuregen.StringPattern
- ContentHandler() - Constructor for class opennlp.tools.formats.muc.SgmlParser.ContentHandler
- context() - Method in record class opennlp.tools.langdetect.LanguageSample
-
Returns the value of the
context
record component. - Context - Class in opennlp.tools.ml.model
-
Class which associates a real valued parameter or expected value with a particular contextual predicate or feature.
- Context(int[], double[]) - Constructor for class opennlp.tools.ml.model.Context
-
Creates a new parameters object with the specified parameters associated with the specified outcome pattern.
- ContextGenerator<T> - Interface in opennlp.tools.ml.maxent
-
Represents a generator of contexts for maxent decisions.
- CONTINUE - Static variable in class opennlp.tools.namefind.BilouCodec
- CONTINUE - Static variable in class opennlp.tools.namefind.BioCodec
- CONTINUE - Static variable in class opennlp.tools.namefind.NameFinderME
- CONVERGE_TOLERANCE - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- convertFuncTag(String, boolean) - Static method in class opennlp.tools.formats.ad.ADChunkSampleStream
- correctlyClassified(DocumentSample, DocumentSample) - Method in class opennlp.tools.cmdline.doccat.DoccatFineGrainedReportListener
- correctlyClassified(LanguageSample, LanguageSample) - Method in class opennlp.tools.cmdline.langdetect.LanguageDetectorFineGrainedReportListener
- correctlyClassified(LemmaSample, LemmaSample) - Method in class opennlp.tools.cmdline.lemmatizer.LemmatizerFineGrainedReportListener
- correctlyClassified(NameSample, NameSample) - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderFineGrainedReportListener
- correctlyClassified(POSSample, POSSample) - Method in class opennlp.tools.cmdline.postag.POSTaggerFineGrainedReportListener
- correctlyClassified(T, T) - Method in interface opennlp.tools.util.eval.EvaluationMonitor
- count() - Method in class opennlp.tools.util.eval.Mean
- create() - Method in class opennlp.tools.util.featuregen.AggregatedFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.BigramNameFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.BrownClusterBigramFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.BrownClusterTokenClassFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.BrownClusterTokenFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.CachedFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.CharacterNgramFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.DefinitionFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.DictionaryFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.DocumentBeginFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.PosTaggerFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.POSTaggerNameFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.PrefixFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.PreviousMapFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.SentenceFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.SuffixFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.TokenClassFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.TokenFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.TokenPatternFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.TrigramNameFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.WindowFeatureGeneratorFactory
- create() - Method in class opennlp.tools.util.featuregen.WordClusterFeatureGeneratorFactory
- create(InputStream) - Method in class opennlp.tools.parser.lang.en.HeadRules.HeadRulesSerializer
- create(InputStream) - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules.HeadRulesSerializer
- create(InputStream) - Static method in class opennlp.tools.postag.POSDictionary
-
Creates a new
POSDictionary
from anInputStream
. - create(InputStream) - Method in class opennlp.tools.postag.POSTaggerFactory.POSDictionarySerializer
- create(InputStream) - Method in class opennlp.tools.util.featuregen.BrownCluster.BrownClusterSerializer
- create(InputStream) - Method in class opennlp.tools.util.featuregen.WordClusterDictionary.WordClusterDictionarySerializer
- create(InputStream) - Method in interface opennlp.tools.util.model.ArtifactSerializer
-
Creates an artifact from the provided
InputStream
. - create(InputStream) - Method in class opennlp.tools.util.model.ByteArraySerializer
- create(InputStream) - Method in class opennlp.tools.util.model.ChunkerModelSerializer
- create(InputStream) - Method in class opennlp.tools.util.model.DictionarySerializer
- create(InputStream) - Method in class opennlp.tools.util.model.GenericModelSerializer
- create(InputStream) - Method in class opennlp.tools.util.model.POSModelSerializer
- create(InputStream, EntryInserter) - Static method in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor
- create(InputStream, FeatureGeneratorResourceProvider) - Static method in class opennlp.tools.util.featuregen.GeneratorFactory
-
Creates an
AdaptiveFeatureGenerator
from an provided XML descriptor. - create(Class<? extends BaseToolFactory>, ArtifactProvider) - Static method in class opennlp.tools.util.BaseToolFactory
-
Instantiates a
BaseToolFactory
via a givensubclassName
. - create(String) - Static method in class opennlp.tools.chunker.ChunkerFactory
-
Instantiates a
ChunkerFactory
via a givensubclassName
. - create(String) - Static method in class opennlp.tools.langdetect.LanguageDetectorFactory
-
Instantiates a
LanguageDetectorFactory
via a givensubclassName
. - create(String) - Static method in class opennlp.tools.lemmatizer.LemmatizerFactory
-
Instantiates a
LemmatizerFactory
via a givensubclassName
. - create(String[]) - Method in class opennlp.tools.formats.ad.ADChunkSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.ad.ADNameSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.ad.ADPOSSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.ad.ADSentenceSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.ad.ADTokenSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.BioNLP2004NameSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.brat.BratNameSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.ChunkerSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.Conll02NameSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.Conll03NameSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.conllu.ConlluLemmaSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.conllu.ConlluPOSSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.conllu.ConlluSentenceSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.conllu.ConlluTokenSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.ConllXPOSSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.ConllXSentenceSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.ConllXTokenSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.convert.NameToSentenceSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.convert.NameToTokenSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.convert.ParseToPOSSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.convert.ParseToSentenceSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.convert.ParseToTokenSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.convert.POSToSentenceSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.convert.POSToTokenSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.DocumentSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.EvalitaNameSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.frenchtreebank.ConstitParseSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankSentenceStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankTokenSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.LanguageDetectorSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.LemmatizerSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.letsmt.LetsmtSentenceStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.masc.MascNamedEntitySampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.masc.MascPOSSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.masc.MascSentenceSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.masc.MascTokenSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.moses.MosesSentenceSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.muc.Muc6NameSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.NameSampleDataStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.nkjp.NKJPSentenceSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.ontonotes.OntoNotesNameSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.ontonotes.OntoNotesParseSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.ontonotes.OntoNotesPOSSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.ParseSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.SentenceSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.TokenSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.TwentyNewsgroupSampleStreamFactory
- create(String[]) - Method in class opennlp.tools.formats.WordTagSampleStreamFactory
- create(String[], String[]) - Static method in record class opennlp.tools.util.TokenTag
- create(String, byte[], Map<String, Object>, TagDictionary) - Static method in class opennlp.tools.postag.POSTaggerFactory
-
Instantiates a
POSTaggerFactory
via a givensubclassName
. - create(String, byte[], Map<String, Object>, SequenceCodec<String>) - Static method in class opennlp.tools.namefind.TokenNameFinderFactory
-
Initializes a
TokenNameFinderFactory
instance via given parameters. - create(String, String, boolean, Dictionary, char[]) - Static method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- create(String, String, Dictionary, boolean, Pattern) - Static method in class opennlp.tools.tokenize.TokenizerFactory
-
Factory method the framework uses instantiate a new
TokenizerFactory
. - create(String, FeatureGenerator[]) - Static method in class opennlp.tools.doccat.DoccatFactory
-
Factory method the framework uses create a new
DoccatFactory
. - create(String, ArtifactProvider) - Static method in class opennlp.tools.util.BaseToolFactory
-
Instantiates a
BaseToolFactory
via a givensubclassName
. - create(ParserModel) - Static method in class opennlp.tools.parser.ParserFactory
-
Instantiates a
Parser
via a givenmodel
and default configuration parameters (see:AbstractBottomUpParser
). - create(ParserModel, int, double) - Static method in class opennlp.tools.parser.ParserFactory
-
Instantiates a
Parser
via a givenmodel
and other configuration parameters. - createArtifactMap() - Method in class opennlp.tools.postag.POSTaggerFactory
- createArtifactMap() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- createArtifactMap() - Method in class opennlp.tools.tokenize.TokenizerFactory
- createArtifactMap() - Method in class opennlp.tools.util.BaseToolFactory
-
A model's implementation should call this constructor that creates a model programmatically.
- createArtifactSerializers() - Static method in class opennlp.tools.namefind.TokenNameFinderModel
-
Create the
serializers
. - createArtifactSerializersMap() - Method in class opennlp.tools.postag.POSTaggerFactory
- createArtifactSerializersMap() - Method in class opennlp.tools.util.BaseToolFactory
-
Creates a
Map
with pairs of keys andArtifactSerializer
. - createContextGenerator() - Method in class opennlp.tools.namefind.TokenNameFinderFactory
-
Creates and configures a new
NameContextGenerator
in a default combination. - createDefaultTrainingParameters() - Static method in class opennlp.tools.util.model.ModelUtil
-
Creates the default
TrainingParameters
in case they are not provided. - createDictionary(ObjectStream<StringList>) - Static method in class opennlp.tools.cmdline.namefind.CensusDictionaryCreatorTool
-
Creates a dictionary.
- createDocumentBuilder() - Static method in class opennlp.tools.util.XmlUtil
-
Create a new
DocumentBuilder
which processes XML securely. - createEmptyTagDictionary() - Method in class opennlp.tools.postag.POSTaggerFactory
- createEndOfSentenceScanner(char[]) - Method in class opennlp.tools.sentdetect.lang.Factory
- createEndOfSentenceScanner(String) - Method in class opennlp.tools.sentdetect.lang.Factory
- createFeatureGenerators() - Method in class opennlp.tools.namefind.TokenNameFinderFactory
-
Creates the
AdaptiveFeatureGenerator
. - createFeatureGenerators() - Method in class opennlp.tools.postag.POSTaggerFactory
-
Creates the
AdaptiveFeatureGenerator
. - 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 ofpreviousOutcomes
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
-
Calls the
AdaptiveFeatureGenerator.createFeatures(List, String[], int, String[])
method on all aggregatedAdaptiveFeatureGenerator
s. - createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.BigramNameFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.BrownBigramFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.BrownTokenClassFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.BrownTokenFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.CharacterNgramFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.DocumentBeginFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.InSpanGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.OutcomePriorFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.PosTaggerFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.POSTaggerNameFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.PrefixFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.PreviousMapFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.PreviousTwoMapFeatureGenerator
-
Generates previous decision features for the token based on contents of the previous map.
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.SentenceFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.SuffixFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.TokenClassFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.TokenFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.TokenPatternFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.TrigramNameFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.WindowFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.WordClusterFeatureGenerator
- createInputStream() - Method in interface opennlp.tools.util.InputStreamFactory
- createInputStream() - Method in class opennlp.tools.util.MarkableFileInputStreamFactory
- createManifestEntries() - Method in class opennlp.tools.doccat.DoccatFactory
- createManifestEntries() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- createManifestEntries() - Method in class opennlp.tools.tokenize.TokenizerFactory
- createManifestEntries() - Method in class opennlp.tools.util.BaseToolFactory
- createObjectStream(Collection<T>) - Static method in class opennlp.tools.util.ObjectStreamUtils
-
Creates an
ObjectStream
form aCollection<T>
. - createObjectStream(T...) - Static method in class opennlp.tools.util.ObjectStreamUtils
-
Creates an
ObjectStream
form an array ofObjectStreamUtils
. - createSaxParser() - Static method in class opennlp.tools.util.XmlUtil
-
Create a new
SAXParser
which processes XML securely. - createSentenceContextGenerator(String) - Method in class opennlp.tools.sentdetect.lang.Factory
- createSentenceContextGenerator(String, Set<String>) - Method in class opennlp.tools.sentdetect.lang.Factory
- createSentenceContextGenerator(Set<String>, char[]) - Method in class opennlp.tools.sentdetect.lang.Factory
- createSequenceCodec() - Method in class opennlp.tools.namefind.TokenNameFinderFactory
- createSequenceValidator() - Method in class opennlp.tools.namefind.BilouCodec
- createSequenceValidator() - Method in class opennlp.tools.namefind.BioCodec
- createSequenceValidator() - Method in interface opennlp.tools.util.SequenceCodec
- createTagDictionary(File) - Method in class opennlp.tools.postag.POSTaggerFactory
-
Initializes a
TagDictionary
from adictionary file
. - createTagDictionary(InputStream) - Method in class opennlp.tools.postag.POSTaggerFactory
-
Initializes a
TagDictionary
from adictionary stream
. - createTokenContextGenerator(String, Set<String>) - Method in class opennlp.tools.tokenize.lang.Factory
-
Initializes a customized
TokenContextGenerator
via a set ofabbreviations
. - crosses(Span) - Method in class opennlp.tools.util.Span
-
Checks if the specified
Span
crosses this span. - CrossValidationPartitioner<E> - Class in opennlp.tools.util.eval
-
Provides access to training and test partitions for n-fold cross validation.
- CrossValidationPartitioner(Collection<E>, int) - Constructor for class opennlp.tools.util.eval.CrossValidationPartitioner
-
Initializes
CrossValidationPartitioner
instance. - CrossValidationPartitioner(ObjectStream<E>, int) - Constructor for class opennlp.tools.util.eval.CrossValidationPartitioner
-
Initializes
CrossValidationPartitioner
instance. - CrossValidationPartitioner.TrainingSampleStream<E> - Class in opennlp.tools.util.eval
-
The
CrossValidationPartitioner.TrainingSampleStream
which iterates over all training elements. - currentVersion() - Static method in class opennlp.tools.util.Version
- cutoff(int, int) - Method in class opennlp.tools.ngram.NGramCharModel
-
Deletes all ngram which do appear less than the
cutoffUnder
value and more often than thecutoffOver
value. - cutoff(int, int) - Method in class opennlp.tools.ngram.NGramModel
-
Deletes all ngram which do appear less than the cutoffUnder value and more often than the cutoffOver value.
- CUTOFF_DEFAULT - Static variable in class opennlp.tools.ml.AbstractTrainer
- CUTOFF_DEFAULT - Static variable in class opennlp.tools.ml.model.AbstractDataIndexer
- CUTOFF_DEFAULT_VALUE - Static variable in class opennlp.tools.util.TrainingParameters
- CUTOFF_PARAM - Static variable in class opennlp.tools.ml.AbstractTrainer
- CUTOFF_PARAM - Static variable in class opennlp.tools.ml.model.AbstractDataIndexer
- CUTOFF_PARAM - Static variable in class opennlp.tools.util.TrainingParameters
- CVParams - Interface in opennlp.tools.cmdline.params
-
Common cross validator parameters.
D
- DANISH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- DATA_INDEXER_ONE_PASS_REAL_VALUE - Static variable in class opennlp.tools.ml.AbstractEventTrainer
- DATA_INDEXER_ONE_PASS_VALUE - Static variable in class opennlp.tools.ml.AbstractEventTrainer
- DATA_INDEXER_PARAM - Static variable in class opennlp.tools.ml.AbstractEventTrainer
- DATA_INDEXER_TWO_PASS_VALUE - Static variable in class opennlp.tools.ml.AbstractEventTrainer
- DataIndexer - Interface in opennlp.tools.ml.model
-
Represents an indexer which compresses events in memory and performs feature selection.
- DataIndexerFactory - Class in opennlp.tools.ml.model
-
A factory that produces
DataIndexer
instances. - DataIndexerFactory() - Constructor for class opennlp.tools.ml.model.DataIndexerFactory
- DataReader - Interface in opennlp.tools.ml.model
-
Describes generic ways to read data from a
DataInputStream
. - DataStream - Interface in opennlp.tools.ml.maxent
-
An interface for objects which can deliver a stream of training data to be supplied to an EventStream.
- DE - Enum constant in enum class opennlp.tools.formats.Conll03NameSampleStream.LANGUAGE
- decode(List<String>) - Method in class opennlp.tools.namefind.BilouCodec
- decode(List<String>) - Method in class opennlp.tools.namefind.BioCodec
- decode(List<T>) - Method in interface opennlp.tools.util.SequenceCodec
- decodeLemmas(String[], String[]) - Static method in class opennlp.tools.lemmatizer.LemmatizerME
-
Decodes the lemma from the word and the induced lemma class.
- decodeShortestEditScript(String, String) - Static method in class opennlp.tools.util.StringUtil
-
Reads the predicted Shortest Edit Script (SES) by a lemmatizer model and applies the permutations to obtain the lemma from the
wordForm
. - DEFAULT_ALPHANUMERIC - Static variable in class opennlp.tools.tokenize.lang.Factory
- DEFAULT_BEAM_SIZE - Static variable in class opennlp.tools.chunker.ChunkerME
- DEFAULT_BEAM_SIZE - Static variable in class opennlp.tools.lemmatizer.LemmatizerME
- DEFAULT_BEAM_SIZE - Static variable in class opennlp.tools.namefind.NameFinderME
- DEFAULT_BEAM_SIZE - Static variable in class opennlp.tools.postag.POSTaggerME
- DEFAULT_CHUNK_SIZE - Static variable in class opennlp.tools.langdetect.LanguageDetectorConfig
- DEFAULT_LANGUAGE_DETECTOR_CONFIG - Static variable in class opennlp.tools.langdetect.LanguageDetectorConfig
- DEFAULT_MAX_LENGTH - Static variable in class opennlp.tools.langdetect.LanguageDetectorConfig
- DEFAULT_MIN_CONSEC_IMPROVEMENTS - Static variable in class opennlp.tools.langdetect.LanguageDetectorConfig
- DEFAULT_MIN_DIFF - Static variable in class opennlp.tools.langdetect.LanguageDetectorConfig
- DEFAULT_SEPARATOR_CHARS - Static variable in class opennlp.tools.tokenize.TokenSample
- DEFAULT_TYPE - Static variable in class opennlp.tools.namefind.NameSample
-
The default type value when there is no type in training data.
- defaultAdvancePercentage - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
The default amount of probability mass required of advanced outcomes.
- defaultBeamSize - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
The default beam size used if no beam size is given.
- DefaultChunkerContextGenerator - Class in opennlp.tools.chunker
-
Features based on chunking model described in Fei Sha and Fernando Pereira.
- DefaultChunkerContextGenerator() - Constructor for class opennlp.tools.chunker.DefaultChunkerContextGenerator
-
Initializes a
DefaultChunkerContextGenerator
instance. - DefaultChunkerSequenceValidator - Class in opennlp.tools.chunker
-
The default chunker
SequenceValidator
implementation. - DefaultChunkerSequenceValidator() - Constructor for class opennlp.tools.chunker.DefaultChunkerSequenceValidator
- DefaultEndOfSentenceScanner - Class in opennlp.tools.sentdetect
-
Default implementation of the
EndOfSentenceScanner
. - DefaultEndOfSentenceScanner(char[]) - Constructor for class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
-
Initializes the current instance.
- defaultEosCharacters - Static variable in class opennlp.tools.sentdetect.lang.Factory
- DefaultLanguageDetectorContextGenerator - Class in opennlp.tools.langdetect
-
A context generator for language detector.
- DefaultLanguageDetectorContextGenerator(int, int, CharSequenceNormalizer...) - Constructor for class opennlp.tools.langdetect.DefaultLanguageDetectorContextGenerator
-
Creates a customizable
DefaultLanguageDetectorContextGenerator
that computes ngrams from text. - DefaultLemmatizerContextGenerator - Class in opennlp.tools.lemmatizer
-
Simple feature generator for learning statistical lemmatizers.
- DefaultLemmatizerContextGenerator() - Constructor for class opennlp.tools.lemmatizer.DefaultLemmatizerContextGenerator
- DefaultLemmatizerSequenceValidator - Class in opennlp.tools.lemmatizer
-
The default lemmatizer
SequenceValidator
implementation. - DefaultLemmatizerSequenceValidator() - Constructor for class opennlp.tools.lemmatizer.DefaultLemmatizerSequenceValidator
- DefaultNameContextGenerator - Class in opennlp.tools.namefind
-
A
NameContextGenerator
implementation for determining contextual features for atag-chunk
style named-entity recognizer. - DefaultNameContextGenerator() - Constructor for class opennlp.tools.namefind.DefaultNameContextGenerator
-
Deprecated.
- DefaultNameContextGenerator(AdaptiveFeatureGenerator...) - Constructor for class opennlp.tools.namefind.DefaultNameContextGenerator
-
Creates a name context generator with the specified
feature generators
. - defaultParams() - Static method in class opennlp.tools.util.TrainingParameters
- DefaultPOSContextGenerator - Class in opennlp.tools.postag
-
A default
context generator
for aPOSTagger
. - DefaultPOSContextGenerator(int, Dictionary) - Constructor for class opennlp.tools.postag.DefaultPOSContextGenerator
-
Initializes a
DefaultPOSContextGenerator
instance. - DefaultPOSContextGenerator(Dictionary) - Constructor for class opennlp.tools.postag.DefaultPOSContextGenerator
-
Initializes a
DefaultPOSContextGenerator
instance. - DefaultPOSSequenceValidator - Class in opennlp.tools.postag
-
The default POS tagger
SequenceValidator
implementation. - DefaultPOSSequenceValidator(TagDictionary) - Constructor for class opennlp.tools.postag.DefaultPOSSequenceValidator
- DefaultSDContextGenerator - Class in opennlp.tools.sentdetect
-
Generate event contexts for maxent decisions for sentence detection.
- DefaultSDContextGenerator(char[]) - Constructor for class opennlp.tools.sentdetect.DefaultSDContextGenerator
-
Creates a new instance with no induced abbreviations.
- DefaultSDContextGenerator(Set<String>, char[]) - Constructor for class opennlp.tools.sentdetect.DefaultSDContextGenerator
-
Creates a new
SDContextGenerator
instance which uses the set of induced abbreviations. - DefaultTokenContextGenerator - Class in opennlp.tools.tokenize
-
A default
TokenContextGenerator
which produces events for maxent decisions for tokenization. - DefaultTokenContextGenerator() - Constructor for class opennlp.tools.tokenize.DefaultTokenContextGenerator
-
Initializes a plain
DefaultTokenContextGenerator
instance. - DefaultTokenContextGenerator(Set<String>) - Constructor for class opennlp.tools.tokenize.DefaultTokenContextGenerator
-
Initializes a customized
DefaultTokenContextGenerator
instance via a set ofinducedAbbreviations
. - DefinitionFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
- DefinitionFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.DefinitionFeatureGeneratorFactory
- DEGREES_MIN_SEC_LAT_LON - Enum constant in enum class opennlp.tools.namefind.RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER
- DetokenEvaluationErrorListener - Class in opennlp.tools.cmdline.tokenizer
-
A default implementation of
EvaluationMonitor
that prints to an output stream. - DetokenEvaluationErrorListener() - Constructor for class opennlp.tools.cmdline.tokenizer.DetokenEvaluationErrorListener
-
Creates a listener that will print to the configured
logger
. - DetokenEvaluationErrorListener(OutputStream) - Constructor for class opennlp.tools.cmdline.tokenizer.DetokenEvaluationErrorListener
-
Creates a listener that will print to a given
OutputStream
. - DetokenizationDictionary - Class in opennlp.tools.tokenize
- DetokenizationDictionary(File) - Constructor for class opennlp.tools.tokenize.DetokenizationDictionary
-
Initializes a
DetokenizationDictionary
instance via a validFile
. - DetokenizationDictionary(InputStream) - Constructor for class opennlp.tools.tokenize.DetokenizationDictionary
-
Initializes a
DetokenizationDictionary
instance via a validInputStream
. - DetokenizationDictionary(String[], DetokenizationDictionary.Operation[]) - Constructor for class opennlp.tools.tokenize.DetokenizationDictionary
-
Initializes a
DetokenizationDictionary
instance. - DetokenizationDictionary(Path) - Constructor for class opennlp.tools.tokenize.DetokenizationDictionary
-
Initializes a
DetokenizationDictionary
instance via a validPath
. - DetokenizationDictionary.Operation - Enum Class in opennlp.tools.tokenize
- detokenize(String[]) - Method in interface opennlp.tools.tokenize.Detokenizer
-
Detokenizes the collection of tokens.
- detokenize(String[]) - Method in class opennlp.tools.tokenize.DictionaryDetokenizer
- detokenize(String[], String) - Method in interface opennlp.tools.tokenize.Detokenizer
-
Detokenizes the input
tokens
into a String. - detokenize(String[], String) - Method in class opennlp.tools.tokenize.DictionaryDetokenizer
- Detokenizer - Interface in opennlp.tools.tokenize
-
A
Detokenizer
merges tokens back to their detokenized representation. - Detokenizer.DetokenizationOperation - Enum Class in opennlp.tools.tokenize
-
This enum contains an operation for every token to merge the tokens together to their detokenized form.
- DetokenizerEvaluator - Class in opennlp.tools.tokenize
-
The
DetokenizerEvaluator
measures the performance of the givenDetokenizer
with the provided referencesamples
. - DetokenizerEvaluator(Detokenizer, DetokenEvaluationErrorListener...) - Constructor for class opennlp.tools.tokenize.DetokenizerEvaluator
-
Initializes the current instance with the given
Detokenizer
. - DetokenizerParameter - Interface in opennlp.tools.cmdline.params
- DetokenizerSampleStreamFactory<T,
P> - Class in opennlp.tools.formats -
Base class for factories which need a
Detokenizer
. - DetokenizeSentenceSampleStream - Class in opennlp.tools.formats.letsmt
- DetokenizeSentenceSampleStream(Detokenizer, ObjectStream<SentenceSample>) - Constructor for class opennlp.tools.formats.letsmt.DetokenizeSentenceSampleStream
-
Initializes a
DetokenizeSentenceSampleStream
. - DEV_VERSION - Static variable in class opennlp.tools.util.Version
- Dictionary - Class in opennlp.tools.dictionary
-
An iterable and serializable dictionary implementation.
- Dictionary() - Constructor for class opennlp.tools.dictionary.Dictionary
-
Initializes an empty
Dictionary
. - Dictionary(boolean) - Constructor for class opennlp.tools.dictionary.Dictionary
-
Initializes an empty
Dictionary
. - Dictionary(InputStream) - Constructor for class opennlp.tools.dictionary.Dictionary
-
Initializes the
Dictionary
from an existing dictionary resource. - DictionaryBuilderTool - Class in opennlp.tools.cmdline.dictionary
- DictionaryBuilderTool() - Constructor for class opennlp.tools.cmdline.dictionary.DictionaryBuilderTool
- DictionaryDetokenizer - Class in opennlp.tools.tokenize
-
A rule based detokenizer.
- DictionaryDetokenizer(DetokenizationDictionary) - Constructor for class opennlp.tools.tokenize.DictionaryDetokenizer
-
Initializes a
DictionaryDetokenizer
instance. - DictionaryDetokenizerTool - Class in opennlp.tools.cmdline.tokenizer
- DictionaryDetokenizerTool() - Constructor for class opennlp.tools.cmdline.tokenizer.DictionaryDetokenizerTool
- DictionaryEntryPersistor - Class in opennlp.tools.dictionary.serializer
-
A persistor used by for reading and writing
dictionaries
of all kinds. - DictionaryEntryPersistor() - Constructor for class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor
- DictionaryFeatureGenerator - Class in opennlp.tools.util.featuregen
-
The
DictionaryFeatureGenerator
uses theDictionaryNameFinder
to generated features for detected names based on theInSpanGenerator
. - DictionaryFeatureGenerator(String, Dictionary) - Constructor for class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
- DictionaryFeatureGenerator(Dictionary) - Constructor for class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
- DictionaryFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
- DictionaryFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.DictionaryFeatureGeneratorFactory
- DictionaryLemmatizer - Class in opennlp.tools.lemmatizer
-
A
Lemmatizer
implementation that works by simple dictionary lookup into aMap
built from a file containing, for each line: - DictionaryLemmatizer(File) - Constructor for class opennlp.tools.lemmatizer.DictionaryLemmatizer
-
Initializes a
DictionaryLemmatizer
and relatedHashMap
from the input tab separated dictionary. - DictionaryLemmatizer(File, Charset) - Constructor for class opennlp.tools.lemmatizer.DictionaryLemmatizer
-
Initializes a
DictionaryLemmatizer
and relatedHashMap
from the input tab separated dictionary. - DictionaryLemmatizer(InputStream) - Constructor for class opennlp.tools.lemmatizer.DictionaryLemmatizer
-
Initializes a
DictionaryLemmatizer
and relatedHashMap
from the input tab separated dictionary. - DictionaryLemmatizer(InputStream, Charset) - Constructor for class opennlp.tools.lemmatizer.DictionaryLemmatizer
-
Initializes a
DictionaryLemmatizer
and relatedHashMap
from the input tab separated dictionary. - DictionaryLemmatizer(Path) - Constructor for class opennlp.tools.lemmatizer.DictionaryLemmatizer
-
Initializes a
DictionaryLemmatizer
and relatedHashMap
from the input tab separated dictionary. - DictionaryNameFinder - Class in opennlp.tools.namefind
-
This is a
Dictionary
basedname finder
. - DictionaryNameFinder(Dictionary) - Constructor for class opennlp.tools.namefind.DictionaryNameFinder
-
Initializes a
DictionaryNameFinder
with the providedDictionary
andDictionaryNameFinder.DEFAULT_TYPE
. - DictionaryNameFinder(Dictionary, String) - Constructor for class opennlp.tools.namefind.DictionaryNameFinder
- DictionarySerializer - Class in opennlp.tools.util.model
-
An
ArtifactSerializer
implementation fordictionaries
. - DictionarySerializer() - Constructor for class opennlp.tools.util.model.DictionarySerializer
- digits() - Method in class opennlp.tools.util.featuregen.StringPattern
-
Retrieves the number of digits.
- dimension() - Method in interface opennlp.tools.util.wordvector.WordVector
- dimension() - Method in interface opennlp.tools.util.wordvector.WordVectorTable
- DirectorySampleStream - Class in opennlp.tools.formats
-
The directory sample stream allows for creating an
ObjectStream<File>
from a directory listing of files. - DirectorySampleStream(File[], FileFilter, boolean) - Constructor for class opennlp.tools.formats.DirectorySampleStream
-
Initializes a
DirectorySampleStream
. - DirectorySampleStream(File, FileFilter, boolean) - Constructor for class opennlp.tools.formats.DirectorySampleStream
-
Initializes a
DirectorySampleStream
. - discardCountsBelow(double) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
- discardCountsBelow(double) - Method in class opennlp.tools.ml.naivebayes.Probabilities
- DoccatConverterTool - Class in opennlp.tools.cmdline.doccat
-
Tool to convert multiple data formats into native OpenNLP doccat training format.
- DoccatConverterTool() - Constructor for class opennlp.tools.cmdline.doccat.DoccatConverterTool
- DoccatCrossValidator - Class in opennlp.tools.doccat
-
Cross validator for
DocumentCategorizer
. - DoccatCrossValidator(String, TrainingParameters, DoccatFactory, DoccatEvaluationMonitor...) - Constructor for class opennlp.tools.doccat.DoccatCrossValidator
-
Instantiates a
DoccatCrossValidator
with the givengenerators
. - DoccatCrossValidatorTool - Class in opennlp.tools.cmdline.doccat
- DoccatCrossValidatorTool() - Constructor for class opennlp.tools.cmdline.doccat.DoccatCrossValidatorTool
- DoccatEvaluationErrorListener - Class in opennlp.tools.cmdline.doccat
-
A default implementation of
EvaluationMonitor
that prints to an output stream. - DoccatEvaluationErrorListener() - Constructor for class opennlp.tools.cmdline.doccat.DoccatEvaluationErrorListener
-
Creates a listener that will print to the configured
logger
. - DoccatEvaluationErrorListener(OutputStream) - Constructor for class opennlp.tools.cmdline.doccat.DoccatEvaluationErrorListener
-
Creates a listener that will print to a given
OutputStream
- DoccatEvaluationMonitor - Interface in opennlp.tools.doccat
-
A marker interface for evaluating
doccat
. - DoccatEvaluatorTool - Class in opennlp.tools.cmdline.doccat
-
A default
DocumentSample
-centric implementation ofAbstractEvaluatorTool
that prints to an output stream. - DoccatEvaluatorTool() - Constructor for class opennlp.tools.cmdline.doccat.DoccatEvaluatorTool
- DoccatFactory - Class in opennlp.tools.doccat
-
The factory that provides Doccat default implementations and resources.
- DoccatFactory() - Constructor for class opennlp.tools.doccat.DoccatFactory
-
Instantiates a
DoccatFactory
that provides the default implementation of the resources. - DoccatFactory(FeatureGenerator[]) - Constructor for class opennlp.tools.doccat.DoccatFactory
-
Instantiates a
DoccatFactory
that provides the default implementation of the resources. - DoccatFineGrainedReportListener - Class in opennlp.tools.cmdline.doccat
-
Generates a detailed report for the POS Tagger.
- DoccatFineGrainedReportListener() - Constructor for class opennlp.tools.cmdline.doccat.DoccatFineGrainedReportListener
-
Creates a listener that will print to the configured
logger
. - DoccatFineGrainedReportListener(OutputStream) - Constructor for class opennlp.tools.cmdline.doccat.DoccatFineGrainedReportListener
-
Creates a listener that prints to a given
OutputStream
- DoccatModel - Class in opennlp.tools.doccat
-
A model for document categorization
- DoccatModel(File) - Constructor for class opennlp.tools.doccat.DoccatModel
-
Initializes a
DoccatModel
instance via a validFile
. - DoccatModel(InputStream) - Constructor for class opennlp.tools.doccat.DoccatModel
-
Initializes a
DoccatModel
instance via a validInputStream
. - DoccatModel(String, MaxentModel, Map<String, String>, DoccatFactory) - Constructor for class opennlp.tools.doccat.DoccatModel
-
Initializes a
DoccatModel
instance via given parameters. - DoccatModel(URL) - Constructor for class opennlp.tools.doccat.DoccatModel
-
Initializes a
DoccatModel
instance via a validURL
. - DoccatModel(Path) - Constructor for class opennlp.tools.doccat.DoccatModel
-
Initializes a
DoccatModel
instance via a validPath
. - DoccatModelLoader - Class in opennlp.tools.cmdline.doccat
-
Loads a
DoccatModel
for the command line tools. - DoccatModelLoader() - Constructor for class opennlp.tools.cmdline.doccat.DoccatModelLoader
- DoccatTool - Class in opennlp.tools.cmdline.doccat
- DoccatTool() - Constructor for class opennlp.tools.cmdline.doccat.DoccatTool
- DoccatTrainerTool - Class in opennlp.tools.cmdline.doccat
- DoccatTrainerTool() - Constructor for class opennlp.tools.cmdline.doccat.DoccatTrainerTool
- doConstrainedLineSearch(Function, double[], LineSearch.LineSearchResult, double, double) - Static method in class opennlp.tools.ml.maxent.quasinewton.LineSearch
-
Conducts a constrained line search (see section 3.2 in the paper "Scalable Training of L1-Regularized Log-Linear Models", Andrew et al. 2007)
- DOCSTART - Static variable in class opennlp.tools.formats.Conll02NameSampleStream
- DOCSTART - Static variable in class opennlp.tools.formats.EvalitaNameSampleStream
- DocumentBeginFeatureGenerator - Class in opennlp.tools.util.featuregen
- DocumentBeginFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.DocumentBeginFeatureGenerator
- DocumentBeginFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
- DocumentBeginFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.DocumentBeginFeatureGeneratorFactory
- DocumentCategorizer - Interface in opennlp.tools.doccat
-
Interface for classes which categorize documents.
- DocumentCategorizerEvaluator - Class in opennlp.tools.doccat
-
The
DocumentCategorizerEvaluator
measures the performance of the givenDocumentCategorizer
with the provided referencesamples
. - DocumentCategorizerEvaluator(DocumentCategorizer, DoccatEvaluationMonitor...) - Constructor for class opennlp.tools.doccat.DocumentCategorizerEvaluator
-
Initializes a
DocumentCategorizerEvaluator
instance. - DocumentCategorizerEventStream - Class in opennlp.tools.doccat
-
Iterator-like class for modeling document classification events.
- DocumentCategorizerEventStream(ObjectStream<DocumentSample>) - Constructor for class opennlp.tools.doccat.DocumentCategorizerEventStream
-
Initializes a
DocumentCategorizerEventStream
via samples. - DocumentCategorizerEventStream(ObjectStream<DocumentSample>, FeatureGenerator...) - Constructor for class opennlp.tools.doccat.DocumentCategorizerEventStream
-
Initializes a
DocumentCategorizerEventStream
via samples andfeature generators
. - DocumentCategorizerME - Class in opennlp.tools.doccat
-
A Max-Ent based implementation of
DocumentCategorizer
. - DocumentCategorizerME(DoccatModel) - Constructor for class opennlp.tools.doccat.DocumentCategorizerME
-
Initializes a
DocumentCategorizerME
instance with a doccat model. - DocumentNameFinder - Interface in opennlp.tools.namefind
-
Interface for processing an entire document allowing a
TokenNameFinder
to use context from the entire document. - DocumentSample - Class in opennlp.tools.doccat
-
Class which holds a classified document and its category.
- DocumentSample(String, String[]) - Constructor for class opennlp.tools.doccat.DocumentSample
-
Initializes a
instance
. - DocumentSample(String, String[], Map<String, Object>) - Constructor for class opennlp.tools.doccat.DocumentSample
-
Initializes a
instance
. - DocumentSampleStream - Class in opennlp.tools.doccat
-
Reads in string encoded training samples, parses them and outputs
DocumentSample
objects. - DocumentSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.doccat.DocumentSampleStream
-
Initializes a
instance
. - DocumentSampleStreamFactory<P> - Class in opennlp.tools.formats
-
Factory producing OpenNLP
DocumentSampleStream
s. - DocumentToLineStream - Class in opennlp.tools.formats.ontonotes
-
Reads a plain text file and return each line as a
String
object. - DocumentToLineStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.ontonotes.DocumentToLineStream
-
Initializes a
DocumentToLineStream
. - doLineSearch(Function, double[], LineSearch.LineSearchResult, double) - Static method in class opennlp.tools.ml.maxent.quasinewton.LineSearch
-
Conducts a backtracking line search (see Nocedal & Wright 2006, Numerical Optimization, p. 37).
- DONE - Static variable in class opennlp.tools.parser.treeinsert.Parser
-
Outcome used when a constituent needs an no additional parent node/building.
- doTrain(DataIndexer) - Method in class opennlp.tools.ml.AbstractEventTrainer
- doTrain(DataIndexer) - Method in class opennlp.tools.ml.maxent.GISTrainer
- doTrain(DataIndexer) - Method in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- doTrain(DataIndexer) - Method in class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
- doTrain(DataIndexer) - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
- doTrain(SequenceStream<Event>) - Method in class opennlp.tools.ml.AbstractEventModelSequenceTrainer
- doTrain(SequenceStream<Event>) - Method in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
- DOUBLE - Enum constant in enum class opennlp.tools.util.wordvector.WordVectorType
- downloadModel(String, DownloadUtil.ModelType, Class<T>) - Static method in class opennlp.tools.util.DownloadUtil
-
Triggers a download for the specified
DownloadUtil.ModelType
. - downloadModel(URL, Class<T>) - Static method in class opennlp.tools.util.DownloadUtil
-
Downloads a model from a
URL
. - DownloadUtil - Class in opennlp.tools.util
-
This class facilitates the downloading of pretrained OpenNLP models.
- DownloadUtil() - Constructor for class opennlp.tools.util.DownloadUtil
- DownloadUtil.ModelType - Enum Class in opennlp.tools.util
-
The type of model.
- dropOverlappingSpans(Span[]) - Static method in class opennlp.tools.namefind.NameFinderME
-
Removes
spans
with are intersecting or crossing in any way. - DUTCH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- DynamicEvalParameters - Class in opennlp.tools.ml.model
- DynamicEvalParameters(List<? extends Context>, int) - Constructor for class opennlp.tools.ml.model.DynamicEvalParameters
-
Creates a set of parameters which can be evaluated with the eval method.
E
- EMAIL - Enum constant in enum class opennlp.tools.namefind.RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER
- EmojiCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
EmojiCharSequenceNormalizer
implementation that normalizes text in terms of emojis. - EmojiCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.EmojiCharSequenceNormalizer
- EmptyLinePreprocessorStream - Class in opennlp.tools.sentdetect
-
ObjectStream
to clean up empty lines for empty line separated document streams.
- Skips empty line at training data start
- Transforms multiple empty lines in a row into one
- Replaces white space lines with empty lines
- TODO: Terminates last document with empty line if it is missing
This stream should be used by the components that mark empty lines to mark document boundaries. - EmptyLinePreprocessorStream(ObjectStream<String>) - Constructor for class opennlp.tools.sentdetect.EmptyLinePreprocessorStream
- EN - Enum constant in enum class opennlp.tools.formats.Conll03NameSampleStream.LANGUAGE
- encode(Span[], int) - Method in class opennlp.tools.namefind.BilouCodec
- encode(Span[], int) - Method in class opennlp.tools.namefind.BioCodec
- encode(Span[], int) - Method in interface opennlp.tools.util.SequenceCodec
- encodeLemmas(String[], String[]) - Static method in class opennlp.tools.lemmatizer.LemmatizerME
-
Encodes the word given its lemmas.
- EncodingParameter - Interface in opennlp.tools.cmdline.params
-
Encoding parameter.
- END_TAG - Static variable in class opennlp.tools.namefind.NameSampleDataStream
- endElement(String) - Method in class opennlp.tools.formats.muc.MucNameContentHandler
- endElement(String) - Method in class opennlp.tools.formats.muc.SgmlParser.ContentHandler
- endElement(String, String, String) - Method in class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtDocumentHandler
- endElement(String, String, String) - Method in class opennlp.tools.formats.masc.MascPennTagParser
- EndOfSentenceScanner - Interface in opennlp.tools.sentdetect
- ENGLISH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- ENTITY_TYPE - Static variable in class opennlp.tools.formats.brat.AnnotationConfiguration
- EntityLinker<T extends Span> - Interface in opennlp.tools.entitylinker
-
EntityLinkers establish connections with external data to enrich extracted entities.
- EntityLinkerFactory - Class in opennlp.tools.entitylinker
-
Generates a
EntityLinker
instances via aproperties
file configuration. - EntityLinkerFactory() - Constructor for class opennlp.tools.entitylinker.EntityLinkerFactory
- EntityLinkerProperties - Class in opennlp.tools.entitylinker
-
Properties wrapper for
EntityLinker
implementations. - EntityLinkerProperties(File) - Constructor for class opennlp.tools.entitylinker.EntityLinkerProperties
-
Initializes
EntityLinkerProperties
via aFile
reference. - EntityLinkerProperties(InputStream) - Constructor for class opennlp.tools.entitylinker.EntityLinkerProperties
-
Initializes
EntityLinkerProperties
via aInputStream
reference. - EntityLinkerTool - Class in opennlp.tools.cmdline.entitylinker
- EntityLinkerTool() - Constructor for class opennlp.tools.cmdline.entitylinker.EntityLinkerTool
- Entry - Record Class in opennlp.tools.dictionary.serializer
-
An
Entry
is aStringList
which can optionally be mapped to attributes. - Entry(StringList, Attributes) - Constructor for record class opennlp.tools.dictionary.serializer.Entry
-
Creates an instance of a
Entry
record class. - EntryInserter - Interface in opennlp.tools.dictionary.serializer
- eosCharacters - Static variable in class opennlp.tools.sentdetect.lang.th.SentenceContextGenerator
- equals(Object) - Method in class opennlp.tools.chunker.ChunkSample
- equals(Object) - Method in class opennlp.tools.dictionary.Dictionary
- equals(Object) - Method in record class opennlp.tools.dictionary.serializer.Entry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class opennlp.tools.doccat.DocumentSample
- equals(Object) - Method in class opennlp.tools.entitylinker.BaseLink
- equals(Object) - Method in class opennlp.tools.entitylinker.LinkedSpan
- equals(Object) - Method in class opennlp.tools.langdetect.Language
- equals(Object) - Method in record class opennlp.tools.langdetect.LanguageSample
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class opennlp.tools.langdetect.ProbingLanguageDetectionResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class opennlp.tools.lemmatizer.LemmaSample
- equals(Object) - Method in class opennlp.tools.ml.maxent.GISModel
- equals(Object) - Method in class opennlp.tools.ml.model.AbstractModel
- equals(Object) - Method in class opennlp.tools.ml.model.ComparableEvent
- equals(Object) - Method in class opennlp.tools.ml.model.ComparablePredicate
- equals(Object) - Method in class opennlp.tools.ml.model.Context
- equals(Object) - Method in class opennlp.tools.ml.model.EvalParameters
- equals(Object) - Method in class opennlp.tools.ml.model.UniformPrior
- equals(Object) - Method in class opennlp.tools.ml.perceptron.PerceptronModel
- equals(Object) - Method in class opennlp.tools.namefind.NameSample
- equals(Object) - Method in class opennlp.tools.ngram.NGramCharModel
- equals(Object) - Method in class opennlp.tools.ngram.NGramModel
- equals(Object) - Method in class opennlp.tools.parser.lang.en.HeadRules
- equals(Object) - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- equals(Object) - Method in class opennlp.tools.parser.Parse
- equals(Object) - Method in class opennlp.tools.parser.ParserModel
- equals(Object) - Method in class opennlp.tools.postag.POSDictionary
- equals(Object) - Method in class opennlp.tools.postag.POSModel
- equals(Object) - Method in class opennlp.tools.postag.POSSample
- equals(Object) - Method in class opennlp.tools.sentdetect.SentenceSample
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.catalanStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.indonesianStemmer
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.irishStemmer
- equals(Object) - Method in class opennlp.tools.tokenize.TokenizerModel
- equals(Object) - Method in class opennlp.tools.tokenize.TokenSample
- equals(Object) - Method in class opennlp.tools.util.Sequence
- equals(Object) - Method in class opennlp.tools.util.Span
- equals(Object) - Method in class opennlp.tools.util.StringList
- equals(Object) - Method in record class opennlp.tools.util.TokenTag
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class opennlp.tools.util.Version
- eval(int[], double[], EvalParameters) - Static method in class opennlp.tools.ml.maxent.GISModel
-
Evaluates a context and return an array of the likelihood of each outcome given the specified context and the specified parameters.
- eval(int[], double[], EvalParameters) - Static method in class opennlp.tools.ml.naivebayes.NaiveBayesModel
-
Evaluates a
NaiveBayesModel
. - eval(int[], double[], EvalParameters) - Static method in class opennlp.tools.ml.perceptron.PerceptronModel
-
Evaluates a
PerceptronModel
. - eval(String[]) - Method in class opennlp.tools.ml.maxent.GISModel
-
Evaluates a context and return an array of the likelihood of each outcome given that context.
- eval(String[]) - Method in class opennlp.tools.ml.maxent.quasinewton.QNModel
-
Evaluates a
context
. - eval(String[]) - Method in interface opennlp.tools.ml.model.MaxentModel
-
Evaluates a
context
. - eval(String[]) - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModel
-
Evaluates a
context
. - eval(String[]) - Method in class opennlp.tools.ml.perceptron.PerceptronModel
-
Evaluates a
context
. - eval(String[], double[]) - Method in class opennlp.tools.ml.maxent.GISModel
-
Evaluates a
context
. - eval(String[], double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.QNModel
-
Evaluates a
context
. - eval(String[], double[]) - Method in interface opennlp.tools.ml.model.MaxentModel
-
Evaluates a
context
. - eval(String[], double[]) - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModel
-
Evaluates a
context
. - eval(String[], double[]) - Method in class opennlp.tools.ml.perceptron.PerceptronModel
-
Evaluates a
context
. - eval(String[], float[]) - Method in class opennlp.tools.ml.maxent.GISModel
-
Evaluates a
context
with the specified contextvalues
. - eval(String[], float[]) - Method in class opennlp.tools.ml.maxent.quasinewton.QNModel
-
Evaluates a
context
with the specified contextvalues
. - eval(String[], float[]) - Method in interface opennlp.tools.ml.model.MaxentModel
-
Evaluates a
context
with the specified contextvalues
. - eval(String[], float[]) - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModel
-
Evaluates a
context
with the specified contextvalues
. - eval(String[], float[]) - Method in class opennlp.tools.ml.perceptron.PerceptronModel
-
Evaluates a
context
with the specified contextvalues
. - eval(String[], float[], double[]) - Method in class opennlp.tools.ml.maxent.GISModel
-
Evaluates a context and return an array of the likelihood of each outcome given that context.
- eval(String[], float[], double[]) - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModel
- eval(String[], float[], double[]) - Method in class opennlp.tools.ml.perceptron.PerceptronModel
- EvalitaNameSampleStream - Class in opennlp.tools.formats
-
Parser for the Italian NER training files of the Evalita 2007 and 2009 NER shared tasks.
- EvalitaNameSampleStream(EvalitaNameSampleStream.LANGUAGE, InputStreamFactory, int) - Constructor for class opennlp.tools.formats.EvalitaNameSampleStream
- EvalitaNameSampleStream(EvalitaNameSampleStream.LANGUAGE, ObjectStream<String>, int) - Constructor for class opennlp.tools.formats.EvalitaNameSampleStream
- EvalitaNameSampleStream.LANGUAGE - Enum Class in opennlp.tools.formats
- EvalitaNameSampleStreamFactory<P> - Class in opennlp.tools.formats
-
Note: Do not use this class, internal use only!
- EvalParameters - Class in opennlp.tools.ml.model
-
This class encapsulates the variables used in producing probabilities from a model and facilitates passing these variables to the eval method.
- EvalParameters(Context[], int) - Constructor for class opennlp.tools.ml.model.EvalParameters
- evaluate(double[]) - Method in interface opennlp.tools.ml.maxent.quasinewton.QNMinimizer.Evaluator
-
Measure quality of the training parameters.
- evaluate(ObjectStream<ChunkSample>, int) - Method in class opennlp.tools.chunker.ChunkerCrossValidator
-
Starts the evaluation.
- evaluate(ObjectStream<DocumentSample>, int) - Method in class opennlp.tools.doccat.DoccatCrossValidator
-
Starts the evaluation.
- evaluate(ObjectStream<LanguageSample>, int) - Method in class opennlp.tools.langdetect.LanguageDetectorCrossValidator
-
Starts the evaluation.
- evaluate(ObjectStream<NameSample>, int) - Method in class opennlp.tools.namefind.TokenNameFinderCrossValidator
-
Starts the evaluation.
- evaluate(ObjectStream<Parse>, int) - Method in class opennlp.tools.parser.ParserCrossValidator
-
Starts the evaluation.
- evaluate(ObjectStream<POSSample>, int) - Method in class opennlp.tools.postag.POSTaggerCrossValidator
-
Starts the evaluation.
- evaluate(ObjectStream<SentenceSample>, int) - Method in class opennlp.tools.sentdetect.SDCrossValidator
-
Starts the evaluation.
- evaluate(ObjectStream<TokenSample>, int) - Method in class opennlp.tools.tokenize.TokenizerCrossValidator
-
Starts the evaluation.
- evaluate(ObjectStream<T>) - Method in class opennlp.tools.util.eval.Evaluator
-
Reads all
sample objects
and evaluates each instance via theEvaluator.evaluateSample(Object)
method. - evaluateSample(T) - Method in class opennlp.tools.util.eval.Evaluator
-
Evaluates the given reference object.
- EvaluationMonitor<T> - Interface in opennlp.tools.util.eval
- Evaluator<T> - Class in opennlp.tools.util.eval
-
An abstract base class for evaluators.
- Evaluator(EvaluationMonitor<T>...) - Constructor for class opennlp.tools.util.eval.Evaluator
- EvaluatorParams - Interface in opennlp.tools.cmdline.params
-
Common evaluation parameters.
- Event - Class in opennlp.tools.ml.model
-
The context of a decision point during training.
- Event(String, CharSequence[]) - Constructor for class opennlp.tools.ml.model.Event
-
Instantiates an
Event
. - Event(String, CharSequence[], float[]) - Constructor for class opennlp.tools.ml.model.Event
-
Instantiates an
Event
. - Event(String, String[], float[]) - Constructor for class opennlp.tools.ml.model.Event
-
Instantiates an
Event
. - EVENT_MODEL_SEQUENCE_TRAINER - Enum constant in enum class opennlp.tools.ml.TrainerFactory.TrainerType
- EVENT_MODEL_TRAINER - Enum constant in enum class opennlp.tools.ml.TrainerFactory.TrainerType
- EVENT_TYPE - Static variable in class opennlp.tools.formats.brat.AnnotationConfiguration
- EVENT_VALUE - Static variable in interface opennlp.tools.ml.EventTrainer
- EventAnnotation - Class in opennlp.tools.formats.brat
- EventModelSequenceTrainer<T> - Interface in opennlp.tools.ml
-
A specialized
Trainer
that is based on a 'EventModelSequence' approach. - EventTraceStream - Class in opennlp.tools.util
- EventTraceStream(ObjectStream<Event>, Writer) - Constructor for class opennlp.tools.util.EventTraceStream
-
Initializes an
EventTraceStream
. - EventTrainer - Interface in opennlp.tools.ml
- expandTopNode(Parse) - Method in class opennlp.tools.parser.Parse
- Experimental - Annotation Interface in opennlp.tools.util.java
-
Indicates that a certain API feature is not stable and might change with a new release.
- ExtensionLoader - Class in opennlp.tools.util.ext
-
The
ExtensionLoader
is responsible to load extensions to the OpenNLP library. - ExtensionNotLoadedException - Exception in opennlp.tools.util.ext
-
Exception indicates that an OpenNLP extension could not be loaded.
- ExtensionNotLoadedException(String) - Constructor for exception opennlp.tools.util.ext.ExtensionNotLoadedException
- ExtensionNotLoadedException(Throwable) - Constructor for exception opennlp.tools.util.ext.ExtensionNotLoadedException
- ExtensionServiceKeys - Class in opennlp.tools.util.ext
- ExtensionServiceKeys() - Constructor for class opennlp.tools.util.ext.ExtensionServiceKeys
- extractArtifactSerializerMappings(InputStream) - Static method in class opennlp.tools.util.featuregen.GeneratorFactory
- extractFeatures(String[], Map<String, Object>) - Method in class opennlp.tools.doccat.BagOfWordsFeatureGenerator
- extractFeatures(String[], Map<String, Object>) - Method in interface opennlp.tools.doccat.FeatureGenerator
-
Extracts features from given
text
fragments. - extractFeatures(String[], Map<String, Object>) - Method in class opennlp.tools.doccat.NGramFeatureGenerator
- extractTags(TokenTag[]) - Static method in record class opennlp.tools.util.TokenTag
- extractTokens(TokenTag[]) - Static method in record class opennlp.tools.util.TokenTag
F
- Factory - Class in opennlp.tools.sentdetect.lang
- Factory - Class in opennlp.tools.tokenize.lang
- Factory() - Constructor for class opennlp.tools.sentdetect.lang.Factory
- Factory() - Constructor for class opennlp.tools.tokenize.lang.Factory
- FeatureGenerator - Interface in opennlp.tools.doccat
-
Interface for generating features for document categorization.
- FeatureGeneratorResourceProvider - Interface in opennlp.tools.util.featuregen
-
The
FeatureGeneratorResourceProvider
provides access to the resources available in the model. - FeatureGeneratorUtil - Class in opennlp.tools.util.featuregen
-
This class provide common utilities for feature generation.
- FeatureGeneratorUtil() - Constructor for class opennlp.tools.util.featuregen.FeatureGeneratorUtil
- FileEventStream - Class in opennlp.tools.ml.model
-
Class for using a file of
events
as anevent stream
. - FileEventStream(File) - Constructor for class opennlp.tools.ml.model.FileEventStream
-
Instantiates a
FileEventStream
via aFile
. - FileEventStream(Reader) - Constructor for class opennlp.tools.ml.model.FileEventStream
-
Instantiates a
FileEventStream
via aReader
. - FileEventStream(String) - Constructor for class opennlp.tools.ml.model.FileEventStream
-
Instantiates a
FileEventStream
from the specified file name. - FileEventStream(String, String) - Constructor for class opennlp.tools.ml.model.FileEventStream
-
Instantiates a
FileEventStream
from the specified file name. - FileToByteArraySampleStream - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- FileToByteArraySampleStream(ObjectStream<File>) - Constructor for class opennlp.tools.formats.convert.FileToByteArraySampleStream
-
Initializes a
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
-
Initializes a
FileToStringSampleStream
. - FilterObjectStream<S,
T> - Class in opennlp.tools.util -
Abstract base class for filtering
streams
. - find(String) - Method in class opennlp.tools.namefind.RegexNameFinder
-
Finds
spans
with character indices, rather than word. - find(String[]) - Method in class opennlp.tools.namefind.DictionaryNameFinder
- find(String[]) - Method in class opennlp.tools.namefind.NameFinderME
- find(String[]) - Method in class opennlp.tools.namefind.RegexNameFinder
- find(String[]) - Method in interface opennlp.tools.namefind.TokenNameFinder
-
Generates name tags for the given sequence, typically a sentence, returning
token spans
for any identified names. - find(String[][]) - Method in interface opennlp.tools.namefind.DocumentNameFinder
-
Finds tokens
spans
for the specified document of sentences and their tokens. - find(String[], String[][]) - Method in class opennlp.tools.namefind.NameFinderME
-
Generates name tags for the given sequence, typically a sentence, returning
token spans
for any identified names. - find(String, Span[], Span[][], Span[][]) - Method in interface opennlp.tools.entitylinker.EntityLinker
-
Links an entire document of named entities to an external source.
- find(String, Span[], Span[][], Span[][], int) - Method in interface opennlp.tools.entitylinker.EntityLinker
-
Links the names that correspond to the tokens[] spans.
- FineGrainedEvaluatorParams - Interface in opennlp.tools.cmdline.params
-
Common evaluation parameters.
- FINNISH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- fixPossesives(Parse) - Static method in class opennlp.tools.parser.Parse
- FLOAT - Enum constant in enum class opennlp.tools.util.wordvector.WordVectorType
- FMeasure - Class in opennlp.tools.util.eval
-
The
FMeasure
is a utility class forevaluators
which measures precision, recall and the resulting f-measure. - FMeasure() - Constructor for class opennlp.tools.util.eval.FMeasure
- FRENCH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- Function - Interface in opennlp.tools.ml.maxent.quasinewton
-
Interface for a function.
G
- GapLabeler - Interface in opennlp.tools.parser
-
Represents a labeler for nodes which contain traces so that these traces can be predicted by a
Parser
. - generate(char[], int, String) - Static method in class opennlp.tools.ngram.NGramGenerator
-
Generates nGrams based on a
char[]
input. - generate(List<String>, int, String) - Static method in class opennlp.tools.ngram.NGramGenerator
-
Creates nGrams separated by the separator param value i.e.
- GENERATE_CELLLINE_ENTITIES - Static variable in class opennlp.tools.formats.BioNLP2004NameSampleStream
- GENERATE_CELLTYPE_ENTITIES - Static variable in class opennlp.tools.formats.BioNLP2004NameSampleStream
- GENERATE_DNA_ENTITIES - Static variable in class opennlp.tools.formats.BioNLP2004NameSampleStream
- GENERATE_GPE_ENTITIES - Static variable in class opennlp.tools.formats.EvalitaNameSampleStream
- GENERATE_LOCATION_ENTITIES - Static variable in class opennlp.tools.formats.Conll02NameSampleStream
- GENERATE_LOCATION_ENTITIES - Static variable in class opennlp.tools.formats.EvalitaNameSampleStream
- GENERATE_MISC_ENTITIES - Static variable in class opennlp.tools.formats.Conll02NameSampleStream
- GENERATE_ORGANIZATION_ENTITIES - Static variable in class opennlp.tools.formats.Conll02NameSampleStream
- GENERATE_ORGANIZATION_ENTITIES - Static variable in class opennlp.tools.formats.EvalitaNameSampleStream
- GENERATE_PERSON_ENTITIES - Static variable in class opennlp.tools.formats.Conll02NameSampleStream
- GENERATE_PERSON_ENTITIES - Static variable in class opennlp.tools.formats.EvalitaNameSampleStream
- GENERATE_PROTEIN_ENTITIES - Static variable in class opennlp.tools.formats.BioNLP2004NameSampleStream
- GENERATE_RNA_ENTITIES - Static variable in class opennlp.tools.formats.BioNLP2004NameSampleStream
- generateEvents(String[], String[], Object[], POSContextGenerator) - Static method in class opennlp.tools.postag.POSSampleEventStream
- generateEvents(String[], String[], NameContextGenerator) - Static method in class opennlp.tools.namefind.NameFinderEventStream
-
Generates
events
for each token in asentence
with the specifiedoutcomes
using the specifiedNameContextGenerator
. - generateEvents(String[], String[], POSContextGenerator) - Static method in class opennlp.tools.postag.POSSampleEventStream
- generateOutcomes(Span[], String, int) - Static method in class opennlp.tools.namefind.NameFinderEventStream
-
Deprecated.use the
BioCodec
implementation of the SequenceValidator instead! - GeneratorFactory - Class in opennlp.tools.util.featuregen
-
Creates a set of feature generators based on a provided XML descriptor.
- GeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.GeneratorFactory
- GeneratorFactory.AbstractXmlFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
- GenericModelReader - Class in opennlp.tools.ml.model
-
An generic
AbstractModelReader
implementation. - GenericModelReader(File) - Constructor for class opennlp.tools.ml.model.GenericModelReader
-
Initializes a
GenericModelReader
via aFile
. - GenericModelReader(DataReader) - Constructor for class opennlp.tools.ml.model.GenericModelReader
-
Initializes a
GenericModelReader
via aDataReader
. - GenericModelSerializer - Class in opennlp.tools.util.model
-
An
ArtifactSerializer
implementation formodels
. - GenericModelSerializer() - Constructor for class opennlp.tools.util.model.GenericModelSerializer
- GenericModelWriter - Class in opennlp.tools.ml.model
-
An generic
AbstractModelWriter
implementation. - GenericModelWriter(AbstractModel, DataOutputStream) - Constructor for class opennlp.tools.ml.model.GenericModelWriter
-
Initializes a
GenericModelWriter
for anAbstractModel
with an associatedDataOutputStream
the model shall be written to. - GenericModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.model.GenericModelWriter
-
Initializes a
GenericModelWriter
for anAbstractModel
with an associatedFile
the model shall be written to. - GERMAN - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- get() - Method in class opennlp.tools.ml.naivebayes.LogProbability
- get() - Method in class opennlp.tools.ml.naivebayes.Probability
- get(String) - Method in interface opennlp.tools.util.wordvector.WordVectorTable
- get(T) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
- get(T) - Method in class opennlp.tools.ml.naivebayes.Probabilities
- getAbbreviationDictionary() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- getAbbreviationDictionary() - Method in class opennlp.tools.tokenize.TokenizerFactory
- getAbbreviations() - Method in class opennlp.tools.sentdetect.SentenceModel
- getAbbreviations() - Method in class opennlp.tools.tokenize.TokenizerModel
- getAccuracy() - Method in class opennlp.tools.doccat.DocumentCategorizerEvaluator
-
accuracy = correctly categorized documents / total documents
- getAccuracy() - Method in class opennlp.tools.langdetect.LanguageDetectorEvaluator
- getAdditionalContext() - Method in class opennlp.tools.namefind.NameSample
- getAdditionalContext() - Method in class opennlp.tools.postag.POSSample
- getAdditionalData() - Method in record class opennlp.tools.util.TokenTag
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getAlgorithm() - Method in class opennlp.tools.ml.AbstractTrainer
- getAll() - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
- getAll() - Method in class opennlp.tools.ml.naivebayes.Probabilities
- getAllOutcomes(double[]) - Method in class opennlp.tools.ml.model.AbstractModel
-
Retrieves a string matching all the outcome names with all the probabilities produced by the
MaxentModel.eval(String[])
method. - getAllOutcomes(double[]) - Method in interface opennlp.tools.ml.model.MaxentModel
-
Retrieves a string matching all the outcome names with all the probabilities produced by the
MaxentModel.eval(String[])
method. - getAllPosTags() - Method in class opennlp.tools.postag.POSTaggerME
- getAllResults(double[]) - Method in interface opennlp.tools.doccat.DocumentCategorizer
-
Retrieves the name of the category associated with the given probabilities.
- getAllResults(double[]) - Method in class opennlp.tools.doccat.DocumentCategorizerME
- getAlphanumeric(String) - Method in class opennlp.tools.tokenize.lang.Factory
-
Gets the alphanumeric pattern for a language.
- getAlphaNumericPattern() - Method in class opennlp.tools.tokenize.TokenizerFactory
- getAnnotation(String) - Method in class opennlp.tools.formats.brat.BratDocument
- getAnnotations() - Method in class opennlp.tools.formats.brat.BratDocument
- getArg1() - Method in class opennlp.tools.formats.brat.RelationAnnotation
- getArg2() - Method in class opennlp.tools.formats.brat.RelationAnnotation
- getArguments() - Method in class opennlp.tools.formats.brat.EventAnnotation
- getArtifact(String) - Method in interface opennlp.tools.util.model.ArtifactProvider
- getArtifact(String) - Method in class opennlp.tools.util.model.BaseModel
- getArtifactSerializerClass() - Method in class opennlp.tools.dictionary.Dictionary
- getArtifactSerializerClass() - Method in class opennlp.tools.parser.lang.en.HeadRules
- getArtifactSerializerClass() - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- getArtifactSerializerClass() - Method in class opennlp.tools.postag.POSDictionary
- getArtifactSerializerClass() - Method in class opennlp.tools.postag.POSModel
- getArtifactSerializerClass() - Method in class opennlp.tools.util.featuregen.BrownCluster
- getArtifactSerializerClass() - Method in class opennlp.tools.util.featuregen.WordClusterDictionary
- getArtifactSerializerClass() - Method in interface opennlp.tools.util.model.SerializableArtifact
-
Retrieves the class which can serialize and recreate this artifact.
- getArtifactSerializerMapping() - Method in class opennlp.tools.util.featuregen.BrownClusterBigramFeatureGeneratorFactory
- getArtifactSerializerMapping() - Method in class opennlp.tools.util.featuregen.BrownClusterTokenClassFeatureGeneratorFactory
- getArtifactSerializerMapping() - Method in class opennlp.tools.util.featuregen.BrownClusterTokenFeatureGeneratorFactory
- getArtifactSerializerMapping() - Method in class opennlp.tools.util.featuregen.DictionaryFeatureGeneratorFactory
- getArtifactSerializerMapping() - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getArtifactSerializerMapping() - Method in class opennlp.tools.util.featuregen.POSTaggerNameFeatureGeneratorFactory
- getArtifactSerializerMapping() - Method in class opennlp.tools.util.featuregen.WordClusterFeatureGeneratorFactory
- getAsDouble(int) - Method in interface opennlp.tools.util.wordvector.WordVector
- getAsFloat(int) - Method in interface opennlp.tools.util.wordvector.WordVector
- getAttachedId() - Method in class opennlp.tools.formats.brat.AnnotatorNoteAnnotation
- getAttachedTo() - Method in class opennlp.tools.formats.brat.AttributeAnnotation
- getAttachModel() - Method in class opennlp.tools.parser.ParserModel
- getAttributes() - Method in record class opennlp.tools.dictionary.serializer.Entry
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getBase() - Method in class opennlp.tools.formats.masc.MascToken
- getBases() - Method in class opennlp.tools.formats.masc.MascPennTagParser
- getBestCategory(double[]) - Method in interface opennlp.tools.doccat.DocumentCategorizer
-
Retrieves the best category from previously generated
outcome
probabilities - getBestCategory(double[]) - Method in class opennlp.tools.doccat.DocumentCategorizerME
- getBestOutcome(double[]) - Method in class opennlp.tools.ml.model.AbstractModel
-
Return the name of the outcome corresponding to the highest likelihood in the parameter ocs.
- getBestOutcome(double[]) - Method in interface opennlp.tools.ml.model.MaxentModel
-
Retrieves the outcome associated with the index containing the highest probability in the double[].
- getBool(String) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getBool(String, boolean) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getBooleanParameter(String, boolean) - Method in class opennlp.tools.util.TrainingParameters
-
Obtains a training parameter value.
- getBooleanParameter(String, String, boolean) - Method in class opennlp.tools.util.TrainingParameters
-
Obtains a training parameter value in the specified namespace.
- getBuildModel() - Method in class opennlp.tools.parser.ParserModel
- getCachedFeatureGenerator() - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
- getCategory() - Method in class opennlp.tools.doccat.DocumentSample
- getCategory(int) - Method in interface opennlp.tools.doccat.DocumentCategorizer
-
Retrieves the category at a given
index
. - getCategory(int) - Method in class opennlp.tools.doccat.DocumentCategorizerME
- getCheckModel() - Method in class opennlp.tools.parser.ParserModel
- getChildCount() - Method in class opennlp.tools.parser.Parse
- getChildren() - Method in class opennlp.tools.parser.Parse
- getChunkerModel() - Method in class opennlp.tools.chunker.ChunkerModel
-
Deprecated.use
ChunkerModel.getChunkerSequenceModel()
instead. This method will be removed soon. - getChunkerSequenceModel() - Method in class opennlp.tools.chunker.ChunkerModel
- getChunkSize() - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
-
After processing a chunk of this size, the probing detection will compute probabilities and determine if there is enough confidence to stop.
- getCommonParent(Parse) - Method in class opennlp.tools.parser.Parse
-
Returns the deepest shared parent of this node and the specified node.
- getConfidence() - Method in class opennlp.tools.langdetect.Language
- getConfidence() - Method in class opennlp.tools.ml.naivebayes.Probabilities
- getConfig() - Method in class opennlp.tools.formats.brat.BratDocument
- getContext() - Method in record class opennlp.tools.langdetect.LanguageSample
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getContext() - Method in class opennlp.tools.ml.model.Event
- getContext(int, Object[], String[]) - Method in class opennlp.tools.postag.DefaultPOSContextGenerator
-
Returns the context for making a postag decision at the specified token
index
given the specifiedtokens
and previoustags
. - getContext(int, String[], String[], Object[]) - Method in class opennlp.tools.lemmatizer.DefaultLemmatizerContextGenerator
- getContext(int, String[], String[], Object[]) - Method in class opennlp.tools.namefind.DefaultNameContextGenerator
-
Finds the context for finding names at the specified index.
- getContext(int, String[], String[], Object[]) - Method in class opennlp.tools.parser.ChunkContextGenerator
-
Deprecated.
- getContext(int, String[], String[], Object[]) - Method in class opennlp.tools.postag.ConfigurablePOSContextGenerator
-
Returns the context for making a postag decision at the specified token
index
given the specifiedtokens
and previoustags
. - getContext(int, String[], String[], Object[]) - Method in class opennlp.tools.postag.DefaultPOSContextGenerator
-
Returns the context for making a postag decision at the specified token
index
given the specifiedtokens
and previoustags
. - getContext(int, String[], String[], Object[]) - Method in interface opennlp.tools.postag.POSContextGenerator
-
Returns the context for making a postag decision at the specified token
index
given the specifiedtokens
and previoustags
. - getContext(int, String[], String[], String[]) - Method in interface opennlp.tools.chunker.ChunkerContextGenerator
-
Retrieves the contexts for chunking of the specified
idx
. - getContext(int, String[], String[], String[]) - Method in class opennlp.tools.chunker.DefaultChunkerContextGenerator
- getContext(int, String[], String[], String[]) - Method in class opennlp.tools.lemmatizer.DefaultLemmatizerContextGenerator
- getContext(int, String[], String[], String[]) - Method in interface opennlp.tools.lemmatizer.LemmatizerContextGenerator
-
Returns the contexts for lemmatizing of the specified index.
- getContext(int, String[], String[], String[]) - Method in class opennlp.tools.parser.ChunkContextGenerator
- getContext(int, String[], String[], String[], Object[]) - Method in class opennlp.tools.chunker.DefaultChunkerContextGenerator
- getContext(int, TokenTag[], String[], Object[]) - Method in class opennlp.tools.chunker.DefaultChunkerContextGenerator
- getContext(int, TokenTag[], String[], Object[]) - Method in class opennlp.tools.parser.ChunkContextGenerator
- getContext(int, T[], String[], Object[]) - Method in interface opennlp.tools.util.BeamSearchContextGenerator
-
Returns the context for the specified position in the specified
sequence
(list). - getContext(CharSequence) - Method in class opennlp.tools.langdetect.DefaultLanguageDetectorContextGenerator
- getContext(CharSequence) - Method in interface opennlp.tools.langdetect.LanguageDetectorContextGenerator
-
Retrieves the contexts for a
document
using character ngrams. - getContext(CharSequence, int) - Method in class opennlp.tools.sentdetect.DefaultSDContextGenerator
- getContext(CharSequence, int) - Method in interface opennlp.tools.sentdetect.SDContextGenerator
-
Returns an array of contextual features for the potential sentence boundary at the specified position within the specified string buffer.
- getContext(Object) - Method in class opennlp.tools.parser.ChunkContextGenerator
-
Deprecated.
- getContext(Object) - Method in class opennlp.tools.parser.chunking.BuildContextGenerator
- getContext(Object) - Method in class opennlp.tools.parser.chunking.CheckContextGenerator
- getContext(Object) - Method in class opennlp.tools.parser.treeinsert.AttachContextGenerator
- getContext(Object) - Method in class opennlp.tools.parser.treeinsert.BuildContextGenerator
- getContext(Object) - Method in class opennlp.tools.parser.treeinsert.CheckContextGenerator
- getContext(String) - Method in class opennlp.tools.ml.maxent.BasicContextGenerator
- getContext(String, int) - Method in class opennlp.tools.tokenize.DefaultTokenContextGenerator
- getContext(String, int) - Method in interface opennlp.tools.tokenize.TokenContextGenerator
- getContext(Parse[], int) - Method in class opennlp.tools.parser.chunking.BuildContextGenerator
-
Finds the predictive context used to determine how constituent at the specified
index
should be combined with other constituents. - getContext(Parse[], int) - Method in class opennlp.tools.parser.treeinsert.BuildContextGenerator
-
Finds the contexts/features for the decision to build a new constituent for the specified parse at the specified
index
. - getContext(Parse[], int, List<Parse>, int) - Method in class opennlp.tools.parser.treeinsert.AttachContextGenerator
-
Finds the predictive contextual features about an attachment.
- getContext(Parse[], String, int, int) - Method in class opennlp.tools.parser.chunking.CheckContextGenerator
-
Finds predictive context for deciding whether the specified constituents between the specified
start
andend
index can be combined to form a new constituent of the specifiedtype
. - getContext(Parse, Parse[], int, boolean) - Method in class opennlp.tools.parser.treeinsert.CheckContextGenerator
-
Finds the predictive context used to determine how constituent at the specified
index
should be combined with aparent
constituent. - getContext(T) - Method in interface opennlp.tools.ml.maxent.ContextGenerator
-
Builds up the list of contextual predicates given an
object
. - getContextGenerator() - Method in class opennlp.tools.chunker.ChunkerFactory
- getContextGenerator() - Method in class opennlp.tools.langdetect.LanguageDetectorFactory
- getContextGenerator() - Method in class opennlp.tools.lemmatizer.LemmatizerFactory
- getContextGenerator() - Method in class opennlp.tools.parser.ParserChunkerFactory
- getContextGenerator() - Method in class opennlp.tools.tokenize.TokenizerFactory
- getContexts() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getContexts() - Method in interface opennlp.tools.ml.model.DataIndexer
- getCount(CharSequence) - Method in class opennlp.tools.ngram.NGramCharModel
-
Retrieves the count of the given
ngram
. - getCount(StringList) - Method in class opennlp.tools.ngram.NGramModel
-
Retrieves the count of the given ngram.
- getCoveredText() - Method in class opennlp.tools.formats.brat.SpanAnnotation
- getCoveredText() - Method in class opennlp.tools.parser.Parse
- getCoveredText(CharSequence) - Method in class opennlp.tools.util.Span
- getCurrent() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
-
Get the current string.
- getCurrPoint() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getCutoff() - Method in class opennlp.tools.ml.AbstractTrainer
- getData() - Method in interface opennlp.tools.cmdline.params.BasicFormatParams
- getDataIndexer(ObjectStream<Event>) - Method in class opennlp.tools.ml.AbstractEventTrainer
- getDataIndexer(TrainingParameters, Map<String, String>) - Static method in class opennlp.tools.ml.model.DataIndexerFactory
-
Instantiates a
DataIndexer
configured viaTrainingParameters
. - getDataStructures() - Method in class opennlp.tools.ml.model.AbstractModel
-
Provides the fundamental data structures which encode the maxent model information.
- getDataType() - Method in interface opennlp.tools.util.wordvector.WordVector
- getDefaultRegexNameFinders(Map<String, Pattern[]>, RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER...) - Static method in class opennlp.tools.namefind.RegexNameFinderFactory
-
Allows for use of selected Defaults as well as regexes from external configuration.
- getDefaultRegexNameFinders(RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER...) - Static method in class opennlp.tools.namefind.RegexNameFinderFactory
-
Retrieves a
RegexNameFinder
that will utilize specified default regexes. - getDeprel() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
- getDeps() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
- getDerivation() - Method in class opennlp.tools.parser.Parse
- getDescriptorElements(InputStream) - Static method in class opennlp.tools.util.featuregen.GeneratorFactory
-
Provides a list with all the elements in the xml feature descriptor.
- getDetokenizer() - Method in interface opennlp.tools.cmdline.params.DetokenizerParameter
- getDictMap() - Method in class opennlp.tools.lemmatizer.DictionaryLemmatizer
- getDimension() - Method in interface opennlp.tools.ml.maxent.quasinewton.Function
- getDimension() - Method in class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
- getDimension() - Method in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer.L2RegFunction
- getDocument() - Method in class opennlp.tools.sentdetect.SentenceSample
- getDocumentAccuracy() - Method in class opennlp.tools.doccat.DoccatCrossValidator
- getDocumentAccuracy() - Method in class opennlp.tools.langdetect.LanguageDetectorCrossValidator
- getDocumentCount() - Method in class opennlp.tools.doccat.DoccatCrossValidator
- getDocumentCount() - Method in class opennlp.tools.doccat.DocumentCategorizerEvaluator
- getDocumentCount() - Method in class opennlp.tools.langdetect.LanguageDetectorCrossValidator
- getDocumentCount() - Method in class opennlp.tools.langdetect.LanguageDetectorEvaluator
- getDocumentId() - Method in class opennlp.tools.formats.conllu.ConlluSentence
- getDouble(String) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getDouble(String, double) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getDoubleParameter(String, double) - Method in class opennlp.tools.util.TrainingParameters
-
Obtains a training parameter value.
- getDoubleParameter(String, String, double) - Method in class opennlp.tools.util.TrainingParameters
-
Obtains a training parameter value in the specified namespace.
- getElement(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
-
Parse a tree element from a AD line
- getElements() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Node
- getEncoding() - Method in interface opennlp.tools.cmdline.params.EncodingParameter
- getEnd() - Method in class opennlp.tools.util.Span
-
Note: that the returned index is one past the actual end of the span in the text, or the first element past the end of the span.
- getEndOfSentenceScanner() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- getEntityIDsToTokens() - Method in class opennlp.tools.formats.masc.MascNamedEntityParser
- getEntityIDtoEntityType() - Method in class opennlp.tools.formats.masc.MascNamedEntityParser
- getEosCharacters() - Method in class opennlp.tools.sentdetect.SentenceModel
- getEOSCharacters() - Method in class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
- getEOSCharacters() - Method in interface opennlp.tools.sentdetect.EndOfSentenceScanner
- getEOSCharacters() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- getEOSCharacters(String) - Method in class opennlp.tools.sentdetect.lang.Factory
- getEvaluator() - Method in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- getEventModelSequenceTrainer(TrainingParameters, Map<String, String>) - Static method in class opennlp.tools.ml.TrainerFactory
-
Retrieves an
EventModelSequenceTrainer
that fits the given parameters. - getEvents() - Method in class opennlp.tools.ml.model.Sequence
- getEventTrainer(TrainingParameters, Map<String, String>) - Static method in class opennlp.tools.ml.TrainerFactory
-
Retrieves an
EventTrainer
that fits the given parameters. - getEventTrigger() - Method in class opennlp.tools.formats.brat.EventAnnotation
- getExtraInformation() - Method in class opennlp.tools.doccat.DocumentSample
- getFactory() - Method in class opennlp.tools.chunker.ChunkerModel
- getFactory() - Method in class opennlp.tools.doccat.DoccatModel
- getFactory() - Method in class opennlp.tools.langdetect.LanguageDetectorModel
- getFactory() - Method in class opennlp.tools.lemmatizer.LemmatizerModel
- getFactory() - Method in class opennlp.tools.namefind.TokenNameFinderModel
- getFactory() - Method in class opennlp.tools.postag.POSModel
- getFactory() - Method in class opennlp.tools.sentdetect.SentenceModel
- getFactory() - Method in class opennlp.tools.tokenize.TokenizerModel
- getFctEvalCount() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getFeats() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
- getFeatureGenerators() - Method in class opennlp.tools.doccat.DoccatFactory
- getFlex() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankFlex
- getFlex() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
- getFloat(String) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getFloat(String, float) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getFMeasure() - Method in class opennlp.tools.chunker.ChunkerCrossValidator
- getFMeasure() - Method in class opennlp.tools.chunker.ChunkerEvaluator
- getFMeasure() - Method in class opennlp.tools.namefind.TokenNameFinderCrossValidator
- getFMeasure() - Method in class opennlp.tools.namefind.TokenNameFinderEvaluator
- getFMeasure() - Method in class opennlp.tools.parser.ParserCrossValidator
- getFMeasure() - Method in class opennlp.tools.parser.ParserEvaluator
- getFMeasure() - Method in class opennlp.tools.sentdetect.SDCrossValidator
- getFMeasure() - Method in class opennlp.tools.sentdetect.SentenceDetectorEvaluator
- getFMeasure() - Method in class opennlp.tools.tokenize.DetokenizerEvaluator
- getFMeasure() - Method in class opennlp.tools.tokenize.TokenizerCrossValidator
- getFMeasure() - Method in class opennlp.tools.tokenize.TokenizerEvaluator
- getFMeasure() - Method in class opennlp.tools.util.eval.FMeasure
-
f-measure = 2 * precision * recall / (precision + recall)
. - getFolds() - Method in interface opennlp.tools.cmdline.params.CVParams
- getForm() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
- getFuncChangeRate() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getFunctionalTag() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- getGenerators() - Method in class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
-
Retrieves a
Collections
of all aggregatedAdaptiveFeatureGenerator
s. - getGradAtCurr() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getGradAtNext() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getHead() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
- getHead() - Method in class opennlp.tools.parser.Parse
- getHead(Parse[], String) - Method in interface opennlp.tools.parser.HeadRules
-
Retrieves the head
constituent
for the specified constituents of giventype
. - getHead(Parse[], String) - Method in class opennlp.tools.parser.lang.en.HeadRules
- getHead(Parse[], String) - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- getHeadIndex() - Method in class opennlp.tools.parser.Parse
- getHeadRules() - Method in class opennlp.tools.parser.ParserModel
- getHelp() - Method in class opennlp.tools.cmdline.chunker.ChunkerMETool
- getHelp() - Method in class opennlp.tools.cmdline.dictionary.DictionaryBuilderTool
- getHelp() - Method in class opennlp.tools.cmdline.doccat.DoccatTool
- getHelp() - Method in class opennlp.tools.cmdline.entitylinker.EntityLinkerTool
- getHelp() - Method in class opennlp.tools.cmdline.langdetect.LanguageDetectorTool
- getHelp() - Method in class opennlp.tools.cmdline.languagemodel.NGramLanguageModelTool
- getHelp() - Method in class opennlp.tools.cmdline.lemmatizer.LemmatizerMETool
- getHelp() - Method in class opennlp.tools.cmdline.namefind.CensusDictionaryCreatorTool
- getHelp() - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderTool
- getHelp() - Method in class opennlp.tools.cmdline.parser.ParserTool
- getHelp() - Method in class opennlp.tools.cmdline.parser.TaggerModelReplacerTool
- getHelp() - Method in class opennlp.tools.cmdline.postag.POSTaggerTool
- getHelp() - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorTool
- getHelp() - Method in class opennlp.tools.cmdline.tokenizer.DictionaryDetokenizerTool
- getHelp() - Method in class opennlp.tools.cmdline.tokenizer.SimpleTokenizerTool
- getHelp() - Method in class opennlp.tools.cmdline.tokenizer.TokenizerMETool
- getId() - Method in class opennlp.tools.formats.brat.BratAnnotation
- getId() - Method in class opennlp.tools.formats.brat.BratDocument
- getId() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
- getId() - Method in class opennlp.tools.formats.masc.MascWord
- getId() - Method in class opennlp.tools.namefind.NameSample
- getIndex(String) - Method in interface opennlp.tools.doccat.DocumentCategorizer
-
Retrieves the index of a certain category.
- getIndex(String) - Method in class opennlp.tools.doccat.DocumentCategorizerME
- getIndex(String) - Method in class opennlp.tools.ml.model.AbstractModel
- getIndex(String) - Method in interface opennlp.tools.ml.model.MaxentModel
-
Retrieves the index associated with the String name of the given outcome.
- getInitialChunks(Parse) - Static method in class opennlp.tools.parser.AbstractParserEventStream
- getInitialChunks(Parse) - Static method in class opennlp.tools.parser.ChunkSampleStream
- getInitialObject(double, double[], double[]) - Static method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
-
Initial linear search object.
- getInitialObject(double, double[], double[], double[], double[], int) - Static method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getInitialObjectForL1(double, double[], double[], double[]) - Static method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
-
Initial linear search object for L1-regularization.
- getInitialPoint() - Method in class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
- getInstance() - Static method in class opennlp.tools.util.normalizer.EmojiCharSequenceNormalizer
- getInstance() - Static method in class opennlp.tools.util.normalizer.NumberCharSequenceNormalizer
- getInstance() - Static method in class opennlp.tools.util.normalizer.ShrinkCharSequenceNormalizer
- getInstance() - Static method in class opennlp.tools.util.normalizer.TwitterCharSequenceNormalizer
- getInstance() - Static method in class opennlp.tools.util.normalizer.UrlCharSequenceNormalizer
- getInt(String) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getInt(String, int) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getIntParameter(String, int) - Method in class opennlp.tools.util.TrainingParameters
-
Obtains a training parameter value.
- getIntParameter(String, String, int) - Method in class opennlp.tools.util.TrainingParameters
-
Obtains a training parameter value in the specified namespace.
- getItemID() - Method in class opennlp.tools.entitylinker.BaseLink
- getItemName() - Method in class opennlp.tools.entitylinker.BaseLink
- getItemParentID() - Method in class opennlp.tools.entitylinker.BaseLink
- getItemType() - Method in class opennlp.tools.entitylinker.BaseLink
- getIterations() - Method in class opennlp.tools.ml.AbstractTrainer
- getKeys() - Method in class opennlp.tools.ml.naivebayes.Probabilities
- getLabel() - Method in class opennlp.tools.ml.naivebayes.LogProbability
- getLabel() - Method in class opennlp.tools.ml.naivebayes.Probability
- getLabel() - Method in class opennlp.tools.parser.Constituent
-
Returns the label of the constituent.
- getLabel() - Method in class opennlp.tools.parser.Parse
-
Retrieves the label assigned to this parse node during parsing which specifies how this node will be formed into a constituent.
- getLabelComparator(Map<String, FineGrainedReportListener.Counter>) - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderFineGrainedReportListener
- getLang() - Method in interface opennlp.tools.cmdline.params.LanguageParams
- getLang() - Method in class opennlp.tools.formats.AbstractSampleStreamFactory
- getLang() - Method in class opennlp.tools.formats.LanguageSampleStreamFactory
- getLang() - Method in class opennlp.tools.langdetect.Language
- getLanguage() - Method in record class opennlp.tools.langdetect.LanguageSample
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getLanguage() - Method in interface opennlp.tools.util.model.ArtifactProvider
- getLanguage() - Method in class opennlp.tools.util.model.BaseModel
- getLanguageCode() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- getLanguageCode() - Method in class opennlp.tools.tokenize.TokenizerFactory
- getLanguages() - Method in record class opennlp.tools.langdetect.ProbingLanguageDetectionResult
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getLemma() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- getLemma() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
- getLemmas() - Method in class opennlp.tools.lemmatizer.LemmaSample
- getLemmatizerSequenceModel() - Method in class opennlp.tools.lemmatizer.LemmatizerModel
- getLength() - Method in record class opennlp.tools.langdetect.ProbingLanguageDetectionResult
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getLevel() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
- getLexeme() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- getLinkedEntries() - Method in class opennlp.tools.entitylinker.LinkedSpan
- getLinker(String, EntityLinkerProperties) - Static method in class opennlp.tools.entitylinker.EntityLinkerFactory
-
Retrieves a
EntityLinker
instance matching theproperties
configuration. - getLinker(EntityLinkerProperties) - Static method in class opennlp.tools.entitylinker.EntityLinkerFactory
-
Retrieves a
EntityLinker
instance matching theproperties
configuration. - getLog() - Method in class opennlp.tools.ml.naivebayes.LogProbability
- getLog() - Method in class opennlp.tools.ml.naivebayes.Probability
- getLog(T) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
- getLog(T) - Method in class opennlp.tools.ml.naivebayes.Probabilities
- getLong(String) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getLong(String, long) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getMajor() - Method in class opennlp.tools.util.Version
- getManifestProperty(String) - Method in interface opennlp.tools.util.model.ArtifactProvider
- getManifestProperty(String) - Method in class opennlp.tools.util.model.BaseModel
- getMatchingPatterns() - Method in class opennlp.tools.namefind.RegexNameFinder
- getMatrixLabelComparator(Map<String, FineGrainedReportListener.ConfusionMatrixLine>) - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderFineGrainedReportListener
- getMax() - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
- getMax() - Method in class opennlp.tools.ml.naivebayes.Probabilities
- getMaxentModel() - Method in class opennlp.tools.doccat.DoccatModel
- getMaxentModel() - Method in class opennlp.tools.langdetect.LanguageDetectorModel
- getMaxentModel() - Method in class opennlp.tools.sentdetect.SentenceModel
- getMaxentModel() - Method in class opennlp.tools.tokenize.TokenizerModel
- getMaxLength() - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
- getMaxTokenCount() - Method in class opennlp.tools.dictionary.Dictionary
- getMaxTokenLength() - Method in class opennlp.tools.tokenize.WordpieceTokenizer
- getMaxValue() - Method in class opennlp.tools.ml.naivebayes.Probabilities
- getMetadata() - Method in class opennlp.tools.formats.ad.ADSentenceStream.Sentence
- getMinConsecImprovements() - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
-
If this value equals
0
, probing detection will rely solely onLanguageDetectorConfig.getMinDiff()
- getMinDiff() - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
-
If this value equals
0
, probing detection will rely solely onLanguageDetectorConfig.getMinConsecImprovements()
- getMinor() - Method in class opennlp.tools.util.Version
- getMinTokenCount() - Method in class opennlp.tools.dictionary.Dictionary
- getMisc() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
- getMisclassified() - Method in interface opennlp.tools.cmdline.params.CVParams
- getMisclassified() - Method in interface opennlp.tools.cmdline.params.EvaluatorParams
- getModel() - Method in interface opennlp.tools.cmdline.params.EvaluatorParams
- getModel() - Method in interface opennlp.tools.cmdline.params.TrainingToolParams
- getModel() - Method in class opennlp.tools.ml.model.AbstractModelReader
- getModelType() - Method in class opennlp.tools.ml.model.AbstractModel
- getMorphologicalTag() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
- getName() - Method in class opennlp.tools.cmdline.chunker.ChunkerTrainerTool
- getName() - Method in class opennlp.tools.cmdline.lemmatizer.LemmatizerTrainerTool
- getNameCounters() - Method in class opennlp.tools.cmdline.namefind.NameSampleCountersStream
- getNamedEntities() - Method in class opennlp.tools.formats.masc.MascSentence
- getNameFinderSequenceModel() - Method in class opennlp.tools.namefind.TokenNameFinderModel
- getNames() - Method in class opennlp.tools.namefind.NameSample
- getNextPoint() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getNextPunctuationSet() - Method in class opennlp.tools.parser.Parse
- getNGrams(String[], int) - Static method in class opennlp.tools.ngram.NGramUtils
-
Get the ngrams of dimension n of a certain input sequence of tokens.
- getNGrams(StringList, int) - Static method in class opennlp.tools.ngram.NGramUtils
-
Get the ngrams of dimension n of a certain input sequence of tokens.
- getNMinusOneTokenFirst(StringList) - Static method in class opennlp.tools.ngram.NGramUtils
-
get the (n-1)th ngram of a given ngram, that is the same ngram except the last word in the ngram
- getNMinusOneTokenLast(StringList) - Static method in class opennlp.tools.ngram.NGramUtils
-
get the (n-1)th ngram of a given ngram, that is the same ngram except the first word in the ngram
- getNonTokenizedText() - Method in class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtSentence
- getNote() - Method in class opennlp.tools.formats.brat.BratAnnotation
- getNumberOfCacheHits() - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
- getNumberOfCacheMisses() - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
- getNumberOfCategories() - Method in interface opennlp.tools.doccat.DocumentCategorizer
-
Retrieves the number of categories.
- getNumberOfCategories() - Method in class opennlp.tools.doccat.DocumentCategorizerME
- getNumEvents() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getNumEvents() - Method in interface opennlp.tools.ml.model.DataIndexer
- getNumOutcomes() - Method in class opennlp.tools.ml.maxent.quasinewton.QNModel
- getNumOutcomes() - Method in class opennlp.tools.ml.model.AbstractModel
- getNumOutcomes() - Method in class opennlp.tools.ml.model.DynamicEvalParameters
- getNumOutcomes() - Method in class opennlp.tools.ml.model.EvalParameters
- getNumOutcomes() - Method in interface opennlp.tools.ml.model.MaxentModel
- getNumTimesEventsSeen() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getNumTimesEventsSeen() - Method in interface opennlp.tools.ml.model.DataIndexer
- getObjectSettings() - Method in class opennlp.tools.util.TrainingParameters
- getObjectSettings(String) - Method in class opennlp.tools.util.TrainingParameters
- getOntoNotesDir() - Method in interface opennlp.tools.formats.ontonotes.OntoNotesFormatParameters
- getOrderedTags(List<String>, List<String>, int) - Method in class opennlp.tools.postag.POSTaggerME
- getOrderedTags(List<String>, List<String>, int, double[]) - Method in class opennlp.tools.postag.POSTaggerME
- getOriginal() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
- getOutcome() - Method in class opennlp.tools.ml.model.Event
- getOutcome(int) - Method in class opennlp.tools.ml.model.AbstractModel
- getOutcome(int) - Method in interface opennlp.tools.ml.model.MaxentModel
-
Retrieves the String name of the outcome associated with the index
i
. - getOutcome(int) - Method in class opennlp.tools.util.Sequence
- getOutcomeLabels() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getOutcomeLabels() - Method in interface opennlp.tools.ml.model.DataIndexer
- getOutcomeList() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getOutcomeList() - Method in interface opennlp.tools.ml.model.DataIndexer
- getOutcomes() - Method in class opennlp.tools.ml.BeamSearch
- getOutcomes() - Method in class opennlp.tools.ml.model.Context
- getOutcomes() - Method in interface opennlp.tools.ml.model.SequenceClassificationModel
- getOutcomes() - Method in class opennlp.tools.util.Sequence
- getOutcomeTotals() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesEvalParameters
- getParagraphId() - Method in class opennlp.tools.formats.conllu.ConlluSentence
- getParameters() - Method in class opennlp.tools.formats.AbstractSampleStreamFactory
- getParameters() - Method in class opennlp.tools.ml.model.Context
- getParameters(String) - Method in class opennlp.tools.util.TrainingParameters
- getParams() - Method in interface opennlp.tools.cmdline.params.BasicTrainingParams
- getParams() - Method in class opennlp.tools.ml.model.DynamicEvalParameters
- getParams() - Method in class opennlp.tools.ml.model.EvalParameters
- getParent() - Method in class opennlp.tools.parser.Parse
- getParserChunkerModel() - Method in class opennlp.tools.parser.ParserModel
- getParserTaggerModel() - Method in class opennlp.tools.parser.ParserModel
- getParserType() - Method in class opennlp.tools.parser.ParserModel
- getPhrasesAsSpanList() - Method in class opennlp.tools.chunker.ChunkSample
- getPos() - Method in class opennlp.tools.formats.masc.MascToken
- getPOSContextGenerator() - Method in class opennlp.tools.postag.POSTaggerFactory
- getPOSContextGenerator(int) - Method in class opennlp.tools.postag.POSTaggerFactory
- getPositions(char[]) - Method in class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
- getPositions(char[]) - Method in interface opennlp.tools.sentdetect.EndOfSentenceScanner
-
The receiver scans
cbuf
for sentence ending characters and returns their offsets. - getPositions(CharSequence) - Method in class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
- getPositions(CharSequence) - Method in interface opennlp.tools.sentdetect.EndOfSentenceScanner
-
The receiver scans the specified string for sentence ending characters and returns their offsets.
- getPositions(StringBuffer) - Method in class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
- getPositions(StringBuffer) - Method in interface opennlp.tools.sentdetect.EndOfSentenceScanner
-
The receiver scans
buf
for sentence ending characters and returns their offsets. - getPosModel() - Method in class opennlp.tools.postag.POSModel
-
Deprecated.use
POSModel.getPosSequenceModel()
instead. This method will be removed soon. Only required for Parser 1.5.x backward compatibility. Newer models don't need this anymore. - getPosSequenceModel() - Method in class opennlp.tools.postag.POSModel
- getPosTag(ConlluTagset) - Method in class opennlp.tools.formats.conllu.ConlluWordLine
- getPrecisionScore() - Method in class opennlp.tools.util.eval.FMeasure
- getPredCounts() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getPredCounts() - Method in interface opennlp.tools.ml.model.DataIndexer
- getPredLabels() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getPredLabels() - Method in interface opennlp.tools.ml.model.DataIndexer
- getPreds() - Method in class opennlp.tools.chunker.ChunkSample
- getPreviousPunctuationSet() - Method in class opennlp.tools.parser.Parse
- getProb() - Method in class opennlp.tools.parser.Parse
- getProb() - Method in class opennlp.tools.util.Span
- getProb(int) - Method in class opennlp.tools.util.Sequence
- getProbs() - Method in class opennlp.tools.util.Sequence
- getProbs(double[]) - Method in class opennlp.tools.util.Sequence
-
Populates an array with the probabilities associated with the
Sequence
outcomes. - getProperty(String, String) - Method in class opennlp.tools.entitylinker.EntityLinkerProperties
-
Retrieves a property value for a given
key
. - getPseudoGradAtNext() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getPunctuationTags() - Method in interface opennlp.tools.parser.HeadRules
- getPunctuationTags() - Method in class opennlp.tools.parser.lang.en.HeadRules
- getPunctuationTags() - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- getQuarks() - Method in class opennlp.tools.formats.masc.MascToken
- getRecallScore() - Method in class opennlp.tools.util.eval.FMeasure
- getRegexMap() - Method in interface opennlp.tools.namefind.RegexNameFinderFactory.RegexAble
- getReportOutputFile() - Method in interface opennlp.tools.cmdline.params.FineGrainedEvaluatorParams
- getResource(String) - Method in interface opennlp.tools.util.featuregen.FeatureGeneratorResourceProvider
- getResultBuffer() - Method in class opennlp.tools.stemmer.PorterStemmer
-
Returns a reference to a character buffer containing the results of the stemming process.
- getResultLength() - Method in class opennlp.tools.stemmer.PorterStemmer
-
Returns the length of the word resulting from the stemming process.
- getRevision() - Method in class opennlp.tools.util.Version
- getRightFrontier(Parse, Set<String>) - Static method in class opennlp.tools.parser.treeinsert.Parser
-
Returns the right frontier of the specified
tree
with nodes ordered from deepest to shallowest. - getRoot() - Method in class opennlp.tools.formats.ad.ADSentenceStream.Sentence
- getScore() - Method in class opennlp.tools.util.Sequence
- getScoreMap() - Method in class opennlp.tools.entitylinker.BaseLink
- getSDContextGenerator() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- getSearchTerm() - Method in class opennlp.tools.entitylinker.LinkedSpan
- getSecondaryTag() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- getSegments() - Method in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument
- getSentDetectText() - Method in class opennlp.tools.formats.masc.MascSentence
- getSentence() - Method in class opennlp.tools.chunker.ChunkSample
- getSentence() - Method in class opennlp.tools.namefind.NameSample
- getSentence() - Method in class opennlp.tools.postag.POSSample
- getSentenceCount() - Method in class opennlp.tools.cmdline.namefind.NameSampleCountersStream
- getSentenceid() - Method in class opennlp.tools.entitylinker.LinkedSpan
- getSentenceIdComment() - Method in class opennlp.tools.formats.conllu.ConlluSentence
- getSentenceProbabilities() - Method in class opennlp.tools.sentdetect.SentenceDetectorME
-
Returns the probabilities associated with the most recent calls to
SentenceDetectorME.sentDetect(CharSequence)
. - getSentences() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument
- getSentences() - Method in class opennlp.tools.formats.letsmt.LetsmtDocument
- getSentences() - Method in class opennlp.tools.sentdetect.SentenceSample
- getSequenceCodec() - Method in class opennlp.tools.namefind.TokenNameFinderModel
- getSequenceModelTrainer(TrainingParameters, Map<String, String>) - Static method in class opennlp.tools.ml.TrainerFactory
-
Retrieves a
SequenceTrainer
that fits the given parameters. - getSequenceValidator() - Method in class opennlp.tools.chunker.ChunkerFactory
- getSequenceValidator() - Method in class opennlp.tools.lemmatizer.LemmatizerFactory
- getSequenceValidator() - Method in class opennlp.tools.parser.ParserChunkerFactory
- getSequenceValidator() - Method in class opennlp.tools.postag.POSTaggerFactory
- getShortDescription() - Method in class opennlp.tools.cmdline.chunker.ChunkerCrossValidatorTool
- getShortDescription() - Method in class opennlp.tools.cmdline.chunker.ChunkerEvaluatorTool
- getShortDescription() - Method in class opennlp.tools.cmdline.chunker.ChunkerMETool
- getShortDescription() - Method in class opennlp.tools.cmdline.chunker.ChunkerTrainerTool
- getShortDescription() - Method in class opennlp.tools.cmdline.dictionary.DictionaryBuilderTool
- getShortDescription() - Method in class opennlp.tools.cmdline.doccat.DoccatCrossValidatorTool
- getShortDescription() - Method in class opennlp.tools.cmdline.doccat.DoccatEvaluatorTool
- getShortDescription() - Method in class opennlp.tools.cmdline.doccat.DoccatTool
- getShortDescription() - Method in class opennlp.tools.cmdline.doccat.DoccatTrainerTool
- getShortDescription() - Method in class opennlp.tools.cmdline.entitylinker.EntityLinkerTool
- getShortDescription() - Method in class opennlp.tools.cmdline.langdetect.LanguageDetectorCrossValidatorTool
- getShortDescription() - Method in class opennlp.tools.cmdline.langdetect.LanguageDetectorEvaluatorTool
- getShortDescription() - Method in class opennlp.tools.cmdline.langdetect.LanguageDetectorTool
- getShortDescription() - Method in class opennlp.tools.cmdline.langdetect.LanguageDetectorTrainerTool
- getShortDescription() - Method in class opennlp.tools.cmdline.languagemodel.NGramLanguageModelTool
- getShortDescription() - Method in class opennlp.tools.cmdline.lemmatizer.LemmatizerEvaluatorTool
- getShortDescription() - Method in class opennlp.tools.cmdline.lemmatizer.LemmatizerMETool
- getShortDescription() - Method in class opennlp.tools.cmdline.lemmatizer.LemmatizerTrainerTool
- getShortDescription() - Method in class opennlp.tools.cmdline.namefind.CensusDictionaryCreatorTool
- getShortDescription() - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderCrossValidatorTool
- getShortDescription() - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderEvaluatorTool
- getShortDescription() - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderTool
- getShortDescription() - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderTrainerTool
- getShortDescription() - Method in class opennlp.tools.cmdline.parser.BuildModelUpdaterTool
- getShortDescription() - Method in class opennlp.tools.cmdline.parser.CheckModelUpdaterTool
- getShortDescription() - Method in class opennlp.tools.cmdline.parser.ParserEvaluatorTool
- getShortDescription() - Method in class opennlp.tools.cmdline.parser.ParserTool
- getShortDescription() - Method in class opennlp.tools.cmdline.parser.ParserTrainerTool
- getShortDescription() - Method in class opennlp.tools.cmdline.parser.TaggerModelReplacerTool
- getShortDescription() - Method in class opennlp.tools.cmdline.postag.POSTaggerCrossValidatorTool
- getShortDescription() - Method in class opennlp.tools.cmdline.postag.POSTaggerEvaluatorTool
- getShortDescription() - Method in class opennlp.tools.cmdline.postag.POSTaggerTool
- getShortDescription() - Method in class opennlp.tools.cmdline.postag.POSTaggerTrainerTool
- getShortDescription() - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorCrossValidatorTool
- getShortDescription() - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorEvaluatorTool
- getShortDescription() - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorTool
- getShortDescription() - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorTrainerTool
- getShortDescription() - Method in class opennlp.tools.cmdline.tokenizer.DictionaryDetokenizerTool
- getShortDescription() - Method in class opennlp.tools.cmdline.tokenizer.SimpleTokenizerTool
- getShortDescription() - Method in class opennlp.tools.cmdline.tokenizer.TokenizerCrossValidatorTool
- getShortDescription() - Method in class opennlp.tools.cmdline.tokenizer.TokenizerMEEvaluatorTool
- getShortDescription() - Method in class opennlp.tools.cmdline.tokenizer.TokenizerMETool
- getShortDescription() - Method in class opennlp.tools.cmdline.tokenizer.TokenizerTrainerTool
- getShortestEditScript(String, String) - Static method in class opennlp.tools.util.StringUtil
- getSignVector() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getSize() - Method in class opennlp.tools.util.Sequence
- getSource() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
- getSource() - Method in class opennlp.tools.ml.model.Sequence
-
This object is used when the events for this sequence need to be re-derived such as in a call to
SequenceStream.updateContext(Sequence, AbstractModel)
. - getSpan() - Method in class opennlp.tools.parser.Constituent
-
Returns the span of the constituent.
- getSpan() - Method in class opennlp.tools.parser.Parse
- getSpans() - Method in class opennlp.tools.formats.brat.SpanAnnotation
- getSpanType() - Method in class opennlp.tools.namefind.RegexNameFinder
- getStart() - Method in class opennlp.tools.util.Span
- getStepSize() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getStr(String) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getStr(String, String) - Method in class opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- getStringParameter(String, String) - Method in class opennlp.tools.util.TrainingParameters
-
Obtains a training parameter value.
- getStringParameter(String, String, String) - Method in class opennlp.tools.util.TrainingParameters
-
Obtains a training parameter value in the specified namespace.
- getSupportedLanguages() - Method in interface opennlp.tools.langdetect.LanguageDetector
- getSupportedLanguages() - Method in class opennlp.tools.langdetect.LanguageDetectorME
- getSurface() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankFlex
- getSyntacticTag() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
- getTag() - Method in record class opennlp.tools.util.TokenTag
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getTagDictionary() - Method in class opennlp.tools.postag.POSTaggerFactory
- getTagNodes() - Method in class opennlp.tools.parser.Parse
- getTags() - Method in class opennlp.tools.chunker.ChunkSample
- getTags() - Method in class opennlp.tools.formats.masc.MascPennTagParser
- getTags() - Method in class opennlp.tools.formats.masc.MascSentence
- getTags() - Method in class opennlp.tools.lemmatizer.LemmaSample
- getTags() - Method in class opennlp.tools.postag.POSSample
- getTags(String) - Method in class opennlp.tools.postag.POSDictionary
-
Returns a list of valid tags for the specified
word
. - getTags(String) - Method in interface opennlp.tools.postag.TagDictionary
-
Retrieves a list of valid tags for the specified
word
. - getTagSequenceProb() - Method in class opennlp.tools.parser.Parse
- getTestSampleStream() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner.TrainingSampleStream
-
Retrieves the
ObjectStream
over the test/evaluations elements and poisons thisCrossValidationPartitioner.TrainingSampleStream
. - getText() - Method in class opennlp.tools.doccat.DocumentSample
- getText() - Method in class opennlp.tools.formats.ad.ADSentenceStream.Sentence
- getText() - Method in class opennlp.tools.formats.brat.BratDocument
- getText() - Method in class opennlp.tools.parser.Parse
- getText() - Method in class opennlp.tools.tokenize.TokenSample
- getTextComment() - Method in class opennlp.tools.formats.conllu.ConlluSentence
- getTextLang() - Method in class opennlp.tools.formats.conllu.ConlluSentence
- getToken() - Method in record class opennlp.tools.util.TokenTag
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getToken(int) - Method in class opennlp.tools.util.StringList
- getTokenCount() - Method in class opennlp.tools.cmdline.namefind.NameSampleCountersStream
- getTokenId() - Method in class opennlp.tools.formats.masc.MascToken
- getTokenNodes() - Method in class opennlp.tools.parser.Parse
- getTokenProbabilities() - Method in class opennlp.tools.tokenize.TokenizerME
- getTokens() - Method in record class opennlp.tools.dictionary.serializer.Entry
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getTokens() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
- getTokens() - Method in class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtSentence
- getTokens() - Method in class opennlp.tools.lemmatizer.LemmaSample
- getTokenSample() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
- getTokenSpans() - Method in class opennlp.tools.tokenize.TokenSample
- getTokensSpans() - Method in class opennlp.tools.formats.masc.MascSentence
-
Retrieves the boundaries of individual tokens.
- getTokenStrings() - Method in class opennlp.tools.formats.masc.MascSentence
- getTokenText() - Method in class opennlp.tools.formats.masc.MascSentence
- getTokenToQuarks() - Method in class opennlp.tools.formats.masc.MascPennTagParser
- getTrainerType(TrainingParameters) - Static method in class opennlp.tools.ml.TrainerFactory
-
Determines the
TrainerFactory.TrainerType
based on theAbstractTrainer.ALGORITHM_PARAM
value. - getTranslation() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
- getTranslit() - Method in class opennlp.tools.formats.conllu.ConlluSentence
- getType() - Method in class opennlp.tools.formats.brat.BratAnnotation
- getType() - Method in interface opennlp.tools.namefind.RegexNameFinderFactory.RegexAble
- getType() - Method in class opennlp.tools.parser.Parse
- getType() - Method in class opennlp.tools.util.Span
- getTypeClass(String) - Method in class opennlp.tools.formats.brat.AnnotationConfiguration
- getValue() - Method in class opennlp.tools.formats.brat.AttributeAnnotation
- getValue() - Method in class opennlp.tools.util.MutableInt
- getValue(String) - Method in class opennlp.tools.dictionary.serializer.Attributes
-
Retrieves the value for the given key or
null
if attribute it not set. - getValueAtCurr() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getValueAtNext() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getValues() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getValues() - Method in interface opennlp.tools.ml.model.DataIndexer
- getValues() - Method in class opennlp.tools.ml.model.Event
- getValues() - Method in class opennlp.tools.ml.model.OnePassRealValueDataIndexer
- getVersion() - Method in class opennlp.tools.util.model.BaseModel
- getVocabulary() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesEvalParameters
- getWordAccuracy() - Method in class opennlp.tools.lemmatizer.LemmatizerEvaluator
-
Accuracy is defined as:
word accuracy = correctly detected tags / total words
- getWordAccuracy() - Method in class opennlp.tools.postag.POSEvaluator
-
Accuracy defined as:
word accuracy = correctly detected tags / total words
- getWordAccuracy() - Method in class opennlp.tools.postag.POSTaggerCrossValidator
- getWordClasses(String, BrownCluster) - Static method in class opennlp.tools.util.featuregen.BrownTokenClasses
-
It provides a list containing the pathLengths for a token if found in the Map:token,BrownClass.
- getWordCount() - Method in class opennlp.tools.lemmatizer.LemmatizerEvaluator
- getWordCount() - Method in class opennlp.tools.postag.POSEvaluator
- getWordCount() - Method in class opennlp.tools.postag.POSTaggerCrossValidator
- getWordLines() - Method in class opennlp.tools.formats.conllu.ConlluSentence
- GISModel - Class in opennlp.tools.ml.maxent
-
A maximum entropy model which has been trained using the Generalized Iterative Scaling (GIS) procedure.
- GISModel(Context[], String[], String[]) - Constructor for class opennlp.tools.ml.maxent.GISModel
-
Initializes a
GISModel
with the specified parameters, outcome names, and predicate/feature labels. - GISModel(Context[], String[], String[], Prior) - Constructor for class opennlp.tools.ml.maxent.GISModel
-
Initializes a
GISModel
with the specified parameters, outcome names, and predicate/feature labels. - GISModelReader - Class in opennlp.tools.ml.maxent.io
-
The base class for readers of
GIS models
. - GISModelReader(File) - Constructor for class opennlp.tools.ml.maxent.io.GISModelReader
-
Initializes a
GISModelReader
via aFile
. - GISModelReader(DataReader) - Constructor for class opennlp.tools.ml.maxent.io.GISModelReader
-
Initializes a
GISModelReader
via aDataReader
. - GISModelWriter - Class in opennlp.tools.ml.maxent.io
-
The base class for writers of
GIS models
. - GISModelWriter(AbstractModel) - Constructor for class opennlp.tools.ml.maxent.io.GISModelWriter
-
Initializes a
GISModelWriter
for aGIS model
. - GISTrainer - Class in opennlp.tools.ml.maxent
-
An implementation of Generalized Iterative Scaling (GIS).
- GISTrainer() - Constructor for class opennlp.tools.ml.maxent.GISTrainer
-
Initializes a
GISTrainer
. - Glove - Class in opennlp.tools.util.wordvector
-
GloVe is an unsupervised learning algorithm for obtaining vector representations for words.
- gradientAt(double[]) - Method in interface opennlp.tools.ml.maxent.quasinewton.Function
- gradientAt(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
-
Computes the gradient.
- gradientAt(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.ParallelNegLogLikelihood
-
Computes the gradient.
- gradientAt(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer.L2RegFunction
- GREEK - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- greekStemmer - Class in opennlp.tools.stemmer.snowball
-
This class was automatically generated by a Snowball to Java compiler It implements the stemming algorithm defined by a snowball script.
- greekStemmer() - Constructor for class opennlp.tools.stemmer.snowball.greekStemmer
H
- hashCode() - Method in class opennlp.tools.chunker.ChunkSample
- hashCode() - Method in class opennlp.tools.dictionary.Dictionary
- hashCode() - Method in record class opennlp.tools.dictionary.serializer.Entry
-
Returns a hash code value for this object.
- hashCode() - Method in class opennlp.tools.doccat.DocumentSample
- hashCode() - Method in class opennlp.tools.entitylinker.BaseLink
- hashCode() - Method in class opennlp.tools.entitylinker.LinkedSpan
- hashCode() - Method in class opennlp.tools.langdetect.Language
- hashCode() - Method in record class opennlp.tools.langdetect.LanguageSample
-
Returns a hash code value for this object.
- hashCode() - Method in record class opennlp.tools.langdetect.ProbingLanguageDetectionResult
-
Returns a hash code value for this object.
- hashCode() - Method in class opennlp.tools.lemmatizer.LemmaSample
- hashCode() - Method in class opennlp.tools.ml.maxent.GISModel
- hashCode() - Method in class opennlp.tools.ml.model.AbstractModel
- hashCode() - Method in class opennlp.tools.ml.model.ComparableEvent
- hashCode() - Method in class opennlp.tools.ml.model.ComparablePredicate
- hashCode() - Method in class opennlp.tools.ml.model.Context
- hashCode() - Method in class opennlp.tools.ml.model.EvalParameters
- hashCode() - Method in class opennlp.tools.ml.model.UniformPrior
- hashCode() - Method in class opennlp.tools.ml.perceptron.PerceptronModel
- hashCode() - Method in class opennlp.tools.namefind.NameSample
- hashCode() - Method in class opennlp.tools.ngram.NGramCharModel
- hashCode() - Method in class opennlp.tools.ngram.NGramModel
- hashCode() - Method in class opennlp.tools.parser.lang.en.HeadRules
- hashCode() - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- hashCode() - Method in class opennlp.tools.parser.Parse
- hashCode() - Method in class opennlp.tools.parser.ParserModel
- hashCode() - Method in class opennlp.tools.postag.POSDictionary
- hashCode() - Method in class opennlp.tools.postag.POSModel
- hashCode() - Method in class opennlp.tools.postag.POSSample
- hashCode() - Method in class opennlp.tools.sentdetect.SentenceSample
- hashCode() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.catalanStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.indonesianStemmer
- hashCode() - Method in class opennlp.tools.stemmer.snowball.irishStemmer
- hashCode() - Method in class opennlp.tools.tokenize.TokenizerModel
- hashCode() - Method in class opennlp.tools.tokenize.TokenSample
- hashCode() - Method in class opennlp.tools.util.Sequence
- hashCode() - Method in class opennlp.tools.util.Span
- hashCode() - Method in class opennlp.tools.util.StringList
- hashCode() - Method in record class opennlp.tools.util.TokenTag
-
Returns a hash code value for this object.
- hashCode() - Method in class opennlp.tools.util.Version
- HashSumEventStream - Class in opennlp.tools.ml.model
-
A hash sum based
AbstractObjectStream
implementation. - HashSumEventStream(ObjectStream<Event>) - Constructor for class opennlp.tools.ml.model.HashSumEventStream
- hasNamedEntities() - Method in class opennlp.tools.formats.masc.MascDocument
-
Checks whether there is NER by GATE-5.0 ANNIE.
- hasNext() - Method in interface opennlp.tools.ml.maxent.DataStream
-
Test whether there are any events remaining in this
DataStream
. - hasNext() - Method in class opennlp.tools.tokenize.lang.en.TokenSampleStream
- hasNext() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner
-
Checks if there are more partitions available.
- hasNext() - Method in class opennlp.tools.util.ReverseListIterator
- hasParams() - Method in class opennlp.tools.cmdline.tokenizer.SimpleTokenizerTool
- hasPennTags() - Method in class opennlp.tools.formats.masc.MascDocument
-
Checks whether there is Penn tagging produced by GATE-5.0 ANNIE.
- HeadRules - Class in opennlp.tools.parser.lang.en
-
Class for storing the English
HeadRules
associated with parsing. - HeadRules - Interface in opennlp.tools.parser
-
Encoder for head rules associated with parsing.
- HeadRules(Reader) - Constructor for class opennlp.tools.parser.lang.en.HeadRules
-
Creates a new set of head rules based on the specified reader.
- HeadRules(String) - Constructor for class opennlp.tools.parser.lang.en.HeadRules
-
Deprecated.Use
HeadRules(Reader)
instead. - HeadRules.HeadRulesSerializer - Class in opennlp.tools.parser.lang.en
- HeadRulesSerializer() - Constructor for class opennlp.tools.parser.lang.en.HeadRules.HeadRulesSerializer
- HeadRulesSerializer() - Constructor for class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules.HeadRulesSerializer
- HUNGARIAN - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
I
- ID - Static variable in class opennlp.tools.util.ext.ExtensionServiceKeys
-
Property key for the unique
id
which identifies an OpenNLP extension service. - INC_NODE - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
The label for the top if an incomplete node.
- INCOMPLETE - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
Outcome used when a constituent is incomplete.
- increment() - Method in class opennlp.tools.util.MutableInt
-
Adds
1
to the curren value. - index(ObjectStream<Event>) - Method in interface opennlp.tools.ml.model.DataIndexer
-
Performs the data indexing.
- index(ObjectStream<Event>) - Method in class opennlp.tools.ml.model.OnePassDataIndexer
-
Performs the data indexing.
- index(ObjectStream<Event>) - Method in class opennlp.tools.ml.model.TwoPassDataIndexer
-
Performs the data indexing.
- Index - Class in opennlp.tools.dictionary
-
This classes indexes
string lists
. - Index(Iterator<StringList>) - Constructor for class opennlp.tools.dictionary.Index
- indexOf(Parse) - Method in class opennlp.tools.parser.Parse
- INDONESIAN - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- indonesianStemmer - Class in opennlp.tools.stemmer.snowball
-
This class implements the stemming algorithm defined by a snowball script.
- indonesianStemmer() - Constructor for class opennlp.tools.stemmer.snowball.indonesianStemmer
- init() - Method in class opennlp.tools.langdetect.LanguageDetectorFactory
- init() - Method in class opennlp.tools.parser.treeinsert.ParserEventStream
- init(EntityLinkerProperties) - Method in interface opennlp.tools.entitylinker.EntityLinker
-
Initializes an
EntityLinker
and allows for passing properties through theEntityLinkerFactory
into all impls dynamically. - init(TrainingParameters, Map<String, String>) - Method in interface opennlp.tools.commons.Trainer
- init(TrainingParameters, Map<String, String>) - Method in class opennlp.tools.ml.AbstractTrainer
- init(TrainingParameters, Map<String, String>) - Method in class opennlp.tools.ml.maxent.GISTrainer
- init(TrainingParameters, Map<String, String>) - Method in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- init(TrainingParameters, Map<String, String>) - Method in class opennlp.tools.ml.model.AbstractDataIndexer
-
Sets parameters used during the data indexing.
- init(TrainingParameters, Map<String, String>) - Method in interface opennlp.tools.ml.model.DataIndexer
-
Sets parameters used during the data indexing.
- INITIAL_STEP_SIZE - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- innerProduct(double[], double[]) - Static method in class opennlp.tools.ml.ArrayMath
- InputStreamFactory - Interface in opennlp.tools.util
-
Allows repeated reads through a stream for certain model building types.
- insert(Entry) - Method in interface opennlp.tools.dictionary.serializer.EntryInserter
- insert(Parse) - Method in class opennlp.tools.parser.Parse
-
Inserts the specified constituent into this parse based on its text span.
- InSpanGenerator - Class in opennlp.tools.util.featuregen
-
Generates features if the tokens are recognized by the provided
TokenNameFinder
. - InSpanGenerator(String, TokenNameFinder) - Constructor for class opennlp.tools.util.featuregen.InSpanGenerator
-
Initializes a
InSpanGenerator
instance. - INSTANCE - Static variable in class opennlp.tools.tokenize.SimpleTokenizer
-
Use this static reference to retrieve an instance of the
SimpleTokenizer
. - INSTANCE - Static variable in class opennlp.tools.tokenize.WhitespaceTokenizer
-
Use this static reference to retrieve an instance of the
WhitespaceTokenizer
. - instantiateExtension(Class<T>, String) - Static method in class opennlp.tools.util.ext.ExtensionLoader
-
Instantiates a user provided extension to OpenNLP.
- instantiateSequenceCodec(String) - Static method in class opennlp.tools.namefind.TokenNameFinderFactory
-
Initializes a
SequenceCodec
instance via given parameters. - InsufficientTrainingDataException - Exception in opennlp.tools.util
-
This exception indicates that the provided training data is insufficient to train a desired model.
- InsufficientTrainingDataException(String) - Constructor for exception opennlp.tools.util.InsufficientTrainingDataException
- InsufficientTrainingDataException(String, Throwable) - Constructor for exception opennlp.tools.util.InsufficientTrainingDataException
- InsufficientTrainingDataException(Throwable) - Constructor for exception opennlp.tools.util.InsufficientTrainingDataException
- Internal - Annotation Interface in opennlp.tools.commons
-
Classes, fields, or methods annotated
@Internal
are for OpenNLP internal use only. - intersects(Span) - Method in class opennlp.tools.util.Span
-
Checks if the specified
Span
intersects with this span. - InvalidFormatException - Exception in opennlp.tools.util
-
This exception indicates that a resource violates the expected data format.
- InvalidFormatException(String) - Constructor for exception opennlp.tools.util.InvalidFormatException
- InvalidFormatException(String, Throwable) - Constructor for exception opennlp.tools.util.InvalidFormatException
- InvalidFormatException(Throwable) - Constructor for exception opennlp.tools.util.InvalidFormatException
- invL2norm(double[]) - Static method in class opennlp.tools.ml.ArrayMath
-
Computes the Inverse L2-norm for a vector
v
. - IRISH - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- IrishSentenceBankDocument - Class in opennlp.tools.formats.irishsentencebank
-
A structure to hold an Irish Sentence Bank document, which is a collection of tokenized sentences.
- IrishSentenceBankDocument() - Constructor for class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument
-
Initializes an empty
IrishSentenceBankDocument
. - IrishSentenceBankDocument.IrishSentenceBankFlex - Class in opennlp.tools.formats.irishsentencebank
- IrishSentenceBankDocument.IrishSentenceBankSentence - Class in opennlp.tools.formats.irishsentencebank
- IrishSentenceBankFlex(String, String[]) - Constructor for class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankFlex
- IrishSentenceBankSentence(String, String, String, Span[], IrishSentenceBankDocument.IrishSentenceBankFlex[]) - Constructor for class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
- IrishSentenceBankSentenceStreamFactory<P> - Class in opennlp.tools.formats.irishsentencebank
- IrishSentenceBankTokenSampleStreamFactory<P> - Class in opennlp.tools.formats.irishsentencebank
- irishStemmer - Class in opennlp.tools.stemmer.snowball
-
This class was automatically generated by a Snowball to Java compiler It implements the stemming algorithm defined by a snowball script.
- irishStemmer() - Constructor for class opennlp.tools.stemmer.snowball.irishStemmer
- isAllCapitalLetter() - Method in class opennlp.tools.util.featuregen.StringPattern
- isAllDigit() - Method in class opennlp.tools.util.featuregen.StringPattern
- isAllHiragana() - Method in class opennlp.tools.util.featuregen.StringPattern
- isAllKatakana() - Method in class opennlp.tools.util.featuregen.StringPattern
- isAllLetter() - Method in class opennlp.tools.util.featuregen.StringPattern
- isAllLowerCaseLetter() - Method in class opennlp.tools.util.featuregen.StringPattern
- isCaseSensitive() - Method in class opennlp.tools.postag.POSDictionary
- isCaseSensitive() - Method in interface opennlp.tools.postag.TagDictionary
-
Whether the dictionary is case-sensitive or not.
- isChunk() - Method in class opennlp.tools.parser.Parse
- isChunk(boolean) - Method in class opennlp.tools.parser.Parse
- isClearAdaptiveDataSet() - Method in class opennlp.tools.namefind.NameSample
- isEmpty(CharSequence) - Static method in class opennlp.tools.util.StringUtil
- isFlat() - Method in class opennlp.tools.parser.Parse
-
Indicates whether this parse node contains no sub-constituents.
- isInitialCapitalLetter() - Method in class opennlp.tools.util.featuregen.StringPattern
- isLarger(Probability<T>) - Method in class opennlp.tools.ml.naivebayes.LogProbability
- isLarger(Probability<T>) - Method in class opennlp.tools.ml.naivebayes.Probability
-
Checks if a probability is greater than the old one.
- isLeaf() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- isLeaf() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
- isLoadedFromSerialized() - Method in interface opennlp.tools.util.model.ArtifactProvider
-
Indicates if this provider was loaded from a serialized form.
- isLoadedFromSerialized() - Method in class opennlp.tools.util.model.BaseModel
- isNewDocument() - Method in class opennlp.tools.formats.conllu.ConlluSentence
- isNewParagraph() - Method in class opennlp.tools.formats.conllu.ConlluSentence
- isPosTag() - Method in class opennlp.tools.parser.Parse
-
Indicates whether this parse node is a pos-tag.
- isSnapshot() - Method in class opennlp.tools.util.Version
- isSortAndMerge() - Method in class opennlp.tools.ml.AbstractEventTrainer
- isSortAndMerge() - Method in class opennlp.tools.ml.maxent.GISTrainer
- isSortAndMerge() - Method in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- isSortAndMerge() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
- isSortAndMerge() - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
- isUseAlphaNumericOptimization() - Method in class opennlp.tools.tokenize.TokenizerFactory
- isUseTokenEnd() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- isValid(TrainingParameters) - Static method in class opennlp.tools.ml.TrainerFactory
- isWhitespace(char) - Static method in class opennlp.tools.util.StringUtil
-
Determines if the specified
Character
is a whitespace. - isWhitespace(int) - Static method in class opennlp.tools.util.StringUtil
-
Determines if the specified
Character
is a whitespace. - IT - Enum constant in enum class opennlp.tools.formats.EvalitaNameSampleStream.LANGUAGE
- ITALIAN - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- ITERATIONS_DEFAULT - Static variable in class opennlp.tools.ml.AbstractTrainer
- ITERATIONS_DEFAULT_VALUE - Static variable in class opennlp.tools.util.TrainingParameters
- ITERATIONS_PARAM - Static variable in class opennlp.tools.ml.AbstractTrainer
- ITERATIONS_PARAM - Static variable in class opennlp.tools.util.TrainingParameters
- iterator() - Method in class opennlp.tools.dictionary.Dictionary
- iterator() - Method in class opennlp.tools.dictionary.serializer.Attributes
-
Iterates over the keys.
- iterator() - Method in class opennlp.tools.ngram.NGramCharModel
- iterator() - Method in class opennlp.tools.ngram.NGramModel
-
Retrieves an
Iterator
over allStringList
entries. - iterator() - Method in class opennlp.tools.postag.POSDictionary
-
Retrieves an
Iterator
over all words in the dictionary. - iterator() - Method in class opennlp.tools.util.StringList
J
- jpnEosCharacters - Static variable in class opennlp.tools.sentdetect.lang.Factory
L
- L1COST_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- L1COST_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- L1COST_PARAM - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- l1norm(double[]) - Static method in class opennlp.tools.ml.ArrayMath
-
Computes the L1-norm for a vector
v
. - L2COST_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- L2COST_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- L2COST_PARAM - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- l2norm(double[]) - Static method in class opennlp.tools.ml.ArrayMath
-
Computes the L2-norm for a vector
v
. - L2RegFunction(Function, double) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNMinimizer.L2RegFunction
- labelGaps(Stack<Constituent>) - Method in interface opennlp.tools.parser.GapLabeler
-
Labels
constituents
found in thestack
with gap labels if appropriate. - labelGaps(Stack<Constituent>) - Method in class opennlp.tools.parser.lang.en.HeadRules
- labelGaps(Stack<Constituent>) - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- language() - Method in record class opennlp.tools.langdetect.LanguageSample
-
Returns the value of the
language
record component. - Language - Class in opennlp.tools.langdetect
-
Class for holding the document language and its confidence
- Language(String) - Constructor for class opennlp.tools.langdetect.Language
- Language(String, double) - Constructor for class opennlp.tools.langdetect.Language
- LanguageDetector - Interface in opennlp.tools.langdetect
-
The interface for
LanguageDetector
which predicts theLanguage
for a context. - LanguageDetectorConfig - Class in opennlp.tools.langdetect
- LanguageDetectorConfig() - Constructor for class opennlp.tools.langdetect.LanguageDetectorConfig
- LanguageDetectorContextGenerator - Interface in opennlp.tools.langdetect
-
A context generator interface for
LanguageDetector
. - LanguageDetectorConverterTool - Class in opennlp.tools.cmdline.langdetect
-
Tool to convert multiple data formats into native OpenNLP language detection training format.
- LanguageDetectorConverterTool() - Constructor for class opennlp.tools.cmdline.langdetect.LanguageDetectorConverterTool
- LanguageDetectorCrossValidator - Class in opennlp.tools.langdetect
-
Cross validator for
LanguageDetector
. - LanguageDetectorCrossValidator(TrainingParameters, LanguageDetectorFactory, LanguageDetectorEvaluationMonitor...) - Constructor for class opennlp.tools.langdetect.LanguageDetectorCrossValidator
-
Initializes a
LanguageDetectorCrossValidator
with the givenparameters
. - LanguageDetectorCrossValidatorTool - Class in opennlp.tools.cmdline.langdetect
- LanguageDetectorCrossValidatorTool() - Constructor for class opennlp.tools.cmdline.langdetect.LanguageDetectorCrossValidatorTool
- LanguageDetectorEvaluationErrorListener - Class in opennlp.tools.cmdline.langdetect
-
A default implementation of
EvaluationMonitor
that prints to an output stream. - LanguageDetectorEvaluationErrorListener() - Constructor for class opennlp.tools.cmdline.langdetect.LanguageDetectorEvaluationErrorListener
-
Creates a listener that will print to the configured
logger
. - LanguageDetectorEvaluationErrorListener(OutputStream) - Constructor for class opennlp.tools.cmdline.langdetect.LanguageDetectorEvaluationErrorListener
-
Creates a listener that will print to a given
OutputStream
- LanguageDetectorEvaluationMonitor - Interface in opennlp.tools.langdetect
-
A marker interface for evaluating
language detectors
. - LanguageDetectorEvaluator - Class in opennlp.tools.langdetect
-
The
LanguageDetectorEvaluator
measures the performance of the givenLanguageDetector
with the provided referenceLanguageSample
s. - LanguageDetectorEvaluator(LanguageDetector, LanguageDetectorEvaluationMonitor...) - Constructor for class opennlp.tools.langdetect.LanguageDetectorEvaluator
-
Initializes an instance to evaluate a
LanguageDetector
. - LanguageDetectorEvaluatorTool - Class in opennlp.tools.cmdline.langdetect
-
A default
LanguageSample
-centric implementation ofAbstractEvaluatorTool
that prints to an output stream. - LanguageDetectorEvaluatorTool() - Constructor for class opennlp.tools.cmdline.langdetect.LanguageDetectorEvaluatorTool
- LanguageDetectorEventStream - Class in opennlp.tools.langdetect
-
Iterator-like class for modeling an event stream of
samples
. - LanguageDetectorEventStream(ObjectStream<LanguageSample>, LanguageDetectorContextGenerator) - Constructor for class opennlp.tools.langdetect.LanguageDetectorEventStream
-
Initializes an instance via samples and feature generators.
- LanguageDetectorFactory - Class in opennlp.tools.langdetect
-
Default factory used by
LanguageDetector
. - LanguageDetectorFactory() - Constructor for class opennlp.tools.langdetect.LanguageDetectorFactory
- LanguageDetectorFineGrainedReportListener - Class in opennlp.tools.cmdline.langdetect
-
Generates a detailed report for the POS Tagger.
- LanguageDetectorFineGrainedReportListener() - Constructor for class opennlp.tools.cmdline.langdetect.LanguageDetectorFineGrainedReportListener
-
Creates a listener that will print to
System.err
- LanguageDetectorFineGrainedReportListener(OutputStream) - Constructor for class opennlp.tools.cmdline.langdetect.LanguageDetectorFineGrainedReportListener
-
Creates a listener that prints to a given
OutputStream
- LanguageDetectorME - Class in opennlp.tools.langdetect
-
Implements a learnable
LanguageDetector
. - LanguageDetectorME(LanguageDetectorModel) - Constructor for class opennlp.tools.langdetect.LanguageDetectorME
-
Initializes an instance with a specific
LanguageDetectorModel
. - LanguageDetectorModel - Class in opennlp.tools.langdetect
-
The
LanguageDetectorModel
is the model used by a learnableLanguageDetector
. - LanguageDetectorModel(File) - Constructor for class opennlp.tools.langdetect.LanguageDetectorModel
-
Initializes a
LanguageDetectorModel
instance via a validFile
. - LanguageDetectorModel(InputStream) - Constructor for class opennlp.tools.langdetect.LanguageDetectorModel
-
Initializes a
LanguageDetectorModel
instance via a validInputStream
. - LanguageDetectorModel(URL) - Constructor for class opennlp.tools.langdetect.LanguageDetectorModel
-
Initializes a
LanguageDetectorModel
instance via a validURL
. - LanguageDetectorModel(MaxentModel, Map<String, String>, LanguageDetectorFactory) - Constructor for class opennlp.tools.langdetect.LanguageDetectorModel
-
Initializes a
LanguageDetectorModel
instance via given parameters. - LanguageDetectorModelLoader - Class in opennlp.tools.cmdline.langdetect
-
Loads a
LanguageDetectorModel
for the command line tools. - LanguageDetectorModelLoader() - Constructor for class opennlp.tools.cmdline.langdetect.LanguageDetectorModelLoader
- LanguageDetectorSampleStream - Class in opennlp.tools.langdetect
-
This class reads in string encoded
training samples
, parses them and outputsLanguageSample
objects. - LanguageDetectorSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.langdetect.LanguageDetectorSampleStream
-
Initializes a
instance
. - LanguageDetectorSampleStreamFactory<P> - Class in opennlp.tools.formats
-
Factory producing OpenNLP
DocumentSampleStream
s. - LanguageDetectorTool - Class in opennlp.tools.cmdline.langdetect
- LanguageDetectorTool() - Constructor for class opennlp.tools.cmdline.langdetect.LanguageDetectorTool
- LanguageDetectorTrainerTool - Class in opennlp.tools.cmdline.langdetect
- LanguageDetectorTrainerTool() - Constructor for class opennlp.tools.cmdline.langdetect.LanguageDetectorTrainerTool
- LanguageModel - Interface in opennlp.tools.languagemodel
-
A language model can calculate the probability p (between 0 and 1) of a certain
sequence of tokens
, given its underlying vocabulary. - LanguageParams - Interface in opennlp.tools.cmdline.params
- languages() - Method in record class opennlp.tools.langdetect.ProbingLanguageDetectionResult
-
Returns the value of the
languages
record component. - LanguageSample - Record Class in opennlp.tools.langdetect
-
Holds a classified document and its
Language
. - LanguageSample(Language, CharSequence) - Constructor for record class opennlp.tools.langdetect.LanguageSample
-
Creates an instance of a
LanguageSample
record class. - LanguageSampleStreamFactory<T,
P> - Class in opennlp.tools.formats -
Stream factory for those streams which carry language.
- LAST - Static variable in class opennlp.tools.namefind.BilouCodec
- Leaf() - Constructor for class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- LeipzigLanguageSampleStream - Class in opennlp.tools.formats.leipzig
- LeipzigLanguageSampleStream(File, int, int) - Constructor for class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStream
-
Initializes a
LeipzigLanguageSampleStream
. - LeipzigLanguageSampleStreamFactory<P> - Class in opennlp.tools.formats.leipzig
-
Note: Do not use this class, internal use only!
- LEMMA_NUMBER - Static variable in class opennlp.tools.lemmatizer.LemmatizerME
- LemmaEvaluationErrorListener - Class in opennlp.tools.cmdline.lemmatizer
-
A default implementation of
EvaluationMonitor
that prints to an output stream. - LemmaEvaluationErrorListener() - Constructor for class opennlp.tools.cmdline.lemmatizer.LemmaEvaluationErrorListener
-
Creates a listener that will print to the configured
logger
. - LemmaEvaluationErrorListener(OutputStream) - Constructor for class opennlp.tools.cmdline.lemmatizer.LemmaEvaluationErrorListener
-
Creates a listener that will print to a given
OutputStream
- LemmaSample - Class in opennlp.tools.lemmatizer
-
Represents a lemmatized sentence.
- LemmaSample(String[], String[], String[]) - Constructor for class opennlp.tools.lemmatizer.LemmaSample
-
Initializes a
LemmaSample
instance with the given parameters. - LemmaSample(List<String>, List<String>, List<String>) - Constructor for class opennlp.tools.lemmatizer.LemmaSample
-
Initializes a
LemmaSample
instance with the given parameters. - LemmaSampleEventStream - Class in opennlp.tools.lemmatizer
-
Class for creating an event stream out of data files for training a probabilistic
Lemmatizer
. - LemmaSampleEventStream(ObjectStream<LemmaSample>, LemmatizerContextGenerator) - Constructor for class opennlp.tools.lemmatizer.LemmaSampleEventStream
-
Creates a new event stream based on the specified data stream using a
LemmatizerContextGenerator
. - LemmaSampleSequenceStream - Class in opennlp.tools.lemmatizer
-
A
SequenceStream
implementation encapsulatingsamples
. - LemmaSampleSequenceStream(ObjectStream<LemmaSample>, LemmatizerContextGenerator) - Constructor for class opennlp.tools.lemmatizer.LemmaSampleSequenceStream
- LemmaSampleStream - Class in opennlp.tools.lemmatizer
-
Reads data for training and testing the
Lemmatizer
. - LemmaSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.lemmatizer.LemmaSampleStream
-
Initializes a
instance
. - lemmatize(String[], String[]) - Method in class opennlp.tools.lemmatizer.DictionaryLemmatizer
- lemmatize(String[], String[]) - Method in interface opennlp.tools.lemmatizer.Lemmatizer
-
Generates lemmas for the word and postag.
- lemmatize(String[], String[]) - Method in class opennlp.tools.lemmatizer.LemmatizerME
- lemmatize(List<String>, List<String>) - Method in class opennlp.tools.lemmatizer.DictionaryLemmatizer
- lemmatize(List<String>, List<String>) - Method in interface opennlp.tools.lemmatizer.Lemmatizer
-
Generates lemma tags for the word and postag.
- lemmatize(List<String>, List<String>) - Method in class opennlp.tools.lemmatizer.LemmatizerME
- Lemmatizer - Interface in opennlp.tools.lemmatizer
-
The common interface for lemmatizers.
- LemmatizerContextGenerator - Interface in opennlp.tools.lemmatizer
-
Interface for the context generator used for probabilistic
Lemmatizer
. - LemmatizerEvaluationMonitor - Interface in opennlp.tools.lemmatizer
-
A marker interface for evaluating
lemmatizers
. - LemmatizerEvaluator - Class in opennlp.tools.lemmatizer
-
The
LemmatizerEvaluator
measures the performance of the givenLemmatizer
with the provided referencesamples
. - LemmatizerEvaluator(Lemmatizer, LemmatizerEvaluationMonitor...) - Constructor for class opennlp.tools.lemmatizer.LemmatizerEvaluator
-
Initializes a
LemmatizerEvaluator
instance with the givenLemmatizer
. - LemmatizerEvaluatorTool - Class in opennlp.tools.cmdline.lemmatizer
-
A default
LemmaSample
-centric implementation ofAbstractEvaluatorTool
that prints to an output stream. - LemmatizerEvaluatorTool() - Constructor for class opennlp.tools.cmdline.lemmatizer.LemmatizerEvaluatorTool
- LemmatizerFactory - Class in opennlp.tools.lemmatizer
-
The factory that provides
Lemmatizer
default implementation and resources. - LemmatizerFactory() - Constructor for class opennlp.tools.lemmatizer.LemmatizerFactory
-
Instantiates a
LemmatizerFactory
that provides the default implementation of the resources. - LemmatizerFineGrainedReportListener - Class in opennlp.tools.cmdline.lemmatizer
-
Generates a detailed report for the Lemmatizer.
- LemmatizerFineGrainedReportListener() - Constructor for class opennlp.tools.cmdline.lemmatizer.LemmatizerFineGrainedReportListener
-
Creates a listener that will print to the configured
logger
. - LemmatizerFineGrainedReportListener(OutputStream) - Constructor for class opennlp.tools.cmdline.lemmatizer.LemmatizerFineGrainedReportListener
-
Creates a listener that prints to a given
OutputStream
- LemmatizerME - Class in opennlp.tools.lemmatizer
-
A probabilistic
Lemmatizer
implementation. - LemmatizerME(LemmatizerModel) - Constructor for class opennlp.tools.lemmatizer.LemmatizerME
- LemmatizerMETool - Class in opennlp.tools.cmdline.lemmatizer
- LemmatizerMETool() - Constructor for class opennlp.tools.cmdline.lemmatizer.LemmatizerMETool
- LemmatizerModel - Class in opennlp.tools.lemmatizer
-
The
LemmatizerModel
is the model used by a learnableLemmatizer
. - LemmatizerModel(File) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
-
Initializes a
LemmatizerModel
instance via a validFile
. - LemmatizerModel(InputStream) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
-
Initializes a
LemmatizerModel
instance via a validInputStream
. - LemmatizerModel(String, MaxentModel, int, Map<String, String>, LemmatizerFactory) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
-
Initializes a
LemmatizerModel
instance via given parameters. - LemmatizerModel(String, MaxentModel, Map<String, String>, LemmatizerFactory) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
-
Initializes a
LemmatizerModel
instance via given parameters. - LemmatizerModel(String, MaxentModel, LemmatizerFactory) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
-
Initializes a
LemmatizerModel
instance via given parameters. - LemmatizerModel(String, SequenceClassificationModel<String>, Map<String, String>, LemmatizerFactory) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
-
Initializes a
LemmatizerModel
instance via given parameters. - LemmatizerModel(URL) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
-
Initializes a
LemmatizerModel
instance via a validURL
. - LemmatizerModel(Path) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
-
Initializes a
LemmatizerModel
instance via a validPath
. - LemmatizerModelLoader - Class in opennlp.tools.cmdline.lemmatizer
-
Loads a
LemmatizerModel
for the command line tools. - LemmatizerModelLoader() - Constructor for class opennlp.tools.cmdline.lemmatizer.LemmatizerModelLoader
- LemmatizerSampleStreamFactory<P> - Class in opennlp.tools.formats
-
Factory producing OpenNLP
LemmaSampleStream
s. - LemmatizerTrainerTool - Class in opennlp.tools.cmdline.lemmatizer
- LemmatizerTrainerTool() - Constructor for class opennlp.tools.cmdline.lemmatizer.LemmatizerTrainerTool
- length() - Method in record class opennlp.tools.langdetect.ProbingLanguageDetectionResult
-
Returns the value of the
length
record component. - length() - Method in class opennlp.tools.util.Span
- LetsmtDocument - Class in opennlp.tools.formats.letsmt
-
A structure to hold the letsmt document.
- LetsmtDocument.LetsmtDocumentHandler - Class in opennlp.tools.formats.letsmt
-
A
content handler
to receive and process SAX events. - LetsmtDocument.LetsmtSentence - Class in opennlp.tools.formats.letsmt
- LetsmtDocumentHandler() - Constructor for class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtDocumentHandler
- LetsmtSentence() - Constructor for class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtSentence
- LetsmtSentenceStreamFactory<P> - Class in opennlp.tools.formats.letsmt
- levenshteinDistance(String, String) - Static method in class opennlp.tools.util.StringUtil
-
Computes the Levenshtein distance of two strings in a matrix.
- LineSearch - Class in opennlp.tools.ml.maxent.quasinewton
-
Class that performs line search to find minimum.
- LineSearch() - Constructor for class opennlp.tools.ml.maxent.quasinewton.LineSearch
- LineSearch.LineSearchResult - Class in opennlp.tools.ml.maxent.quasinewton
-
Represents a LineSearch result.
- LineSearchResult(double, double, double, double[], double[], double[], double[], double[], double[], int) - Constructor for class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
-
Constructor with sign vector
- LineSearchResult(double, double, double, double[], double[], double[], double[], int) - Constructor for class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
-
Constructor
- LinkedSpan<T extends BaseLink> - Class in opennlp.tools.entitylinker
- LinkedSpan(ArrayList<T>, int, int) - Constructor for class opennlp.tools.entitylinker.LinkedSpan
-
Initializes a new
LinkedSpan
. - LinkedSpan(ArrayList<T>, int, int, String) - Constructor for class opennlp.tools.entitylinker.LinkedSpan
-
Initializes a new
LinkedSpan
. - LinkedSpan(ArrayList<T>, int, int, String, double) - Constructor for class opennlp.tools.entitylinker.LinkedSpan
-
Initializes a new
LinkedSpan
. - LinkedSpan(ArrayList<T>, Span, int) - Constructor for class opennlp.tools.entitylinker.LinkedSpan
- loadResources(File, File) - Static method in class opennlp.tools.cmdline.namefind.TokenNameFinderTrainerTool
-
Load the resources, such as dictionaries, by reading the feature xml descriptor and looking into the directory passed as argument.
- LOG_LIKELIHOOD_THRESHOLD_DEFAULT - Static variable in class opennlp.tools.ml.maxent.GISTrainer
- LOG_LIKELIHOOD_THRESHOLD_PARAM - Static variable in class opennlp.tools.ml.maxent.GISTrainer
- LogPrintStream - Class in opennlp.tools.log
-
This class serves as an adapter for a
Logger
used within aPrintStream
. - LogPrintStream(Logger) - Constructor for class opennlp.tools.log.LogPrintStream
-
Creates a
LogPrintStream
for the givenLogger
. - LogPrintStream(Logger, Level) - Constructor for class opennlp.tools.log.LogPrintStream
- logPrior(double[], int[]) - Method in interface opennlp.tools.ml.model.Prior
-
Populates the specified array with the log of the distribution for the specified context.
- logPrior(double[], int[]) - Method in class opennlp.tools.ml.model.UniformPrior
- logPrior(double[], int[], float[]) - Method in interface opennlp.tools.ml.model.Prior
-
Populates the specified array with the log of the distribution for the specified context.
- logPrior(double[], int[], float[]) - Method in class opennlp.tools.ml.model.UniformPrior
- logPrior(double[], Context[], float[]) - Method in interface opennlp.tools.ml.model.Prior
-
Populates the specified array with the log of the distribution for the specified context.
- logPrior(double[], Context[], float[]) - Method in class opennlp.tools.ml.model.UniformPrior
- LogProbabilities<T> - Class in opennlp.tools.ml.naivebayes
-
Class implementing the probability distribution over labels returned by a classifier as a log of probabilities.
- LogProbabilities() - Constructor for class opennlp.tools.ml.naivebayes.LogProbabilities
- LogProbability<T> - Class in opennlp.tools.ml.naivebayes
-
A class implementing the logarithmic
Probability
for a label. - LogProbability(T) - Constructor for class opennlp.tools.ml.naivebayes.LogProbability
- logSumOfExps(double[]) - Static method in class opennlp.tools.ml.ArrayMath
-
Computes
\log(\sum_{i=1}^n e^{x_i})
using a maximum-element trick to avoid arithmetic overflow. - lookupToken(String) - Method in class opennlp.tools.util.featuregen.BrownCluster
-
Check if a token is in the Brown:paths, token map.
- lookupToken(String) - Method in class opennlp.tools.util.featuregen.WordClusterDictionary
M
- M_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- M_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- M_PARAM - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- MarkableFileInputStreamFactory - Class in opennlp.tools.util
-
A factory that creates
MarkableFileInputStream
from aFile
- MarkableFileInputStreamFactory(File) - Constructor for class opennlp.tools.util.MarkableFileInputStreamFactory
-
Initializes a
MarkableFileInputStreamFactory
. - MASC_FORMAT - Static variable in class opennlp.tools.formats.masc.MascNamedEntitySampleStreamFactory
- MASC_FORMAT - Static variable in class opennlp.tools.formats.masc.MascPOSSampleStreamFactory
- MASC_FORMAT - Static variable in class opennlp.tools.formats.masc.MascSentenceSampleStreamFactory
- MASC_FORMAT - Static variable in class opennlp.tools.formats.masc.MascTokenSampleStreamFactory
- MascDocument - Class in opennlp.tools.formats.masc
- MascDocument(String, List<MascSentence>) - Constructor for class opennlp.tools.formats.masc.MascDocument
- MascDocumentStream - Class in opennlp.tools.formats.masc
- MascDocumentStream(File) - Constructor for class opennlp.tools.formats.masc.MascDocumentStream
- MascDocumentStream(File, boolean, FileFilter) - Constructor for class opennlp.tools.formats.masc.MascDocumentStream
-
Creates a MascDocumentStream to read the documents from a given directory.
- MascNamedEntityParser - Class in opennlp.tools.formats.masc
-
A class to process the MASC Named entity stand-off annotation file
- MascNamedEntityParser() - Constructor for class opennlp.tools.formats.masc.MascNamedEntityParser
- MascNamedEntitySampleStream - Class in opennlp.tools.formats.masc
- MascNamedEntitySampleStream(ObjectStream<MascDocument>) - Constructor for class opennlp.tools.formats.masc.MascNamedEntitySampleStream
-
Initializes
MascNamedEntitySampleStream
from a stream ofdocuments
. - MascNamedEntitySampleStreamFactory<P> - Class in opennlp.tools.formats.masc
- MascPennTagParser - Class in opennlp.tools.formats.masc
-
A class for parsing MASC's Penn tagging/tokenization stand-off annotation
- MascPennTagParser() - Constructor for class opennlp.tools.formats.masc.MascPennTagParser
- MascPOSSampleStream - Class in opennlp.tools.formats.masc
- MascPOSSampleStream(ObjectStream<MascDocument>) - Constructor for class opennlp.tools.formats.masc.MascPOSSampleStream
-
Initializes
MascPOSSampleStream
from a stream ofdocuments
. - MascPOSSampleStreamFactory<P> - Class in opennlp.tools.formats.masc
- MascSentence - Class in opennlp.tools.formats.masc
- MascSentence(int, int, String, List<MascWord>, List<MascWord>) - Constructor for class opennlp.tools.formats.masc.MascSentence
-
Initializes a
MascSentence
containing its associated text and quarks - MascSentenceSampleStream - Class in opennlp.tools.formats.masc
- MascSentenceSampleStream(ObjectStream<MascDocument>, int) - Constructor for class opennlp.tools.formats.masc.MascSentenceSampleStream
- MascSentenceSampleStreamFactory<P> - Class in opennlp.tools.formats.masc
- MascToken - Class in opennlp.tools.formats.masc
- MascToken(int, int, int, String, String, MascWord[]) - Constructor for class opennlp.tools.formats.masc.MascToken
-
Initializes a
MascToken
which may combine multiple quarks. - MascTokenSampleStream - Class in opennlp.tools.formats.masc
- MascTokenSampleStream(ObjectStream<MascDocument>) - Constructor for class opennlp.tools.formats.masc.MascTokenSampleStream
-
Initializes a
MascTokenSampleStream
. - MascTokenSampleStreamFactory<P> - Class in opennlp.tools.formats.masc
- MascWord - Class in opennlp.tools.formats.masc
- MascWord(int, int, int) - Constructor for class opennlp.tools.formats.masc.MascWord
-
Holds one of MASC's quarks, that is: basic-level units (may be sub-word).
- max(double[]) - Static method in class opennlp.tools.ml.ArrayMath
-
Finds the maximum element in a vector
x
. - MAX_FCT_EVAL_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- MAX_FCT_EVAL_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- MAX_FCT_EVAL_PARAM - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- Maxent - Enum constant in enum class opennlp.tools.ml.model.AbstractModel.ModelType
- MAXENT - Enum constant in enum class opennlp.tools.util.model.ModelType
- MAXENT_QN_VALUE - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- MAXENT_VALUE - Static variable in class opennlp.tools.ml.maxent.GISTrainer
- MaxentModel - Interface in opennlp.tools.ml.model
-
Interface for maximum entropy models.
- MaxentQn - Enum constant in enum class opennlp.tools.ml.model.AbstractModel.ModelType
- mean() - Method in class opennlp.tools.util.eval.Mean
- Mean - Class in opennlp.tools.util.eval
-
Calculates the arithmetic mean of values added with the
Mean.add(double)
method. - Mean() - Constructor for class opennlp.tools.util.eval.Mean
- MERGE_BOTH - Enum constant in enum class opennlp.tools.tokenize.Detokenizer.DetokenizationOperation
-
The current token should be attached to the string on the left side, as well as to the start token on the right side.
- MERGE_TO_LEFT - Enum constant in enum class opennlp.tools.tokenize.Detokenizer.DetokenizationOperation
-
The current token should be attached to the string on the left side.
- MERGE_TO_RIGHT - Enum constant in enum class opennlp.tools.tokenize.Detokenizer.DetokenizationOperation
-
The current token should be attached to the start token on the right side.
- mergeInto(FMeasure) - Method in class opennlp.tools.util.eval.FMeasure
-
Merge results into
metric
. - mergeReportIntoManifest(Map<String, String>, Map<String, String>, String) - Static method in class opennlp.tools.parser.chunking.Parser
- META_LABEL_FINAL - Static variable in class opennlp.tools.formats.ad.ADSentenceStream.Sentence
- methodObject - Static variable in class opennlp.tools.stemmer.snowball.indonesianStemmer
- MGRS - Enum constant in enum class opennlp.tools.namefind.RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER
- MIN_STEP_SIZE - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- minimize(Function) - Method in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
-
Finds the parameters that minimize the objective function.
- misclassified(ChunkSample, ChunkSample) - Method in class opennlp.tools.cmdline.chunker.ChunkEvaluationErrorListener
- misclassified(DocumentSample, DocumentSample) - Method in class opennlp.tools.cmdline.doccat.DoccatEvaluationErrorListener
- misclassified(DocumentSample, DocumentSample) - Method in class opennlp.tools.cmdline.doccat.DoccatFineGrainedReportListener
- misclassified(LanguageSample, LanguageSample) - Method in class opennlp.tools.cmdline.langdetect.LanguageDetectorEvaluationErrorListener
- misclassified(LanguageSample, LanguageSample) - Method in class opennlp.tools.cmdline.langdetect.LanguageDetectorFineGrainedReportListener
- misclassified(LemmaSample, LemmaSample) - Method in class opennlp.tools.cmdline.lemmatizer.LemmaEvaluationErrorListener
- misclassified(LemmaSample, LemmaSample) - Method in class opennlp.tools.cmdline.lemmatizer.LemmatizerFineGrainedReportListener
- misclassified(NameSample, NameSample) - Method in class opennlp.tools.cmdline.namefind.NameEvaluationErrorListener
- misclassified(NameSample, NameSample) - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderFineGrainedReportListener
- misclassified(POSSample, POSSample) - Method in class opennlp.tools.cmdline.postag.POSEvaluationErrorListener
- misclassified(POSSample, POSSample) - Method in class opennlp.tools.cmdline.postag.POSTaggerFineGrainedReportListener
- misclassified(SentenceSample, SentenceSample) - Method in class opennlp.tools.cmdline.sentdetect.SentenceEvaluationErrorListener
- misclassified(TokenSample, TokenSample) - Method in class opennlp.tools.cmdline.tokenizer.DetokenEvaluationErrorListener
- misclassified(TokenSample, TokenSample) - Method in class opennlp.tools.cmdline.tokenizer.TokenEvaluationErrorListener
- misclassified(T, T) - Method in interface opennlp.tools.util.eval.EvaluationMonitor
- ModelParameterChunker - Class in opennlp.tools.ml.model
-
A helper class that handles Strings with more than 64k (65535 bytes) in length.
- ModelType - Enum Class in opennlp.tools.util.model
-
Enumeration of supported model types.
- ModelUtil - Class in opennlp.tools.util.model
-
Utility class for handling of
models
. - MosesSentenceSampleStream - Class in opennlp.tools.formats.moses
- MosesSentenceSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.moses.MosesSentenceSampleStream
-
Initializes a
MosesSentenceSampleStream
. - MosesSentenceSampleStreamFactory<P> - Class in opennlp.tools.formats.moses
-
Factory producing OpenNLP
MosesSentenceSampleStream
objects. - MOVE_BOTH - Enum constant in enum class opennlp.tools.tokenize.DetokenizationDictionary.Operation
-
Attaches the token to the token on the left and right sides.
- MOVE_LEFT - Enum constant in enum class opennlp.tools.tokenize.DetokenizationDictionary.Operation
-
Attaches the token to the token on the left side.
- MOVE_RIGHT - Enum constant in enum class opennlp.tools.tokenize.DetokenizationDictionary.Operation
-
Attaches the token to the token on the right side.
- Muc6NameSampleStreamFactory - Class in opennlp.tools.formats.muc
- MucNameContentHandler - Class in opennlp.tools.formats.muc
- MucNameContentHandler(Tokenizer, List<NameSample>) - Constructor for class opennlp.tools.formats.muc.MucNameContentHandler
-
Initializes a
MucNameContentHandler
. - MucNameSampleStream - Class in opennlp.tools.formats.muc
- MutableContext - Class in opennlp.tools.ml.model
-
An extension of
Context
used to store parameters or expected values associated with this context which can be updated or assigned. - MutableContext(int[], double[]) - Constructor for class opennlp.tools.ml.model.MutableContext
-
Creates a new parameters object with the specified parameters associated with the specified outcome pattern.
- MutableInt - Class in opennlp.tools.util
-
This is a non-thread safe mutable int.
- MutableInt(int) - Constructor for class opennlp.tools.util.MutableInt
- MutableTagDictionary - Interface in opennlp.tools.postag
-
Interface that allows
TagDictionary
entries to be added and removed.
N
- NAIVE_BAYES_VALUE - Static variable in class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
- NaiveBayes - Enum constant in enum class opennlp.tools.ml.model.AbstractModel.ModelType
- NaiveBayesEvalParameters - Class in opennlp.tools.ml.naivebayes
-
Specialized
parameters
for the evaluation of a naive bayes classifier - NaiveBayesEvalParameters(Context[], int, double[], long) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesEvalParameters
- NaiveBayesModel - Class in opennlp.tools.ml.naivebayes
-
A
MaxentModel
implementation of the multinomial Naive Bayes classifier model. - NaiveBayesModel(Context[], String[], String[]) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesModel
-
Initializes a
NaiveBayesModel
. - NaiveBayesModelReader - Class in opennlp.tools.ml.naivebayes
-
The base class for readers of
models
. - NaiveBayesModelReader(File) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesModelReader
-
Initializes a
NaiveBayesModelReader
via aFile
. - NaiveBayesModelReader(DataReader) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesModelReader
-
Initializes a
NaiveBayesModelReader
via aDataReader
. - NaiveBayesModelWriter - Class in opennlp.tools.ml.naivebayes
-
The base class for
NaiveBayesModel
writers. - NaiveBayesModelWriter(AbstractModel) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesModelWriter
-
Initializes a
NaiveBayesModelWriter
for aNaiveBayes model
. - NaiveBayesTrainer - Class in opennlp.tools.ml.naivebayes
-
Trains
models
using the combination of EM algorithm and Naive Bayes classifier which is described in: - NaiveBayesTrainer() - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
-
Instantiates a
NaiveBayesTrainer
with default training parameters. - NaiveBayesTrainer(TrainingParameters) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
-
Instantiates a
NaiveBayesTrainer
with specificTrainingParameters
. - name - Variable in class opennlp.tools.ml.model.ComparablePredicate
- NAME_FINDER - Enum constant in enum class opennlp.tools.util.DownloadUtil.ModelType
- NameContextGenerator - Interface in opennlp.tools.namefind
-
Interface for generating the context for a
name finder
by specifying a set of feature generators. - NameEvaluationErrorListener - Class in opennlp.tools.cmdline.namefind
-
A default implementation of
EvaluationMonitor
that prints to an output stream. - NameEvaluationErrorListener() - Constructor for class opennlp.tools.cmdline.namefind.NameEvaluationErrorListener
-
Creates a listener that will print to the configured
logger
. - NameEvaluationErrorListener(OutputStream) - Constructor for class opennlp.tools.cmdline.namefind.NameEvaluationErrorListener
-
Creates a listener that will print to a given
OutputStream
. - NameFinderCensus90NameStream - Class in opennlp.tools.formats
-
This class helps to read the US Census data from the files to build a StringList for each dictionary entry in the name-finder dictionary.
- NameFinderCensus90NameStream(InputStreamFactory, Charset) - Constructor for class opennlp.tools.formats.NameFinderCensus90NameStream
- NameFinderCensus90NameStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.NameFinderCensus90NameStream
-
Initializes a
NameFinderCensus90NameStream
viaObjectStream<String>
. - NameFinderEventStream - Class in opennlp.tools.namefind
-
Class for creating an event stream out of data files for training an
TokenNameFinder
. - NameFinderEventStream(ObjectStream<NameSample>, String, NameContextGenerator, SequenceCodec<String>) - Constructor for class opennlp.tools.namefind.NameFinderEventStream
- NameFinderME - Class in opennlp.tools.namefind
-
A maximum-entropy-based
name finder
implementation. - NameFinderME(TokenNameFinderModel) - Constructor for class opennlp.tools.namefind.NameFinderME
-
Initializes a
NameFinderME
with aTokenNameFinderModel
. - NameFinderSequenceValidator - Class in opennlp.tools.namefind
-
The default name finder
SequenceValidator
implementation. - NameFinderSequenceValidator() - Constructor for class opennlp.tools.namefind.NameFinderSequenceValidator
- NameSample - Class in opennlp.tools.namefind
-
Encapsulates names for a single unit of text.
- NameSample(String[], Span[], boolean) - Constructor for class opennlp.tools.namefind.NameSample
-
Initializes a
NameSample
instance with given parameters. - NameSample(String[], Span[], String[][], boolean) - Constructor for class opennlp.tools.namefind.NameSample
-
Initializes a
NameSample
instance with given parameters. - NameSample(String, String[], Span[], String[][], boolean) - Constructor for class opennlp.tools.namefind.NameSample
-
Initializes a
NameSample
instance with given parameters. - NameSampleCountersStream - Class in opennlp.tools.cmdline.namefind
-
Counts tokens, sentences and names by type.
- NameSampleDataStream - Class in opennlp.tools.namefind
-
The
NameSampleDataStream
class converts taggedstrings
provided by aDataStream
toNameSample
objects. - NameSampleDataStream(ObjectStream<String>) - Constructor for class opennlp.tools.namefind.NameSampleDataStream
-
Initializes a
NameSampleDataStream
with givenpsi
samples. - NameSampleDataStreamFactory<P> - Class in opennlp.tools.formats
-
Factory producing OpenNLP
NameSampleDataStream
s. - NameSampleDataStreamFactory.Parameters - Interface in opennlp.tools.formats
- NameSampleSequenceStream - Class in opennlp.tools.namefind
-
A
SequenceStream
implementation encapsulatingsamples
. - NameSampleSequenceStream(ObjectStream<NameSample>) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
-
Initializes a
NameSampleSequenceStream
with givenpsi
samples. - 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
- NameSampleSequenceStream(ObjectStream<NameSample>, AdaptiveFeatureGenerator) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
- NameSampleSequenceStream(ObjectStream<NameSample>, AdaptiveFeatureGenerator, boolean) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
- NameSampleTypeFilter - Class in opennlp.tools.namefind
-
A
stream
which removesname samples
which do not have a certain type. - NameSampleTypeFilter(String[], ObjectStream<NameSample>) - Constructor for class opennlp.tools.namefind.NameSampleTypeFilter
-
Initializes a
NameSampleTypeFilter
. - NameSampleTypeFilter(Set<String>, ObjectStream<NameSample>) - Constructor for class opennlp.tools.namefind.NameSampleTypeFilter
-
Initializes a
NameSampleTypeFilter
. - NameToSentenceSampleStream - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- NameToSentenceSampleStream(Detokenizer, ObjectStream<NameSample>, int) - Constructor for class opennlp.tools.formats.convert.NameToSentenceSampleStream
-
Initializes a
NameToSentenceSampleStream
. - NameToSentenceSampleStreamFactory<P> - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- NameToTokenSampleStream - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- NameToTokenSampleStream(Detokenizer, ObjectStream<NameSample>) - Constructor for class opennlp.tools.formats.convert.NameToTokenSampleStream
-
Initializes a
NameToTokenSampleStream
. - NameToTokenSampleStreamFactory<P> - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- NegLogLikelihood - Class in opennlp.tools.ml.maxent.quasinewton
-
Evaluate negative log-likelihood and its gradient from
DataIndexer
. - NegLogLikelihood(DataIndexer) - Constructor for class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
- NewlineSentenceDetector - Class in opennlp.tools.sentdetect
-
The Newline
SentenceDetector
assumes that sentences are line delimited and recognizes one sentence per non-empty line. - NewlineSentenceDetector() - Constructor for class opennlp.tools.sentdetect.NewlineSentenceDetector
- next() - Method in class opennlp.tools.tokenize.lang.en.TokenSampleStream
- next() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner
-
Retrieves the next training and test partitions.
- next() - Method in class opennlp.tools.util.ReverseListIterator
- NEXT_PREFIX - Static variable in class opennlp.tools.util.featuregen.WindowFeatureGenerator
- nextIteration(int) - Method in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
- nextToken() - Method in interface opennlp.tools.ml.maxent.DataStream
-
Returns the next slice of data held in this
DataStream
. - NGramCharModel - Class in opennlp.tools.ngram
-
The
NGramCharModel
can be used to create character ngrams. - NGramCharModel() - Constructor for class opennlp.tools.ngram.NGramCharModel
-
Initializes an empty instance.
- NGramFeatureGenerator - Class in opennlp.tools.doccat
-
Generates ngram features for a document.
- NGramFeatureGenerator() - Constructor for class opennlp.tools.doccat.NGramFeatureGenerator
-
Instantiates an
NGramFeatureGenerator
instance with a Bi grams config. - NGramFeatureGenerator(int, int) - Constructor for class opennlp.tools.doccat.NGramFeatureGenerator
-
Instantiates an
NGramFeatureGenerator
instance with configurable ngram parameters. - NGramGenerator - Class in opennlp.tools.ngram
-
Generates an nGram, via an optional separator, and returns the grams as a list of strings
- NGramGenerator() - Constructor for class opennlp.tools.ngram.NGramGenerator
- NGramLanguageModel - Class in opennlp.tools.languagemodel
-
A
LanguageModel
based on aNGramModel
using Stupid Backoff to get the probabilities of the ngrams. - NGramLanguageModel() - Constructor for class opennlp.tools.languagemodel.NGramLanguageModel
-
Initializes an
NGramLanguageModel
withNGramLanguageModel.DEFAULT_N
. - NGramLanguageModel(int) - Constructor for class opennlp.tools.languagemodel.NGramLanguageModel
-
Initializes an
NGramLanguageModel
with the givenn
for the ngram size. - NGramLanguageModel(InputStream) - Constructor for class opennlp.tools.languagemodel.NGramLanguageModel
-
Initializes a
NGramLanguageModel
instance via a validInputStream
. - NGramLanguageModel(InputStream, int) - Constructor for class opennlp.tools.languagemodel.NGramLanguageModel
-
Initializes a
NGramLanguageModel
instance via a validInputStream
. - NGramLanguageModelTool - Class in opennlp.tools.cmdline.languagemodel
-
Command line tool for
NGramLanguageModel
. - NGramLanguageModelTool() - Constructor for class opennlp.tools.cmdline.languagemodel.NGramLanguageModelTool
- NGramModel - Class in opennlp.tools.ngram
-
The
NGramModel
can be used to crate ngrams and character ngrams. - NGramModel() - Constructor for class opennlp.tools.ngram.NGramModel
-
Initializes an empty instance.
- NGramModel(InputStream) - Constructor for class opennlp.tools.ngram.NGramModel
-
Initializes the current instance.
- NGramUtils - Class in opennlp.tools.ngram
-
Utility class for ngrams.
- NGramUtils() - Constructor for class opennlp.tools.ngram.NGramUtils
- nicePrint() - Method in class opennlp.tools.chunker.ChunkSample
-
Creates a nice to read string for the phrases formatted as following:
[NP Rockwell_NNP ] [VP said_VBD ] [NP the_DT agreement_NN ] [VP calls_VBZ ] [SBAR for_IN ] [NP it_PRP ] [VP to_TO supply_VB ] [NP 200_CD additional_JJ so-called_JJ shipsets_NNS ] [PP for_IN ] [NP the_DT planes_NNS ] ._.
- NKJPSegmentationDocument - Class in opennlp.tools.formats.nkjp
- NKJPSegmentationDocument.Pointer - Class in opennlp.tools.formats.nkjp
- NKJPSentenceSampleStream - Class in opennlp.tools.formats.nkjp
- NKJPSentenceSampleStreamFactory<P> - Class in opennlp.tools.formats.nkjp
- NKJPTextDocument - Class in opennlp.tools.formats.nkjp
-
The National corpus of Polish (NKJP) format.
- NLD - Enum constant in enum class opennlp.tools.formats.Conll02NameSampleStream.LANGUAGE
- NO_OPERATION - Enum constant in enum class opennlp.tools.tokenize.Detokenizer.DetokenizationOperation
-
Do not perform a merge operation for this token, but is possible that another token can be attached to the left or right side of this one.
- NO_SPLIT - Static variable in class opennlp.tools.sentdetect.SentenceDetectorME
-
Constant indicates no sentence split.
- NO_SPLIT - Static variable in class opennlp.tools.tokenize.TokenizerME
-
Constant indicates no token split.
- Node() - Constructor for class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Node
- NON_ATTACH - Static variable in class opennlp.tools.parser.treeinsert.Parser
-
Outcome used when a node should not be attached to another node.
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.AggregateCharSequenceNormalizer
- normalize(CharSequence) - Method in interface opennlp.tools.util.normalizer.CharSequenceNormalizer
-
Normalizes a sequence of characters.
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.EmojiCharSequenceNormalizer
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.NumberCharSequenceNormalizer
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.ShrinkCharSequenceNormalizer
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.TwitterCharSequenceNormalizer
- normalize(CharSequence) - Method in class opennlp.tools.util.normalizer.UrlCharSequenceNormalizer
- NORWEGIAN - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- NUM_ITERATIONS_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- NumberCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
A
NumberCharSequenceNormalizer
implementation that normalizes text in terms of numbers. - NumberCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.NumberCharSequenceNormalizer
- numberOfGrams() - Method in class opennlp.tools.ngram.NGramCharModel
-
Retrieves the total count of all Ngrams.
- numberOfGrams() - Method in class opennlp.tools.ngram.NGramModel
-
Retrieves the total count of all Ngrams.
O
- ObjectDataReader - Class in opennlp.tools.ml.model
-
A
DataReader
implementation based onObjectInputStream
. - ObjectDataReader(ObjectInputStream) - Constructor for class opennlp.tools.ml.model.ObjectDataReader
-
Instantiates an
ObjectDataReader
. - ObjectStream<T> - Interface in opennlp.tools.util
-
Reads
objects
from a stream. - ObjectStreamUtils - Class in opennlp.tools.util
- ObjectStreamUtils() - Constructor for class opennlp.tools.util.ObjectStreamUtils
- OnePassDataIndexer - Class in opennlp.tools.ml.model
-
A
DataIndexer
for maxent model data which handles cutoffs for uncommon contextual predicates and provides a unique integer index for each of the predicates. - OnePassDataIndexer() - Constructor for class opennlp.tools.ml.model.OnePassDataIndexer
- OnePassRealValueDataIndexer - Class in opennlp.tools.ml.model
-
A
DataIndexer
for maxent model data which handles cutoffs for uncommon contextual predicates and provides a unique integer index for each of the predicates and maintains event values. - OnePassRealValueDataIndexer() - Constructor for class opennlp.tools.ml.model.OnePassRealValueDataIndexer
- OntoNotesFormatParameters - Interface in opennlp.tools.formats.ontonotes
- OntoNotesNameSampleStream - Class in opennlp.tools.formats.ontonotes
-
Name Sample Stream parser for the OntoNotes 4.0 corpus.
- OntoNotesNameSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.ontonotes.OntoNotesNameSampleStream
-
Initializes a
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
-
Initializes a
OntoNotesParseSampleStream
. - OntoNotesParseSampleStreamFactory - Class in opennlp.tools.formats.ontonotes
- OntoNotesPOSSampleStreamFactory - Class in opennlp.tools.formats.ontonotes
- openFeatureGeneratorBytes(File) - Static method in class opennlp.tools.cmdline.namefind.TokenNameFinderTrainerTool
- opennlp.tools.chunker - package opennlp.tools.chunker
-
Package related to finding non-recursive syntactic annotation such as noun phrase chunks.
- opennlp.tools.cmdline.chunker - package opennlp.tools.cmdline.chunker
- opennlp.tools.cmdline.dictionary - package opennlp.tools.cmdline.dictionary
- opennlp.tools.cmdline.doccat - package opennlp.tools.cmdline.doccat
- opennlp.tools.cmdline.entitylinker - package opennlp.tools.cmdline.entitylinker
- opennlp.tools.cmdline.langdetect - package opennlp.tools.cmdline.langdetect
- opennlp.tools.cmdline.languagemodel - package opennlp.tools.cmdline.languagemodel
- opennlp.tools.cmdline.lemmatizer - package opennlp.tools.cmdline.lemmatizer
-
Classes giving access to the opennlp.tools.lemmatizer functionalities.
- opennlp.tools.cmdline.namefind - package opennlp.tools.cmdline.namefind
- opennlp.tools.cmdline.params - package opennlp.tools.cmdline.params
- opennlp.tools.cmdline.parser - package opennlp.tools.cmdline.parser
- opennlp.tools.cmdline.postag - package opennlp.tools.cmdline.postag
- opennlp.tools.cmdline.sentdetect - package opennlp.tools.cmdline.sentdetect
- opennlp.tools.cmdline.tokenizer - package opennlp.tools.cmdline.tokenizer
- opennlp.tools.commons - package opennlp.tools.commons
-
Package related to common interfaces used in different contexts.
- opennlp.tools.dictionary - package opennlp.tools.dictionary
-
Package related to parsing and storing dictionaries.
- opennlp.tools.dictionary.serializer - package opennlp.tools.dictionary.serializer
- opennlp.tools.doccat - package opennlp.tools.doccat
-
Package for classifying a document into a category.
- opennlp.tools.entitylinker - package opennlp.tools.entitylinker
-
Package related to linking entities to external data sources.
- opennlp.tools.formats - package opennlp.tools.formats
-
Experimental package related to converting various corpora to OpenNLP Format.
- opennlp.tools.formats.ad - package opennlp.tools.formats.ad
-
Experimental package related to the
Arvores Deitadas corpus
format. - opennlp.tools.formats.brat - package opennlp.tools.formats.brat
-
Experimental package related to the corpus format used by the "brat rapid annotation tool" (brat).
- opennlp.tools.formats.conllu - package opennlp.tools.formats.conllu
-
Experimental package related to the CoNNL-U format.
- opennlp.tools.formats.convert - package opennlp.tools.formats.convert
- opennlp.tools.formats.frenchtreebank - package opennlp.tools.formats.frenchtreebank
-
Experimental package related to the French Treebank format.
- opennlp.tools.formats.irishsentencebank - package opennlp.tools.formats.irishsentencebank
-
Experimental package related to the Irish Sentence Bank format.
- opennlp.tools.formats.leipzig - package opennlp.tools.formats.leipzig
-
Experimental package related to the
Leipzig
corpus format. - opennlp.tools.formats.letsmt - package opennlp.tools.formats.letsmt
-
Experimental package related to the
letsmt
corpus format. - opennlp.tools.formats.masc - package opennlp.tools.formats.masc
-
Experimental package related to the
MASC
corpus format. - opennlp.tools.formats.moses - package opennlp.tools.formats.moses
- opennlp.tools.formats.muc - package opennlp.tools.formats.muc
-
Experimental package related to the
MUC
corpus format. - opennlp.tools.formats.nkjp - package opennlp.tools.formats.nkjp
-
Experimental package related to the National corpus of Polish
NKJP
format. - opennlp.tools.formats.ontonotes - package opennlp.tools.formats.ontonotes
-
Experimental package related to the OntoNotes 4.0 format.
- opennlp.tools.langdetect - package opennlp.tools.langdetect
-
Package related to predicting languages from samples of text.
- opennlp.tools.languagemodel - package opennlp.tools.languagemodel
-
Package related to language models
- opennlp.tools.lemmatizer - package opennlp.tools.lemmatizer
-
Package related to the lemmatizer functionality.
- opennlp.tools.log - package opennlp.tools.log
-
Package contains a
PrintStream
adapter for internal use only. - opennlp.tools.ml - package opennlp.tools.ml
-
Package related to Machine Learning (ML) features of OpenNLP, the related ML models, and trainers.
- opennlp.tools.ml.maxent - package opennlp.tools.ml.maxent
-
Package related to ML by means of the Maximum Entropy (ME) algorithm.
- opennlp.tools.ml.maxent.io - package opennlp.tools.ml.maxent.io
-
Package related to the I/O functionality of the maxent package including reading and writing models in several formats.
- opennlp.tools.ml.maxent.quasinewton - package opennlp.tools.ml.maxent.quasinewton
-
Package related to ML by means of the Quasi Newton (QN) algorithm.
- opennlp.tools.ml.model - package opennlp.tools.ml.model
-
Package related to ML models and feature selection techniques.
- opennlp.tools.ml.naivebayes - package opennlp.tools.ml.naivebayes
-
Package related to ML by means of the Naive Bayes algorithm.
- opennlp.tools.ml.perceptron - package opennlp.tools.ml.perceptron
-
Package related to ML by means of the perceptron algorithm.
- opennlp.tools.namefind - package opennlp.tools.namefind
-
Package related to finding proper names and numeric amounts.
- opennlp.tools.ngram - package opennlp.tools.ngram
-
Package related to computing and storing n-gram frequencies.
- opennlp.tools.parser - package opennlp.tools.parser
-
Package containing common code for performing full syntactic parsing.
- opennlp.tools.parser.chunking - package opennlp.tools.parser.chunking
-
Package containing code for performing full syntactic parsing using shift/reduce-style decisions.
- opennlp.tools.parser.lang.en - package opennlp.tools.parser.lang.en
- opennlp.tools.parser.lang.es - package opennlp.tools.parser.lang.es
- opennlp.tools.parser.treeinsert - package opennlp.tools.parser.treeinsert
-
Package containing experimental code for performing full syntactic parsing using attachment decisions.
- opennlp.tools.postag - package opennlp.tools.postag
-
Package related to part-of-speech tagging.
- opennlp.tools.sentdetect - package opennlp.tools.sentdetect
-
Package related to identifying sentence boundaries.
- opennlp.tools.sentdetect.lang - package opennlp.tools.sentdetect.lang
- opennlp.tools.sentdetect.lang.th - package opennlp.tools.sentdetect.lang.th
-
Package related to the processing of Thai data.
- opennlp.tools.stemmer - package opennlp.tools.stemmer
- opennlp.tools.stemmer.snowball - package opennlp.tools.stemmer.snowball
- opennlp.tools.tokenize - package opennlp.tools.tokenize
-
Contains classes related to finding token or words in a string.
- opennlp.tools.tokenize.lang - package opennlp.tools.tokenize.lang
- opennlp.tools.tokenize.lang.en - package opennlp.tools.tokenize.lang.en
- opennlp.tools.util - package opennlp.tools.util
-
Package containing utility data structures and algorithms used by multiple other packages.
- opennlp.tools.util.eval - package opennlp.tools.util.eval
- opennlp.tools.util.ext - package opennlp.tools.util.ext
-
Package containing extension loading code.
- opennlp.tools.util.featuregen - package opennlp.tools.util.featuregen
-
This package contains classes for generating sequence features.
- opennlp.tools.util.java - package opennlp.tools.util.java
- opennlp.tools.util.model - package opennlp.tools.util.model
- opennlp.tools.util.normalizer - package opennlp.tools.util.normalizer
- opennlp.tools.util.wordvector - package opennlp.tools.util.wordvector
- OTHER - Static variable in class opennlp.tools.formats.ad.ADChunkSampleStream
- OTHER - Static variable in class opennlp.tools.namefind.BilouCodec
- OTHER - Static variable in class opennlp.tools.namefind.BioCodec
- OTHER - Static variable in class opennlp.tools.namefind.NameFinderME
- OTHER - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
Outcome for token which is not contained in a basal constituent.
- outcome - Variable in class opennlp.tools.ml.model.ComparableEvent
- OutcomePriorFeatureGenerator - Class in opennlp.tools.util.featuregen
-
The definition feature maps the underlying distribution of outcomes.
- OutcomePriorFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.OutcomePriorFeatureGenerator
- outcomes - Variable in class opennlp.tools.ml.model.ComparablePredicate
P
- ParagraphStream - Class in opennlp.tools.util
-
A
FilterObjectStream
which merges text lines into paragraphs. - ParagraphStream(ObjectStream<String>) - Constructor for class opennlp.tools.util.ParagraphStream
-
Initializes an
FilterObjectStream
. - ParallelNegLogLikelihood - Class in opennlp.tools.ml.maxent.quasinewton
-
Evaluate negative log-likelihood and its gradient in parallel
- ParallelNegLogLikelihood(DataIndexer, int) - Constructor for class opennlp.tools.ml.maxent.quasinewton.ParallelNegLogLikelihood
- params - Variable in class opennlp.tools.ml.model.ComparablePredicate
- parse(File) - Static method in class opennlp.tools.formats.brat.AnnotationConfiguration
- parse(InputStream) - Static method in class opennlp.tools.formats.brat.AnnotationConfiguration
- parse(InputStream) - Static method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument
-
Parses the data provided via an
InputStream
into aIrishSentenceBankDocument
. - parse(InputStream) - Static method in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument
- parse(InputStream) - Static method in class opennlp.tools.formats.nkjp.NKJPTextDocument
- parse(InputStream) - Static method in class opennlp.tools.util.wordvector.Glove
-
Parses a glove vector plain text file.
- parse(Reader, SgmlParser.ContentHandler) - Method in class opennlp.tools.formats.muc.SgmlParser
- parse(String) - Static method in enum class opennlp.tools.parser.ParserType
- parse(String) - Static method in class opennlp.tools.postag.POSSample
-
Parses a
sentenceString
. - parse(String) - Static method in enum class opennlp.tools.tokenize.DetokenizationDictionary.Operation
- parse(String) - Static method in class opennlp.tools.util.Version
- parse(String, boolean) - Static method in class opennlp.tools.namefind.NameSample
-
Parses given input into a
NameSample
. - parse(String, int, boolean, boolean) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
-
Parses a sentence string into a
ADSentenceStream.Sentence
. - parse(String, String) - Static method in class opennlp.tools.tokenize.TokenSample
-
Parses a string sample.
- parse(String, String, boolean) - Static method in class opennlp.tools.namefind.NameSample
-
Parses given input into a
NameSample
. - parse(BratDocument) - Method in class opennlp.tools.formats.brat.BratDocumentParser
- parse(Parse) - Method in class opennlp.tools.parser.AbstractBottomUpParser
- parse(Parse) - Method in interface opennlp.tools.parser.Parser
- parse(Parse, int) - Method in class opennlp.tools.parser.AbstractBottomUpParser
- parse(Parse, int) - Method in interface opennlp.tools.parser.Parser
-
Returns the specified number of parses or fewer for the specified tokens.
- Parse - Class in opennlp.tools.parser
-
Data structure for holding parse constituents.
- Parse(String, Span, String, double, int) - Constructor for class opennlp.tools.parser.Parse
-
Initializes a
node
for this specifiedtext
andspan
of the specifiedtype
with probabilityp
and the headindex
. - Parse(String, Span, String, double, Parse) - Constructor for class opennlp.tools.parser.Parse
-
Initializes a
node
for this specifiedtext
andspan
of the specifiedtype
with probabilityp
and the headindex
. - parseContexts(String[]) - Static method in class opennlp.tools.ml.model.RealValueFileEventStream
-
Parses the specified contexts and re-populates context array with features and returns the values for these features.
- parseDocument(String, InputStream, InputStream, InputStream, InputStream, InputStream) - Static method in class opennlp.tools.formats.masc.MascDocument
-
Initializes a
MascDocument
with all the stand-off annotations translated into the internal structure. - parseDocument(AnnotationConfiguration, String, InputStream, InputStream) - Static method in class opennlp.tools.formats.brat.BratDocument
- parseLine(String, Parser, int) - Static method in class opennlp.tools.cmdline.parser.ParserTool
- parseLine(String, Parser, Tokenizer, int) - Static method in class opennlp.tools.cmdline.parser.ParserTool
- parseOneEntryPerLine(Reader) - Static method in class opennlp.tools.dictionary.Dictionary
-
Reads a
Dictionary
which has one entry per line. - parseParse(String) - Static method in class opennlp.tools.parser.Parse
-
Parses the specified tree-bank style parse string and return a
Parse
structure for that string. - parseParse(String, GapLabeler) - Static method in class opennlp.tools.parser.Parse
- Parser - Class in opennlp.tools.parser.chunking
-
A shift reduce style
Parser
implementation based on Adwait Ratnaparkhi's 1998 thesis. - Parser - Class in opennlp.tools.parser.treeinsert
-
A built-attach
Parser
implementation. - Parser - Interface in opennlp.tools.parser
-
Defines common methods for full-syntactic parsers.
- Parser(ParserModel) - Constructor for class opennlp.tools.parser.chunking.Parser
-
Instantiates a
Parser
via a givenmodel
. - Parser(ParserModel) - Constructor for class opennlp.tools.parser.treeinsert.Parser
-
Instantiates a
Parser
via a givenmodel
. - Parser(ParserModel, int, double) - Constructor for class opennlp.tools.parser.chunking.Parser
-
Instantiates a
Parser
via a givenmodel
and other configuration parameters. - Parser(ParserModel, int, double) - Constructor for class opennlp.tools.parser.treeinsert.Parser
-
Instantiates a
Parser
via a givenmodel
and other configuration parameters. - PARSER - Enum constant in enum class opennlp.tools.util.DownloadUtil.ModelType
- ParserChunkerFactory - Class in opennlp.tools.parser
- ParserChunkerFactory() - Constructor for class opennlp.tools.parser.ParserChunkerFactory
- ParserChunkerSequenceValidator - Class in opennlp.tools.parser
-
The parser chunker
SequenceValidator
implementation. - ParserChunkerSequenceValidator(String[]) - Constructor for class opennlp.tools.parser.ParserChunkerSequenceValidator
- ParserConverterTool - Class in opennlp.tools.cmdline.parser
-
Tool to convert multiple data formats into native OpenNLP parser format.
- ParserConverterTool() - Constructor for class opennlp.tools.cmdline.parser.ParserConverterTool
- ParserCrossValidator - Class in opennlp.tools.parser
-
Cross validator for a
Parser
. - ParserCrossValidator(String, TrainingParameters, HeadRules, ParserType, ParserEvaluationMonitor...) - Constructor for class opennlp.tools.parser.ParserCrossValidator
-
Initializes a
ParserCrossValidator
instance via given parameters. - ParserEvaluationMonitor - Interface in opennlp.tools.parser
-
A marker interface for evaluating
parsers
. - ParserEvaluator - Class in opennlp.tools.parser
-
This implementation of
Evaluator<Parse>
behaves likeEVALB
with no exceptions, e.g, without removing punctuation tags, or equality betweenADVP
andPRT
, as in COLLINS convention. - ParserEvaluator(Parser, ParserEvaluationMonitor...) - Constructor for class opennlp.tools.parser.ParserEvaluator
-
Initializes a
ParserEvaluator
instance with the givenParser
. - ParserEvaluatorTool - Class in opennlp.tools.cmdline.parser
-
A default
Parse
-centric implementation ofAbstractEvaluatorTool
that prints to an output stream. - ParserEvaluatorTool() - Constructor for class opennlp.tools.cmdline.parser.ParserEvaluatorTool
- ParserEventStream - Class in opennlp.tools.parser.chunking
-
Wrapper class for one of four
shift-reduce parser
event streams. - ParserEventStream - Class in opennlp.tools.parser.treeinsert
-
Wrapper class for one of four
built-attach parser
event streams. - ParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum) - Constructor for class opennlp.tools.parser.chunking.ParserEventStream
- ParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum) - Constructor for class opennlp.tools.parser.treeinsert.ParserEventStream
- ParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum, Dictionary) - Constructor for class opennlp.tools.parser.chunking.ParserEventStream
- ParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum, Dictionary) - Constructor for class opennlp.tools.parser.treeinsert.ParserEventStream
- ParserEventTypeEnum - Enum Class in opennlp.tools.parser
-
Enumeration of event types for a
Parser
. - ParserFactory - Class in opennlp.tools.parser
- ParserModel - Class in opennlp.tools.parser
-
This is the default
ParserModel
implementation. - ParserModel(File) - Constructor for class opennlp.tools.parser.ParserModel
-
Initializes a
ParserModel
instance via a validFile
. - ParserModel(InputStream) - Constructor for class opennlp.tools.parser.ParserModel
-
Initializes a
ParserModel
instance via a validInputStream
. - ParserModel(String, MaxentModel, MaxentModel, MaxentModel, POSModel, ChunkerModel, HeadRules, ParserType) - Constructor for class opennlp.tools.parser.ParserModel
-
Initializes a
ParserModel
instance via given parameters. - ParserModel(String, MaxentModel, MaxentModel, MaxentModel, POSModel, ChunkerModel, HeadRules, ParserType, Map<String, String>) - Constructor for class opennlp.tools.parser.ParserModel
-
Initializes a
ParserModel
instance via given parameters. - ParserModel(String, MaxentModel, MaxentModel, POSModel, ChunkerModel, HeadRules, ParserType, Map<String, String>) - Constructor for class opennlp.tools.parser.ParserModel
-
Initializes a
ParserModel
instance via given parameters. - ParserModel(URL) - Constructor for class opennlp.tools.parser.ParserModel
-
Initializes a
ParserModel
instance via a validURL
. - ParserModel(Path) - Constructor for class opennlp.tools.parser.ParserModel
-
Initializes a
ParserModel
instance via a validPath
. - ParserModelLoader - Class in opennlp.tools.cmdline.parser
-
Loads a
ParserModel
for the command line tools. - ParserModelLoader() - Constructor for class opennlp.tools.cmdline.parser.ParserModelLoader
- ParserTool - Class in opennlp.tools.cmdline.parser
- ParserTool() - Constructor for class opennlp.tools.cmdline.parser.ParserTool
- ParserTrainerTool - Class in opennlp.tools.cmdline.parser
- ParserTrainerTool() - Constructor for class opennlp.tools.cmdline.parser.ParserTrainerTool
- ParserType - Enum Class in opennlp.tools.parser
-
Enumeration of supported
Parser
types. - ParseSampleStream - Class in opennlp.tools.parser
- ParseSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.parser.ParseSampleStream
-
Initializes a
instance
. - ParseSampleStreamFactory<P> - Class in opennlp.tools.formats
-
Factory producing OpenNLP
ParseSampleStream
s. - ParseSampleStreamFactory.Parameters - Interface in opennlp.tools.formats
- ParseToPOSSampleStream - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- ParseToPOSSampleStream(ObjectStream<Parse>) - Constructor for class opennlp.tools.formats.convert.ParseToPOSSampleStream
-
Initializes a
ParseToPOSSampleStream
. - ParseToPOSSampleStreamFactory - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- ParseToSentenceSampleStreamFactory - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- ParseToTokenSampleStreamFactory - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- pathLengths - Static variable in class opennlp.tools.util.featuregen.BrownTokenClasses
- Perceptron - Enum constant in enum class opennlp.tools.ml.model.AbstractModel.ModelType
- PERCEPTRON - Enum constant in enum class opennlp.tools.util.model.ModelType
- PERCEPTRON_SEQUENCE - Enum constant in enum class opennlp.tools.util.model.ModelType
- PERCEPTRON_SEQUENCE_VALUE - Static variable in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
- PERCEPTRON_VALUE - Static variable in class opennlp.tools.ml.perceptron.PerceptronTrainer
- PerceptronModel - Class in opennlp.tools.ml.perceptron
-
A
model
implementation based one the perceptron algorithm. - PerceptronModel(Context[], String[], String[]) - Constructor for class opennlp.tools.ml.perceptron.PerceptronModel
-
Initializes a
PerceptronModel
. - PerceptronModelReader - Class in opennlp.tools.ml.perceptron
-
The base class for readers of
models
. - PerceptronModelReader(File) - Constructor for class opennlp.tools.ml.perceptron.PerceptronModelReader
-
Initializes a
PerceptronModelReader
via aFile
. - PerceptronModelReader(DataReader) - Constructor for class opennlp.tools.ml.perceptron.PerceptronModelReader
-
Initializes a
PerceptronModelReader
via aDataReader
. - PerceptronModelWriter - Class in opennlp.tools.ml.perceptron
-
The base class for
PerceptronModel
writers. - PerceptronModelWriter(AbstractModel) - Constructor for class opennlp.tools.ml.perceptron.PerceptronModelWriter
-
Initializes a
PerceptronModelWriter
for aperceptron model
. - PerceptronTrainer - Class in opennlp.tools.ml.perceptron
-
Trains
models
using the perceptron algorithm. - PerceptronTrainer() - Constructor for class opennlp.tools.ml.perceptron.PerceptronTrainer
-
Instantiates a
PerceptronTrainer
with default training parameters. - PerceptronTrainer(TrainingParameters) - Constructor for class opennlp.tools.ml.perceptron.PerceptronTrainer
-
Instantiates a
PerceptronTrainer
with specificTrainingParameters
. - persist() - Method in class opennlp.tools.ml.AbstractMLModelWriter
- persist() - Method in class opennlp.tools.ml.maxent.io.GISModelWriter
-
Writes the
GIS model
, using theAbstractModelWriter.writeUTF(String)
,AbstractModelWriter.writeDouble(double)
, orAbstractModelWriter.writeInt(int)
} methods implemented by extending classes. - persist() - Method in class opennlp.tools.ml.maxent.io.QNModelWriter
-
Writes the
QN model
, using theAbstractModelWriter.writeUTF(String)
,AbstractModelWriter.writeDouble(double)
, orAbstractModelWriter.writeInt(int)
} methods implemented by extending classes. - persist() - Method in class opennlp.tools.ml.model.AbstractModelWriter
-
Serializes the
model
using theAbstractModelWriter.writeUTF(String)
,AbstractModelWriter.writeDouble(double)
, orAbstractModelWriter.writeInt(int)
} methods implemented by extending classes. - persist() - Method in class opennlp.tools.ml.model.GenericModelWriter
- persist() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModelWriter
-
Writes the
perceptron model
, using theAbstractModelWriter.writeUTF(String)
,AbstractModelWriter.writeDouble(double)
, orAbstractModelWriter.writeInt(int)
} methods implemented by extending classes. - persist() - Method in class opennlp.tools.ml.perceptron.PerceptronModelWriter
-
Writes the
perceptron model
, using theAbstractModelWriter.writeUTF(String)
,AbstractModelWriter.writeDouble(double)
, orAbstractModelWriter.writeInt(int)
} methods implemented by extending classes. - phrasesAsSpanList(String[], String[], String[]) - Static method in class opennlp.tools.chunker.ChunkSample
-
Create arrays of
spans
of phrases. - PlainTextByLineStream - Class in opennlp.tools.util
-
Reads a plain text file and returns each line as a
String
object. - PlainTextByLineStream(InputStreamFactory, String) - Constructor for class opennlp.tools.util.PlainTextByLineStream
-
Initializes a
PlainTextByLineStream
. - PlainTextByLineStream(InputStreamFactory, Charset) - Constructor for class opennlp.tools.util.PlainTextByLineStream
-
Initializes a
PlainTextByLineStream
. - PlainTextFileDataReader - Class in opennlp.tools.ml.model
-
A generic
DataReader
implementation for plain text files. - PlainTextFileDataReader(BufferedReader) - Constructor for class opennlp.tools.ml.model.PlainTextFileDataReader
-
Initializes a
PlainTextFileDataReader
via aBufferedReader
. - PlainTextFileDataReader(File) - Constructor for class opennlp.tools.ml.model.PlainTextFileDataReader
-
Initializes a
PlainTextFileDataReader
via aFile
. - PlainTextFileDataReader(InputStream) - Constructor for class opennlp.tools.ml.model.PlainTextFileDataReader
-
Initializes a
PlainTextFileDataReader
via aInputStream
. - PlainTextNaiveBayesModelReader - Class in opennlp.tools.ml.naivebayes
-
A
NaiveBayesModelReader
that reads models from a plain text format. - PlainTextNaiveBayesModelReader(BufferedReader) - Constructor for class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelReader
-
Instantiates
PlainTextNaiveBayesModelReader
via aBufferedReader
containing the model contents. - PlainTextNaiveBayesModelReader(File) - Constructor for class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelReader
-
Instantiates
PlainTextNaiveBayesModelReader
via aFile
and creates a reader for it. - PlainTextNaiveBayesModelWriter - Class in opennlp.tools.ml.naivebayes
-
A
NaiveBayesModelWriter
that writes models in a plain text format. - PlainTextNaiveBayesModelWriter(AbstractModel, BufferedWriter) - Constructor for class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelWriter
- PlainTextNaiveBayesModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelWriter
- Pointer(String, String, int, int, boolean) - Constructor for class opennlp.tools.formats.nkjp.NKJPSegmentationDocument.Pointer
- populatePOSDictionary(ObjectStream<POSSample>, MutableTagDictionary, int) - Static method in class opennlp.tools.postag.POSTaggerME
-
Populates a
POSDictionary
from anObjectStream
of samples. - PORTER - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- PorterStemmer - Class in opennlp.tools.stemmer
-
A
Stemmer
, implementing the Porter Stemming Algorithm - PorterStemmer() - Constructor for class opennlp.tools.stemmer.PorterStemmer
- PORTUGUESE - Enum constant in enum class opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- PortugueseContractionUtility - Class in opennlp.tools.formats.ad
-
Utility class to handle Portuguese contractions.
- PortugueseContractionUtility() - Constructor for class opennlp.tools.formats.ad.PortugueseContractionUtility
- POS - Enum constant in enum class opennlp.tools.util.DownloadUtil.ModelType
- POSContextGenerator - Interface in opennlp.tools.postag
-
Interface for a
BeamSearchContextGenerator
used in POS tagging. - POSDictionary - Class in opennlp.tools.postag
-
Provides a means of determining which tags are valid for a particular word based on a
TagDictionary
read from a file. - POSDictionary() - Constructor for class opennlp.tools.postag.POSDictionary
-
Initializes an empty case sensitive
POSDictionary
. - POSDictionary(boolean) - Constructor for class opennlp.tools.postag.POSDictionary
-
Initializes an empty
POSDictionary
. - POSDictionarySerializer() - Constructor for class opennlp.tools.postag.POSTaggerFactory.POSDictionarySerializer
- POSEvaluationErrorListener - Class in opennlp.tools.cmdline.postag
-
A default implementation of
EvaluationMonitor
that prints to an output stream. - POSEvaluationErrorListener() - Constructor for class opennlp.tools.cmdline.postag.POSEvaluationErrorListener
-
Creates a listener that will print to the configured
logger
. - POSEvaluationErrorListener(OutputStream) - Constructor for class opennlp.tools.cmdline.postag.POSEvaluationErrorListener
-
Creates a listener that will print to a given
OutputStream
. - POSEvaluator - Class in opennlp.tools.postag
-
The
POSEvaluator
measures the performance of the givenPOSTagger
with the provided referencesamples
. - POSEvaluator(POSTagger, POSTaggerEvaluationMonitor...) - Constructor for class opennlp.tools.postag.POSEvaluator
-
Initializes the current instance.
- POSModel - Class in opennlp.tools.postag
- POSModel(File) - Constructor for class opennlp.tools.postag.POSModel
- POSModel(InputStream) - Constructor for class opennlp.tools.postag.POSModel
-
Initializes a
POSModel
instance via a validInputStream
. - POSModel(String, MaxentModel, int, Map<String, String>, POSTaggerFactory) - Constructor for class opennlp.tools.postag.POSModel
-
Initializes a
POSModel
instance via given parameters. - POSModel(String, MaxentModel, Map<String, String>, POSTaggerFactory) - Constructor for class opennlp.tools.postag.POSModel
-
Initializes a
POSModel
instance via given parameters. - POSModel(String, SequenceClassificationModel<String>, Map<String, String>, POSTaggerFactory) - Constructor for class opennlp.tools.postag.POSModel
-
Initializes a
POSModel
instance via given parameters. - POSModel(URL) - Constructor for class opennlp.tools.postag.POSModel
- POSModel(Path) - Constructor for class opennlp.tools.postag.POSModel
- POSModelLoader - Class in opennlp.tools.cmdline.postag
-
Loads a
POSModel
for the command line tools. - POSModelLoader() - Constructor for class opennlp.tools.cmdline.postag.POSModelLoader
- POSModelSerializer - Class in opennlp.tools.util.model
-
An
ArtifactSerializer
implementation formodels
. - POSModelSerializer() - Constructor for class opennlp.tools.util.model.POSModelSerializer
- POSSample - Class in opennlp.tools.postag
-
Represents an pos-tagged
sentence
. - POSSample(String[], String[]) - Constructor for class opennlp.tools.postag.POSSample
-
Initializes a
POSSample
instance. - POSSample(String[], String[], String[][]) - Constructor for class opennlp.tools.postag.POSSample
-
Initializes a
POSSample
instance. - POSSample(List<String>, List<String>) - Constructor for class opennlp.tools.postag.POSSample
-
Initializes a
POSSample
instance. - POSSample(List<String>, List<String>, String[][]) - Constructor for class opennlp.tools.postag.POSSample
-
Initializes a
POSSample
instance. - POSSampleEventStream - Class in opennlp.tools.postag
- POSSampleEventStream(ObjectStream<POSSample>) - Constructor for class opennlp.tools.postag.POSSampleEventStream
-
Initializes the current instance with given samples and a
DefaultPOSContextGenerator
. - POSSampleEventStream(ObjectStream<POSSample>, POSContextGenerator) - Constructor for class opennlp.tools.postag.POSSampleEventStream
-
Initializes the current instance with the given samples and a
POSContextGenerator
. - POSSampleSequenceStream - Class in opennlp.tools.postag
-
A
SequenceStream
implementation encapsulatingsamples
. - 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
-
Initializes a
instance
. - POSTagger - Interface in opennlp.tools.postag
-
The interface for part of speech taggers.
- POSTaggerConverterTool - Class in opennlp.tools.cmdline.postag
-
Tool to convert multiple data formats into native OpenNLP part of speech tagging training format.
- POSTaggerConverterTool() - Constructor for class opennlp.tools.cmdline.postag.POSTaggerConverterTool
- POSTaggerCrossValidator - Class in opennlp.tools.postag
- POSTaggerCrossValidator(String, TrainingParameters, File, byte[], Map<String, Object>, Integer, String, POSTaggerEvaluationMonitor...) - Constructor for class opennlp.tools.postag.POSTaggerCrossValidator
-
Initializes a
POSTaggerCrossValidator
that builds a ngram dictionary dynamically. - POSTaggerCrossValidator(String, TrainingParameters, POSTaggerFactory, POSTaggerEvaluationMonitor...) - Constructor for class opennlp.tools.postag.POSTaggerCrossValidator
-
Creates a
POSTaggerCrossValidator
using the givenPOSTaggerFactory
. - POSTaggerCrossValidatorTool - Class in opennlp.tools.cmdline.postag
- POSTaggerCrossValidatorTool() - Constructor for class opennlp.tools.cmdline.postag.POSTaggerCrossValidatorTool
- POSTaggerEvaluationMonitor - Interface in opennlp.tools.postag
-
A marker interface for evaluating
pos taggers
. - POSTaggerEvaluatorTool - Class in opennlp.tools.cmdline.postag
-
A default
POSSample
-centric implementation ofAbstractEvaluatorTool
that prints to an output stream. - POSTaggerEvaluatorTool() - Constructor for class opennlp.tools.cmdline.postag.POSTaggerEvaluatorTool
- POSTaggerFactory - Class in opennlp.tools.postag
-
The factory that provides
POSTagger
default implementations and resources. - POSTaggerFactory() - Constructor for class opennlp.tools.postag.POSTaggerFactory
-
Initializes a
POSTaggerFactory
that provides the default implementation of the resources. - POSTaggerFactory(byte[], Map<String, Object>, TagDictionary) - Constructor for class opennlp.tools.postag.POSTaggerFactory
-
Initializes a
POSTaggerFactory
from a given set of the resources. - POSTaggerFactory.POSDictionarySerializer - Class in opennlp.tools.postag
- PosTaggerFeatureGenerator - Class in opennlp.tools.util.featuregen
- PosTaggerFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.PosTaggerFeatureGenerator
- PosTaggerFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
- PosTaggerFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.PosTaggerFeatureGeneratorFactory
- POSTaggerFineGrainedReportListener - Class in opennlp.tools.cmdline.postag
-
Generates a detailed report for the POS Tagger.
- POSTaggerFineGrainedReportListener() - Constructor for class opennlp.tools.cmdline.postag.POSTaggerFineGrainedReportListener
-
Creates a listener that will print to the configured
logger
. - POSTaggerFineGrainedReportListener(OutputStream) - Constructor for class opennlp.tools.cmdline.postag.POSTaggerFineGrainedReportListener
-
Creates a listener that prints to a given
OutputStream
. - POSTaggerME - Class in opennlp.tools.postag
-
A
part-of-speech tagger
that uses maximum entropy. - POSTaggerME(String) - Constructor for class opennlp.tools.postag.POSTaggerME
-
Initializes a
POSTaggerME
by downloading a default model for a givenlanguage
. - POSTaggerME(POSModel) - Constructor for class opennlp.tools.postag.POSTaggerME
-
Initializes a
POSTaggerME
with the providedmodel
. - POSTaggerNameFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Adds the token POS Tag as feature.
- POSTaggerNameFeatureGenerator(POSModel) - Constructor for class opennlp.tools.util.featuregen.POSTaggerNameFeatureGenerator
-
Initializes a new instance.
- POSTaggerNameFeatureGenerator(POSTagger) - Constructor for class opennlp.tools.util.featuregen.POSTaggerNameFeatureGenerator
-
Initializes a new instance.
- POSTaggerNameFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
- POSTaggerNameFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.POSTaggerNameFeatureGeneratorFactory
- POSTaggerTool - Class in opennlp.tools.cmdline.postag
- POSTaggerTool() - Constructor for class opennlp.tools.cmdline.postag.POSTaggerTool
- POSTaggerTrainerTool - Class in opennlp.tools.cmdline.postag
- POSTaggerTrainerTool() - Constructor for class opennlp.tools.cmdline.postag.POSTaggerTrainerTool
- POSToSentenceSampleStream - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- POSToSentenceSampleStream(Detokenizer, ObjectStream<POSSample>, int) - Constructor for class opennlp.tools.formats.convert.POSToSentenceSampleStream
-
Initializes a
POSToSentenceSampleStream
. - POSToSentenceSampleStreamFactory<P> - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- POSToTokenSampleStream - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- POSToTokenSampleStream(Detokenizer, ObjectStream<POSSample>) - Constructor for class opennlp.tools.formats.convert.POSToTokenSampleStream
-
Initializes a
POSToTokenSampleStream
. - POSToTokenSampleStreamFactory<P> - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- precision(Object[], Object[]) - Static method in class opennlp.tools.util.eval.FMeasure
-
Calculates the precision score for the given reference and predicted spans.
- predictLanguage(CharSequence) - Method in interface opennlp.tools.langdetect.LanguageDetector
-
Predicts the
Language
for the fullcontent
length. - predictLanguage(CharSequence) - Method in class opennlp.tools.langdetect.
DefaultNameContextGenerator(AdaptiveFeatureGenerator...)
and always provide one or morefeature generators
.