A B C D E F G H I J L M N O P Q R S T U V W X Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractBottomUpParser - Class in opennlp.tools.parser
-
Abstract class which contains code to tag and chunk parses for bottom up parsing and leaves implementation of advancing parses and completing parses to extend class.
- AbstractBottomUpParser(POSTagger, Chunker, HeadRules, int, double) - Constructor for class opennlp.tools.parser.AbstractBottomUpParser
- AbstractContextGenerator - Class in opennlp.tools.parser
-
Abstract class containing many of the methods used to generate contexts for parsing.
- AbstractContextGenerator() - Constructor for class opennlp.tools.parser.AbstractContextGenerator
- AbstractDataIndexer - Class in opennlp.tools.ml.model
-
Abstract class for collecting event and context counts used in training.
- AbstractDataIndexer() - Constructor for class opennlp.tools.ml.model.AbstractDataIndexer
- AbstractEventModelSequenceTrainer - Class in opennlp.tools.ml
- AbstractEventModelSequenceTrainer() - Constructor for class opennlp.tools.ml.AbstractEventModelSequenceTrainer
- AbstractEventStream<T> - Class in opennlp.tools.util
- AbstractEventStream(ObjectStream<T>) - Constructor for class opennlp.tools.util.AbstractEventStream
-
Initializes the current instance with a sample
Iterator
. - AbstractEventTrainer - Class in opennlp.tools.ml
- AbstractEventTrainer() - Constructor for class opennlp.tools.ml.AbstractEventTrainer
- AbstractEventTrainer(TrainingParameters) - Constructor for class opennlp.tools.ml.AbstractEventTrainer
- AbstractModel - Class in opennlp.tools.ml.model
- AbstractModel(Context[], String[], String[]) - Constructor for class opennlp.tools.ml.model.AbstractModel
- AbstractModel.ModelType - Enum in opennlp.tools.ml.model
- AbstractModelReader - Class in opennlp.tools.ml.model
- AbstractModelReader(File) - Constructor for class opennlp.tools.ml.model.AbstractModelReader
- AbstractModelReader(DataReader) - Constructor for class opennlp.tools.ml.model.AbstractModelReader
- AbstractModelWriter - Class in opennlp.tools.ml.model
- AbstractModelWriter() - Constructor for class opennlp.tools.ml.model.AbstractModelWriter
- AbstractObjectStream<T> - Class in opennlp.tools.util
- AbstractParserEventStream - Class in opennlp.tools.parser
-
Abstract class extended by parser event streams which perform tagging and chunking.
- AbstractParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum) - Constructor for class opennlp.tools.parser.AbstractParserEventStream
- AbstractParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum, Dictionary) - Constructor for class opennlp.tools.parser.AbstractParserEventStream
- AbstractSampleStreamFactory<T> - Class in opennlp.tools.formats
-
Base class for sample stream factories.
- AbstractSequenceTrainer - Class in opennlp.tools.ml
- AbstractSequenceTrainer() - Constructor for class opennlp.tools.ml.AbstractSequenceTrainer
- AbstractToSentenceSampleStream<T> - Class in opennlp.tools.formats.convert
- AbstractTrainer - Class in opennlp.tools.ml
- AbstractTrainer() - Constructor for class opennlp.tools.ml.AbstractTrainer
- AbstractTrainer(TrainingParameters) - Constructor for class opennlp.tools.ml.AbstractTrainer
- 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
- ADChunkSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.ad.ADChunkSampleStream
-
Creates a new
NameSample
stream from a line stream, i.e. - ADChunkSampleStreamFactory - 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, int, int) - Method in class opennlp.tools.ngram.NGramCharModel
-
Adds 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.ngram.NGramCharModel
-
Adds one NGram, if it already exists the count increase by one.
- add(String...) - Method in class opennlp.tools.languagemodel.NGramLanguageModel
- 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
- addElement(ADSentenceStream.SentenceParser.TreeElement) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Node
- addFeatureGenerator(AdaptiveFeatureGenerator) - Method in class opennlp.tools.namefind.DefaultNameContextGenerator
- addFeatureGenerator(AdaptiveFeatureGenerator) - Method in interface opennlp.tools.namefind.NameContextGenerator
-
Adds a feature generator to this set of feature generators.
- addIn(double) - Method in class opennlp.tools.ml.naivebayes.LogProbability
-
Compounds the existing probability mass on the label with the new probability passed in to the method.
- addIn(double) - Method in class opennlp.tools.ml.naivebayes.Probability
-
Compounds the existing probability mass on the label with the new probability passed in to the method.
- addIn(T, double, int) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
-
Compounds the existing probability mass on the label with the new probability passed in to the method.
- addIn(T, double, int) - Method in class opennlp.tools.ml.naivebayes.Probabilities
-
Compounds the existing probability mass on the label with the new probability passed in to the method.
- additionalContext(String[], Map<String, String>) - Static method in class opennlp.tools.namefind.NameFinderEventStream
-
Generated previous decision features for each token based on contents of the specified map.
- AdditionalContextFeatureGenerator - Class in opennlp.tools.util.featuregen
-
The
AdditionalContextFeatureGenerator
generates the context from the passed in additional context. - AdditionalContextFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.AdditionalContextFeatureGenerator
- addNames(String, Span[], Parse[]) - Static method in class opennlp.tools.parser.Parse
-
Utility method to inserts named entities.
- addNextPunctuation(Parse) - Method in class opennlp.tools.parser.Parse
-
Designates that the specified punctuation follows this parse.
- addPreviousPunctuation(Parse) - Method in class opennlp.tools.parser.Parse
-
Designates that the specified punctuation should is prior to this parse.
- addProb(double) - Method in class opennlp.tools.parser.Parse
-
Adds the specified probability log to this current log for this parse.
- adjoin(Parse, HeadRules) - Method in class opennlp.tools.parser.Parse
-
Sister adjoins this node's last child and the specified sister node and returns their new parent node.
- adjoinRoot(Parse, HeadRules, int) - Method in class opennlp.tools.parser.Parse
- ADNameSampleStream - Class in opennlp.tools.formats.ad
-
Parser for Floresta Sita(c)tica Arvores Deitadas corpus, output to for the Portuguese NER training.
- ADNameSampleStream(InputStreamFactory, String, boolean) - Constructor for class opennlp.tools.formats.ad.ADNameSampleStream
-
Deprecated.
- ADNameSampleStream(ObjectStream<String>, boolean) - Constructor for class opennlp.tools.formats.ad.ADNameSampleStream
-
Creates a new
NameSample
stream from a line stream, i.e. - ADNameSampleStreamFactory - Class in opennlp.tools.formats.ad
-
A Factory to create a Arvores Deitadas NameSampleDataStream from the command line utility.
- ADPOSSampleStream - Class in opennlp.tools.formats.ad
-
Note: Do not use this class, internal use only!
- ADPOSSampleStream(InputStreamFactory, String, boolean, boolean) - Constructor for class opennlp.tools.formats.ad.ADPOSSampleStream
-
Creates a new
POSSample
stream from aInputStream
- ADPOSSampleStream(ObjectStream<String>, boolean, boolean) - Constructor for class opennlp.tools.formats.ad.ADPOSSampleStream
-
Creates a new
POSSample
stream from a line stream, i.e. - ADPOSSampleStreamFactory - Class in opennlp.tools.formats.ad
-
Note: Do not use this class, internal use only!
- ADSentenceSampleStream - Class in opennlp.tools.formats.ad
-
Note: Do not use this class, internal use only!
- ADSentenceSampleStream(InputStreamFactory, String, boolean) - Constructor for class opennlp.tools.formats.ad.ADSentenceSampleStream
-
Creates a new
SentenceSample
stream from aFileInputStream
- ADSentenceSampleStream(ObjectStream<String>, boolean) - Constructor for class opennlp.tools.formats.ad.ADSentenceSampleStream
-
Creates a new
SentenceSample
stream from a line stream, i.e. - ADSentenceSampleStreamFactory - Class in opennlp.tools.formats.ad
-
Note: Do not use this class, internal use only!
- ADSentenceStream - Class in opennlp.tools.formats.ad
-
Stream filter which merges text lines into sentences, following the Arvores Deitadas syntax.
- ADSentenceStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.ad.ADSentenceStream
- ADSentenceStream.Sentence - Class in opennlp.tools.formats.ad
- ADSentenceStream.SentenceParser - Class in opennlp.tools.formats.ad
-
Parses a sample of AD corpus.
- ADSentenceStream.SentenceParser.Leaf - Class in opennlp.tools.formats.ad
-
Represents the AD leaf
- ADSentenceStream.SentenceParser.Node - Class in opennlp.tools.formats.ad
-
Represents the AD node
- ADSentenceStream.SentenceParser.TreeElement - Class in opennlp.tools.formats.ad
-
Represents a tree element, Node or Leaf
- ADTokenSampleStreamFactory - Class in opennlp.tools.formats.ad
-
Note: Do not use this class, internal use only!
- AggregateCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
- AggregateCharSequenceNormalizer(CharSequenceNormalizer...) - Constructor for class opennlp.tools.util.normalizer.AggregateCharSequenceNormalizer
- AggregatedFeatureGenerator - Class in opennlp.tools.util.featuregen
-
The
AggregatedFeatureGenerator
aggregates a set 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
-
Retrieves the training algorithm name.
- algorithm(String) - Method in class opennlp.tools.util.TrainingParameters
-
Retrieves the training algorithm name for a given name space.
- ALGORITHM_PARAM - Static variable in class opennlp.tools.ml.AbstractTrainer
- ALGORITHM_PARAM - Static variable in class opennlp.tools.util.TrainingParameters
- alphaNumeric - Static variable in class opennlp.tools.tokenize.TokenizerME
-
Deprecated.As of release 1.5.2, replaced by
Factory.getAlphanumeric(String)
- AncoraSpanishHeadRules - Class in opennlp.tools.parser.lang.es
-
Class for storing the Ancora Spanish head rules associated with parsing.
- AncoraSpanishHeadRules(Reader) - Constructor for class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
-
Creates a new set of head rules based on the specified reader.
- AncoraSpanishHeadRules.HeadRulesSerializer - Class in opennlp.tools.parser.lang.es
- AnnotationConfiguration - Class in opennlp.tools.formats.brat
- AnnotationConfiguration(Map<String, String>) - Constructor for class opennlp.tools.formats.brat.AnnotationConfiguration
- AnnotatorNoteAnnotation - Class in opennlp.tools.formats.brat
- ARABIC - 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 the model are compatible with the codec.
- argmax(double[]) - Static method in class opennlp.tools.ml.ArrayMath
-
Find index of maximum element in the vector x
- ArrayMath - Class in opennlp.tools.ml
-
Utility class for simple vector arithmetic.
- ArrayMath - Class in opennlp.tools.ml.maxent.quasinewton
-
Deprecated.
- ArrayMath() - Constructor for class opennlp.tools.ml.ArrayMath
- ArrayMath() - Constructor for class opennlp.tools.ml.maxent.quasinewton.ArrayMath
-
Deprecated.
- ArtifactProvider - Interface in opennlp.tools.util.model
-
Provides access to model persisted artifacts.
- ArtifactSerializer<T> - Interface in opennlp.tools.util.model
-
Responsible to create an artifact from an
InputStream
. - ArtifactToSerializerMapper - Interface in opennlp.tools.util.featuregen
-
Deprecated.
- asStringSet() - Method in class opennlp.tools.dictionary.Dictionary
-
Gets this dictionary as a
Set<String>
. - ATTACH - 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
- AttachContextGenerator(Set<String>) - Constructor for class opennlp.tools.parser.treeinsert.AttachContextGenerator
- ATTRIBUTE_TYPE - Static variable in class opennlp.tools.formats.brat.AnnotationConfiguration
- AttributeAnnotation - Class in opennlp.tools.formats.brat
- Attributes - Class in opennlp.tools.dictionary.serializer
-
The
Attributes
class stores name value pairs. - Attributes() - Constructor for class opennlp.tools.dictionary.serializer.Attributes
- 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
- BaseLink - Class in opennlp.tools.entitylinker
-
Stores a minimal tuple of information.
- BaseLink() - Constructor for class opennlp.tools.entitylinker.BaseLink
- BaseLink(String, String, String, String) - Constructor for class opennlp.tools.entitylinker.BaseLink
- BaseModel - Class in opennlp.tools.util.model
-
This model is a common based which can be used by the components model classes.
- BaseToolFactory - Class in opennlp.tools.util
-
Base class for all tool factories.
- BaseToolFactory() - Constructor for class opennlp.tools.util.BaseToolFactory
-
All sub-classes should have an empty constructor
- BasicContextGenerator - Class in opennlp.tools.ml.maxent
-
Generate contexts for maxent decisions, assuming that the input given to the getContext() method is a String containing contextual predicates separated by spaces.
- BasicContextGenerator() - Constructor for class opennlp.tools.ml.maxent.BasicContextGenerator
- BasicContextGenerator(String) - Constructor for class opennlp.tools.ml.maxent.BasicContextGenerator
- 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 sequence.
- BeamSearch(int, MaxentModel) - Constructor for class opennlp.tools.ml.BeamSearch
-
Creates new search object.
- BeamSearch(int, MaxentModel, int) - Constructor for class opennlp.tools.ml.BeamSearch
- BeamSearchContextGenerator<T> - Interface in opennlp.tools.util
-
Interface for context generators used with a sequence beam search.
- bestSequence(T[], Object[], BeamSearchContextGenerator<T>, SequenceValidator<T>) - Method in class opennlp.tools.ml.BeamSearch
- bestSequence(T[], Object[], BeamSearchContextGenerator<T>, SequenceValidator<T>) - Method in interface opennlp.tools.ml.model.SequenceClassificationModel
-
Finds the sequence with the highest probability.
- bestSequences(int, T[], Object[], double, BeamSearchContextGenerator<T>, SequenceValidator<T>) - Method in class opennlp.tools.ml.BeamSearch
-
Returns the best sequence of outcomes based on model for this object.
- bestSequences(int, T[], Object[], double, BeamSearchContextGenerator<T>, SequenceValidator<T>) - Method in interface opennlp.tools.ml.model.SequenceClassificationModel
-
Finds the n most probable sequences.
- bestSequences(int, T[], Object[], BeamSearchContextGenerator<T>, SequenceValidator<T>) - Method in class opennlp.tools.ml.BeamSearch
- bestSequences(int, T[], Object[], BeamSearchContextGenerator<T>, SequenceValidator<T>) - Method in interface opennlp.tools.ml.model.SequenceClassificationModel
-
Finds the n most probable sequences.
- BigramNameFeatureGenerator - Class in opennlp.tools.util.featuregen
- BigramNameFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.BigramNameFeatureGenerator
- BigramNameFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
- BigramNameFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.BigramNameFeatureGeneratorFactory
- BilouCodec - Class in opennlp.tools.namefind
- BilouCodec() - Constructor for class opennlp.tools.namefind.BilouCodec
- BilouNameFinderSequenceValidator - Class in opennlp.tools.namefind
- BilouNameFinderSequenceValidator() - Constructor for class opennlp.tools.namefind.BilouNameFinderSequenceValidator
- BinaryFileDataReader - Class in opennlp.tools.ml.model
- BinaryFileDataReader(DataInputStream) - Constructor for class opennlp.tools.ml.model.BinaryFileDataReader
- 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 reader for GIS models stored in binary format.
- BinaryGISModelReader(DataInputStream) - Constructor for class opennlp.tools.ml.maxent.io.BinaryGISModelReader
-
Constructor which directly instantiates the DataInputStream containing the model contents.
- BinaryGISModelWriter - Class in opennlp.tools.ml.maxent.io
-
Model writer that saves models in binary format.
- BinaryGISModelWriter(AbstractModel, DataOutputStream) - Constructor for class opennlp.tools.ml.maxent.io.BinaryGISModelWriter
-
Constructor which takes a GISModel and a DataOutputStream and prepares itself to write the model to that stream.
- BinaryGISModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.maxent.io.BinaryGISModelWriter
-
Constructor which takes a GISModel and a File and prepares itself to write the model to that file.
- BinaryNaiveBayesModelReader - Class in opennlp.tools.ml.naivebayes
- BinaryNaiveBayesModelReader(DataInputStream) - Constructor for class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelReader
-
Constructor which directly instantiates the DataInputStream containing the model contents.
- BinaryNaiveBayesModelReader(File) - Constructor for class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelReader
-
Constructor which takes a File and creates a reader for it.
- BinaryNaiveBayesModelWriter - Class in opennlp.tools.ml.naivebayes
-
Model writer that saves models in binary format.
- BinaryNaiveBayesModelWriter(AbstractModel, DataOutputStream) - Constructor for class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelWriter
-
Constructor which takes a NaiveBayesModel and a DataOutputStream and prepares itself to write the model to that stream.
- BinaryNaiveBayesModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelWriter
-
Constructor which takes a NaiveBayesModel and a File and prepares itself to write the model to that file.
- BinaryPerceptronModelReader - Class in opennlp.tools.ml.perceptron
- BinaryPerceptronModelReader(DataInputStream) - Constructor for class opennlp.tools.ml.perceptron.BinaryPerceptronModelReader
-
Constructor which directly instantiates the DataInputStream containing the model contents.
- BinaryPerceptronModelReader(File) - Constructor for class opennlp.tools.ml.perceptron.BinaryPerceptronModelReader
-
Constructor which takes a File and creates a reader for it.
- BinaryPerceptronModelWriter - Class in opennlp.tools.ml.perceptron
-
Model writer that saves models in binary format.
- BinaryPerceptronModelWriter(AbstractModel, DataOutputStream) - Constructor for class opennlp.tools.ml.perceptron.BinaryPerceptronModelWriter
-
Constructor which takes a GISModel and a DataOutputStream and prepares itself to write the model to that stream.
- BinaryPerceptronModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.perceptron.BinaryPerceptronModelWriter
-
Constructor which takes a GISModel and a File and prepares itself to write the model to that file.
- BinaryQNModelReader - Class in opennlp.tools.ml.maxent.io
-
A reader for quasi-newton models stored in binary format.
- BinaryQNModelReader(DataInputStream) - Constructor for class opennlp.tools.ml.maxent.io.BinaryQNModelReader
-
Constructor which directly instantiates the DataInputStream containing the model contents.
- BinaryQNModelWriter - Class in opennlp.tools.ml.maxent.io
- BinaryQNModelWriter(AbstractModel, DataOutputStream) - Constructor for class opennlp.tools.ml.maxent.io.BinaryQNModelWriter
-
Constructor which takes a GISModel and a DataOutputStream and prepares itself to write the model to that stream.
- BinaryQNModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.maxent.io.BinaryQNModelWriter
-
Constructor which takes a GISModel and a File and prepares itself to write the model to that file.
- BioCodec - Class in opennlp.tools.namefind
- BioCodec() - Constructor for class opennlp.tools.namefind.BioCodec
- BioNLP2004NameSampleStream - Class in opennlp.tools.formats
-
Parser for the training files of the BioNLP/NLPBA 2004 shared task.
- BioNLP2004NameSampleStream(InputStreamFactory, int) - Constructor for class opennlp.tools.formats.BioNLP2004NameSampleStream
- BioNLP2004NameSampleStreamFactory - Class in opennlp.tools.formats
- BRACKET_LCB - Static variable in class opennlp.tools.parser.Parse
- BRACKET_LRB - Static variable in class opennlp.tools.parser.Parse
- BRACKET_LSB - Static variable in class opennlp.tools.parser.Parse
- BRACKET_RCB - Static variable in class opennlp.tools.parser.Parse
- BRACKET_RRB - Static variable in class opennlp.tools.parser.Parse
- BRACKET_RSB - Static variable in class opennlp.tools.parser.Parse
- BratAnnotation - Class in opennlp.tools.formats.brat
- BratAnnotationStream - Class in opennlp.tools.formats.brat
-
Reads the annotations from the brat .ann annotation file.
- BratDocument - Class in opennlp.tools.formats.brat
- BratDocument(AnnotationConfiguration, String, String, Collection<BratAnnotation>) - Constructor for class opennlp.tools.formats.brat.BratDocument
- BratDocumentParser - Class in opennlp.tools.formats.brat
- BratDocumentParser(SentenceDetector, Tokenizer) - Constructor for class opennlp.tools.formats.brat.BratDocumentParser
- 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 http://metaoptimize.com/projects/wordreprs/ The file containing the clustering lexicon has to be passed as the value of the dict attribute of each BrownCluster feature generator.
- BrownCluster(InputStream) - Constructor for class opennlp.tools.util.featuregen.BrownCluster
-
Generates the token to cluster map from Brown cluster input file.
- BrownCluster.BrownClusterSerializer - Class in opennlp.tools.util.featuregen
- 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 Brown cluster features for current token and token class.
- BrownTokenClassFeatureGenerator(BrownCluster) - Constructor for class opennlp.tools.util.featuregen.BrownTokenClassFeatureGenerator
- BrownTokenFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Generates Brown cluster features for current token.
- BrownTokenFeatureGenerator(BrownCluster) - Constructor for class opennlp.tools.util.featuregen.BrownTokenFeatureGenerator
- BUILD - opennlp.tools.parser.ParserEventTypeEnum
- BuildContextGenerator - Class in opennlp.tools.parser.chunking
-
Class to generator predictive contexts for deciding how constituents should be combined together.
- 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
-
Creates a new context generator for making decisions about combining constitients togehter.
- BuildContextGenerator() - Constructor for class opennlp.tools.parser.treeinsert.BuildContextGenerator
- BuildContextGenerator(Dictionary) - Constructor for class opennlp.tools.parser.chunking.BuildContextGenerator
- buildDictionary(ObjectStream<Parse>, HeadRules, int) - Static method in class opennlp.tools.parser.AbstractBottomUpParser
-
Creates a n-gram dictionary from the specified data stream using the specified head rule and specified cut-off.
- 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
- BUILT - Static variable in class opennlp.tools.parser.treeinsert.Parser
-
Label used to distinguish build nodes from non-built nodes.
- ByteArraySerializer - Class in opennlp.tools.util.model
- ByteArraySerializer() - Constructor for class opennlp.tools.util.model.ByteArraySerializer
C
- Cache<K,V> - Class in opennlp.tools.util
-
Provides fixed size, pre-allocated, least recently used replacement cache.
- Cache(int) - Constructor for class opennlp.tools.util.Cache
- CachedFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Caches features of the aggregated
AdaptiveFeatureGenerator
s. - 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.
- 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.
- calculateProbability(String...) - Method in class opennlp.tools.languagemodel.NGramLanguageModel
- calculateProbability(StringList) - Method in interface opennlp.tools.languagemodel.LanguageModel
-
Deprecated.
- calculateProbability(StringList) - Method in class opennlp.tools.languagemodel.NGramLanguageModel
- calculateTrigramLinearInterpolationProbability(String, String, String, Collection<StringList>, Double, Double, Double) - Static method in class opennlp.tools.ngram.NGramUtils
-
calculate the probability of a trigram in a vocabulary using a linear interpolation algorithm
- calculateTrigramMLProbability(String, String, String, Iterable<StringList>) - Static method in class opennlp.tools.ngram.NGramUtils
-
calculate the probability of a trigram in a vocabulary using maximum likelihood estimation
- calculateUnigramMLProbability(String, Collection<StringList>) - Static method in class opennlp.tools.ngram.NGramUtils
-
calculate the probability of a unigram in a vocabulary using maximum likelihood estimation
- CATALAN - 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
-
Categorizes the given text.
- categorize(String[], Map<String, Object>) - Method in interface opennlp.tools.doccat.DocumentCategorizer
-
Categorize the given text provided as tokens along with the provided extra information
- categorize(String[], 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 the current instance with min 2 length and max 5 length of ngrams.
- CharacterNgramFeatureGenerator(int, int) - Constructor for class opennlp.tools.util.featuregen.CharacterNgramFeatureGenerator
- CharacterNgramFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
- CharacterNgramFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.CharacterNgramFeatureGeneratorFactory
- characters(char[], int, int) - Method in class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtDocumentHandler
- characters(CharSequence) - Method in class opennlp.tools.formats.muc.MucNameContentHandler
- characters(CharSequence) - Method in class opennlp.tools.formats.muc.SgmlParser.ContentHandler
- CharSequenceNormalizer - Interface in opennlp.tools.util.normalizer
-
A char sequence normalizer, used to adjusting (prune, substitute, add, etc.) characters in order to remove noise from text
- CHECK - opennlp.tools.parser.ParserEventTypeEnum
- CheckContextGenerator - Class in opennlp.tools.parser.chunking
-
Class for generating predictive context for deciding when a constituent is complete.
- CheckContextGenerator - Class in opennlp.tools.parser.treeinsert
- CheckContextGenerator() - Constructor for class opennlp.tools.parser.chunking.CheckContextGenerator
-
Creates a new context generator for generating predictive context for deciding when a constituent is complete.
- CheckContextGenerator(Set<String>) - Constructor for class opennlp.tools.parser.treeinsert.CheckContextGenerator
- checkModelType() - Method in class opennlp.tools.ml.maxent.io.GISModelReader
- checkModelType() - Method in class opennlp.tools.ml.maxent.io.QNModelReader
- checkModelType() - Method in class opennlp.tools.ml.model.AbstractModelReader
- checkModelType() - Method in class opennlp.tools.ml.model.GenericModelReader
- checkModelType() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModelReader
- checkModelType() - Method in class opennlp.tools.ml.perceptron.PerceptronModelReader
- CheckModelUpdaterTool - Class in opennlp.tools.cmdline.parser
- 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 - 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 predivtive context for the pre-chunking phases of parsing.
- ChunkContextGenerator() - Constructor for class opennlp.tools.parser.ChunkContextGenerator
- ChunkContextGenerator(int) - Constructor for class opennlp.tools.parser.ChunkContextGenerator
- Chunker - Interface in opennlp.tools.chunker
-
The interface for chunkers which provide chunk tags for a sequence of tokens.
- CHUNKER - opennlp.tools.util.DownloadUtil.ModelType
- ChunkerContextGenerator - Interface in opennlp.tools.chunker
-
Interface for the context generator 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
- ChunkerCrossValidator(String, TrainingParameters, ChunkerFactory, ChunkerEvaluationMonitor...) - Constructor for class opennlp.tools.chunker.ChunkerCrossValidator
- 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
- ChunkerEvaluator - Class in opennlp.tools.chunker
-
The
ChunkerEvaluator
measures the performance of the givenChunker
with the provided referenceChunkSample
s. - ChunkerEvaluator(Chunker, ChunkerEvaluationMonitor...) - Constructor for class opennlp.tools.chunker.ChunkerEvaluator
-
Initializes the current instance with the given
Chunker
. - ChunkerEvaluatorTool - Class in opennlp.tools.cmdline.chunker
- 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 specified context generator.
- ChunkerFactory - Class in opennlp.tools.chunker
- ChunkerFactory() - Constructor for class opennlp.tools.chunker.ChunkerFactory
-
Creates a
ChunkerFactory
that provides the default implementation of the resources. - ChunkerME - Class in opennlp.tools.chunker
-
The class represents a maximum-entropy-based chunker.
- ChunkerME(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 model.
- 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
- ChunkerModel(InputStream) - Constructor for class opennlp.tools.chunker.ChunkerModel
- ChunkerModel(String, MaxentModel, int, Map<String, String>, ChunkerFactory) - Constructor for class opennlp.tools.chunker.ChunkerModel
- ChunkerModel(String, MaxentModel, Map<String, String>, ChunkerFactory) - Constructor for class opennlp.tools.chunker.ChunkerModel
- ChunkerModel(String, MaxentModel, ChunkerFactory) - Constructor for class opennlp.tools.chunker.ChunkerModel
- ChunkerModel(String, SequenceClassificationModel<String>, Map<String, String>, ChunkerFactory) - Constructor for class opennlp.tools.chunker.ChunkerModel
- ChunkerModel(URL) - Constructor for class opennlp.tools.chunker.ChunkerModel
- ChunkerModel(Path) - Constructor for class opennlp.tools.chunker.ChunkerModel
- ChunkerModelLoader - Class in opennlp.tools.cmdline.chunker
-
Loads a Chunker Model for the command line tools.
- ChunkerModelLoader() - Constructor for class opennlp.tools.cmdline.chunker.ChunkerModelLoader
- ChunkerModelSerializer - Class in opennlp.tools.util.model
- ChunkerModelSerializer() - Constructor for class opennlp.tools.util.model.ChunkerModelSerializer
- ChunkerSampleStreamFactory - Class in opennlp.tools.formats
-
Factory producing OpenNLP
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 System.err
- ChunkEvaluationErrorListener(OutputStream) - Constructor for class opennlp.tools.cmdline.chunker.ChunkEvaluationErrorListener
-
Creates a listener that will print to a given
OutputStream
- CHUNKING - 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 the current instance.
- ChunkSample(List<String>, List<String>, List<String>) - Constructor for class opennlp.tools.chunker.ChunkSample
-
Initializes the current instance.
- ChunkSampleSequenceStream - Class in opennlp.tools.chunker
- ChunkSampleSequenceStream(ObjectStream<ChunkSample>, ChunkerContextGenerator) - Constructor for class opennlp.tools.chunker.ChunkSampleSequenceStream
- ChunkSampleStream - Class in opennlp.tools.chunker
-
Parses the conll 2000 shared task shallow parser training data.
- ChunkSampleStream - Class in opennlp.tools.parser
- ChunkSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.chunker.ChunkSampleStream
-
Initializes the current instance.
- ChunkSampleStream(ObjectStream<Parse>) - Constructor for class opennlp.tools.parser.ChunkSampleStream
- clearAdaptiveData() - Method in class opennlp.tools.namefind.DefaultNameContextGenerator
- clearAdaptiveData() - Method in class opennlp.tools.namefind.DictionaryNameFinder
- clearAdaptiveData() - Method in interface opennlp.tools.namefind.NameContextGenerator
-
Informs all the feature generators for a name finder that the context of the adaptive data (typically a document) is no longer valid.
- clearAdaptiveData() - Method in class opennlp.tools.namefind.NameFinderME
-
Forgets all adaptive data which was collected during previous calls to one of the find methods.
- clearAdaptiveData() - Method in class opennlp.tools.namefind.RegexNameFinder
- clearAdaptiveData() - Method in interface opennlp.tools.namefind.TokenNameFinder
-
Forgets all adaptive data which was collected during previous calls to one of the find methods.
- clearAdaptiveData() - Method in interface opennlp.tools.util.featuregen.AdaptiveFeatureGenerator
-
Informs the feature generator that the context of the adaptive data (typically a document) is no longer valid.
- clearAdaptiveData() - Method in class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
-
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
-
Clears the previous map.
- clearAdaptiveData() - Method in class opennlp.tools.util.featuregen.PreviousTwoMapFeatureGenerator
-
Clears the previous map.
- clearAdaptiveData() - Method in class opennlp.tools.util.featuregen.WindowFeatureGenerator
- clone() - Method in class opennlp.tools.parser.Parse
- clone(Parse) - Method in class opennlp.tools.parser.Parse
-
Clones the right frontier of parse up to the specified node.
- cloneRoot(Parse, int) - Method in class opennlp.tools.parser.Parse
-
Clones the right frontier of this root parse up to and including the specified node.
- close() - Method in class opennlp.tools.chunker.ChunkSampleSequenceStream
- close() - Method in class opennlp.tools.formats.ad.ADChunkSampleStream
- close() - Method in class opennlp.tools.formats.ad.ADNameSampleStream
- close() - Method in class opennlp.tools.formats.ad.ADPOSSampleStream
- close() - Method in class opennlp.tools.formats.ad.ADSentenceSampleStream
- close() - Method in class opennlp.tools.formats.BioNLP2004NameSampleStream
- close() - Method in class opennlp.tools.formats.brat.BratAnnotationStream
- close() - Method in class opennlp.tools.formats.brat.BratDocumentStream
- close() - Method in class opennlp.tools.formats.Conll02NameSampleStream
- close() - Method in class opennlp.tools.formats.Conll03NameSampleStream
- close() - Method in class opennlp.tools.formats.conllu.ConlluStream
- close() - Method in class opennlp.tools.formats.DirectorySampleStream
-
Closes the
ObjectStream
and releases all allocated resources. - close() - Method in class opennlp.tools.formats.EvalitaNameSampleStream
- close() - Method in class opennlp.tools.formats.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
- close() - Method in class opennlp.tools.ml.maxent.RealBasicEventStream
- close() - Method in class opennlp.tools.ml.model.AbstractModelWriter
- close() - Method in class opennlp.tools.ml.model.FileEventStream
- close() - Method in class opennlp.tools.ml.model.GenericModelWriter
- close() - Method in class opennlp.tools.ml.model.SequenceStreamEventStream
- close() - Method in class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelWriter
- close() - Method in class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelWriter
- close() - Method in class opennlp.tools.ml.perceptron.BinaryPerceptronModelWriter
- close() - Method in class opennlp.tools.namefind.NameSampleSequenceStream
- close() - Method in class opennlp.tools.postag.POSSampleSequenceStream
- close() - Method in class opennlp.tools.tokenize.TokenizerStream
- close() - Method in class opennlp.tools.util.AbstractEventStream
- close() - Method in class opennlp.tools.util.AbstractObjectStream
- close() - Method in class opennlp.tools.util.CollectionObjectStream
- close() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner.TrainingSampleStream
- close() - Method in class opennlp.tools.util.FilterObjectStream
- close() - Method in class opennlp.tools.util.model.UncloseableInputStream
-
This method does not has any effect the
InputStream
cannot be closed. - close() - Method in interface opennlp.tools.util.ObjectStream
-
Closes the
ObjectStream
and releases all allocated resources. - close() - Method in class opennlp.tools.util.PlainTextByLineStream
- collapsePunctuation(Parse[], Set<String>) - Static method in class opennlp.tools.parser.AbstractBottomUpParser
-
Removes the punctuation from the specified set of chunks, adds it to the parses adjacent to the punctuation is specified, and returns a new array of parses with the punctuation removed.
- CollectionObjectStream<E> - Class in opennlp.tools.util
- CollectionObjectStream(Collection<E>) - Constructor for class opennlp.tools.util.CollectionObjectStream
- ComparableEvent - Class in opennlp.tools.ml.model
-
A maxent event representation which we can use to sort based on the predicates indexes contained in the events.
- ComparableEvent(int, int[]) - 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 tokens list and ignores the case of the tokens.
- complete() - Method in class opennlp.tools.parser.Parse
-
Returns whether this parse is complete.
- COMPLETE - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
Outcome used when a constituent is complete.
- computeShortestEditScript(String, String, int[][], StringBuffer) - Static method in class opennlp.tools.util.StringUtil
-
Computes the Shortest Edit Script (SES) to convert a word into its lemma.
- concatenateObjectStream(Collection<ObjectStream<T>>) - Static method in class opennlp.tools.util.ObjectStreamUtils
-
Creates a single concatenated ObjectStream from multiple individual ObjectStreams with the same type.
- concatenateObjectStream(ObjectStream<T>...) - Static method in class opennlp.tools.util.ObjectStreamUtils
-
Creates a single concatenated ObjectStream from multiple individual ObjectStreams with the same type.
- ConfigurablePOSContextGenerator - Class in opennlp.tools.postag
-
A context generator for the POS Tagger.
- ConfigurablePOSContextGenerator(int, AdaptiveFeatureGenerator) - Constructor for class opennlp.tools.postag.ConfigurablePOSContextGenerator
-
Initializes the current instance.
- ConfigurablePOSContextGenerator(AdaptiveFeatureGenerator) - Constructor for class opennlp.tools.postag.ConfigurablePOSContextGenerator
-
Initializes the current instance.
- Conll02NameSampleStream - Class in opennlp.tools.formats
-
Parser for the dutch and spanish ner training files of the CONLL 2002 shared task.
- Conll02NameSampleStream(Conll02NameSampleStream.LANGUAGE, InputStreamFactory, int) - Constructor for class opennlp.tools.formats.Conll02NameSampleStream
- Conll02NameSampleStream(Conll02NameSampleStream.LANGUAGE, ObjectStream<String>, int) - Constructor for class opennlp.tools.formats.Conll02NameSampleStream
- Conll02NameSampleStream.LANGUAGE - Enum in opennlp.tools.formats
- Conll02NameSampleStreamFactory - Class in opennlp.tools.formats
-
Note: Do not use this class, internal use only!
- Conll03NameSampleStream - Class in opennlp.tools.formats
-
An import stream which can parse the CONLL03 data.
- Conll03NameSampleStream(Conll03NameSampleStream.LANGUAGE, InputStreamFactory, int) - Constructor for class opennlp.tools.formats.Conll03NameSampleStream
- Conll03NameSampleStream(Conll03NameSampleStream.LANGUAGE, ObjectStream<String>, int) - Constructor for class opennlp.tools.formats.Conll03NameSampleStream
- Conll03NameSampleStream.LANGUAGE - Enum in opennlp.tools.formats
- Conll03NameSampleStreamFactory - Class in opennlp.tools.formats
- CONLLU_FORMAT - Static variable in class opennlp.tools.formats.conllu.ConlluPOSSampleStreamFactory
- ConlluLemmaSampleStream - Class in opennlp.tools.formats.conllu
- ConlluLemmaSampleStream(ObjectStream<ConlluSentence>, ConlluTagset) - Constructor for class opennlp.tools.formats.conllu.ConlluLemmaSampleStream
- ConlluLemmaSampleStreamFactory - Class in opennlp.tools.formats.conllu
-
Note: Do not use this class, internal use only!
- ConlluPOSSampleStream - Class in opennlp.tools.formats.conllu
- ConlluPOSSampleStreamFactory - Class in opennlp.tools.formats.conllu
-
Note: Do not use this class, internal use only!
- ConlluSentence - Class in opennlp.tools.formats.conllu
- ConlluSentence(List<ConlluWordLine>, String, String, boolean, String, boolean, String, Map<Locale, String>, String) - Constructor for class opennlp.tools.formats.conllu.ConlluSentence
- ConlluSentenceSampleStream - Class in opennlp.tools.formats.conllu
- ConlluSentenceSampleStream(ObjectStream<ConlluSentence>, int) - Constructor for class opennlp.tools.formats.conllu.ConlluSentenceSampleStream
- ConlluSentenceSampleStreamFactory - Class in opennlp.tools.formats.conllu
- ConlluStream - Class in opennlp.tools.formats.conllu
-
The CoNNL-U Format is specified here: http://universaldependencies.org/format.html
- ConlluStream(InputStreamFactory) - Constructor for class opennlp.tools.formats.conllu.ConlluStream
- ConlluTagset - Enum in opennlp.tools.formats.conllu
- ConlluTokenSampleStream - Class in opennlp.tools.formats.conllu
- ConlluTokenSampleStream(ObjectStream<ConlluSentence>) - Constructor for class opennlp.tools.formats.conllu.ConlluTokenSampleStream
- ConlluTokenSampleStreamFactory - Class in opennlp.tools.formats.conllu
- ConlluWordLine - Class in opennlp.tools.formats.conllu
- CONLLX_FORMAT - Static variable in class opennlp.tools.formats.ConllXPOSSampleStreamFactory
- ConllXPOSSampleStream - Class in opennlp.tools.formats
-
Parses the data from the CONLL 06 shared task into POS Samples.
- ConllXPOSSampleStream(InputStreamFactory, Charset) - Constructor for class opennlp.tools.formats.ConllXPOSSampleStream
- ConllXPOSSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.ConllXPOSSampleStream
- ConllXPOSSampleStreamFactory - Class in opennlp.tools.formats
-
Note: Do not use this class, internal use only!
- ConllXSentenceSampleStreamFactory - Class in opennlp.tools.formats
-
Note: Do not use this class, internal use only!
- ConllXTokenSampleStreamFactory - Class in opennlp.tools.formats
-
Note: Do not use this class, internal use only!
- Cons - Class in opennlp.tools.parser
-
Class to hold feature information about a specific parse node.
- Cons(String, String, int, boolean) - Constructor for class opennlp.tools.parser.Cons
- ConstitParseSampleStream - Class in opennlp.tools.formats.frenchtreebank
- ConstitParseSampleStreamFactory - Class in opennlp.tools.formats.frenchtreebank
- Constituent - Class in opennlp.tools.parser
-
Class used to hold constituents when reading parses.
- Constituent(String, Span) - Constructor for class opennlp.tools.parser.Constituent
- constructModel() - Method in class opennlp.tools.ml.maxent.io.GISModelReader
-
Retrieve a model from disk.
- constructModel() - Method in class opennlp.tools.ml.maxent.io.QNModelReader
- constructModel() - Method in class opennlp.tools.ml.model.AbstractModelReader
- constructModel() - Method in class opennlp.tools.ml.model.GenericModelReader
- constructModel() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModelReader
-
Retrieve a model from disk.
- constructModel() - Method in class opennlp.tools.ml.perceptron.PerceptronModelReader
-
Retrieve a model from disk.
- CONT - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
Prefix for outcomes continuing a constituent.
- contains(int) - Method in class opennlp.tools.ml.model.MutableContext
- contains(int) - Method in class opennlp.tools.util.Span
-
Returns true if the specified index is contained inside this span.
- contains(String) - Method in class opennlp.tools.dictionary.Index
-
Checks if at leat one
StringList
contains the given token. - contains(String) - Method in class opennlp.tools.ngram.NGramCharModel
-
Checks fit he given tokens are contained by the current instance.
- contains(Span) - Method in class opennlp.tools.util.Span
-
Returns true if the specified span is contained by this span.
- contains(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 - Class in opennlp.tools.ml.model
-
Class which associates a real valued parameter or expected value with a particular contextual predicate or feature.
- Context(int[], double[]) - Constructor for class opennlp.tools.ml.model.Context
-
Creates a new parameters object with the specified parameters associated with the specified outcome pattern.
- ContextGenerator<T> - Interface in opennlp.tools.ml.maxent
-
Generate contexts for maxent decisions.
- CONTINUE - Static variable in class opennlp.tools.namefind.BilouCodec
- CONTINUE - Static variable in class opennlp.tools.namefind.BioCodec
- CONTINUE - Static variable in class opennlp.tools.namefind.NameFinderME
- CONVERGE_TOLERANCE - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- convertFuncTag(String, boolean) - Static method in class opennlp.tools.formats.ad.ADChunkSampleStream
- correctlyClassified(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
-
Retrieves the number of times a value was added to the 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 a providedInputStream
. - 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 the artifact from the provided
InputStream
. - create(InputStream) - Method in class opennlp.tools.util.model.ByteArraySerializer
- create(InputStream) - Method in class opennlp.tools.util.model.ChunkerModelSerializer
- create(InputStream) - Method in class opennlp.tools.util.model.DictionarySerializer
- create(InputStream) - Method in class opennlp.tools.util.model.GenericModelSerializer
- create(InputStream) - Method in class opennlp.tools.util.model.POSModelSerializer
- create(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
- create(String) - Static method in class opennlp.tools.chunker.ChunkerFactory
- create(String) - Static method in class opennlp.tools.langdetect.LanguageDetectorFactory
- create(String) - Static method in class opennlp.tools.lemmatizer.LemmatizerFactory
- 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 class opennlp.tools.util.TokenTag
- create(String, byte[], Map<String, Object>, TagDictionary) - Static method in class opennlp.tools.postag.POSTaggerFactory
- create(String, byte[], Map<String, Object>, SequenceCodec<String>) - Static method in class opennlp.tools.namefind.TokenNameFinderFactory
- create(String, String, boolean, Dictionary, char[]) - Static method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- create(String, String, Dictionary, boolean, Pattern) - Static method in class opennlp.tools.tokenize.TokenizerFactory
-
Factory method the framework uses create a new
TokenizerFactory
. - create(String, Dictionary, TagDictionary) - Static method in class opennlp.tools.postag.POSTaggerFactory
-
Deprecated.
- create(String, FeatureGenerator[]) - Static method in class opennlp.tools.doccat.DoccatFactory
- create(String, ArtifactProvider) - Static method in class opennlp.tools.util.BaseToolFactory
- create(ParserModel) - Static method in class opennlp.tools.parser.ParserFactory
- create(ParserModel, int, double) - Static method in class opennlp.tools.parser.ParserFactory
- create(Element, FeatureGeneratorResourceProvider) - Method in class opennlp.tools.util.featuregen.AggregatedFeatureGeneratorFactory
-
Deprecated.
- create(Element, FeatureGeneratorResourceProvider) - Method in class opennlp.tools.util.featuregen.BigramNameFeatureGeneratorFactory
-
Deprecated.
- create(Element, FeatureGeneratorResourceProvider) - Method in class opennlp.tools.util.featuregen.BrownClusterBigramFeatureGeneratorFactory
-
Deprecated.
- create(Element, FeatureGeneratorResourceProvider) - Method in class opennlp.tools.util.featuregen.BrownClusterTokenClassFeatureGeneratorFactory
-
Deprecated.
- create(Element, FeatureGeneratorResourceProvider) - Method in class opennlp.tools.util.featuregen.BrownClusterTokenFeatureGeneratorFactory
-
Deprecated.
- create(Element, FeatureGeneratorResourceProvider) - Method in class opennlp.tools.util.featuregen.CachedFeatureGeneratorFactory
-
Deprecated.
- create(Element, FeatureGeneratorResourceProvider) - Method in class opennlp.tools.util.featuregen.CharacterNgramFeatureGeneratorFactory
-
Deprecated.
- create(Element, FeatureGeneratorResourceProvider) - Method in class opennlp.tools.util.featuregen.DefinitionFeatureGeneratorFactory
-
Deprecated.
- create(Element, FeatureGeneratorResourceProvider) - Method in class opennlp.tools.util.featuregen.DictionaryFeatureGeneratorFactory
-
Deprecated.
- create(Element, FeatureGeneratorResourceProvider) - Method in class opennlp.tools.util.featuregen.DocumentBeginFeatureGeneratorFactory
-
Deprecated.
- create(Element, FeatureGeneratorResourceProvider) - Method in class opennlp.tools.util.featuregen.PosTaggerFeatureGeneratorFactory
-
Deprecated.
- create(Element, FeatureGeneratorResourceProvider) - Method in class opennlp.tools.util.featuregen.POSTaggerNameFeatureGeneratorFactory
-
Deprecated.
- create(Element, FeatureGeneratorResourceProvider) - Method in class opennlp.tools.util.featuregen.PrefixFeatureGeneratorFactory
-
Deprecated.
- create(Element, FeatureGeneratorResourceProvider) - Method in class opennlp.tools.util.featuregen.PreviousMapFeatureGeneratorFactory
-
Deprecated.
- create(Element, FeatureGeneratorResourceProvider) - Method in class opennlp.tools.util.featuregen.SentenceFeatureGeneratorFactory
-
Deprecated.
- create(Element, FeatureGeneratorResourceProvider) - Method in class opennlp.tools.util.featuregen.SuffixFeatureGeneratorFactory
-
Deprecated.
- create(Element, FeatureGeneratorResourceProvider) - Method in class opennlp.tools.util.featuregen.TokenClassFeatureGeneratorFactory
-
Deprecated.
- create(Element, FeatureGeneratorResourceProvider) - Method in class opennlp.tools.util.featuregen.TokenFeatureGeneratorFactory
-
Deprecated.
- create(Element, FeatureGeneratorResourceProvider) - Method in class opennlp.tools.util.featuregen.TokenPatternFeatureGeneratorFactory
-
Deprecated.
- create(Element, FeatureGeneratorResourceProvider) - Method in class opennlp.tools.util.featuregen.TrigramNameFeatureGeneratorFactory
-
Deprecated.
- create(Element, FeatureGeneratorResourceProvider) - Method in class opennlp.tools.util.featuregen.WindowFeatureGeneratorFactory
-
Deprecated.
- create(Element, FeatureGeneratorResourceProvider) - Method in class opennlp.tools.util.featuregen.WordClusterFeatureGeneratorFactory
-
Deprecated.
- createArtifactMap() - Method in class opennlp.tools.postag.POSTaggerFactory
- createArtifactMap() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- createArtifactMap() - Method in class opennlp.tools.tokenize.TokenizerFactory
- createArtifactMap() - Method in class opennlp.tools.util.BaseToolFactory
-
Creates a
Map
with pairs of keys and objects. - createArtifactSerializers() - Static method in class opennlp.tools.namefind.TokenNameFinderModel
-
Create the artifact serializers.
- createArtifactSerializersMap() - Method in class opennlp.tools.postag.POSTaggerFactory
- createArtifactSerializersMap() - Method in class opennlp.tools.util.BaseToolFactory
-
Creates a
Map
with pairs of keys andArtifactSerializer
. - createContextGenerator() - Method in class opennlp.tools.namefind.TokenNameFinderFactory
- createDefaultTrainingParameters() - Static method in class opennlp.tools.util.model.ModelUtil
-
Creates the default training parameters in case they are not provided.
- 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 of previous outcomes to the specified list of features.
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.AdditionalContextFeatureGenerator
- createFeatures(List<String>, String[], int, String[]) - Method in class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
-
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
-
Creates the manifest entries that will be added to the model manifest
- createObjectStream(Collection<T>) - Static method in class opennlp.tools.util.ObjectStreamUtils
-
Creates an
ObjectStream
form a collection. - createObjectStream(T...) - Static method in class opennlp.tools.util.ObjectStreamUtils
-
Creates an
ObjectStream
form an array. - 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
-
Creates a sequence validator which can validate a sequence of outcomes.
- createTagDictionary(File) - Method in class opennlp.tools.postag.POSTaggerFactory
- createTagDictionary(InputStream) - Method in class opennlp.tools.postag.POSTaggerFactory
- createTokenContextGenerator(String, Set<String>) - Method in class opennlp.tools.tokenize.lang.Factory
- crosses(Span) - Method in class opennlp.tools.util.Span
-
Returns true is the specified span crosses this span.
- CrossValidationPartitioner<E> - Class in opennlp.tools.util.eval
-
Provides access to training and test partitions for n-fold cross validation.
- CrossValidationPartitioner(Collection<E>, int) - Constructor for class opennlp.tools.util.eval.CrossValidationPartitioner
-
Initializes the current instance.
- CrossValidationPartitioner(ObjectStream<E>, int) - Constructor for class opennlp.tools.util.eval.CrossValidationPartitioner
-
Initializes the current instance.
- CrossValidationPartitioner.TrainingSampleStream<E> - Class in opennlp.tools.util.eval
-
The
TrainingSampleStream
which iterates over all training elements. - currentVersion() - Static method in class opennlp.tools.util.Version
-
Retrieves the current version of the OpenNlp Tools library.
- CustomFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Deprecated.
- CustomFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.CustomFeatureGenerator
-
Deprecated.
- cutoff(int, int) - Method in class opennlp.tools.ngram.NGramCharModel
-
Deletes all ngram which do appear less than the cutoffUnder value and more often than the cutoffOver value.
- cutoff(int, int) - Method in class opennlp.tools.ngram.NGramModel
-
Deletes all ngram which do appear less than the cutoffUnder value and more often than the cutoffOver value.
- CUTOFF_DEFAULT - Static variable in class opennlp.tools.ml.AbstractTrainer
- CUTOFF_DEFAULT - Static variable in class opennlp.tools.ml.model.AbstractDataIndexer
- CUTOFF_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 - 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
-
Object which compresses events in memory and performs feature selection.
- DataIndexerFactory - Class in opennlp.tools.ml.model
- DataIndexerFactory() - Constructor for class opennlp.tools.ml.model.DataIndexerFactory
- DataReader - Interface in opennlp.tools.ml.model
- DataStream - Interface in opennlp.tools.ml.maxent
-
A interface for objects which can deliver a stream of training data to be supplied to an EventStream.
- DE - opennlp.tools.formats.Conll03NameSampleStream.LANGUAGE
- decode(List<String>) - Method in class opennlp.tools.namefind.BilouCodec
- decode(List<String>) - Method in class opennlp.tools.namefind.BioCodec
- decode(List<T>) - Method in interface opennlp.tools.util.SequenceCodec
-
Decodes a sequence T objects into Span objects.
- decodeLemmas(String[], String[]) - Static method in class opennlp.tools.lemmatizer.LemmatizerME
-
Decodes the lemma from the word and the induced lemma class.
- decodeShortestEditScript(String, String) - Static method in class opennlp.tools.util.StringUtil
-
Read predicted SES by the lemmatizer model and apply the permutations to obtain the lemma from the wordForm.
- DEFAULT_ALPHANUMERIC - Static variable in class opennlp.tools.tokenize.lang.Factory
- DEFAULT_BEAM_SIZE - Static variable in class opennlp.tools.chunker.ChunkerME
- DEFAULT_BEAM_SIZE - Static variable in class opennlp.tools.lemmatizer.LemmatizerME
- DEFAULT_BEAM_SIZE - Static variable in class opennlp.tools.namefind.NameFinderME
- DEFAULT_BEAM_SIZE - Static variable in class opennlp.tools.postag.POSTaggerME
- DEFAULT_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 a default type value when there is no type in training data.
- defaultAdvancePercentage - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
The default amount of probability mass required of advanced outcomes.
- defaultBeamSize - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
The default beam size used if no beam size is given.
- DefaultChunkerContextGenerator - Class in opennlp.tools.chunker
-
Features based on chunking model described in Fei Sha and Fernando Pereira.
- DefaultChunkerContextGenerator() - Constructor for class opennlp.tools.chunker.DefaultChunkerContextGenerator
-
Creates the default context generator a chunker.
- DefaultChunkerSequenceValidator - Class in opennlp.tools.chunker
- DefaultChunkerSequenceValidator() - Constructor for class opennlp.tools.chunker.DefaultChunkerSequenceValidator
- DefaultEndOfSentenceScanner - Class in opennlp.tools.sentdetect
-
Default implementation of the
EndOfSentenceScanner
. - DefaultEndOfSentenceScanner(char[]) - Constructor for class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
-
Initializes the current instance.
- defaultEosCharacters - Static variable in class opennlp.tools.sentdetect.lang.Factory
- DefaultLanguageDetectorContextGenerator - Class in opennlp.tools.langdetect
-
A context generator for language detector.
- DefaultLanguageDetectorContextGenerator(int, int, CharSequenceNormalizer...) - Constructor for class opennlp.tools.langdetect.DefaultLanguageDetectorContextGenerator
-
Creates a customizable @
DefaultLanguageDetectorContextGenerator
that computes ngrams from text - DefaultLemmatizerContextGenerator - Class in opennlp.tools.lemmatizer
-
Simple feature generator for learning statistical lemmatizers.
- DefaultLemmatizerContextGenerator() - Constructor for class opennlp.tools.lemmatizer.DefaultLemmatizerContextGenerator
- DefaultLemmatizerSequenceValidator - Class in opennlp.tools.lemmatizer
- DefaultLemmatizerSequenceValidator() - Constructor for class opennlp.tools.lemmatizer.DefaultLemmatizerSequenceValidator
- DefaultNameContextGenerator - Class in opennlp.tools.namefind
-
Class for determining contextual features for a tag/chunk style named-entity recognizer.
- DefaultNameContextGenerator() - Constructor for class opennlp.tools.namefind.DefaultNameContextGenerator
-
Deprecated.use the other constructor and always provide the feature generators
- DefaultNameContextGenerator(AdaptiveFeatureGenerator...) - Constructor for class opennlp.tools.namefind.DefaultNameContextGenerator
-
Creates a name context generator with the specified cache size.
- defaultParams() - Static method in class opennlp.tools.util.TrainingParameters
- DefaultPOSContextGenerator - Class in opennlp.tools.postag
-
A context generator for the POS Tagger.
- DefaultPOSContextGenerator(int, Dictionary) - Constructor for class opennlp.tools.postag.DefaultPOSContextGenerator
-
Initializes the current instance.
- DefaultPOSContextGenerator(Dictionary) - Constructor for class opennlp.tools.postag.DefaultPOSContextGenerator
-
Initializes the current instance.
- DefaultPOSSequenceValidator - Class in opennlp.tools.postag
- DefaultPOSSequenceValidator(TagDictionary) - Constructor for class opennlp.tools.postag.DefaultPOSSequenceValidator
- DefaultSDContextGenerator - Class in opennlp.tools.sentdetect
-
Generate event contexts for maxent decisions for sentence detection.
- DefaultSDContextGenerator(char[]) - Constructor for class opennlp.tools.sentdetect.DefaultSDContextGenerator
-
Creates a new
SDContextGenerator
instance with no induced abbreviations. - DefaultSDContextGenerator(Set<String>, char[]) - Constructor for class opennlp.tools.sentdetect.DefaultSDContextGenerator
-
Creates a new
SDContextGenerator
instance which uses the set of induced abbreviations. - DefaultTokenContextGenerator - Class in opennlp.tools.tokenize
-
Generate events for maxent decisions for tokenization.
- DefaultTokenContextGenerator() - Constructor for class opennlp.tools.tokenize.DefaultTokenContextGenerator
-
Creates a default context generator for tokenizer.
- DefaultTokenContextGenerator(Set<String>) - Constructor for class opennlp.tools.tokenize.DefaultTokenContextGenerator
-
Creates a default context generator for tokenizer.
- DefinitionFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
- DefinitionFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.DefinitionFeatureGeneratorFactory
- DEGREES_MIN_SEC_LAT_LON - opennlp.tools.namefind.RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER
- DetailedFMeasureEvaluatorParams - Interface in opennlp.tools.cmdline.params
-
EvaluatorParams for Chunker.
- 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 System.err
- 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
- DetokenizationDictionary(InputStream) - Constructor for class opennlp.tools.tokenize.DetokenizationDictionary
- DetokenizationDictionary(String[], DetokenizationDictionary.Operation[]) - Constructor for class opennlp.tools.tokenize.DetokenizationDictionary
-
Initializes the current instance.
- DetokenizationDictionary.Operation - Enum in opennlp.tools.tokenize
- detokenize(String[]) - Method in interface opennlp.tools.tokenize.Detokenizer
-
Detokenize the input tokens.
- detokenize(String[]) - Method in class opennlp.tools.tokenize.DictionaryDetokenizer
- detokenize(String[], String) - Method in interface opennlp.tools.tokenize.Detokenizer
-
Detokenize 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 untokenized representation.
- Detokenizer.DetokenizationOperation - Enum in opennlp.tools.tokenize
-
This enum contains an operation for every token to merge the tokens together to their detokenized form.
- DetokenizerEvaluator - Class in opennlp.tools.tokenize
-
The
DetokenizerEvaluator
measures the performance of the givenDetokenizer
with the provided referenceTokenSample
s. - 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> - Class in opennlp.tools.formats
-
Base class for factories which need detokenizer.
- DetokenizeSentenceSampleStream - Class in opennlp.tools.formats.letsmt
- DetokenizeSentenceSampleStream(Detokenizer, ObjectStream<SentenceSample>) - Constructor for class opennlp.tools.formats.letsmt.DetokenizeSentenceSampleStream
- DEV_VERSION - Static variable in class opennlp.tools.util.Version
- Dictionary - Class in opennlp.tools.dictionary
-
This class is a dictionary.
- Dictionary() - Constructor for class opennlp.tools.dictionary.Dictionary
-
Initializes an empty
Dictionary
. - Dictionary(boolean) - Constructor for class opennlp.tools.dictionary.Dictionary
- Dictionary(InputStream) - Constructor for class opennlp.tools.dictionary.Dictionary
-
Initializes the
Dictionary
from an existing dictionary resource. - 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
- DictionaryDetokenizerTool - Class in opennlp.tools.cmdline.tokenizer
- DictionaryDetokenizerTool() - Constructor for class opennlp.tools.cmdline.tokenizer.DictionaryDetokenizerTool
- DictionaryEntryPersistor - Class in opennlp.tools.dictionary.serializer
-
This class is used by for reading and writing dictionaries of all kinds.
- DictionaryEntryPersistor() - Constructor for class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor
- DictionaryFeatureGenerator - Class in opennlp.tools.util.featuregen
-
The
DictionaryFeatureGenerator
uses 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
-
Lemmatize by simple dictionary lookup into a hashmap built from a file containing, for each line, word\tabpostag\tablemma.
- DictionaryLemmatizer(File) - Constructor for class opennlp.tools.lemmatizer.DictionaryLemmatizer
- DictionaryLemmatizer(File, Charset) - Constructor for class opennlp.tools.lemmatizer.DictionaryLemmatizer
- DictionaryLemmatizer(InputStream) - Constructor for class opennlp.tools.lemmatizer.DictionaryLemmatizer
- DictionaryLemmatizer(InputStream, Charset) - Constructor for class opennlp.tools.lemmatizer.DictionaryLemmatizer
-
Construct a hashmap from the input tab separated dictionary.
- DictionaryLemmatizer(Path) - Constructor for class opennlp.tools.lemmatizer.DictionaryLemmatizer
- DictionaryNameFinder - Class in opennlp.tools.namefind
-
This is a dictionary based name finder, it scans text for names inside a dictionary.
- DictionaryNameFinder(Dictionary) - Constructor for class opennlp.tools.namefind.DictionaryNameFinder
-
Initializes the current instance with the provided dictionary.
- DictionaryNameFinder(Dictionary, String) - Constructor for class opennlp.tools.namefind.DictionaryNameFinder
-
Initialized the current instance with he provided dictionary and a type.
- DictionarySerializer - Class in opennlp.tools.util.model
- DictionarySerializer() - Constructor for class opennlp.tools.util.model.DictionarySerializer
- digits() - Method in class opennlp.tools.util.featuregen.StringPattern
-
Retrieves the number of digits.
- dimension() - Method in interface opennlp.tools.util.wordvector.WordVector
- dimension() - Method in interface opennlp.tools.util.wordvector.WordVectorTable
- DirectorySampleStream - Class in opennlp.tools.formats
-
The directory sample stream allows for creating a stream from a directory listing of files.
- DirectorySampleStream(File[], FileFilter, boolean) - Constructor for class opennlp.tools.formats.DirectorySampleStream
-
Creates a new directory sample stream.
- DirectorySampleStream(File, FileFilter, boolean) - Constructor for class opennlp.tools.formats.DirectorySampleStream
-
Creates a new directory sample stream.
- discardCountsBelow(double) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
- discardCountsBelow(double) - Method in class opennlp.tools.ml.naivebayes.Probabilities
- DoccatConverterTool - Class in opennlp.tools.cmdline.doccat
- DoccatConverterTool() - Constructor for class opennlp.tools.cmdline.doccat.DoccatConverterTool
- DoccatCrossValidator - Class in opennlp.tools.doccat
-
Cross validator for document categorization
- DoccatCrossValidator(String, TrainingParameters, DoccatFactory, DoccatEvaluationMonitor...) - Constructor for class opennlp.tools.doccat.DoccatCrossValidator
-
Creates a
DoccatCrossValidator
with the givenFeatureGenerator
s. - 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 System.err
- 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
-
EvaluationMonitor
for doccat. - DoccatEvaluatorTool - Class in opennlp.tools.cmdline.doccat
- 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
-
Creates a
DoccatFactory
that provides the default implementation of the resources. - DoccatFactory(FeatureGenerator[]) - Constructor for class opennlp.tools.doccat.DoccatFactory
- 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
System.err
- 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
- DoccatModel(InputStream) - Constructor for class opennlp.tools.doccat.DoccatModel
- DoccatModel(String, MaxentModel, Map<String, String>, DoccatFactory) - Constructor for class opennlp.tools.doccat.DoccatModel
- DoccatModel(URL) - Constructor for class opennlp.tools.doccat.DoccatModel
- DoccatModel(Path) - Constructor for class opennlp.tools.doccat.DoccatModel
- DoccatModelLoader - Class in opennlp.tools.cmdline.doccat
-
Loads a Document Categorizer Model 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
-
Constrained line search (see section 3.2 in the paper "Scalable Training of L1-Regularized Log-Linear Models", Andrew et al.
- DOCSTART - Static variable in class opennlp.tools.formats.Conll02NameSampleStream
- DOCSTART - Static variable in class opennlp.tools.formats.EvalitaNameSampleStream
- DocumentBeginFeatureGenerator - Class in opennlp.tools.util.featuregen
- DocumentBeginFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.DocumentBeginFeatureGenerator
- 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 referenceDocumentSample
s. - DocumentCategorizerEvaluator(DocumentCategorizer, DoccatEvaluationMonitor...) - Constructor for class opennlp.tools.doccat.DocumentCategorizerEvaluator
-
Initializes the current instance.
- DocumentCategorizerEventStream - Class in opennlp.tools.doccat
-
Iterator-like class for modeling document classification events.
- DocumentCategorizerEventStream(ObjectStream<DocumentSample>) - Constructor for class opennlp.tools.doccat.DocumentCategorizerEventStream
-
Initializes the current instance.
- DocumentCategorizerEventStream(ObjectStream<DocumentSample>, FeatureGenerator...) - Constructor for class opennlp.tools.doccat.DocumentCategorizerEventStream
-
Initializes the current instance via samples and feature generators.
- DocumentCategorizerME - Class in opennlp.tools.doccat
-
Maxent implementation of
DocumentCategorizer
. - DocumentCategorizerME(DoccatModel) - Constructor for class opennlp.tools.doccat.DocumentCategorizerME
-
Initializes the current instance with a doccat model.
- DocumentNameFinder - Interface in opennlp.tools.namefind
-
Name finding interface which processes an entire document allowing the name finder to use context from the entire document.
- DocumentSample - Class in opennlp.tools.doccat
-
Class which holds a classified document and its category.
- DocumentSample(String, String[]) - Constructor for class opennlp.tools.doccat.DocumentSample
- DocumentSample(String, String[], Map<String, Object>) - Constructor for class opennlp.tools.doccat.DocumentSample
- DocumentSampleStream - Class in opennlp.tools.doccat
-
This class reads in string encoded training samples, parses them and outputs
DocumentSample
objects. - DocumentSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.doccat.DocumentSampleStream
- DocumentSampleStreamFactory - Class in opennlp.tools.formats
-
Factory producing OpenNLP
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
- doLineSearch(Function, double[], LineSearch.LineSearchResult, double) - Static method in class opennlp.tools.ml.maxent.quasinewton.LineSearch
-
Backtracking line search (see Nocedal & Wright 2006, Numerical Optimization, p.
- DONE - Static variable in class opennlp.tools.parser.treeinsert.Parser
-
Outcome used when a constituent needs an no additional parent node/building.
- doTrain(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) - Method in class opennlp.tools.ml.AbstractEventModelSequenceTrainer
- doTrain(SequenceStream) - Method in class opennlp.tools.ml.AbstractSequenceTrainer
- doTrain(SequenceStream) - Method in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
- DOUBLE - opennlp.tools.util.wordvector.WordVectorType
- downloadModel(String, DownloadUtil.ModelType, Class) - Static method in class opennlp.tools.util.DownloadUtil
- downloadModel(URL, Class) - Static method in class opennlp.tools.util.DownloadUtil
-
Downloads a model from a URL.
- DownloadUtil - Class in opennlp.tools.util
-
This class facilitates the downloading of pretrained OpenNLP models.
- DownloadUtil() - Constructor for class opennlp.tools.util.DownloadUtil
- DownloadUtil.ModelType - Enum 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 anyway.
- DUTCH - 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 paramters which can be evaulated with the eval method.
E
- EMAIL - opennlp.tools.namefind.RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER
- EmojiCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
Normalizer for emojis.
- EmojiCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.EmojiCharSequenceNormalizer
- EmptyLinePreprocessorStream - Class in opennlp.tools.sentdetect
-
Stream to to clean up empty lines for empty line separated document streams.
- Skips empty line at training data start
- Transforms multiple empty lines in a row into one
- Replaces white space lines with empty lines
- TODO: Terminates last document with empty line if it is missing
This stream should be used by the components that mark empty lines to mark document boundaries. - EmptyLinePreprocessorStream(ObjectStream<String>) - Constructor for class opennlp.tools.sentdetect.EmptyLinePreprocessorStream
- EN - opennlp.tools.formats.Conll03NameSampleStream.LANGUAGE
- encode(Span[], int) - Method in class opennlp.tools.namefind.BilouCodec
- encode(Span[], int) - Method in class opennlp.tools.namefind.BioCodec
- encode(Span[], int) - Method in interface opennlp.tools.util.SequenceCodec
-
Encodes Span objects into a sequence of T objects.
- encodeLemmas(String[], String[]) - Static method in class opennlp.tools.lemmatizer.LemmatizerME
- EncodingParameter - Interface in opennlp.tools.cmdline.params
-
Encoding parameter.
- END_TAG - Static variable in class opennlp.tools.namefind.NameSampleDataStream
- endElement(String) - Method in class opennlp.tools.formats.muc.MucNameContentHandler
- endElement(String) - Method in class opennlp.tools.formats.muc.SgmlParser.ContentHandler
- endElement(String, String, String) - Method in class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtDocumentHandler
- endElement(String, String, String) - Method in class opennlp.tools.formats.masc.MascPennTagParser
- EndOfSentenceScanner - Interface in opennlp.tools.sentdetect
-
Scans Strings, StringBuffers, and char[] arrays for the offsets of sentence ending characters.
- ENGLISH - 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 to external data to enrich extracted entities.
- EntityLinkerFactory - Class in opennlp.tools.entitylinker
-
Generates an EntityLinker implementation via properties file configuration
- EntityLinkerFactory() - Constructor for class opennlp.tools.entitylinker.EntityLinkerFactory
- EntityLinkerProperties - Class in opennlp.tools.entitylinker
-
Properties wrapper for the EntityLinker framework
- EntityLinkerProperties(File) - Constructor for class opennlp.tools.entitylinker.EntityLinkerProperties
-
Constructor takes location of properties file as arg
- EntityLinkerProperties(InputStream) - Constructor for class opennlp.tools.entitylinker.EntityLinkerProperties
- EntityLinkerTool - Class in opennlp.tools.cmdline.entitylinker
- EntityLinkerTool() - Constructor for class opennlp.tools.cmdline.entitylinker.EntityLinkerTool
- Entry - Class in opennlp.tools.dictionary.serializer
-
An
Entry
is aStringList
which can optionally be mapped to attributes. - Entry(StringList, Attributes) - Constructor for class opennlp.tools.dictionary.serializer.Entry
-
Initializes the current instance.
- EntryInserter - Interface in opennlp.tools.dictionary.serializer
- eosCharacters - Static variable in class opennlp.tools.sentdetect.lang.th.SentenceContextGenerator
- equals(Object) - Method in class opennlp.tools.chunker.ChunkSample
- equals(Object) - Method in class opennlp.tools.dictionary.Dictionary
- equals(Object) - Method in class opennlp.tools.doccat.DocumentSample
- equals(Object) - Method in class opennlp.tools.entitylinker.BaseLink
- equals(Object) - Method in class opennlp.tools.entitylinker.LinkedSpan
- equals(Object) - Method in class opennlp.tools.langdetect.Language
- equals(Object) - Method in class opennlp.tools.langdetect.LanguageSample
- equals(Object) - Method in class opennlp.tools.lemmatizer.LemmaSample
- equals(Object) - Method in class opennlp.tools.ml.model.AbstractModel
- equals(Object) - Method in class opennlp.tools.ml.model.ComparableEvent
- equals(Object) - Method in class opennlp.tools.ml.model.ComparablePredicate
- equals(Object) - Method in class opennlp.tools.ml.model.Context
- equals(Object) - Method in class opennlp.tools.ml.model.EvalParameters
- equals(Object) - Method in class opennlp.tools.ml.model.UniformPrior
- equals(Object) - Method in class opennlp.tools.namefind.NameSample
- equals(Object) - Method in class opennlp.tools.ngram.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.postag.POSDictionary
- equals(Object) - Method in class opennlp.tools.postag.POSSample
- equals(Object) - Method in class opennlp.tools.sentdetect.SentenceSample
- equals(Object) - Method in class opennlp.tools.stemmer.snowball.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.TokenSample
- equals(Object) - Method in class opennlp.tools.util.Sequence
- equals(Object) - Method in class opennlp.tools.util.Span
-
Checks if the specified span is equal to the current span.
- equals(Object) - Method in class opennlp.tools.util.StringList
- equals(Object) - Method in class opennlp.tools.util.TokenTag
- equals(Object) - Method in class opennlp.tools.util.Version
- eval(int[], double[], EvalParameters) - Static method in class opennlp.tools.ml.maxent.GISModel
-
Use this model to evaluate a context and return an array of the likelihood of each outcome given the specified context and the specified parameters.
- eval(int[], double[], EvalParameters) - Static method in class opennlp.tools.ml.naivebayes.NaiveBayesModel
- eval(int[], double[], EvalParameters) - Static method in class opennlp.tools.ml.perceptron.PerceptronModel
- eval(String[]) - Method in class opennlp.tools.ml.maxent.GISModel
-
Use this model to evaluate a context and return an array of the likelihood of each outcome given that context.
- eval(String[]) - Method in class opennlp.tools.ml.maxent.quasinewton.QNModel
- eval(String[]) - Method in interface opennlp.tools.ml.model.MaxentModel
-
Evaluates a context.
- eval(String[]) - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModel
- eval(String[]) - Method in class opennlp.tools.ml.perceptron.PerceptronModel
- eval(String[], double[]) - Method in class opennlp.tools.ml.maxent.GISModel
- eval(String[], double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.QNModel
- 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
- eval(String[], double[]) - Method in class opennlp.tools.ml.perceptron.PerceptronModel
- eval(String[], float[]) - Method in class opennlp.tools.ml.maxent.GISModel
- eval(String[], float[]) - Method in class opennlp.tools.ml.maxent.quasinewton.QNModel
- eval(String[], float[]) - Method in interface opennlp.tools.ml.model.MaxentModel
-
Evaluates a contexts with the specified context values.
- eval(String[], float[]) - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModel
- eval(String[], float[]) - Method in class opennlp.tools.ml.perceptron.PerceptronModel
- eval(String[], float[], double[]) - Method in class opennlp.tools.ml.maxent.GISModel
-
Use this model to evaluate a context and return an array of the likelihood of each outcome given that context.
- eval(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 in opennlp.tools.formats
- EvalitaNameSampleStreamFactory - Class in opennlp.tools.formats
-
Note: Do not use this class, internal use only!
- EvalParameters - Class in opennlp.tools.ml.model
-
This class encapsulates the varibales used in producing probabilities from a model and facilitaes passing these variables to the eval method.
- EvalParameters(Context[], int) - Constructor for class opennlp.tools.ml.model.EvalParameters
- evaluate(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
- evaluate(ObjectStream<POSSample>, int) - Method in class opennlp.tools.postag.POSTaggerCrossValidator
-
Starts the evaluation.
- evaluate(ObjectStream<SentenceSample>, int) - Method in class opennlp.tools.sentdetect.SDCrossValidator
-
Starts the evaluation.
- evaluate(ObjectStream<TokenSample>, int) - Method in class opennlp.tools.tokenize.TokenizerCrossValidator
-
Starts the evaluation.
- evaluate(ObjectStream<T>) - Method in class opennlp.tools.util.eval.Evaluator
-
Reads all sample objects from the stream and evaluates each sample object with
Evaluator.evaluateSample(Object)
method. - evaluateSample(T) - Method in class opennlp.tools.util.eval.Evaluator
-
Evaluates the given reference object.
- EvaluationMonitor<T> - Interface in opennlp.tools.util.eval
- Evaluator<T> - Class in opennlp.tools.util.eval
-
The
Evaluator
is an abstract base class for evaluators. - Evaluator(EvaluationMonitor<T>...) - Constructor for class opennlp.tools.util.eval.Evaluator
- 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, String[]) - Constructor for class opennlp.tools.ml.model.Event
- Event(String, String[], float[]) - Constructor for class opennlp.tools.ml.model.Event
- EVENT_MODEL_SEQUENCE_TRAINER - opennlp.tools.ml.TrainerFactory.TrainerType
- EVENT_MODEL_TRAINER - 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 - Interface in opennlp.tools.ml
- EventTraceStream - Class in opennlp.tools.util
- EventTraceStream(ObjectStream<Event>, Writer) - Constructor for class opennlp.tools.util.EventTraceStream
- EventTrainer - Interface in opennlp.tools.ml
- expandTopNode(Parse) - Method in class opennlp.tools.parser.Parse
- Experimental - Annotation Type in opennlp.tools.util.java
-
Indicates that the API is not stable.
- ExtensionLoader - Class in opennlp.tools.util.ext
-
The
ExtensionLoader
is responsible to load extensions to the OpenNLP library. - ExtensionNotLoadedException - Exception in opennlp.tools.util.ext
-
Exception indicates that an OpenNLP extension could not be loaded.
- ExtensionNotLoadedException(String) - Constructor for exception opennlp.tools.util.ext.ExtensionNotLoadedException
- ExtensionNotLoadedException(Throwable) - Constructor for exception opennlp.tools.util.ext.ExtensionNotLoadedException
- ExtensionServiceKeys - Class in opennlp.tools.util.ext
- ExtensionServiceKeys() - Constructor for class opennlp.tools.util.ext.ExtensionServiceKeys
- extractArtifactSerializerMappings(InputStream) - Static method in class opennlp.tools.util.featuregen.GeneratorFactory
- extractFeatures(String[], Map<String, Object>) - Method in class opennlp.tools.doccat.BagOfWordsFeatureGenerator
- extractFeatures(String[], Map<String, Object>) - Method in interface opennlp.tools.doccat.FeatureGenerator
-
Extract features from given text fragments
- extractFeatures(String[], Map<String, Object>) - Method in class opennlp.tools.doccat.NGramFeatureGenerator
-
Extract ngram features from given text fragments
- extractTags(TokenTag[]) - Static method in class opennlp.tools.util.TokenTag
- extractTokens(TokenTag[]) - Static method in class opennlp.tools.util.TokenTag
F
- Factory - Class in opennlp.tools.sentdetect.lang
- Factory - 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 provided in the model. - FeatureGeneratorUtil - Class in opennlp.tools.util.featuregen
-
This class provide common utilities for feature generation.
- FeatureGeneratorUtil() - Constructor for class opennlp.tools.util.featuregen.FeatureGeneratorUtil
- FileEventStream - Class in opennlp.tools.ml.model
-
Class for using a file of events as an event stream.
- FileEventStream(File) - Constructor for class opennlp.tools.ml.model.FileEventStream
-
Creates a new file event stream from the specified file.
- FileEventStream(Reader) - Constructor for class opennlp.tools.ml.model.FileEventStream
- FileEventStream(String) - Constructor for class opennlp.tools.ml.model.FileEventStream
- FileEventStream(String, String) - Constructor for class opennlp.tools.ml.model.FileEventStream
-
Creates a new file event stream from the specified file name.
- FileToByteArraySampleStream - Class in opennlp.tools.formats.convert
- FileToByteArraySampleStream(ObjectStream<File>) - Constructor for class opennlp.tools.formats.convert.FileToByteArraySampleStream
- FileToStringSampleStream - Class in opennlp.tools.formats.convert
-
Provides the ability to read the contents of files contained in an object stream of files.
- FileToStringSampleStream(ObjectStream<File>, Charset) - Constructor for class opennlp.tools.formats.convert.FileToStringSampleStream
-
Creates a new file-to-string sample stream.
- FilterObjectStream<S,T> - Class in opennlp.tools.util
-
Abstract base class for filtering
ObjectStream
s. - find(String) - Method in class opennlp.tools.namefind.RegexNameFinder
-
NEW.
- 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
-
Returns tokens span 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 - opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- fixPossesives(Parse) - Static method in class opennlp.tools.parser.Parse
- FLOAT - opennlp.tools.util.wordvector.WordVectorType
- FMeasure - Class in opennlp.tools.util.eval
-
The
FMeasure
is an utility class for evaluators which measure precision, recall and the resulting f-measure. - FMeasure() - Constructor for class opennlp.tools.util.eval.FMeasure
- FRENCH - 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
-
Interface for labeling nodes which contain traces so that these traces can be predicted by the parser.
- generate(char[], int, String) - Static method in class opennlp.tools.ngram.NGramGenerator
-
Generates an nGram based on a char[] input
- generate(List<String>, int, String) - Static method in class opennlp.tools.ngram.NGramGenerator
-
Creates an ngram separated by the separator param value i.e.
- GENERATE_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
- 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
- GenericModelReader(File) - Constructor for class opennlp.tools.ml.model.GenericModelReader
- GenericModelReader(DataReader) - Constructor for class opennlp.tools.ml.model.GenericModelReader
- GenericModelSerializer - Class in opennlp.tools.util.model
- GenericModelSerializer() - Constructor for class opennlp.tools.util.model.GenericModelSerializer
- GenericModelWriter - Class in opennlp.tools.ml.model
- GenericModelWriter(AbstractModel, DataOutputStream) - Constructor for class opennlp.tools.ml.model.GenericModelWriter
- GenericModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.model.GenericModelWriter
- GERMAN - opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- get() - Method in class opennlp.tools.ml.naivebayes.LogProbability
-
Returns the probability associated with a label
- get() - Method in class opennlp.tools.ml.naivebayes.Probability
-
Returns the probability associated with a label
- get(String) - Method in interface opennlp.tools.util.wordvector.WordVectorTable
- get(T) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
-
Returns the probability associated with a label
- get(T) - Method in class opennlp.tools.ml.naivebayes.Probabilities
-
Returns the probability associated with a label
- getAbbreviationDictionary() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- getAbbreviationDictionary() - Method in class opennlp.tools.tokenize.TokenizerFactory
-
Gets the abbreviation dictionary
- getAbbreviations() - Method in class opennlp.tools.sentdetect.SentenceModel
- getAbbreviations() - Method in class opennlp.tools.tokenize.TokenizerModel
- getAccuracy() - Method in class opennlp.tools.doccat.DocumentCategorizerEvaluator
-
Retrieves the accuracy of provided
DocumentCategorizer
. - getAccuracy() - Method in class opennlp.tools.langdetect.LanguageDetectorEvaluator
-
Retrieves the accuracy of provided
DocumentCategorizer
. - getAddictionalContext() - Method in class opennlp.tools.postag.POSSample
- getAdditionalContext() - Method in class opennlp.tools.namefind.NameSample
- getAddtionalData() - Method in class opennlp.tools.util.TokenTag
- getAlgorithm() - Method in class opennlp.tools.ml.AbstractTrainer
- getAll() - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
-
Returns the probabilities associated with all labels
- getAll() - Method in class opennlp.tools.ml.naivebayes.Probabilities
-
Returns the probabilities associated with all labels
- getAllOutcomes(double[]) - Method in class opennlp.tools.ml.model.AbstractModel
-
Return a string matching all the outcome names with all the probabilities produced by the
eval(String[] context)
method. - getAllOutcomes(double[]) - Method in interface opennlp.tools.ml.model.MaxentModel
-
Return a string matching all the outcome names with all the probabilities produced by the
eval(String[] context)
method. - getAllPosTags() - Method in class opennlp.tools.postag.POSTaggerME
-
Retrieves an array of all possible part-of-speech tags from the tagger.
- getAllResults(double[]) - Method in interface opennlp.tools.doccat.DocumentCategorizer
-
get the name of the category associated with the given probabilties
- getAllResults(double[]) - Method in class opennlp.tools.doccat.DocumentCategorizerME
- getAlphanumeric(String) - Method in class opennlp.tools.tokenize.lang.Factory
-
Gets the alpha numeric pattern for the language.
- getAlphaNumericPattern() - Method in class opennlp.tools.tokenize.TokenizerFactory
-
Gets the alpha numeric pattern.
- getAnnotation(String) - Method in class opennlp.tools.formats.brat.BratDocument
- getAnnotations() - Method in class opennlp.tools.formats.brat.BratDocument
- getArg1() - Method in class opennlp.tools.formats.brat.RelationAnnotation
- getArg2() - Method in class opennlp.tools.formats.brat.RelationAnnotation
- getArguments() - Method in class opennlp.tools.formats.brat.EventAnnotation
- getArtifact(String) - Method in interface opennlp.tools.util.model.ArtifactProvider
-
Gets an artifact by name
- getArtifact(String) - Method in class opennlp.tools.util.model.BaseModel
- getArtifactSerializerClass() - Method in class opennlp.tools.dictionary.Dictionary
-
Gets the Serializer Class for
Dictionary
- getArtifactSerializerClass() - Method in class opennlp.tools.parser.lang.en.HeadRules
- getArtifactSerializerClass() - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- getArtifactSerializerClass() - Method in class opennlp.tools.postag.POSDictionary
- getArtifactSerializerClass() - Method in class opennlp.tools.postag.POSModel
- getArtifactSerializerClass() - Method in class opennlp.tools.util.featuregen.BrownCluster
- getArtifactSerializerClass() - Method in class opennlp.tools.util.featuregen.WordClusterDictionary
- getArtifactSerializerClass() - Method in interface opennlp.tools.util.model.SerializableArtifact
-
Retrieves the class which can serialize and recreate this artifact.
- getArtifactSerializerMapping() - Method in interface opennlp.tools.util.featuregen.ArtifactToSerializerMapper
-
Deprecated.
- 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 class opennlp.tools.dictionary.serializer.Entry
-
Retrieves the
Attributes
. - getBase() - Method in class opennlp.tools.formats.masc.MascToken
-
Get the base form
- getBases() - Method in class opennlp.tools.formats.masc.MascPennTagParser
- getBestCategory(double[]) - Method in interface opennlp.tools.doccat.DocumentCategorizer
-
get the best category from previously generated outcome probabilities
- getBestCategory(double[]) - Method in class opennlp.tools.doccat.DocumentCategorizerME
- getBestOutcome(double[]) - Method in class opennlp.tools.ml.model.AbstractModel
-
Return the name of the outcome corresponding to the highest likelihood in the parameter ocs.
- getBestOutcome(double[]) - Method in interface opennlp.tools.ml.model.MaxentModel
-
Simple function to return the outcome associated with the index containing the highest probability in the double[].
- 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
-
get a Boolean parameter
- getBooleanParameter(String, String, boolean) - Method in class opennlp.tools.util.TrainingParameters
-
get a Boolean parameter in the specified namespace
- getBuildModel() - Method in class opennlp.tools.parser.ParserModel
- 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
-
get 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
-
Returns the number of children for this parse node.
- getChildren() - Method in class opennlp.tools.parser.Parse
-
Returns the child constituents of this constituent .
- getChunkerModel() - Method in class opennlp.tools.chunker.ChunkerModel
-
Deprecated.use getChunkerSequenceModel instead. This method will be removed soon.
- getChunkerSequenceModel() - Method in class opennlp.tools.chunker.ChunkerModel
- getChunkSize() - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
-
Size in codepoints of chunk to process at each step for the probing detection.
- getCommonParent(Parse) - Method in class opennlp.tools.parser.Parse
-
Returns the deepest shared parent of this node and the specified node.
- getConfidence() - Method in class opennlp.tools.langdetect.Language
- getConfidence() - Method in class opennlp.tools.ml.naivebayes.Probabilities
-
Returns the best confidence with which this set of probabilities has been calculated.
- getConfig() - Method in class opennlp.tools.formats.brat.BratDocument
- getContext() - Method in class opennlp.tools.langdetect.LanguageSample
- 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 pos tag decision at the specified token index given the specified tokens and previous tags.
- getContext(int, String[], String[], Object[]) - Method in class opennlp.tools.lemmatizer.DefaultLemmatizerContextGenerator
- getContext(int, String[], String[], Object[]) - Method in class opennlp.tools.namefind.DefaultNameContextGenerator
-
Return 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 pos tag decision at the specified token index given the specified tokens and previous tags.
- getContext(int, String[], String[], Object[]) - Method in class opennlp.tools.postag.DefaultPOSContextGenerator
- getContext(int, String[], String[], Object[]) - Method in interface opennlp.tools.postag.POSContextGenerator
- getContext(int, String[], String[], String[]) - Method in interface opennlp.tools.chunker.ChunkerContextGenerator
-
Returns the contexts for chunking of the specified index.
- getContext(int, String[], String[], String[]) - 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
-
Generates the context for a document using character ngrams.
- getContext(CharSequence) - Method in interface opennlp.tools.langdetect.LanguageDetectorContextGenerator
- 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
-
Builds up the list of contextual predicates given a String.
- getContext(String, int) - Method in class opennlp.tools.tokenize.DefaultTokenContextGenerator
- getContext(String, int) - Method in interface opennlp.tools.tokenize.TokenContextGenerator
-
Returns an array of features for the specified sentence string at the specified index.
- getContext(Parse[], int) - Method in class opennlp.tools.parser.chunking.BuildContextGenerator
-
Returns the predictive context used to determine how constituent at the specified index should be combined with other contisuents.
- getContext(Parse[], int) - Method in class opennlp.tools.parser.treeinsert.BuildContextGenerator
-
Returns the contexts/features for the decision to build a new constituent for the specified parse at the specified index.
- getContext(Parse[], int, List<Parse>, int) - Method in class opennlp.tools.parser.treeinsert.AttachContextGenerator
- getContext(Parse[], String, int, int) - Method in class opennlp.tools.parser.chunking.CheckContextGenerator
-
Returns predictive context for deciding whether the specified constituents between the specified start and end index can be combined to form a new constituent of the specified type.
- getContext(Parse, Parse[], int, boolean) - Method in class opennlp.tools.parser.treeinsert.CheckContextGenerator
- 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
-
Gets the context generator
- getContexts() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getContexts() - Method in interface opennlp.tools.ml.model.DataIndexer
-
Returns the array of predicates seen in each event.
- getCount(String) - 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
-
Retrieves the string covered by the current span of the specified text.
- getCurrPoint() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getCutoff() - Method in class opennlp.tools.ml.AbstractTrainer
- 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
- getDataStructures() - Method in class opennlp.tools.ml.model.AbstractModel
-
Provides the fundamental data structures which encode the maxent model information.
- getDataType() - Method in interface opennlp.tools.util.wordvector.WordVector
- getDefaultRegexNameFinders(Map<String, Pattern[]>, RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER...) - Static method in class opennlp.tools.namefind.RegexNameFinderFactory
-
Allows for use of selected Defaults as well as regexes from external configuration
- getDefaultRegexNameFinders(RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER...) - Static method in class opennlp.tools.namefind.RegexNameFinderFactory
-
Returns a RegexNamefinder that will utilize specified default regexes.
- getDeprel() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
-
Universal dependency relation to the HEAD (root iff HEAD = 0) or a defined language-specific subtype of one.
- getDeps() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
-
Enhanced dependency graph in the form of a list of head-deprel pairs.
- getDerivation() - Method in class opennlp.tools.parser.Parse
-
Returns the derivation string for this parse if one has been created.
- getDescriptorElements(InputStream) - Static method in class opennlp.tools.util.featuregen.GeneratorFactory
-
Provides a list with all the elements in the xml feature descriptor.
- getDetailedF() - Method in interface opennlp.tools.cmdline.params.DetailedFMeasureEvaluatorParams
-
Deprecated.
- getDetokenizer() - Method in interface opennlp.tools.cmdline.params.DetokenizerParameter
- getDictionary() - Method in class opennlp.tools.postag.POSTaggerFactory
-
Deprecated.this will be reduced in visibility and later removed
- getDictMap() - Method in class opennlp.tools.lemmatizer.DictionaryLemmatizer
-
Get the Map containing the dictionary.
- getDimension() - Method in interface opennlp.tools.ml.maxent.quasinewton.Function
- getDimension() - Method in class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
- getDimension() - Method in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer.L2RegFunction
- getDocument() - Method in class opennlp.tools.sentdetect.SentenceSample
-
Retrieves the document.
- getDocumentAccuracy() - Method in class opennlp.tools.doccat.DoccatCrossValidator
-
Retrieves the accuracy for all iterations.
- getDocumentAccuracy() - Method in class opennlp.tools.langdetect.LanguageDetectorCrossValidator
-
Retrieves the accuracy for all iterations.
- getDocumentCount() - Method in class opennlp.tools.doccat.DoccatCrossValidator
-
Retrieves the number of words which where validated over all iterations.
- getDocumentCount() - Method in class opennlp.tools.doccat.DocumentCategorizerEvaluator
- getDocumentCount() - Method in class opennlp.tools.langdetect.LanguageDetectorCrossValidator
-
Retrieves the number of words which where validated over all iterations.
- getDocumentCount() - Method in class opennlp.tools.langdetect.LanguageDetectorEvaluator
- 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
-
get a Double parameter
- getDoubleParameter(String, String, double) - Method in class opennlp.tools.util.TrainingParameters
-
get a Double parameter in the specified namespace
- getElement(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
-
Parse a tree element from a AD line
- getElements() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Node
- getEncoding() - Method in interface opennlp.tools.cmdline.params.EncodingParameter
- getEnd() - Method in class opennlp.tools.util.Span
-
Return the end of a span.
- getEndOfSentenceCharacters() - Method in class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
-
Deprecated.
- getEndOfSentenceCharacters() - Method in interface opennlp.tools.sentdetect.EndOfSentenceScanner
-
Deprecated.
- 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
-
Returns a set of character which can indicate the end of a sentence.
- 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
- getEvents() - Method in class opennlp.tools.ml.model.Sequence
-
Returns the events which make up this sequence.
- getEventTrainer(TrainingParameters, Map<String, String>) - Static method in class opennlp.tools.ml.TrainerFactory
- getEventTrigger() - Method in class opennlp.tools.formats.brat.EventAnnotation
- getExtraInformation() - Method in class opennlp.tools.doccat.DocumentSample
- getFactory() - Method in class opennlp.tools.chunker.ChunkerModel
- getFactory() - Method in class opennlp.tools.doccat.DoccatModel
- getFactory() - Method in class opennlp.tools.langdetect.LanguageDetectorModel
- getFactory() - Method in class opennlp.tools.lemmatizer.LemmatizerModel
- getFactory() - Method in class opennlp.tools.namefind.TokenNameFinderModel
- getFactory() - Method in class opennlp.tools.postag.POSModel
- getFactory() - Method in class opennlp.tools.sentdetect.SentenceModel
- getFactory() - Method in class opennlp.tools.tokenize.TokenizerModel
- getFctEvalCount() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getFeats() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
-
Retrieve list of morphological features from the universal feature inventory or from a defined language-specific extension; underscore if not available.
- getFeatureGenerators() - Method in class opennlp.tools.doccat.DoccatFactory
- getFlex() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankFlex
- getFlex() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
- 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
-
It returns the fmeasure result.
- getFMeasure() - Method in class opennlp.tools.sentdetect.SDCrossValidator
- getFMeasure() - Method in class opennlp.tools.sentdetect.SentenceDetectorEvaluator
- getFMeasure() - Method in class opennlp.tools.tokenize.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
-
Retrieves the f-measure score.
- getFolds() - Method in interface opennlp.tools.cmdline.params.CVParams
- getForm() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
-
Retrieve the word form or punctuation symbol.
- getFuncChangeRate() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getFunctionalTag() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- getGenerators() - Method in class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
-
Retrieves a
Collections
of all 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
-
Head of the current word, which is either a value of ID or zero (0).
- getHead() - Method in class opennlp.tools.parser.Parse
-
Returns the head constituent associated with this constituent.
- getHead(Parse[], String) - Method in interface opennlp.tools.parser.HeadRules
-
Returns the head constituent for the specified constituents of the specified type.
- getHead(Parse[], String) - Method in class opennlp.tools.parser.lang.en.HeadRules
- getHead(Parse[], String) - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- getHeadIndex() - Method in class opennlp.tools.parser.Parse
-
Returns the index within a sentence of the head token for this parse.
- getHeadRules() - Method in class opennlp.tools.parser.ParserModel
- 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
-
Retrieves the word index.
- 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
-
get the index of a certain category
- getIndex(String) - Method in class opennlp.tools.doccat.DocumentCategorizerME
- getIndex(String) - Method in class opennlp.tools.ml.model.AbstractModel
-
Gets the index associated with the String name of the given outcome.
- getIndex(String) - Method in interface opennlp.tools.ml.model.MaxentModel
-
Gets the index associated with the String name of the given outcome.
- getInitialChunks(Parse) - Static method in class opennlp.tools.parser.AbstractParserEventStream
- getInitialChunks(Parse) - Static method in class opennlp.tools.parser.ChunkSampleStream
- getInitialObject(double, double[], double[]) - Static method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
-
Initial linear search object.
- getInitialObject(double, double[], double[], double[], double[], int) - Static method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getInitialObjectForL1(double, double[], double[], double[]) - Static method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
-
Initial linear search object for L1-regularization.
- getInitialPoint() - Method in class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
- getInstance() - Static method in class opennlp.tools.util.normalizer.EmojiCharSequenceNormalizer
- getInstance() - Static method in class opennlp.tools.util.normalizer.NumberCharSequenceNormalizer
- getInstance() - Static method in class opennlp.tools.util.normalizer.ShrinkCharSequenceNormalizer
- getInstance() - Static method in class opennlp.tools.util.normalizer.TwitterCharSequenceNormalizer
- getInstance() - Static method in class opennlp.tools.util.normalizer.UrlCharSequenceNormalizer
- 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
-
get an Integer parameter
- getIntParameter(String, String, int) - Method in class opennlp.tools.util.TrainingParameters
-
get an Integer parameter in the specified namespace
- getItemID() - Method in class opennlp.tools.entitylinker.BaseLink
-
returns the itemid
- getItemName() - Method in class opennlp.tools.entitylinker.BaseLink
-
returns the name
- getItemParentID() - Method in class opennlp.tools.entitylinker.BaseLink
-
Any parent ID for the linked item
- getItemType() - Method in class opennlp.tools.entitylinker.BaseLink
-
returns the type
- getIterations() - Method in class opennlp.tools.ml.AbstractTrainer
- getKeys() - Method in class opennlp.tools.ml.naivebayes.Probabilities
-
Returns the probabilities associated with all labels
- getLabel() - Method in class opennlp.tools.ml.naivebayes.LogProbability
-
Returns the probabilities associated with all labels
- getLabel() - Method in class opennlp.tools.ml.naivebayes.Probability
-
Returns the probabilities associated with all labels
- getLabel() - Method in class opennlp.tools.parser.Constituent
-
Returns the label of the constituent.
- getLabel() - Method in class opennlp.tools.parser.Parse
-
Returns the label assigned to this parse node during parsing which specifies how this node will be formed into a constituent.
- 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 class opennlp.tools.langdetect.LanguageSample
- getLanguage() - Method in interface opennlp.tools.util.model.ArtifactProvider
-
Retrieves the language code of the material which was used to train the model or x-unspecified if non was set.
- getLanguage() - Method in class opennlp.tools.util.model.BaseModel
-
Retrieves the language code of the material which was used to train the model or x-unspecified if non was set.
- getLanguageCode() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- getLanguageCode() - Method in class opennlp.tools.tokenize.TokenizerFactory
-
Retrieves the language code.
- getLanguages() - Method in class opennlp.tools.langdetect.ProbingLanguageDetectionResult
- getLemma() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- getLemma() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
-
Retrieve the lemma or stem of the word form.
- getLemmas() - Method in class opennlp.tools.lemmatizer.LemmaSample
- getLemmatizerSequenceModel() - Method in class opennlp.tools.lemmatizer.LemmatizerModel
- getLength() - Method in class opennlp.tools.langdetect.ProbingLanguageDetectionResult
- getLevel() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
- getLexeme() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- getLinkedEntries() - Method in class opennlp.tools.entitylinker.LinkedSpan
-
Returns the n best linked entries from an external data source.
- getLinker(String, EntityLinkerProperties) - Static method in class opennlp.tools.entitylinker.EntityLinkerFactory
- getLinker(EntityLinkerProperties) - Static method in class opennlp.tools.entitylinker.EntityLinkerFactory
- getLog() - Method in class opennlp.tools.ml.naivebayes.LogProbability
-
Returns the log probability associated with a label
- getLog() - Method in class opennlp.tools.ml.naivebayes.Probability
-
Returns the log probability associated with a label
- getLog(T) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
-
Returns the log probability associated with a label
- getLog(T) - Method in class opennlp.tools.ml.naivebayes.Probabilities
-
Returns the log probability associated with a label
- 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
-
Retrieves the major version.
- getManifestProperty(String) - Method in interface opennlp.tools.util.model.ArtifactProvider
-
Retrieves the value to the given key from the manifest.properties entry.
- getManifestProperty(String) - Method in class opennlp.tools.util.model.BaseModel
-
Retrieves the value to the given key from the manifest.properties entry.
- getMatrixLabelComparator(Map<String, FineGrainedReportListener.ConfusionMatrixLine>) - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderFineGrainedReportListener
- getMax() - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
-
Returns the most likely label
- getMax() - Method in class opennlp.tools.ml.naivebayes.Probabilities
-
Returns the most likely label
- getMaxentModel() - Method in class opennlp.tools.doccat.DoccatModel
- getMaxentModel() - Method in class opennlp.tools.langdetect.LanguageDetectorModel
- getMaxentModel() - Method in class opennlp.tools.sentdetect.SentenceModel
- getMaxentModel() - Method in class opennlp.tools.tokenize.TokenizerModel
- getMaxLength() - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
-
Maximum length in codepoints of text to process.
- 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
-
Returns the probability of the most likely label
- getMetadata() - Method in class opennlp.tools.formats.ad.ADSentenceStream.Sentence
- getMinConsecImprovements() - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
-
Minimum number of consecutive increased probabilities for the top language required in probing detection to stop early.
- getMinDiff() - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
-
Minimum difference in confidence between the top predicted language and the next most likely language.
- getMinor() - Method in class opennlp.tools.util.Version
-
Retrieves the minor version.
- getMinTokenCount() - Method in class opennlp.tools.dictionary.Dictionary
- getMisc() - Method in class opennlp.tools.formats.conllu.ConlluWordLine
-
Retrieve any other annotation.
- 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
- getmPatterns() - Method in class opennlp.tools.namefind.RegexNameFinder
- 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
-
Get the named entities
- getNameFinderSequenceModel() - Method in class opennlp.tools.namefind.TokenNameFinderModel
- getNames() - Method in class opennlp.tools.namefind.NameSample
- getNextPoint() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getNextPunctuationSet() - Method in class opennlp.tools.parser.Parse
-
Returns the set of punctuation parses that occur immediately after this parse.
- getNgramDictionary() - Method in class opennlp.tools.postag.POSModel
-
Retrieves the ngram dictionary.
- getNGrams(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
-
Retrieves the number of times a cache hit occurred.
- getNumberOfCacheMisses() - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
-
Retrieves the number of times a cache miss occurred.
- getNumberOfCategories() - Method in interface opennlp.tools.doccat.DocumentCategorizer
-
get the number of categories
- getNumberOfCategories() - Method in class opennlp.tools.doccat.DocumentCategorizerME
- getNumEvents() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getNumEvents() - Method in interface opennlp.tools.ml.model.DataIndexer
-
Returns the number of total events indexed.
- getNumOutcomes() - Method in class opennlp.tools.ml.maxent.quasinewton.QNModel
- getNumOutcomes() - Method in class opennlp.tools.ml.model.AbstractModel
- getNumOutcomes() - Method in class opennlp.tools.ml.model.DynamicEvalParameters
- getNumOutcomes() - Method in class opennlp.tools.ml.model.EvalParameters
- getNumOutcomes() - Method in interface opennlp.tools.ml.model.MaxentModel
-
Returns the number of outcomes for this model.
- getNumTimesEventsSeen() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getNumTimesEventsSeen() - Method in interface opennlp.tools.ml.model.DataIndexer
-
Returns an array indicating the number of times a particular event was seen.
- getObjectSettings() - Method in class opennlp.tools.util.TrainingParameters
-
Retrieves all parameters without a name space.
- getObjectSettings(String) - Method in class opennlp.tools.util.TrainingParameters
-
Retrieves a map with the training parameters which have the passed name space.
- getOntoNotesDir() - Method in interface opennlp.tools.formats.ontonotes.OntoNotesFormatParameters
- getOrderedTags(List<String>, List<String>, int) - Method in class opennlp.tools.postag.POSTaggerME
- getOrderedTags(List<String>, List<String>, int, double[]) - Method in class opennlp.tools.postag.POSTaggerME
- getOriginal() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
- getOutcome() - Method in class opennlp.tools.ml.model.Event
- getOutcome(int) - Method in class opennlp.tools.ml.model.AbstractModel
-
Return the name of an outcome corresponding to an int id.
- getOutcome(int) - Method in interface opennlp.tools.ml.model.MaxentModel
-
Gets the String name of the outcome associated with the index i.
- getOutcomeLabels() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getOutcomeLabels() - Method in interface opennlp.tools.ml.model.DataIndexer
-
Returns an array of outcome names.
- getOutcomeList() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getOutcomeList() - Method in interface opennlp.tools.ml.model.DataIndexer
-
Returns an array indicating the outcome index for each event.
- getOutcomes() - Method in class opennlp.tools.ml.BeamSearch
- getOutcomes() - Method in class opennlp.tools.ml.model.Context
-
Returns the outcomes for which parameters exists for this context.
- getOutcomes() - Method in interface opennlp.tools.ml.model.SequenceClassificationModel
-
Returns all possible outcomes.
- getOutcomes() - Method in class opennlp.tools.util.Sequence
-
Returns a list of outcomes for this sequence.
- getOutcomeTotals() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesEvalParameters
- 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
-
Returns the parameters or expected values for the outcomes which occur with this context.
- getParameters(String) - Method in class opennlp.tools.util.TrainingParameters
- getParams() - Method in 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
-
Returns the parent parse node of this constituent.
- getParserChunkerModel() - Method in class opennlp.tools.parser.ParserModel
- getParserTaggerModel() - Method in class opennlp.tools.parser.ParserModel
- getParserType() - Method in class opennlp.tools.parser.ParserModel
- getPhrasesAsSpanList() - Method in class opennlp.tools.chunker.ChunkSample
-
Gets the phrases as an array of spans
- getPos() - Method in class opennlp.tools.formats.masc.MascToken
-
Get the POS tag
- 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(String) - Method in class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
- getPositions(String) - Method in interface opennlp.tools.sentdetect.EndOfSentenceScanner
-
The receiver scans the specified string for sentence ending characters and returns their offsets.
- getPositions(StringBuffer) - Method in 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 getPosSequenceModel instead. This method will be removed soon. Only required for Parser 1.5.x backward compatibility. Newer models don't need this anymore.
- getPosSequenceModel() - Method in class opennlp.tools.postag.POSModel
- getPosTag(ConlluTagset) - Method in class opennlp.tools.formats.conllu.ConlluWordLine
-
Retrieve the Universal part-of-speech tag or the language-specific part-of-speech tag; underscore if not available.
- getPrecisionScore() - Method in class opennlp.tools.util.eval.FMeasure
-
Retrieves the arithmetic mean of the precision scores calculated for each evaluated sample.
- getPredCounts() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getPredCounts() - Method in interface opennlp.tools.ml.model.DataIndexer
-
Returns an array of the count of each predicate in the events.
- getPredLabels() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getPredLabels() - Method in interface opennlp.tools.ml.model.DataIndexer
-
Returns an array of predicate/context names.
- getPreds() - Method in class opennlp.tools.chunker.ChunkSample
-
Gets the Chunk tags in B-* I-* notation
- getPreviousPunctuationSet() - Method in class opennlp.tools.parser.Parse
-
Returns the set of punctuation parses that occur immediately before this parse.
- getProb() - Method in class opennlp.tools.parser.Parse
-
Returns the log of the product of the probability associated with all the decisions which formed this constituent.
- getProb() - Method in class opennlp.tools.util.Span
- getProbs() - Method in class opennlp.tools.util.Sequence
-
Returns an array of probabilities associated with the outcomes of this sequence.
- getProbs(double[]) - Method in class opennlp.tools.util.Sequence
-
Populates an array with the probabilities associated with the outcomes of this sequence.
- getProperty(String, String) - Method in class opennlp.tools.entitylinker.EntityLinkerProperties
-
Gets a property from the props file.
- getPseudoGradAtNext() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getPunctuationTags() - Method in interface opennlp.tools.parser.HeadRules
-
Returns the set of punctuation tags.
- getPunctuationTags() - Method in class opennlp.tools.parser.lang.en.HeadRules
- getPunctuationTags() - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- getQuarks() - Method in class opennlp.tools.formats.masc.MascToken
-
Get quarks of the token
- getRecallScore() - Method in class opennlp.tools.util.eval.FMeasure
-
Retrieves the arithmetic mean of the recall score calculated for each evaluated sample.
- getRegexMap() - Method in interface opennlp.tools.namefind.RegexNameFinderFactory.RegexAble
- getReportOutputFile() - Method in interface opennlp.tools.cmdline.params.FineGrainedEvaluatorParams
- getResource(String) - Method in interface opennlp.tools.util.featuregen.FeatureGeneratorResourceProvider
-
Retrieves the resource object for the given name/identifier.
- getResultBuffer() - Method in class opennlp.tools.stemmer.PorterStemmer
-
Returns a reference to a character buffer containing the results of the stemming process.
- getResultLength() - Method in class opennlp.tools.stemmer.PorterStemmer
-
Returns the length of the word resulting from the stemming process.
- getRevision() - Method in class opennlp.tools.util.Version
-
Retrieves the revision version.
- getRightFrontier(Parse, Set<String>) - Static method in class opennlp.tools.parser.treeinsert.Parser
-
Returns the right frontier of the specified parse tree with nodes ordered from deepest to shallowest.
- getRoot() - Method in class opennlp.tools.formats.ad.ADSentenceStream.Sentence
- getScore() - Method in class opennlp.tools.util.Sequence
-
Returns the score of this sequence.
- getScoreMap() - Method in class opennlp.tools.entitylinker.BaseLink
- getSDContextGenerator() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- getSearchTerm() - Method in class opennlp.tools.entitylinker.LinkedSpan
-
Returns the search term that was used to link this span to an external data source
- getSecondaryTag() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- getSegments() - Method in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument
- getSentDetectText() - Method in class opennlp.tools.formats.masc.MascSentence
-
Get the sentence text
- getSentence() - Method in class opennlp.tools.chunker.ChunkSample
-
Gets the training sentence
- getSentence() - Method in class opennlp.tools.namefind.NameSample
- getSentence() - Method in class opennlp.tools.postag.POSSample
- getSentenceCount() - Method in class opennlp.tools.cmdline.namefind.NameSampleCountersStream
- getSentenceid() - Method in class opennlp.tools.entitylinker.LinkedSpan
-
Returns the id or index of the sentence from which this span was extracted
- getSentenceIdComment() - Method in class opennlp.tools.formats.conllu.ConlluSentence
- getSentenceProbabilities() - Method in class opennlp.tools.sentdetect.SentenceDetectorME
-
Returns the probabilities associated with the most recent calls to sentDetect().
- getSentences() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument
- getSentences() - Method in class opennlp.tools.formats.letsmt.LetsmtDocument
- getSentences() - Method in class opennlp.tools.sentdetect.SentenceSample
-
Retrieves the sentences.
- getSequenceCodec() - Method in class opennlp.tools.namefind.TokenNameFinderModel
- getSequenceModelTrainer(TrainingParameters, Map<String, String>) - Static method in class opennlp.tools.ml.TrainerFactory
- getSequenceValidator() - Method in class opennlp.tools.chunker.ChunkerFactory
- getSequenceValidator() - Method in class opennlp.tools.lemmatizer.LemmatizerFactory
- getSequenceValidator() - Method in class opennlp.tools.parser.ParserChunkerFactory
- getSequenceValidator() - Method in class opennlp.tools.postag.POSTaggerFactory
- getSettings() - Method in class opennlp.tools.util.TrainingParameters
-
Deprecated.use
TrainingParameters.getObjectSettings()
instead - getSettings(String) - Method in class opennlp.tools.util.TrainingParameters
-
Deprecated.use
TrainingParameters.getObjectSettings(String)
instead - 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.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
-
Get the SES required to go from a word to a lemma.
- getSignVector() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- getSource() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
- getSource() - Method in class opennlp.tools.ml.model.Sequence
-
Returns an object from which this sequence can be derived.
- getSpan() - Method in class opennlp.tools.parser.Constituent
-
Returns the span of the constituent.
- getSpan() - Method in class opennlp.tools.parser.Parse
-
Returns the character offsets for this constituent.
- getSpans() - Method in class opennlp.tools.formats.brat.SpanAnnotation
- getStart() - Method in class opennlp.tools.util.Span
-
Return the start of a span.
- getStepSize() - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- 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
-
get a String parameter.
- getStringParameter(String, String, String) - Method in class opennlp.tools.util.TrainingParameters
-
get a String parameter in the specified namespace.
- getsType() - Method in class opennlp.tools.namefind.RegexNameFinder
- getSupportedLanguages() - Method in interface opennlp.tools.langdetect.LanguageDetector
- getSupportedLanguages() - Method in class opennlp.tools.langdetect.LanguageDetectorME
- getSurface() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankFlex
- getSyntacticTag() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
- getTag() - Method in class opennlp.tools.util.TokenTag
- getTagDictionary() - Method in class opennlp.tools.postag.POSTaggerFactory
- getTagNodes() - Method in class opennlp.tools.parser.Parse
-
Returns the parse nodes which are children of this node and which are pos tags.
- getTags() - Method in class opennlp.tools.chunker.ChunkSample
-
Gets the POS Tags for the sentence
- getTags() - Method in class opennlp.tools.formats.masc.MascPennTagParser
- getTags() - Method in class opennlp.tools.formats.masc.MascSentence
-
Get the tags of tokens in the sentence
- 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
-
Returns a list of valid tags for the specified word.
- getTagSequenceProb() - Method in class opennlp.tools.parser.Parse
-
Returns the probability associated with the pos-tag sequence assigned to this parse.
- getTestSampleStream() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner.TrainingSampleStream
-
Retrieves the
ObjectStream
over the test/evaluations elements and poisons thisTrainingSampleStream
. - getText() - Method in class opennlp.tools.doccat.DocumentSample
- getText() - Method in class opennlp.tools.formats.ad.ADSentenceStream.Sentence
- getText() - Method in class opennlp.tools.formats.brat.BratDocument
- getText() - Method in class opennlp.tools.parser.Parse
-
Returns the text of the sentence over which this parse was formed.
- getText() - Method in class opennlp.tools.tokenize.TokenSample
-
Retrieves the text.
- getTextComment() - Method in class opennlp.tools.formats.conllu.ConlluSentence
- getTextLang() - Method in class opennlp.tools.formats.conllu.ConlluSentence
- getToken() - Method in class opennlp.tools.util.TokenTag
- getToken(int) - Method in class opennlp.tools.util.StringList
-
Retrieves a token from the given index.
- getTokenCount() - Method in class opennlp.tools.cmdline.namefind.NameSampleCountersStream
- getTokenId() - Method in class opennlp.tools.formats.masc.MascToken
-
Get ID of the token
- getTokenNodes() - Method in class opennlp.tools.parser.Parse
- getTokenProbabilities() - Method in class opennlp.tools.tokenize.TokenizerME
-
Returns the probabilities associated with the most recent calls to
Tokenizer.tokenize(String)
orTokenizerME.tokenizePos(String)
. - getTokens() - Method in class opennlp.tools.dictionary.serializer.Entry
-
Retrieves the tokens.
- getTokens() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
- getTokens() - Method in class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtSentence
- getTokens() - Method in class opennlp.tools.lemmatizer.LemmaSample
- getTokenSample() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
- getTokenSpans() - Method in class opennlp.tools.tokenize.TokenSample
-
Retrieves the token spans.
- getTokensSpans() - Method in class opennlp.tools.formats.masc.MascSentence
-
Get the boundaries of individual tokens
- getTokenStrings() - Method in class opennlp.tools.formats.masc.MascSentence
-
Get the text of the sentence tokens
- getTokenText() - Method in class opennlp.tools.formats.masc.MascSentence
-
Get the text of the sentence tokens
- getTokenToQuarks() - Method in class opennlp.tools.formats.masc.MascPennTagParser
- getTrainerType(TrainingParameters) - Static method in class opennlp.tools.ml.TrainerFactory
-
Determines the trainer type based on the ALGORITHM_PARAM value.
- getTranslation() - Method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
- 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
-
Returns the constituent label for this node of the parse.
- getType() - Method in class opennlp.tools.util.Span
-
Retrieves the type of the span.
- getTypeClass(String) - Method in class opennlp.tools.formats.brat.AnnotationConfiguration
- getValue() - 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
-
Returns the values associated with each event context or null if integer values are to be used.
- getValues() - Method in class opennlp.tools.ml.model.Event
- getValues() - Method in class opennlp.tools.ml.model.OnePassRealValueDataIndexer
- getVersion() - Method in class opennlp.tools.util.model.BaseModel
-
Retrieves the OpenNLP version which was used to create the model.
- getVocabulary() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesEvalParameters
- getWordAccuracy() - Method in class opennlp.tools.lemmatizer.LemmatizerEvaluator
-
Retrieves the word accuracy.
- getWordAccuracy() - Method in class opennlp.tools.postag.POSEvaluator
-
Retrieves the word accuracy.
- getWordAccuracy() - Method in class opennlp.tools.postag.POSTaggerCrossValidator
-
Retrieves the accuracy for all iterations.
- getWordClasses(String, BrownCluster) - Static method in class opennlp.tools.util.featuregen.BrownTokenClasses
-
It provides a list containing the pathLengths for a token if found in the Map:token,BrownClass.
- getWordCount() - Method in class opennlp.tools.lemmatizer.LemmatizerEvaluator
-
Retrieves the total number of words considered in the evaluation.
- getWordCount() - Method in class opennlp.tools.postag.POSEvaluator
-
Retrieves the total number of words considered in the evaluation.
- getWordCount() - Method in class opennlp.tools.postag.POSTaggerCrossValidator
-
Retrieves the number of words which where validated over all iterations.
- getWordLines() - Method in class opennlp.tools.formats.conllu.ConlluSentence
- GISModel - Class in opennlp.tools.ml.maxent
-
A maximum entropy model which has been trained using the Generalized Iterative Scaling procedure (implemented in GIS.java).
- GISModel(Context[], String[], String[]) - Constructor for class opennlp.tools.ml.maxent.GISModel
-
Creates a new model with the specified parameters, outcome names, and predicate/feature labels.
- GISModel(Context[], String[], String[], Prior) - Constructor for class opennlp.tools.ml.maxent.GISModel
-
Creates a new model with the specified parameters, outcome names, and predicate/feature labels.
- GISModelReader - Class in opennlp.tools.ml.maxent.io
-
Abstract parent class for readers of GISModels.
- GISModelReader(File) - Constructor for class opennlp.tools.ml.maxent.io.GISModelReader
- GISModelReader(DataReader) - Constructor for class opennlp.tools.ml.maxent.io.GISModelReader
- GISModelWriter - Class in opennlp.tools.ml.maxent.io
-
Abstract parent class for GISModel writers.
- GISModelWriter(AbstractModel) - Constructor for class opennlp.tools.ml.maxent.io.GISModelWriter
- GISTrainer - Class in opennlp.tools.ml.maxent
-
An implementation of Generalized Iterative Scaling.
- GISTrainer() - Constructor for class opennlp.tools.ml.maxent.GISTrainer
-
Creates a new
GISTrainer
instance which does not print progress messages about training to STDOUT. - Glove - Class in opennlp.tools.util.wordvector
-
Warning: Experimental new feature, see OPENNLP-1144 for details, the API might be changed anytime.
- gradientAt(double[]) - Method in interface opennlp.tools.ml.maxent.quasinewton.Function
- gradientAt(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
-
Compute gradient
- gradientAt(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.ParallelNegLogLikelihood
-
Compute gradient
- gradientAt(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer.L2RegFunction
- GREEK - 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 class opennlp.tools.doccat.DocumentSample
- hashCode() - Method in class opennlp.tools.entitylinker.BaseLink
- hashCode() - Method in class opennlp.tools.entitylinker.LinkedSpan
- hashCode() - Method in class opennlp.tools.langdetect.Language
- hashCode() - Method in class opennlp.tools.langdetect.LanguageSample
- hashCode() - Method in class opennlp.tools.lemmatizer.LemmaSample
- hashCode() - Method in class opennlp.tools.ml.model.AbstractModel
- hashCode() - Method in class opennlp.tools.ml.model.ComparableEvent
- hashCode() - Method in class opennlp.tools.ml.model.ComparablePredicate
- hashCode() - Method in class opennlp.tools.ml.model.Context
- hashCode() - Method in class opennlp.tools.ml.model.EvalParameters
- hashCode() - Method in class opennlp.tools.ml.model.UniformPrior
- hashCode() - Method in class opennlp.tools.namefind.NameSample
- hashCode() - Method in class opennlp.tools.ngram.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.postag.POSDictionary
- hashCode() - Method in class opennlp.tools.postag.POSSample
- hashCode() - Method in class opennlp.tools.sentdetect.SentenceSample
- hashCode() - Method in class opennlp.tools.stemmer.snowball.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.TokenSample
- hashCode() - Method in class opennlp.tools.util.Sequence
- hashCode() - Method in class opennlp.tools.util.Span
-
Generates a hash code of the current span.
- hashCode() - Method in class opennlp.tools.util.StringList
- hashCode() - Method in class opennlp.tools.util.TokenTag
- hashCode() - Method in class opennlp.tools.util.Version
- HashSumEventStream - Class in opennlp.tools.ml.model
- HashSumEventStream(ObjectStream<Event>) - Constructor for class opennlp.tools.ml.model.HashSumEventStream
- hasNamedEntities() - Method in class opennlp.tools.formats.masc.MascDocument
- hasNext() - Method in interface opennlp.tools.ml.maxent.DataStream
-
Test whether there are any Events remaining in this EventStream.
- hasNext() - Method in class opennlp.tools.tokenize.lang.en.TokenSampleStream
- hasNext() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner
-
Checks if there are more partitions available.
- hasNext() - Method in class opennlp.tools.util.ReverseListIterator
- hasParams() - Method in class opennlp.tools.cmdline.tokenizer.SimpleTokenizerTool
- hasPennTags() - Method in class opennlp.tools.formats.masc.MascDocument
-
Check whether there is Penn tagging produced by GATE-5.0 ANNIE
- HeadRules - Class in opennlp.tools.parser.lang.en
-
Class for storing the English head rules associated with parsing.
- HeadRules - Interface in opennlp.tools.parser
-
Interface for encoding the 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.
- 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 - 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 OSGi OpenNLP extension service.
- INC_NODE - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
The label for the top if an incomplete node.
- INCOMPLETE - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
Outcome used when a constituent is incomplete.
- increment() - Method in class opennlp.tools.util.MutableInt
- index(ObjectStream<Event>) - Method in interface opennlp.tools.ml.model.DataIndexer
-
Performs the data indexing.
- index(ObjectStream<Event>) - Method in class opennlp.tools.ml.model.OnePassDataIndexer
- index(ObjectStream<Event>) - Method in class opennlp.tools.ml.model.TwoPassDataIndexer
- Index - Class in opennlp.tools.dictionary
-
This classes indexes
StringList
s. - Index(Iterator<StringList>) - Constructor for class opennlp.tools.dictionary.Index
-
Initializes the current instance with the given
StringList
Iterator
. - indexOf(Parse) - Method in class opennlp.tools.parser.Parse
-
Returns the index of this specified child.
- INDONESIAN - 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(Map<String, String>, Map<String, String>) - Method in class opennlp.tools.ml.AbstractTrainer
-
Deprecated.
- init(Map<String, String>, Map<String, String>) - Method in interface opennlp.tools.ml.EventModelSequenceTrainer
-
Deprecated.
- init(Map<String, String>, Map<String, String>) - Method in interface opennlp.tools.ml.EventTrainer
-
Deprecated.
- init(Map<String, String>, Map<String, String>) - Method in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
-
Deprecated.
- init(Map<String, String>, Map<String, String>) - Method in interface opennlp.tools.ml.SequenceTrainer
-
Deprecated.
- init(Map<String, String>, FeatureGeneratorResourceProvider) - Method in class opennlp.tools.util.featuregen.CustomFeatureGenerator
-
Deprecated.Initialized the Custom Feature Generator with defined properties and loaded resources.
- init(EntityLinkerProperties) - Method in interface opennlp.tools.entitylinker.EntityLinker
-
allows for passing properties through the EntityLinkerFactory into all impls dynamically.
- init(TrainingParameters, Map<String, String>) - Method in class opennlp.tools.ml.AbstractTrainer
- init(TrainingParameters, Map<String, String>) - Method in interface opennlp.tools.ml.EventModelSequenceTrainer
- init(TrainingParameters, Map<String, String>) - Method in interface opennlp.tools.ml.EventTrainer
- init(TrainingParameters, Map<String, String>) - Method in class opennlp.tools.ml.maxent.GISTrainer
- init(TrainingParameters, Map<String, String>) - Method in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- init(TrainingParameters, Map<String, String>) - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- init(TrainingParameters, Map<String, String>) - Method in interface opennlp.tools.ml.model.DataIndexer
-
Sets parameters used during the data indexing.
- init(TrainingParameters, Map<String, String>) - Method in interface opennlp.tools.ml.SequenceTrainer
- 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 types of model building.
- insert(Entry) - Method in interface opennlp.tools.dictionary.serializer.EntryInserter
- insert(Parse) - Method in class opennlp.tools.parser.Parse
-
Inserts the specified constituent into this parse based on its text span.This method assumes that the specified constituent can be inserted into this parse.
- InSpanGenerator - Class in opennlp.tools.util.featuregen
-
Generates features if the tokens are recognized by the provided
TokenNameFinder
. - InSpanGenerator(String, TokenNameFinder) - Constructor for class opennlp.tools.util.featuregen.InSpanGenerator
-
Initializes the current instance.
- INSTANCE - Static variable in class opennlp.tools.tokenize.SimpleTokenizer
- INSTANCE - Static variable in class opennlp.tools.tokenize.WhitespaceTokenizer
-
Use this static reference to retrieve an instance of the
WhitespaceTokenizer
. - instantiateExtension(Class<T>, String) - Static method in class opennlp.tools.util.ext.ExtensionLoader
-
Instantiates an user provided extension to OpenNLP.
- instantiateSequenceCodec(String) - Static method in class opennlp.tools.namefind.TokenNameFinderFactory
- InsufficientTrainingDataException - Exception in opennlp.tools.util
-
This exception indicates that the provided training data is insufficient to train the desired model.
- InsufficientTrainingDataException() - Constructor for exception opennlp.tools.util.InsufficientTrainingDataException
- InsufficientTrainingDataException(String) - Constructor for exception opennlp.tools.util.InsufficientTrainingDataException
- InsufficientTrainingDataException(String, Throwable) - Constructor for exception opennlp.tools.util.InsufficientTrainingDataException
- InsufficientTrainingDataException(Throwable) - Constructor for exception opennlp.tools.util.InsufficientTrainingDataException
- intersects(Span) - Method in class opennlp.tools.util.Span
-
Returns true if the specified span intersects with this span.
- InvalidFormatException - Exception in opennlp.tools.util
-
This exception indicates that a resource violates the expected data format.
- InvalidFormatException() - Constructor for exception opennlp.tools.util.InvalidFormatException
- InvalidFormatException(String) - Constructor for exception opennlp.tools.util.InvalidFormatException
- InvalidFormatException(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
-
Inverse L2-norm
- IRISH - 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
- IrishSentenceBankDocument.IrishSentenceBankFlex - Class in opennlp.tools.formats.irishsentencebank
- IrishSentenceBankDocument.IrishSentenceBankSentence - Class in opennlp.tools.formats.irishsentencebank
- IrishSentenceBankFlex(String, String[]) - Constructor for class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankFlex
- IrishSentenceBankSentence(String, String, String, Span[], IrishSentenceBankDocument.IrishSentenceBankFlex[]) - Constructor for class opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument.IrishSentenceBankSentence
- IrishSentenceBankSentenceStreamFactory - Class in opennlp.tools.formats.irishsentencebank
- IrishSentenceBankTokenSampleStreamFactory - Class in opennlp.tools.formats.irishsentencebank
- irishStemmer - Class in opennlp.tools.stemmer.snowball
-
This class was automatically generated by a Snowball to Java compiler It implements the stemming algorithm defined by a snowball script.
- irishStemmer() - Constructor for class opennlp.tools.stemmer.snowball.irishStemmer
- isAllCapitalLetter() - Method in class opennlp.tools.util.featuregen.StringPattern
- isAllDigit() - Method in class opennlp.tools.util.featuregen.StringPattern
- 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 interface opennlp.tools.postag.MutableTagDictionary
-
Whether if the dictionary is case sensitive or not
- isCaseSensitive() - Method in class opennlp.tools.postag.POSDictionary
- 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
-
Returns true if this constituent contains no sub-constituents.
- isInitialCapitalLetter() - Method in class opennlp.tools.util.featuregen.StringPattern
- isLarger(Probability) - Method in class opennlp.tools.ml.naivebayes.LogProbability
-
Checks if a probability is greater than the old one.
- isLarger(Probability) - Method in class opennlp.tools.ml.naivebayes.Probability
-
Checks if a probability is greater than the old one.
- isLeaf() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- isLeaf() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
- isLoadedFromSerialized() - Method in interface opennlp.tools.util.model.ArtifactProvider
-
Indicates if this provider was loaded from serialized.
- isLoadedFromSerialized() - Method in class opennlp.tools.util.model.BaseModel
- isNewDocument() - Method in class opennlp.tools.formats.conllu.ConlluSentence
- isNewParagraph() - Method in class opennlp.tools.formats.conllu.ConlluSentence
- isOSGiEnvironment() - Method in exception opennlp.tools.util.ext.ExtensionNotLoadedException
-
Indicates if OpenNLP is running in an OSGi environment or not.
- isPosTag() - Method in class opennlp.tools.parser.Parse
-
Indicates whether this parse node is a pos-tag.
- isSnapshot() - Method in class opennlp.tools.util.Version
- isSortAndMerge() - Method in class opennlp.tools.ml.AbstractEventTrainer
- isSortAndMerge() - Method in class opennlp.tools.ml.maxent.GISTrainer
- isSortAndMerge() - Method in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- isSortAndMerge() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
- isSortAndMerge() - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
- isUseAlphaNumericOptmization() - Method in class opennlp.tools.tokenize.TokenizerFactory
-
Gets whether to use alphanumeric optimization.
- isUseTokenEnd() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- isValid() - Method in class opennlp.tools.ml.AbstractEventTrainer
-
Deprecated.
- isValid() - Method in class opennlp.tools.ml.AbstractTrainer
-
Deprecated.Use
AbstractTrainer.validate()
instead. - isValid() - Method in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
-
Deprecated.
- isValid() - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
-
Deprecated.
- isValid() - Method in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
-
Deprecated.
- isValid(TrainingParameters) - Static method in class opennlp.tools.ml.TrainerFactory
- isWhitespace(char) - Static method in class opennlp.tools.util.StringUtil
-
Determines if the specified character is a whitespace.
- isWhitespace(int) - Static method in class opennlp.tools.util.StringUtil
-
Determines if the specified character is a whitespace.
- IT - opennlp.tools.formats.EvalitaNameSampleStream.LANGUAGE
- ITALIAN - opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- ITERATIONS_DEFAULT - Static variable in class opennlp.tools.ml.AbstractTrainer
- ITERATIONS_PARAM - Static variable in class opennlp.tools.ml.AbstractTrainer
- ITERATIONS_PARAM - Static variable in class opennlp.tools.util.TrainingParameters
- iterator() - Method in class opennlp.tools.dictionary.Dictionary
-
Retrieves an Iterator over all tokens.
- iterator() - Method in class opennlp.tools.dictionary.serializer.Attributes
-
Iterates over the keys.
- iterator() - Method in class opennlp.tools.ngram.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
-
Retrieves an
Iterator
over all tokens.
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
-
L1-norm
- L2COST_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- L2COST_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- L2COST_PARAM - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- l2norm(double[]) - Static method in class opennlp.tools.ml.ArrayMath
-
L2-norm
- L2RegFunction(Function, double) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNMinimizer.L2RegFunction
- labelGaps(Stack<Constituent>) - Method in interface opennlp.tools.parser.GapLabeler
-
Labels the constituents found in the stack with gap labels if appropriate.
- labelGaps(Stack<Constituent>) - Method in class opennlp.tools.parser.lang.en.HeadRules
- labelGaps(Stack<Constituent>) - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
- Language - Class in opennlp.tools.langdetect
-
Class for holding the document language and its confidence
- Language(String) - Constructor for class opennlp.tools.langdetect.Language
- Language(String, double) - Constructor for class opennlp.tools.langdetect.Language
- LanguageDetector - Interface in opennlp.tools.langdetect
-
The interface for LanguageDetector which provide the @
Language
according to the context. - 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 language detector.
- LanguageDetectorConverterTool - Class in opennlp.tools.cmdline.langdetect
- LanguageDetectorConverterTool() - Constructor for class opennlp.tools.cmdline.langdetect.LanguageDetectorConverterTool
- LanguageDetectorCrossValidator - Class in opennlp.tools.langdetect
-
Cross validator for language detector
- LanguageDetectorCrossValidator(TrainingParameters, LanguageDetectorFactory, LanguageDetectorEvaluationMonitor...) - Constructor for class opennlp.tools.langdetect.LanguageDetectorCrossValidator
-
Creates a
LanguageDetectorCrossValidator
with the givenFeatureGenerator
s. - 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 System.err
- 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
-
EvaluationMonitor
for Language Detector. - 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 the current instance.
- LanguageDetectorEvaluatorTool - Class in opennlp.tools.cmdline.langdetect
- LanguageDetectorEvaluatorTool() - Constructor for class opennlp.tools.cmdline.langdetect.LanguageDetectorEvaluatorTool
- LanguageDetectorEventStream - Class in opennlp.tools.langdetect
-
Iterator-like class for modeling language detector events.
- LanguageDetectorEventStream(ObjectStream<LanguageSample>, LanguageDetectorContextGenerator) - Constructor for class opennlp.tools.langdetect.LanguageDetectorEventStream
-
Initializes the current instance via samples and feature generators.
- LanguageDetectorFactory - Class in opennlp.tools.langdetect
-
Default factory used by Language Detector.
- LanguageDetectorFactory() - Constructor for class opennlp.tools.langdetect.LanguageDetectorFactory
- 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 learnable Language Detector
- LanguageDetectorME(LanguageDetectorModel) - Constructor for class opennlp.tools.langdetect.LanguageDetectorME
-
Initializes the current instance with a language detector model.
- LanguageDetectorModel - Class in opennlp.tools.langdetect
-
A model for language detection
- LanguageDetectorModel(File) - Constructor for class opennlp.tools.langdetect.LanguageDetectorModel
- LanguageDetectorModel(InputStream) - Constructor for class opennlp.tools.langdetect.LanguageDetectorModel
- LanguageDetectorModel(URL) - Constructor for class opennlp.tools.langdetect.LanguageDetectorModel
- LanguageDetectorModel(MaxentModel, Map<String, String>, LanguageDetectorFactory) - Constructor for class opennlp.tools.langdetect.LanguageDetectorModel
- LanguageDetectorModelLoader - Class in opennlp.tools.cmdline.langdetect
-
Loads a Language Detector Model for the command line tools.
- LanguageDetectorModelLoader() - Constructor for class opennlp.tools.cmdline.langdetect.LanguageDetectorModelLoader
- LanguageDetectorSampleStream - Class in opennlp.tools.langdetect
-
This class reads in string encoded training samples, parses them and outputs
LanguageSample
objects. - LanguageDetectorSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.langdetect.LanguageDetectorSampleStream
- LanguageDetectorSampleStreamFactory - 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
- LanguageSample - Class in opennlp.tools.langdetect
-
Class which holds a classified document and its @
Language
. - LanguageSample(Language, CharSequence) - Constructor for class opennlp.tools.langdetect.LanguageSample
- LanguageSampleStreamFactory<T> - Class in opennlp.tools.formats
-
Stream factory for those streams which carry language.
- LAST - Static variable in class opennlp.tools.namefind.BilouCodec
- Leaf() - Constructor for class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- LeipzigLanguageSampleStream - Class in opennlp.tools.formats.leipzig
- LeipzigLanguageSampleStream(File, int, int) - Constructor for class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStream
- LeipzigLanguageSampleStreamFactory - Class in opennlp.tools.formats.leipzig
-
Note: Do not use this class, internal use only!
- LEMMA_NUMBER - Static variable in class opennlp.tools.lemmatizer.LemmatizerME
- 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 System.err
- 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 an lemmatized sentence.
- LemmaSample(String[], String[], String[]) - Constructor for class opennlp.tools.lemmatizer.LemmaSample
-
Represents one lemma sample.
- LemmaSample(List<String>, List<String>, List<String>) - Constructor for class opennlp.tools.lemmatizer.LemmaSample
-
Lemma Sample constructor.
- LemmaSampleEventStream - Class in opennlp.tools.lemmatizer
-
Class for creating an event stream out of data files for training a probabilistic lemmatizer.
- LemmaSampleEventStream(ObjectStream<LemmaSample>, LemmatizerContextGenerator) - Constructor for class opennlp.tools.lemmatizer.LemmaSampleEventStream
-
Creates a new event stream based on the specified data stream using the specified context generator.
- LemmaSampleSequenceStream - Class in opennlp.tools.lemmatizer
- LemmaSampleSequenceStream(ObjectStream<LemmaSample>, LemmatizerContextGenerator) - Constructor for class opennlp.tools.lemmatizer.LemmaSampleSequenceStream
- LemmaSampleStream - Class in opennlp.tools.lemmatizer
-
Reads data for training and testing the lemmatizer.
- LemmaSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.lemmatizer.LemmaSampleStream
- lemmatize(String[], String[]) - Method in class opennlp.tools.lemmatizer.DictionaryLemmatizer
- lemmatize(String[], String[]) - Method in interface opennlp.tools.lemmatizer.Lemmatizer
-
Generates lemmas for the word and postag returning the result in an array.
- 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 a lemma tags for the word and postag returning the result in a list of every possible lemma for each token and postag.
- lemmatize(List<String>, List<String>) - Method in class opennlp.tools.lemmatizer.LemmatizerME
- Lemmatizer - Interface in opennlp.tools.lemmatizer
-
The interface for lemmatizers.
- LemmatizerContextGenerator - Interface in opennlp.tools.lemmatizer
-
Interface for the context generator used for probabilistic lemmatizer.
- LemmatizerEvaluationMonitor - Interface in opennlp.tools.lemmatizer
-
Interface for the lemmatizer evaluator.
- LemmatizerEvaluator - Class in opennlp.tools.lemmatizer
-
The
LemmatizerEvaluator
measures the performance of the givenLemmatizer
with the provided referenceLemmaSample
s. - LemmatizerEvaluator(Lemmatizer, LemmatizerEvaluationMonitor...) - Constructor for class opennlp.tools.lemmatizer.LemmatizerEvaluator
-
Initializes the current instance.
- LemmatizerEvaluatorTool - Class in opennlp.tools.cmdline.lemmatizer
- LemmatizerEvaluatorTool() - Constructor for class opennlp.tools.cmdline.lemmatizer.LemmatizerEvaluatorTool
- LemmatizerFactory - Class in opennlp.tools.lemmatizer
- LemmatizerFactory() - Constructor for class opennlp.tools.lemmatizer.LemmatizerFactory
-
Creates a
LemmatizerFactory
that provides the default implementation of the resources. - 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
System.err
- 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.
- LemmatizerME(LemmatizerModel) - Constructor for class opennlp.tools.lemmatizer.LemmatizerME
-
Initializes the current instance with the provided model and the default beam size of 3.
- LemmatizerMETool - Class in opennlp.tools.cmdline.lemmatizer
- LemmatizerMETool() - Constructor for class opennlp.tools.cmdline.lemmatizer.LemmatizerMETool
- LemmatizerModel - Class in opennlp.tools.lemmatizer
-
The
LemmatizerModel
is the model used by a learnableLemmatizer
. - LemmatizerModel(File) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
- LemmatizerModel(InputStream) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
- LemmatizerModel(String, MaxentModel, int, Map<String, String>, LemmatizerFactory) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
- LemmatizerModel(String, MaxentModel, Map<String, String>, LemmatizerFactory) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
- LemmatizerModel(String, MaxentModel, LemmatizerFactory) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
- LemmatizerModel(String, SequenceClassificationModel<String>, Map<String, String>, LemmatizerFactory) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
- LemmatizerModel(URL) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
- LemmatizerModel(Path) - Constructor for class opennlp.tools.lemmatizer.LemmatizerModel
- LemmatizerModelLoader - Class in opennlp.tools.cmdline.lemmatizer
-
Loads a Lemmatizer Model for the command line tools.
- LemmatizerModelLoader() - Constructor for class opennlp.tools.cmdline.lemmatizer.LemmatizerModelLoader
- LemmatizerSampleStreamFactory - 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 class opennlp.tools.util.Span
-
Returns the length of this span.
- LetsmtDocument - Class in opennlp.tools.formats.letsmt
-
A structure to hold the letsmt document.
- LetsmtDocument.LetsmtDocumentHandler - Class in opennlp.tools.formats.letsmt
- LetsmtDocument.LetsmtSentence - Class in opennlp.tools.formats.letsmt
- LetsmtDocumentHandler() - Constructor for class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtDocumentHandler
- LetsmtSentence() - Constructor for class opennlp.tools.formats.letsmt.LetsmtDocument.LetsmtSentence
- LetsmtSentenceStreamFactory - Class in opennlp.tools.formats.letsmt
- levenshteinDistance(String, String) - Static method in class opennlp.tools.util.StringUtil
-
Computes the Levenshtein distance of two strings in a matrix.
- LineSearch - Class in opennlp.tools.ml.maxent.quasinewton
-
Class that performs line search to find minimum
- LineSearch() - Constructor for class opennlp.tools.ml.maxent.quasinewton.LineSearch
- LineSearch.LineSearchResult - Class in opennlp.tools.ml.maxent.quasinewton
-
Class to store lineSearch result
- LineSearchResult(double, double, double, double[], double[], double[], double[], 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
-
An "default" extended span that holds additional information about the Span
- LinkedSpan(ArrayList<T>, int, int) - Constructor for class opennlp.tools.entitylinker.LinkedSpan
- LinkedSpan(ArrayList<T>, int, int, String) - Constructor for class opennlp.tools.entitylinker.LinkedSpan
- LinkedSpan(ArrayList<T>, int, int, String, double) - Constructor for class opennlp.tools.entitylinker.LinkedSpan
- LinkedSpan(ArrayList<T>, 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
- logPrior(double[], int[]) - Method in interface opennlp.tools.ml.model.Prior
-
Populates the specified array with the the log of the distribution for the specified context.
- logPrior(double[], int[]) - 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 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 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
-
Class implementing the probability for a label.
- LogProbability(T) - Constructor for class opennlp.tools.ml.naivebayes.LogProbability
- logSumOfExps(double[]) - Static method in class opennlp.tools.ml.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
- 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
-
Create a stream of named entity samples from a stream of MascDocuments
- MascNamedEntitySampleStreamFactory - 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
-
Create a stream of POS-samples from a stream of MascDocuments.
- MascPOSSampleStreamFactory - 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
-
Create 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 - 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
-
Create 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
- MascTokenSampleStreamFactory - 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
-
Saves one of MASC's quarks - basic-level units (may be sub-word)
- max(double[]) - Static method in class opennlp.tools.ml.ArrayMath
- MAX_FCT_EVAL_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- MAX_FCT_EVAL_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- MAX_FCT_EVAL_PARAM - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- Maxent - opennlp.tools.ml.model.AbstractModel.ModelType
- MAXENT - 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 - opennlp.tools.ml.model.AbstractModel.ModelType
- maxIdx(double[]) - Static method in class opennlp.tools.ml.maxent.quasinewton.ArrayMath
-
Deprecated.Find index of maximum element in the vector x
- mean() - Method in class opennlp.tools.util.eval.Mean
-
Retrieves the mean of all values added with
Mean.add(double)
or 0 if there are zero added values. - 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 - opennlp.tools.tokenize.Detokenizer.DetokenizationOperation
-
The current token should be attached to the string on the left side, as well as to the begin token on the right side.
- MERGE_TO_LEFT - opennlp.tools.tokenize.Detokenizer.DetokenizationOperation
-
The current token should be attached to the string on the left side.
- MERGE_TO_RIGHT - opennlp.tools.tokenize.Detokenizer.DetokenizationOperation
-
The current token should be attached to the begin token on the right side.
- mergeInto(FMeasure) - Method in class opennlp.tools.util.eval.FMeasure
-
Merge results into fmeasure metric.
- mergeReportIntoManifest(Map<String, String>, Map<String, String>, String) - Static method in class opennlp.tools.parser.chunking.Parser
- META_LABEL_FINAL - Static variable in class opennlp.tools.formats.ad.ADSentenceStream.Sentence
- methodObject - Static variable in class opennlp.tools.stemmer.snowball.indonesianStemmer
- MGRS - 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
-
Find the parameters that minimize the objective function
- missclassified(ChunkSample, ChunkSample) - Method in class opennlp.tools.cmdline.chunker.ChunkEvaluationErrorListener
- missclassified(DocumentSample, DocumentSample) - Method in class opennlp.tools.cmdline.doccat.DoccatEvaluationErrorListener
- missclassified(DocumentSample, DocumentSample) - Method in class opennlp.tools.cmdline.doccat.DoccatFineGrainedReportListener
- missclassified(LanguageSample, LanguageSample) - Method in class opennlp.tools.cmdline.langdetect.LanguageDetectorEvaluationErrorListener
- missclassified(LanguageSample, LanguageSample) - Method in class opennlp.tools.cmdline.langdetect.LanguageDetectorFineGrainedReportListener
- missclassified(LemmaSample, LemmaSample) - Method in class opennlp.tools.cmdline.lemmatizer.LemmaEvaluationErrorListener
- missclassified(LemmaSample, LemmaSample) - Method in class opennlp.tools.cmdline.lemmatizer.LemmatizerFineGrainedReportListener
- missclassified(NameSample, NameSample) - Method in class opennlp.tools.cmdline.namefind.NameEvaluationErrorListener
- missclassified(NameSample, NameSample) - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderFineGrainedReportListener
- missclassified(POSSample, POSSample) - Method in class opennlp.tools.cmdline.postag.POSEvaluationErrorListener
- missclassified(POSSample, POSSample) - Method in class opennlp.tools.cmdline.postag.POSTaggerFineGrainedReportListener
- missclassified(SentenceSample, SentenceSample) - Method in class opennlp.tools.cmdline.sentdetect.SentenceEvaluationErrorListener
- missclassified(TokenSample, TokenSample) - Method in class opennlp.tools.cmdline.tokenizer.DetokenEvaluationErrorListener
- missclassified(TokenSample, TokenSample) - Method in class opennlp.tools.cmdline.tokenizer.TokenEvaluationErrorListener
- missclassified(T, T) - Method in interface opennlp.tools.util.eval.EvaluationMonitor
- ModelType - Enum in opennlp.tools.util.model
- ModelUtil - Class in opennlp.tools.util.model
-
Utility class for handling of
MaxentModel
s. - MosesSentenceSampleStream - Class in opennlp.tools.formats.moses
- MosesSentenceSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.moses.MosesSentenceSampleStream
- MosesSentenceSampleStreamFactory - Class in opennlp.tools.formats.moses
-
Factory producing OpenNLP
MosesSentenceSampleStream
s. - MOVE_BOTH - opennlp.tools.tokenize.DetokenizationDictionary.Operation
-
Attaches the token to the token on the left and right sides.
- MOVE_LEFT - opennlp.tools.tokenize.DetokenizationDictionary.Operation
-
Attaches the token to the token on the left side.
- MOVE_RIGHT - 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
- MucNameSampleStream - Class in opennlp.tools.formats.muc
- MutableContext - Class in opennlp.tools.ml.model
-
Class used to store parameters or expected values associated with this context which can be updated or assigned.
- MutableContext(int[], double[]) - Constructor for class opennlp.tools.ml.model.MutableContext
-
Creates a new parameters object with the specified parameters associated with the specified outcome pattern.
- 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 - opennlp.tools.ml.model.AbstractModel.ModelType
- NaiveBayesEvalParameters - Class in opennlp.tools.ml.naivebayes
-
Parameters for the evalution of a naive bayes classifier
- NaiveBayesEvalParameters(Context[], int, double[], long) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesEvalParameters
- NaiveBayesModel - Class in opennlp.tools.ml.naivebayes
-
Class implementing the multinomial Naive Bayes classifier model.
- NaiveBayesModel(Context[], String[], String[]) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesModel
- NaiveBayesModelReader - Class in opennlp.tools.ml.naivebayes
-
Abstract parent class for readers of NaiveBayes.
- NaiveBayesModelReader(File) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesModelReader
- NaiveBayesModelReader(DataReader) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesModelReader
- NaiveBayesModelWriter - Class in opennlp.tools.ml.naivebayes
-
Abstract parent class for NaiveBayes writers.
- NaiveBayesModelWriter(AbstractModel) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesModelWriter
- NaiveBayesTrainer - Class in opennlp.tools.ml.naivebayes
-
Trains models using the combination of EM algorithm and Naive Bayes classifier which is described in: Text Classification from Labeled and Unlabeled Documents using EM Nigam, McCallum, et al paper of 2000
- NaiveBayesTrainer() - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
- NaiveBayesTrainer(TrainingParameters) - Constructor for class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
- name - Variable in class opennlp.tools.ml.model.ComparablePredicate
- NAME_FINDER - opennlp.tools.util.DownloadUtil.ModelType
- NameContextGenerator - Interface in opennlp.tools.namefind
-
Interface for generating the context for an name finder by specifying a set of geature 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 System.err
- 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
-
This constructor takes an
InputStream
and aCharset
and opens an associated stream object with the specified encoding specified. - NameFinderCensus90NameStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.NameFinderCensus90NameStream
-
This constructor takes an ObjectStream and initializes the class to handle the stream.
- NameFinderEventStream - Class in opennlp.tools.namefind
-
Class for creating an event stream out of data files for training an name finder.
- NameFinderEventStream(ObjectStream<NameSample>) - Constructor for class opennlp.tools.namefind.NameFinderEventStream
- NameFinderEventStream(ObjectStream<NameSample>, String, NameContextGenerator, SequenceCodec<String>) - Constructor for class opennlp.tools.namefind.NameFinderEventStream
-
Creates a new name finder event stream using the specified data stream and context generator.
- NameFinderME - Class in opennlp.tools.namefind
-
Class for creating a maximum-entropy-based name finder.
- NameFinderME(TokenNameFinderModel) - Constructor for class opennlp.tools.namefind.NameFinderME
- NameFinderSequenceValidator - Class in opennlp.tools.namefind
-
This class is created by the
BioCodec
. - NameFinderSequenceValidator() - Constructor for class opennlp.tools.namefind.NameFinderSequenceValidator
- NameSample - Class in opennlp.tools.namefind
-
Class for holding names for a single unit of text.
- NameSample(String[], Span[], boolean) - Constructor for class opennlp.tools.namefind.NameSample
- NameSample(String[], Span[], String[][], boolean) - Constructor for class opennlp.tools.namefind.NameSample
-
Initializes the current instance.
- NameSample(String, String[], Span[], String[][], boolean) - Constructor for class opennlp.tools.namefind.NameSample
- NameSampleCountersStream - Class in opennlp.tools.cmdline.namefind
-
Counts tokens, sentences and names by type
- NameSampleDataStream - Class in opennlp.tools.namefind
-
The
NameSampleDataStream
class converts taggedString
s provided by aDataStream
toNameSample
objects. - NameSampleDataStream(ObjectStream<String>) - Constructor for class opennlp.tools.namefind.NameSampleDataStream
- NameSampleDataStreamFactory - Class in opennlp.tools.formats
-
Factory producing OpenNLP
NameSampleDataStream
s. - NameSampleDataStreamFactory.Parameters - Interface in opennlp.tools.formats
- NameSampleSequenceStream - Class in opennlp.tools.namefind
- NameSampleSequenceStream(ObjectStream<NameSample>) - Constructor for class opennlp.tools.namefind.NameSampleSequenceStream
- NameSampleSequenceStream(ObjectStream<NameSample>, 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 removes Name Samples which do not have a certain type.
- NameSampleTypeFilter(String[], ObjectStream<NameSample>) - Constructor for class opennlp.tools.namefind.NameSampleTypeFilter
- NameSampleTypeFilter(Set<String>, ObjectStream<NameSample>) - Constructor for class opennlp.tools.namefind.NameSampleTypeFilter
- NameToSentenceSampleStream - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- NameToSentenceSampleStream(Detokenizer, ObjectStream<NameSample>, int) - Constructor for class opennlp.tools.formats.convert.NameToSentenceSampleStream
- NameToSentenceSampleStreamFactory - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- NameToTokenSampleStream - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- NameToTokenSampleStream(Detokenizer, ObjectStream<NameSample>) - Constructor for class opennlp.tools.formats.convert.NameToTokenSampleStream
- NameToTokenSampleStreamFactory - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- NegLogLikelihood - Class in opennlp.tools.ml.maxent.quasinewton
-
Evaluate negative log-likelihood and its gradient from DataIndexer.
- NegLogLikelihood(DataIndexer) - Constructor for class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
- NewlineSentenceDetector - Class in opennlp.tools.sentdetect
-
The Newline Sentence Detector assumes that sentences are line delimited and recognizes one sentence per non-empty line.
- NewlineSentenceDetector() - Constructor for class opennlp.tools.sentdetect.NewlineSentenceDetector
- next() - Method in class opennlp.tools.tokenize.lang.en.TokenSampleStream
- next() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner
-
Retrieves the next training and test partitions.
- next() - Method in class opennlp.tools.util.ReverseListIterator
- NEXT_PREFIX - Static variable in class opennlp.tools.util.featuregen.WindowFeatureGenerator
- nextIteration(int) - Method in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
- nextToken() - Method in interface opennlp.tools.ml.maxent.DataStream
-
Returns the next slice of data held in this DataStream.
- 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
-
Default constructor for Bi grams
- NGramFeatureGenerator(int, int) - Constructor for class opennlp.tools.doccat.NGramFeatureGenerator
-
Constructor for ngrams.
- NGramGenerator - Class in opennlp.tools.ngram
-
Generates an nGram, with optional separator, and returns the grams as a list of strings
- NGramGenerator() - Constructor for class opennlp.tools.ngram.NGramGenerator
- NGramLanguageModel - Class in opennlp.tools.languagemodel
-
AÂ
LanguageModel
based on aNGramModel
using Stupid Backoff to get the probabilities of the ngrams. - NGramLanguageModel() - Constructor for class opennlp.tools.languagemodel.NGramLanguageModel
- NGramLanguageModel(int) - Constructor for class opennlp.tools.languagemodel.NGramLanguageModel
- NGramLanguageModel(InputStream) - Constructor for class opennlp.tools.languagemodel.NGramLanguageModel
- NGramLanguageModel(InputStream, int) - Constructor for class opennlp.tools.languagemodel.NGramLanguageModel
- 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 - Class in opennlp.tools.formats.nkjp
- NKJPTextDocument - Class in opennlp.tools.formats.nkjp
- NLD - opennlp.tools.formats.Conll02NameSampleStream.LANGUAGE
- NO_OPERATION - 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
-
normalize 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 - 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
-
Normalizer for 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
- ObjectDataReader(ObjectInputStream) - Constructor for class opennlp.tools.ml.model.ObjectDataReader
- ObjectStream<T> - Interface in opennlp.tools.util
-
Reads
Object
s from a stream. - ObjectStreamUtils - Class in opennlp.tools.util
- ObjectStreamUtils() - Constructor for class opennlp.tools.util.ObjectStreamUtils
- OLD_LL_THRESHOLD_PARAM - Static variable in class opennlp.tools.ml.maxent.GISTrainer
-
Deprecated.
- OnePassDataIndexer - Class in opennlp.tools.ml.model
-
An indexer for maxent model data which handles cutoffs for uncommon contextual predicates and provides a unique integer index for each of the predicates.
- OnePassDataIndexer() - Constructor for class opennlp.tools.ml.model.OnePassDataIndexer
- OnePassRealValueDataIndexer - Class in opennlp.tools.ml.model
-
An indexer for maxent model data which handles cutoffs for uncommon contextual predicates and provides a unique integer index for each of the predicates and maintains event values.
- OnePassRealValueDataIndexer() - Constructor for class opennlp.tools.ml.model.OnePassRealValueDataIndexer
- OntoNotesFormatParameters - Interface in opennlp.tools.formats.ontonotes
- OntoNotesNameSampleStream - Class in opennlp.tools.formats.ontonotes
-
Name Sample Stream parser for the OntoNotes 4.0 corpus.
- OntoNotesNameSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.ontonotes.OntoNotesNameSampleStream
- OntoNotesNameSampleStreamFactory - Class in opennlp.tools.formats.ontonotes
- OntoNotesNameSampleStreamFactory() - Constructor for class opennlp.tools.formats.ontonotes.OntoNotesNameSampleStreamFactory
- OntoNotesParseSampleStream - Class in opennlp.tools.formats.ontonotes
- OntoNotesParseSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.ontonotes.OntoNotesParseSampleStream
- OntoNotesParseSampleStreamFactory - Class in opennlp.tools.formats.ontonotes
- OntoNotesPOSSampleStreamFactory - Class in opennlp.tools.formats.ontonotes
- 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.dictionary - package opennlp.tools.dictionary
-
Package related to parsing and storing dictionaries.
- opennlp.tools.dictionary.serializer - package opennlp.tools.dictionary.serializer
- opennlp.tools.doccat - package opennlp.tools.doccat
-
Package for classifying a document into a category.
- opennlp.tools.entitylinker - package opennlp.tools.entitylinker
- opennlp.tools.formats - package opennlp.tools.formats
-
Experimental package related to converting various corpora to OpenNLP Format.
- opennlp.tools.formats.ad - package opennlp.tools.formats.ad
- opennlp.tools.formats.brat - package opennlp.tools.formats.brat
- opennlp.tools.formats.conllu - package opennlp.tools.formats.conllu
- opennlp.tools.formats.convert - package opennlp.tools.formats.convert
- opennlp.tools.formats.frenchtreebank - package opennlp.tools.formats.frenchtreebank
- opennlp.tools.formats.irishsentencebank - package opennlp.tools.formats.irishsentencebank
- opennlp.tools.formats.leipzig - package opennlp.tools.formats.leipzig
- opennlp.tools.formats.letsmt - package opennlp.tools.formats.letsmt
- opennlp.tools.formats.masc - package opennlp.tools.formats.masc
- opennlp.tools.formats.moses - package opennlp.tools.formats.moses
- opennlp.tools.formats.muc - package opennlp.tools.formats.muc
- opennlp.tools.formats.nkjp - package opennlp.tools.formats.nkjp
- opennlp.tools.formats.ontonotes - package opennlp.tools.formats.ontonotes
- opennlp.tools.langdetect - package opennlp.tools.langdetect
- opennlp.tools.languagemodel - package opennlp.tools.languagemodel
-
Package related to language models
- opennlp.tools.lemmatizer - package opennlp.tools.lemmatizer
-
Package related with the lemmatizer tool
- opennlp.tools.ml - package opennlp.tools.ml
- opennlp.tools.ml.maxent - package opennlp.tools.ml.maxent
-
Provides main functionality of the maxent package including data structures and algorithms for parameter estimation.
- opennlp.tools.ml.maxent.io - package opennlp.tools.ml.maxent.io
-
Provides the I/O functionality of the maxent package including reading and writing models in several formats.
- opennlp.tools.ml.maxent.quasinewton - package opennlp.tools.ml.maxent.quasinewton
- opennlp.tools.ml.model - package opennlp.tools.ml.model
- opennlp.tools.ml.naivebayes - package opennlp.tools.ml.naivebayes
- opennlp.tools.ml.perceptron - package opennlp.tools.ml.perceptron
- opennlp.tools.namefind - package opennlp.tools.namefind
-
Package related to finding proper names and numeric amounts.
- opennlp.tools.ngram - package opennlp.tools.ngram
-
Package related to computing and storing n-gram frequencies.
- opennlp.tools.parser - package opennlp.tools.parser
-
Package containing common code for performing full syntactic parsing.
- opennlp.tools.parser.chunking - package opennlp.tools.parser.chunking
-
Package containing code for performing full syntactic parsing using shift/reduce-style decisions.
- opennlp.tools.parser.lang.en - package opennlp.tools.parser.lang.en
- opennlp.tools.parser.lang.es - package opennlp.tools.parser.lang.es
- opennlp.tools.parser.treeinsert - package opennlp.tools.parser.treeinsert
-
Package containing experimental code for performing full syntactic parsing using attachment decisions.
- opennlp.tools.postag - package opennlp.tools.postag
-
Package related to part-of-speech tagging.
- opennlp.tools.sentdetect - package opennlp.tools.sentdetect
-
Package related to identifying sentece boundries.
- opennlp.tools.sentdetect.lang - package opennlp.tools.sentdetect.lang
- opennlp.tools.sentdetect.lang.th - package opennlp.tools.sentdetect.lang.th
-
Package related to the processing of Thai data.
- opennlp.tools.stemmer - package opennlp.tools.stemmer
- opennlp.tools.stemmer.snowball - package opennlp.tools.stemmer.snowball
- opennlp.tools.tokenize - package opennlp.tools.tokenize
-
Contains classes related to finding token or words in a string.
- opennlp.tools.tokenize.lang - package opennlp.tools.tokenize.lang
- opennlp.tools.tokenize.lang.en - package opennlp.tools.tokenize.lang.en
- opennlp.tools.util - package opennlp.tools.util
-
Package containing utility data structures and algorithms used by multiple other packages.
- opennlp.tools.util.eval - package opennlp.tools.util.eval
- opennlp.tools.util.ext - package opennlp.tools.util.ext
-
Package containing extension loading code.
- opennlp.tools.util.featuregen - package opennlp.tools.util.featuregen
-
This package contains classes for generating sequence features.
- opennlp.tools.util.java - package opennlp.tools.util.java
- opennlp.tools.util.model - package opennlp.tools.util.model
- opennlp.tools.util.normalizer - package opennlp.tools.util.normalizer
- opennlp.tools.util.wordvector - package opennlp.tools.util.wordvector
- OSGiExtensionLoader - Class in opennlp.tools.util.ext
-
OSGi bundle activator which can use an OSGi service as an OpenNLP extension.
- OSGiExtensionLoader() - Constructor for class opennlp.tools.util.ext.OSGiExtensionLoader
- OTHER - Static variable in class opennlp.tools.formats.ad.ADChunkSampleStream
- OTHER - Static variable in class opennlp.tools.namefind.BilouCodec
- OTHER - Static variable in class opennlp.tools.namefind.BioCodec
- OTHER - Static variable in class opennlp.tools.namefind.NameFinderME
- OTHER - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
Outcome for token which is not contained in a basal constituent.
- outcome - Variable in class opennlp.tools.ml.model.ComparableEvent
- OutcomePriorFeatureGenerator - Class in opennlp.tools.util.featuregen
-
The definition feature maps the underlying distribution of outcomes.
- OutcomePriorFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.OutcomePriorFeatureGenerator
- outcomes - Variable in class opennlp.tools.ml.model.ComparablePredicate
P
- ParagraphStream - Class in opennlp.tools.util
-
Stream filter which merges text lines into paragraphs.
- ParagraphStream(ObjectStream<String>) - Constructor for class opennlp.tools.util.ParagraphStream
- ParallelNegLogLikelihood - Class in opennlp.tools.ml.maxent.quasinewton
-
Evaluate negative log-likelihood and its gradient in parallel
- ParallelNegLogLikelihood(DataIndexer, int) - Constructor for class opennlp.tools.ml.maxent.quasinewton.ParallelNegLogLikelihood
- params - Variable in class opennlp.tools.ml.model.ComparablePredicate
- parse(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
- 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 opennlp.tools.parser.ParserType
- parse(String) - Static method in class opennlp.tools.postag.POSSample
- parse(String) - Static method in enum opennlp.tools.tokenize.DetokenizationDictionary.Operation
- parse(String) - Static method in class opennlp.tools.util.Version
- parse(String, boolean) - Static method in class opennlp.tools.namefind.NameSample
- parse(String, int, boolean, boolean) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
-
Parse the sentence
- parse(String, String) - Static method in class opennlp.tools.tokenize.TokenSample
- parse(String, String, boolean) - Static method in class opennlp.tools.namefind.NameSample
- parse(BratDocument) - Method in class opennlp.tools.formats.brat.BratDocumentParser
- parse(Parse) - Method in class opennlp.tools.parser.AbstractBottomUpParser
- parse(Parse) - Method in interface opennlp.tools.parser.Parser
-
Returns a parse for the specified parse of tokens.
- parse(Parse, int) - Method in class opennlp.tools.parser.AbstractBottomUpParser
- parse(Parse, int) - Method in interface opennlp.tools.parser.Parser
-
Returns the specified number of parses or fewer for the specified tokens.
- Parse - Class in opennlp.tools.parser
-
Data structure for holding parse constituents.
- Parse(String, Span, String, double, int) - Constructor for class opennlp.tools.parser.Parse
-
Creates a new parse node for this specified text and span of the specified type with the specified probability and the specified head index.
- Parse(String, Span, String, double, Parse) - Constructor for class opennlp.tools.parser.Parse
-
Creates a new parse node for this specified text and span of the specified type with the specified probability and the specified head and head index.
- 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
-
Creates a MASC document with all of the stand-off annotations translated into the internal structure.
- parseDocument(AnnotationConfiguration, String, InputStream, InputStream) - Static method in class opennlp.tools.formats.brat.BratDocument
- parseLine(String, Parser, int) - Static method in class opennlp.tools.cmdline.parser.ParserTool
- parseLine(String, Parser, Tokenizer, int) - Static method in class opennlp.tools.cmdline.parser.ParserTool
- parseOneEntryPerLine(Reader) - Static method in class opennlp.tools.dictionary.Dictionary
-
Reads a dictionary which has one entry per line.
- parseParse(String) - Static method in class opennlp.tools.parser.Parse
-
Parses the specified tree-bank style parse string and return a Parse structure for that string.
- parseParse(String, GapLabeler) - Static method in class opennlp.tools.parser.Parse
-
Parses the specified tree-bank style parse string and return a Parse structure for that string.
- Parser - Class in opennlp.tools.parser.chunking
-
Class for a shift reduce style parser based on Adwait Ratnaparkhi's 1998 thesis.
- Parser - Class in opennlp.tools.parser.treeinsert
-
Built/attach parser.
- Parser - Interface in opennlp.tools.parser
-
Interface for full-syntactic parsers.
- Parser(ParserModel) - Constructor for class opennlp.tools.parser.chunking.Parser
- Parser(ParserModel) - Constructor for class opennlp.tools.parser.treeinsert.Parser
- Parser(ParserModel, int, double) - Constructor for class opennlp.tools.parser.chunking.Parser
- Parser(ParserModel, int, double) - Constructor for class opennlp.tools.parser.treeinsert.Parser
- PARSER - 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
- ParserChunkerSequenceValidator(String[]) - Constructor for class opennlp.tools.parser.ParserChunkerSequenceValidator
- ParserConverterTool - Class in opennlp.tools.cmdline.parser
- ParserConverterTool() - Constructor for class opennlp.tools.cmdline.parser.ParserConverterTool
- ParserCrossValidator - Class in opennlp.tools.parser
- ParserCrossValidator(String, TrainingParameters, HeadRules, ParserType, ParserEvaluationMonitor...) - Constructor for class opennlp.tools.parser.ParserCrossValidator
- ParserEvaluationMonitor - Interface in opennlp.tools.parser
- ParserEvaluator - Class in opennlp.tools.parser
-
Class for ParserEvaluator.
- ParserEvaluator(Parser, ParserEvaluationMonitor...) - Constructor for class opennlp.tools.parser.ParserEvaluator
-
Construct a parser with some evaluation monitors.
- ParserEvaluatorTool - Class in opennlp.tools.cmdline.parser
- ParserEvaluatorTool() - Constructor for class opennlp.tools.cmdline.parser.ParserEvaluatorTool
- ParserEventStream - Class in opennlp.tools.parser.chunking
-
Wrapper class for one of four parser event streams.
- ParserEventStream - Class in opennlp.tools.parser.treeinsert
- 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
-
Create an event stream based on the specified data stream of the specified type using the specified head rules.
- ParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum, Dictionary) - Constructor for class opennlp.tools.parser.treeinsert.ParserEventStream
- ParserEventTypeEnum - Enum in opennlp.tools.parser
-
Enumerated type of event types for the parser.
- ParserFactory - Class in opennlp.tools.parser
- ParserModel - Class in opennlp.tools.parser
-
This is an abstract base class for
ParserModel
implementations. - ParserModel(File) - Constructor for class opennlp.tools.parser.ParserModel
- ParserModel(InputStream) - Constructor for class opennlp.tools.parser.ParserModel
- ParserModel(String, MaxentModel, MaxentModel, MaxentModel, POSModel, ChunkerModel, HeadRules, ParserType) - Constructor for class opennlp.tools.parser.ParserModel
- ParserModel(String, MaxentModel, MaxentModel, MaxentModel, POSModel, ChunkerModel, HeadRules, ParserType, Map<String, String>) - Constructor for class opennlp.tools.parser.ParserModel
- ParserModel(String, MaxentModel, MaxentModel, POSModel, ChunkerModel, HeadRules, ParserType, Map<String, String>) - Constructor for class opennlp.tools.parser.ParserModel
- ParserModel(URL) - Constructor for class opennlp.tools.parser.ParserModel
- ParserModel(Path) - Constructor for class opennlp.tools.parser.ParserModel
- ParserModelLoader - Class in opennlp.tools.cmdline.parser
-
Loads a Parser Model 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 in opennlp.tools.parser
- ParseSampleStream - Class in opennlp.tools.parser
- ParseSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.parser.ParseSampleStream
- ParseSampleStreamFactory - Class in opennlp.tools.formats
-
Factory producing OpenNLP
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
- 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 - opennlp.tools.ml.model.AbstractModel.ModelType
- PERCEPTRON - opennlp.tools.util.model.ModelType
- PERCEPTRON_SEQUENCE - 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
- PerceptronModel(Context[], String[], String[]) - Constructor for class opennlp.tools.ml.perceptron.PerceptronModel
- PerceptronModelReader - Class in opennlp.tools.ml.perceptron
-
Abstract parent class for readers of Perceptron.
- PerceptronModelReader(File) - Constructor for class opennlp.tools.ml.perceptron.PerceptronModelReader
- PerceptronModelReader(DataReader) - Constructor for class opennlp.tools.ml.perceptron.PerceptronModelReader
- PerceptronModelWriter - Class in opennlp.tools.ml.perceptron
-
Abstract parent class for Perceptron writers.
- PerceptronModelWriter(AbstractModel) - Constructor for class opennlp.tools.ml.perceptron.PerceptronModelWriter
- PerceptronTrainer - Class in opennlp.tools.ml.perceptron
-
Trains models using the perceptron algorithm.
- PerceptronTrainer() - Constructor for class opennlp.tools.ml.perceptron.PerceptronTrainer
- PerceptronTrainer(TrainingParameters) - Constructor for class opennlp.tools.ml.perceptron.PerceptronTrainer
- persist() - Method in class opennlp.tools.ml.maxent.io.GISModelWriter
-
Writes the model to disk, using the
writeX()
methods provided by extending classes. - persist() - Method in class opennlp.tools.ml.maxent.io.QNModelWriter
- persist() - Method in class opennlp.tools.ml.model.AbstractModelWriter
- persist() - Method in class opennlp.tools.ml.model.GenericModelWriter
- persist() - Method in class opennlp.tools.ml.naivebayes.NaiveBayesModelWriter
-
Writes the model to disk, using the
writeX()
methods provided by extending classes. - persist() - Method in class opennlp.tools.ml.perceptron.PerceptronModelWriter
-
Writes the model to disk, using the
writeX()
methods provided by extending classes. - phrasesAsSpanList(String[], String[], String[]) - Static method in class opennlp.tools.chunker.ChunkSample
-
Static method to create arrays of spans of phrases
- PlainTextByLineStream - Class in opennlp.tools.util
-
Reads a plain text file and return each line as a
String
object. - PlainTextByLineStream(InputStreamFactory, String) - Constructor for class opennlp.tools.util.PlainTextByLineStream
- PlainTextByLineStream(InputStreamFactory, Charset) - Constructor for class opennlp.tools.util.PlainTextByLineStream
- PlainTextFileDataReader - Class in opennlp.tools.ml.model
- PlainTextFileDataReader(BufferedReader) - Constructor for class opennlp.tools.ml.model.PlainTextFileDataReader
- PlainTextFileDataReader(File) - Constructor for class opennlp.tools.ml.model.PlainTextFileDataReader
- PlainTextFileDataReader(InputStream) - Constructor for class opennlp.tools.ml.model.PlainTextFileDataReader
- PlainTextNaiveBayesModelReader - Class in opennlp.tools.ml.naivebayes
- PlainTextNaiveBayesModelReader(BufferedReader) - Constructor for class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelReader
-
Constructor which directly instantiates the BufferedReader containing the model contents.
- PlainTextNaiveBayesModelReader(File) - Constructor for class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelReader
-
Constructor which takes a File and creates a reader for it.
- PlainTextNaiveBayesModelWriter - Class in opennlp.tools.ml.naivebayes
-
Model writer that saves models in plain text format.
- PlainTextNaiveBayesModelWriter(AbstractModel, BufferedWriter) - Constructor for class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelWriter
-
Constructor which takes a NaiveBayesModel and a BufferedWriter and prepares itself to write the model to that writer.
- PlainTextNaiveBayesModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelWriter
-
Constructor which takes a NaiveBayesModel and a File and prepares itself to write the model to that file.
- 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
- PORTER - opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- PorterStemmer - Class in opennlp.tools.stemmer
-
Stemmer, implementing the Porter Stemming Algorithm The Stemmer class transforms a word into its root form.
- PorterStemmer() - Constructor for class opennlp.tools.stemmer.PorterStemmer
- PORTUGUESE - 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 - opennlp.tools.util.DownloadUtil.ModelType
- POSContextGenerator - Interface in opennlp.tools.postag
-
The interface for a context generator for the POS Tagger.
- POSDictionary - Class in opennlp.tools.postag
-
Provides a means of determining which tags are valid for a particular word based on a tag dictionary read from a file.
- POSDictionary() - Constructor for class opennlp.tools.postag.POSDictionary
-
Initializes an empty case sensitive
POSDictionary
. - POSDictionary(boolean) - Constructor for class opennlp.tools.postag.POSDictionary
-
Initializes an empty
POSDictionary
. - POSDictionarySerializer() - Constructor for class opennlp.tools.postag.POSTaggerFactory.POSDictionarySerializer
- 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 System.err
- 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 referencePOSSample
s. - 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
- POSModel(String, MaxentModel, int, Map<String, String>, POSTaggerFactory) - Constructor for class opennlp.tools.postag.POSModel
- POSModel(String, MaxentModel, Map<String, String>, POSTaggerFactory) - Constructor for class opennlp.tools.postag.POSModel
- POSModel(String, SequenceClassificationModel<String>, Map<String, String>, POSTaggerFactory) - Constructor for class opennlp.tools.postag.POSModel
- 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 POS Tagger Model for the command line tools.
- POSModelLoader() - Constructor for class opennlp.tools.cmdline.postag.POSModelLoader
- POSModelSerializer - Class in opennlp.tools.util.model
- POSModelSerializer() - Constructor for class opennlp.tools.util.model.POSModelSerializer
- POSSample - Class in opennlp.tools.postag
-
Represents an pos-tagged sentence.
- POSSample(String[], String[]) - Constructor for class opennlp.tools.postag.POSSample
- POSSample(String[], String[], String[][]) - Constructor for class opennlp.tools.postag.POSSample
- POSSample(List<String>, List<String>) - Constructor for class opennlp.tools.postag.POSSample
- POSSample(List<String>, List<String>, String[][]) - Constructor for class opennlp.tools.postag.POSSample
- 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 the given
POSContextGenerator
. - POSSampleSequenceStream - Class in opennlp.tools.postag
- POSSampleSequenceStream(ObjectStream<POSSample>) - Constructor for class opennlp.tools.postag.POSSampleSequenceStream
- POSSampleSequenceStream(ObjectStream<POSSample>, POSContextGenerator) - Constructor for class opennlp.tools.postag.POSSampleSequenceStream
- PosSampleStream - Class in opennlp.tools.parser
- PosSampleStream(ObjectStream<Parse>) - Constructor for class opennlp.tools.parser.PosSampleStream
- POSTagger - Interface in opennlp.tools.postag
-
The interface for part of speech taggers.
- POSTaggerConverterTool - Class in opennlp.tools.cmdline.postag
- 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
-
Creates a
POSTaggerCrossValidator
that builds a ngram dictionary dynamically. - POSTaggerCrossValidator(String, TrainingParameters, POSTaggerFactory, POSTaggerEvaluationMonitor...) - Constructor for class opennlp.tools.postag.POSTaggerCrossValidator
-
Creates a
POSTaggerCrossValidator
using the givenPOSTaggerFactory
. - POSTaggerCrossValidatorTool - Class in opennlp.tools.cmdline.postag
- POSTaggerCrossValidatorTool() - Constructor for class opennlp.tools.cmdline.postag.POSTaggerCrossValidatorTool
- POSTaggerEvaluationMonitor - Interface in opennlp.tools.postag
- POSTaggerEvaluatorTool - Class in opennlp.tools.cmdline.postag
- POSTaggerEvaluatorTool() - Constructor for class opennlp.tools.cmdline.postag.POSTaggerEvaluatorTool
- POSTaggerFactory - Class in opennlp.tools.postag
-
The factory that provides POS Tagger default implementations and resources
- POSTaggerFactory() - Constructor for class opennlp.tools.postag.POSTaggerFactory
-
Creates a
POSTaggerFactory
that provides the default implementation of the resources. - POSTaggerFactory(byte[], Map<String, Object>, TagDictionary) - Constructor for class opennlp.tools.postag.POSTaggerFactory
- POSTaggerFactory(Dictionary, TagDictionary) - Constructor for class opennlp.tools.postag.POSTaggerFactory
-
Deprecated.this constructor is here for backward compatibility and is not functional anymore in the training of 1.8.x series models
- POSTaggerFactory.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
System.err
- 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 the sentence detector by downloading a default model.
- POSTaggerME(POSModel) - Constructor for class opennlp.tools.postag.POSTaggerME
-
Initializes the current instance with the provided model.
- POSTaggerNameFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Adds the token POS Tag as feature.
- POSTaggerNameFeatureGenerator(POSModel) - Constructor for class opennlp.tools.util.featuregen.POSTaggerNameFeatureGenerator
-
Initializes a new instance.
- POSTaggerNameFeatureGenerator(POSTagger) - Constructor for class opennlp.tools.util.featuregen.POSTaggerNameFeatureGenerator
-
Initializes a new instance.
- POSTaggerNameFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
- POSTaggerNameFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.POSTaggerNameFeatureGeneratorFactory
- POSTaggerTool - Class in opennlp.tools.cmdline.postag
- POSTaggerTool() - Constructor for class opennlp.tools.cmdline.postag.POSTaggerTool
- POSTaggerTrainerTool - Class in opennlp.tools.cmdline.postag
- POSTaggerTrainerTool() - Constructor for class opennlp.tools.cmdline.postag.POSTaggerTrainerTool
- POSToSentenceSampleStream - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- POSToSentenceSampleStream(Detokenizer, ObjectStream<POSSample>, int) - Constructor for class opennlp.tools.formats.convert.POSToSentenceSampleStream
- POSToSentenceSampleStreamFactory - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- POSToTokenSampleStream - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- POSToTokenSampleStream(Detokenizer, ObjectStream<POSSample>) - Constructor for class opennlp.tools.formats.convert.POSToTokenSampleStream
- POSToTokenSampleStreamFactory - Class in opennlp.tools.formats.convert
-
Note: Do not use this class, internal use only!
- precision(Object[], Object[]) - Static method in class opennlp.tools.util.eval.FMeasure
-
Calculates the precision score for the given reference and predicted spans.
- predictLanguage(CharSequence) - Method in interface opennlp.tools.langdetect.LanguageDetector
- predictLanguage(CharSequence) - Method in class opennlp.tools.langdetect.LanguageDetectorME
-
This will process the full content length.
- predictLanguages(CharSequence) - Method in interface opennlp.tools.langdetect.LanguageDetector
- predictLanguages(CharSequence) - Method in class opennlp.tools.langdetect.LanguageDetectorME
-
This will process the full content length.
- predictLemmas(int, String[], String[]) - Method in class opennlp.tools.lemmatizer.LemmatizerME
-
Predict all possible lemmas (using a default upper bound).
- predictNextTokens(String...) - Method in interface opennlp.tools.languagemodel.LanguageModel
-
Predict the most probable output sequence of tokens, given an input sequence of tokens.
- predictNextTokens(String...) - Method in class opennlp.tools.languagemodel.NGramLanguageModel
- predictNextTokens(StringList) - Method in interface opennlp.tools.languagemodel.LanguageModel
-
Deprecated.
- predictNextTokens(StringList) - Method in class opennlp.tools.languagemodel.NGramLanguageModel
- predictSES(String[], String[]) - Method in class opennlp.tools.lemmatizer.LemmatizerME
-
Predict Short Edit Script (automatically induced lemma class).
- predIndexes - Variable in class opennlp.tools.ml.model.ComparableEvent
- PrefixFeatureGenerator - Class in opennlp.tools.util.featuregen
- PrefixFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.PrefixFeatureGenerator
- PrefixFeatureGenerator(int) - Constructor for class opennlp.tools.util.featuregen.PrefixFeatureGenerator
- PrefixFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
- PrefixFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.PrefixFeatureGeneratorFactory
- PREV_PREFIX - Static variable in class opennlp.tools.util.featuregen.WindowFeatureGenerator
- PreviousMapFeatureGenerator - Class in opennlp.tools.util.featuregen
-
This
AdaptiveFeatureGenerator
generates features indicating the outcome associated with a previously occuring word. - PreviousMapFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.PreviousMapFeatureGenerator
- PreviousMapFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
- PreviousMapFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.PreviousMapFeatureGeneratorFactory
- PreviousTwoMapFeatureGenerator - Class in opennlp.tools.util.featuregen
-
This
AdaptiveFeatureGenerator
generates features indicating the outcome associated with two previously occuring words. - PreviousTwoMapFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.PreviousTwoMapFeatureGenerator
- printSummary() - Method in class opennlp.tools.cmdline.namefind.NameSampleCountersStream
- Prior - Interface in opennlp.tools.ml.model
-
This interface allows one to implement a prior distribution for use in maximum entropy model training.
- Probabilities<T> - Class in opennlp.tools.ml.naivebayes
-
Class implementing the probability distribution over labels returned by a classifier.
- Probabilities() - Constructor for class opennlp.tools.ml.naivebayes.Probabilities
- Probability<T> - Class in opennlp.tools.ml.naivebayes
-
Class implementing the probability for a label.
- Probability(T) - Constructor for class opennlp.tools.ml.naivebayes.Probability
- ProbingLanguageDetectionResult - Class in opennlp.tools.langdetect
- ProbingLanguageDetectionResult(Language[], int) - Constructor for class opennlp.tools.langdetect.ProbingLanguageDetectionResult
- probingPredictLanguages(CharSequence) - Method in class opennlp.tools.langdetect.LanguageDetectorME
-
This will stop processing early if the stopping criteria specified in
LanguageDetectorConfig.DEFAULT_LANGUAGE_DETECTOR_CONFIG
are met. - probingPredictLanguages(CharSequence, LanguageDetectorConfig) - Method in class opennlp.tools.langdetect.LanguageDetectorME
-
This will stop processing early if the stopping criteria specified in
LanguageDetectorConfig.DEFAULT_LANGUAGE_DETECTOR_CONFIG
are met. - probs() - Method in class opennlp.tools.chunker.ChunkerME
-
Returns an array with the probabilities of the last decoded sequence.
- probs() - Method in class opennlp.tools.lemmatizer.LemmatizerME
-
Returns an array with the probabilities of the last decoded sequence.
- probs() - Method in class opennlp.tools.namefind.NameFinderME
-
Returns an array with the probabilities of the last decoded sequence.
- probs() - Method in class opennlp.tools.postag.POSTaggerME
-
Returns an array with the probabilities for each tag of the last tagged sentence.
- probs(double[]) - Method in class opennlp.tools.chunker.ChunkerME
-
Populates the specified array with the probabilities of the last decoded sequence.
- probs(double[]) - Method in class opennlp.tools.lemmatizer.LemmatizerME
-
Populates the specified array with the probabilities of the last decoded sequence.
- probs(double[]) - Method in class opennlp.tools.namefind.NameFinderME
-
Populates the specified array with the probabilities of the last decoded sequence.
- probs(double[]) - Method in class opennlp.tools.postag.POSTaggerME
-
Populates the specified array with the probabilities for each tag of the last tagged sentence.
- probs(Span[]) - Method in class opennlp.tools.namefind.NameFinderME
-
Returns an array of probabilities for each of the specified spans which is the arithmetic mean of the probabilities for each of the outcomes which make up the span.
- processSample(DocumentSample) - Method in class opennlp.tools.doccat.DocumentCategorizerEvaluator
-
Evaluates the given reference
DocumentSample
object. - processSample(LanguageSample) - Method in class opennlp.tools.langdetect.LanguageDetectorEvaluator
-
Evaluates the given reference
LanguageSample
object. - pruneParse(Parse) - Static method in class opennlp.tools.parser.Parse
-
Prune the specified sentence parse of vacuous productions.
- ptEosCharacters - Static variable in class opennlp.tools.sentdetect.lang.Factory
- put(String, boolean) - Method in class opennlp.tools.util.TrainingParameters
- put(String, double) - Method in class opennlp.tools.util.TrainingParameters
- put(String, int) - Method in class opennlp.tools.util.TrainingParameters
- put(String, String) - Method in class opennlp.tools.util.TrainingParameters
- put(String, String...) - Method in interface opennlp.tools.postag.MutableTagDictionary
-
Associates the specified tags with the specified word.
- put(String, String...) - Method in class opennlp.tools.postag.POSDictionary
- put(String, String, boolean) - Method in class opennlp.tools.util.TrainingParameters
- put(String, String, double) - Method in class opennlp.tools.util.TrainingParameters
- put(String, String, int) - Method in class opennlp.tools.util.TrainingParameters
- put(String, String, String) - Method in class opennlp.tools.util.TrainingParameters
- put(StringList) - Method in class opennlp.tools.dictionary.Dictionary
-
Adds the tokens to the dictionary as one new entry.
- putIfAbsent(String, boolean) - Method in class opennlp.tools.util.TrainingParameters
- putIfAbsent(String, double) - Method in class opennlp.tools.util.TrainingParameters
- putIfAbsent(String, int) - Method in class opennlp.tools.util.TrainingParameters
- putIfAbsent(String, String) - Method in class opennlp.tools.util.TrainingParameters
- putIfAbsent(String, String, boolean) - Method in class opennlp.tools.util.TrainingParameters
- putIfAbsent(String, String, double) - Method in class opennlp.tools.util.TrainingParameters
- putIfAbsent(String, String, int) - Method in class opennlp.tools.util.TrainingParameters
- putIfAbsent(String, String, String) - Method in class opennlp.tools.util.TrainingParameters
Q
- QNMinimizer - Class in opennlp.tools.ml.maxent.quasinewton
-
Implementation of L-BFGS which supports L1-, L2-regularization and Elastic Net for solving convex optimization problems.
- QNMinimizer() - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- QNMinimizer(double, double) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- QNMinimizer(double, double, int) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- QNMinimizer(double, double, int, int, int) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- QNMinimizer(double, double, int, int, int, boolean) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
-
Constructor
- QNMinimizer.Evaluator - Interface in opennlp.tools.ml.maxent.quasinewton
-
Evaluate quality of training parameters.
- QNMinimizer.L2RegFunction - Class in opennlp.tools.ml.maxent.quasinewton
-
L2-regularized objective function
- QNModel - Class in opennlp.tools.ml.maxent.quasinewton
- QNModel(Context[], String[], String[]) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNModel
- QNModelReader - Class in opennlp.tools.ml.maxent.io
- QNModelReader(File) - Constructor for class opennlp.tools.ml.maxent.io.QNModelReader
- QNModelReader(DataReader) - Constructor for class opennlp.tools.ml.maxent.io.QNModelReader
- QNModelWriter - Class in opennlp.tools.ml.maxent.io
- QNModelWriter(AbstractModel) - Constructor for class opennlp.tools.ml.maxent.io.QNModelWriter
- QNTrainer - Class in opennlp.tools.ml.maxent.quasinewton
-
Maxent model trainer using L-BFGS algorithm.
- QNTrainer() - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- QNTrainer(boolean) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- QNTrainer(int) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- QNTrainer(int, boolean) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- QNTrainer(int, int, boolean) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- QNTrainer(TrainingParameters) - Constructor for class opennlp.tools.ml.maxent.quasinewton.QNTrainer
R
- read() - Method in class opennlp.tools.chunker.ChunkSampleSequenceStream
- read() - Method in class opennlp.tools.chunker.ChunkSampleStream
- read() - Method in class opennlp.tools.cmdline.namefind.NameSampleCountersStream
- read() - Method in class opennlp.tools.doccat.DocumentSampleStream
- read() - Method in class opennlp.tools.formats.ad.ADChunkSampleStream
- read() - Method in class opennlp.tools.formats.ad.ADNameSampleStream
- read() - Method in class opennlp.tools.formats.ad.ADPOSSampleStream
- read() - Method in class opennlp.tools.formats.ad.ADSentenceSampleStream
- read() - Method in class opennlp.tools.formats.ad.ADSentenceStream
- read() - Method in class opennlp.tools.formats.BioNLP2004NameSampleStream
- read() - Method in class opennlp.tools.formats.brat.BratAnnotationStream
- read() - Method in class opennlp.tools.formats.brat.BratDocumentStream
- read() - Method in class opennlp.tools.formats.brat.SegmenterObjectStream
- read() - Method in class opennlp.tools.formats.Conll02NameSampleStream
- read() - Method in class opennlp.tools.formats.Conll03NameSampleStream
- read() - Method in class opennlp.tools.formats.conllu.ConlluLemmaSampleStream
- read() - Method in class opennlp.tools.formats.conllu.ConlluPOSSampleStream
- read() - Method in class opennlp.tools.formats.conllu.ConlluSentenceSampleStream
- read() - Method in class opennlp.tools.formats.conllu.ConlluStream
- read() - Method in class opennlp.tools.formats.conllu.ConlluTokenSampleStream
- read() - Method in class opennlp.tools.formats.ConllXPOSSampleStream
- read() - Method in class opennlp.tools.formats.convert.AbstractToSentenceSampleStream
- read() - Method in class opennlp.tools.formats.convert.FileToByteArraySampleStream
- read() - Method in class opennlp.tools.formats.convert.FileToStringSampleStream
- read() - Method in class opennlp.tools.formats.convert.NameToTokenSampleStream
- read() - Method in class opennlp.tools.formats.convert.ParseToPOSSampleStream
- read() - Method in class opennlp.tools.formats.convert.POSToTokenSampleStream
- read() - Method in class opennlp.tools.formats.DirectorySampleStream
- read() - Method in class opennlp.tools.formats.EvalitaNameSampleStream
- read() - Method in class opennlp.tools.formats.frenchtreebank.ConstitParseSampleStream
- read() - Method in class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStream
- read() - Method in class opennlp.tools.formats.letsmt.DetokenizeSentenceSampleStream
- read() - Method in class opennlp.tools.formats.masc.MascDocument
-
Get next sentence.
- read() - Method in class opennlp.tools.formats.masc.MascDocumentStream
-
Return the next document.
- read() - Method in class opennlp.tools.formats.masc.MascNamedEntitySampleStream
-
Get the next sample of named entities.
- read() - Method in class opennlp.tools.formats.masc.MascPOSSampleStream
-
Get the next sample
- read() - Method in class opennlp.tools.formats.masc.MascSentenceSampleStream
-
Reads a new sample of sentences
- read() - Method in class opennlp.tools.formats.masc.MascTokenSampleStream
- read() - Method in class opennlp.tools.formats.moses.MosesSentenceSampleStream
- read() - Method in class opennlp.tools.formats.muc.MucNameSampleStream
- read() - Method in class opennlp.tools.formats.NameFinderCensus90NameStream
- read() - Method in class opennlp.tools.formats.nkjp.NKJPSentenceSampleStream
- read() - Method in class opennlp.tools.formats.ontonotes.OntoNotesNameSampleStream
- read() - Method in class opennlp.tools.formats.ontonotes.OntoNotesParseSampleStream
- read() - Method in class opennlp.tools.formats.TwentyNewsgroupSampleStream
- read() - Method in class opennlp.tools.langdetect.LanguageDetectorSampleStream
- read() - Method in class opennlp.tools.lemmatizer.LemmaSampleSequenceStream
- read() - Method in class opennlp.tools.lemmatizer.LemmaSampleStream
- read() - Method in class opennlp.tools.ml.maxent.RealBasicEventStream
- read() - Method in class opennlp.tools.ml.model.FileEventStream
- read() - Method in class opennlp.tools.ml.model.HashSumEventStream
- read() - Method in class opennlp.tools.ml.model.RealValueFileEventStream
- read() - Method in class opennlp.tools.ml.model.SequenceStreamEventStream
- read() - Method in class opennlp.tools.namefind.NameSampleDataStream
- read() - Method in class opennlp.tools.namefind.NameSampleSequenceStream
- read() - Method in class opennlp.tools.namefind.NameSampleTypeFilter
- read() - Method in class opennlp.tools.parser.ChunkSampleStream
- read() - Method in class opennlp.tools.parser.ParseSampleStream
- read() - Method in class opennlp.tools.parser.PosSampleStream
- read() - Method in class opennlp.tools.postag.POSSampleSequenceStream
- read() - Method in class opennlp.tools.postag.WordTagSampleStream
-
Parses the next sentence and return the next
POSSample
object. - read() - Method in class opennlp.tools.sentdetect.EmptyLinePreprocessorStream
- read() - Method in class opennlp.tools.sentdetect.SentenceSampleStream
- read() - Method in class opennlp.tools.tokenize.TokenizerStream
- read() - Method in class opennlp.tools.tokenize.TokenSampleStream
- read() - Method in class opennlp.tools.tokenize.WhitespaceTokenStream
- read() - Method in class opennlp.tools.util.AbstractEventStream
- read() - Method in class opennlp.tools.util.AbstractObjectStream
- read() - Method in class opennlp.tools.util.CollectionObjectStream
- read() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner.TrainingSampleStream
- read() - Method in class opennlp.tools.util.EventTraceStream
- read() - Method in interface opennlp.tools.util.ObjectStream
-
Returns the next object.
- read() - Method in class opennlp.tools.util.ParagraphStream
- read() - Method in class opennlp.tools.util.PlainTextByLineStream
- read(InputStream) - Static method in class opennlp.tools.util.model.ModelUtil
-
Writes the provided
InputStream
into a byte array which is returned - readDouble() - Method in class opennlp.tools.ml.model.AbstractModelReader
-
Implement as needed for the format the model is stored in.
- readDouble() - Method in class opennlp.tools.ml.model.BinaryFileDataReader
- readDouble() - Method in interface opennlp.tools.ml.model.DataReader
- readDouble() - Method in class opennlp.tools.ml.model.ObjectDataReader
- readDouble() - Method in class opennlp.tools.ml.model.PlainTextFileDataReader
- readInt() - Method in class opennlp.tools.ml.model.AbstractModelReader
-
Implement as needed for the format the model is stored in.
- readInt() - Method in class opennlp.tools.ml.model.BinaryFileDataReader
- readInt() - Method in interface opennlp.tools.ml.model.DataReader
- readInt() - Method in class opennlp.tools.ml.model.ObjectDataReader
- readInt() - Method in class opennlp.tools.ml.model.PlainTextFileDataReader
- readUTF() - Method in class opennlp.tools.ml.model.AbstractModelReader
-
Implement as needed for the format the model is stored in.
- readUTF() - Method in class opennlp.tools.ml.model.BinaryFileDataReader
- readUTF() - Method in interface opennlp.tools.ml.model.DataReader
- readUTF() - Method in class opennlp.tools.ml.model.ObjectDataReader
- readUTF() - Method in class opennlp.tools.ml.model.PlainTextFileDataReader
- RealBasicEventStream - Class in opennlp.tools.ml.maxent
- RealBasicEventStream(ObjectStream<String>) - Constructor for class opennlp.tools.ml.maxent.RealBasicEventStream
- RealValueFileEventStream - Class in opennlp.tools.ml.model
- RealValueFileEventStream(File) - Constructor for class opennlp.tools.ml.model.RealValueFileEventStream
- RealValueFileEventStream(String) - Constructor for class opennlp.tools.ml.model.RealValueFileEventStream
- RealValueFileEventStream(String, String) - Constructor for class opennlp.tools.ml.model.RealValueFileEventStream
- recall(Object[], Object[]) - Static method in class opennlp.tools.util.eval.FMeasure
-
Calculates the recall score for the given reference and predicted spans.
- recognize(String) - Static method in class opennlp.tools.util.featuregen.StringPattern
- reduceChunks(Parse[], int, Parse) - Static method in class opennlp.tools.parser.chunking.ParserEventStream
- RegexNameFinder - Class in opennlp.tools.namefind
-
Name finder based on a series of regular expressions.
- RegexNameFinder(Map<String, Pattern[]>) - Constructor for class opennlp.tools.namefind.RegexNameFinder
- RegexNameFinder(Pattern[]) - Constructor for class opennlp.tools.namefind.RegexNameFinder
-
Deprecated.
- RegexNameFinder(Pattern[], String) - Constructor for class opennlp.tools.namefind.RegexNameFinder
- RegexNameFinderFactory - Class in opennlp.tools.namefind
-
Returns a RegexNameFinder based on A selection of defaults or a configuration and a selection of defaults
- RegexNameFinderFactory() - Constructor for class opennlp.tools.namefind.RegexNameFinderFactory
- RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER - Enum in opennlp.tools.namefind
- RegexNameFinderFactory.RegexAble - Interface in opennlp.tools.namefind
- register(Map<String, ArtifactSerializer>) - Static method in class opennlp.tools.util.model.GenericModelSerializer
- registerFactory() - Static method in class opennlp.tools.formats.ad.ADChunkSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.ad.ADNameSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.ad.ADPOSSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.ad.ADSentenceSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.ad.ADTokenSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.BioNLP2004NameSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.brat.BratNameSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.ChunkerSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.Conll02NameSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.Conll03NameSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.conllu.ConlluLemmaSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.conllu.ConlluPOSSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.conllu.ConlluSentenceSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.conllu.ConlluTokenSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.ConllXPOSSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.ConllXSentenceSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.ConllXTokenSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.convert.NameToSentenceSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.convert.NameToTokenSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.convert.ParseToPOSSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.convert.ParseToSentenceSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.convert.ParseToTokenSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.convert.POSToSentenceSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.convert.POSToTokenSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.DocumentSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.EvalitaNameSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.frenchtreebank.ConstitParseSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankSentenceStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.irishsentencebank.IrishSentenceBankTokenSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.LanguageDetectorSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.LemmatizerSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.letsmt.LetsmtSentenceStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.masc.MascNamedEntitySampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.masc.MascPOSSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.masc.MascSentenceSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.masc.MascTokenSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.moses.MosesSentenceSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.muc.Muc6NameSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.NameSampleDataStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.nkjp.NKJPSentenceSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.ontonotes.OntoNotesNameSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.ontonotes.OntoNotesParseSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.ontonotes.OntoNotesPOSSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.ParseSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.SentenceSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.TokenSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.TwentyNewsgroupSampleStreamFactory
- registerFactory() - Static method in class opennlp.tools.formats.WordTagSampleStreamFactory
- REL_GRAD_NORM_TOL - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- RELATION_TYPE - Static variable in class opennlp.tools.formats.brat.AnnotationConfiguration
- RelationAnnotation - Class in opennlp.tools.formats.brat
- remove() - Method in class opennlp.tools.ml.model.HashSumEventStream
- remove() - Method in class opennlp.tools.tokenize.lang.en.TokenSampleStream
- remove() - Method in class opennlp.tools.util.EventTraceStream
- remove() - Method in class opennlp.tools.util.ReverseListIterator
- remove(int) - Method in class opennlp.tools.parser.Parse
- remove(String) - Method in class opennlp.tools.ngram.NGramCharModel
-
Removes the specified tokens form the NGram model, they are just dropped.
- remove(StringList) - Method in class opennlp.tools.dictionary.Dictionary
-
Removes the given tokens form the current instance.
- remove(StringList) - Method in class opennlp.tools.ngram.NGramModel
-
Removes the specified tokens form the NGram model, they are just dropped.
- replaceNewLineEscapeTags(String) - Static method in class opennlp.tools.sentdetect.SentenceSampleStream
- reset() - Method in class opennlp.tools.chunker.ChunkSampleSequenceStream
- reset() - Method in class opennlp.tools.cmdline.namefind.NameSampleCountersStream
- reset() - Method in class opennlp.tools.formats.ad.ADChunkSampleStream
- reset() - Method in class opennlp.tools.formats.ad.ADNameSampleStream
- reset() - Method in class opennlp.tools.formats.ad.ADPOSSampleStream
- reset() - Method in class opennlp.tools.formats.ad.ADSentenceSampleStream
- reset() - Method in class opennlp.tools.formats.BioNLP2004NameSampleStream
- reset() - Method in class opennlp.tools.formats.brat.BratAnnotationStream
- reset() - Method in class opennlp.tools.formats.brat.BratDocumentStream
- reset() - Method in class opennlp.tools.formats.Conll02NameSampleStream
- reset() - Method in class opennlp.tools.formats.Conll03NameSampleStream
- reset() - Method in class opennlp.tools.formats.conllu.ConlluStream
- reset() - Method in class opennlp.tools.formats.DirectorySampleStream
- reset() - Method in class opennlp.tools.formats.EvalitaNameSampleStream
- reset() - Method in class opennlp.tools.formats.leipzig.LeipzigLanguageSampleStream
- reset() - Method in class opennlp.tools.formats.masc.MascDocument
-
Return the reading of sentences to the beginning of the document.
- reset() - Method in class opennlp.tools.formats.masc.MascDocumentStream
-
Reset the reading of all documents to the first sentence.
- reset() - Method in class opennlp.tools.formats.masc.MascNamedEntitySampleStream
- reset() - Method in class opennlp.tools.formats.masc.MascPOSSampleStream
- reset() - Method in class opennlp.tools.formats.masc.MascSentenceSampleStream
- reset() - Method in class opennlp.tools.formats.masc.MascTokenSampleStream
- reset() - Method in class opennlp.tools.formats.NameFinderCensus90NameStream
- reset() - Method in class opennlp.tools.formats.nkjp.NKJPSentenceSampleStream
- reset() - Method in class opennlp.tools.formats.TwentyNewsgroupSampleStream
- reset() - Method in class opennlp.tools.lemmatizer.LemmaSampleSequenceStream
- reset() - Method in class opennlp.tools.ml.maxent.RealBasicEventStream
- reset() - Method in class opennlp.tools.ml.model.FileEventStream
- reset() - Method in class opennlp.tools.ml.model.SequenceStreamEventStream
- reset() - Method in class opennlp.tools.namefind.NameSampleSequenceStream
- reset() - Method in class opennlp.tools.postag.POSSampleSequenceStream
- reset() - Method in class opennlp.tools.stemmer.PorterStemmer
-
reset() resets the stemmer so it can stem another word.
- reset() - Method in class opennlp.tools.tokenize.TokenizerStream
- reset() - Method in class opennlp.tools.util.AbstractEventStream
- reset() - Method in class opennlp.tools.util.AbstractObjectStream
- reset() - Method in class opennlp.tools.util.CollectionObjectStream
- reset() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner.TrainingSampleStream
-
Resets the training sample.
- reset() - Method in class opennlp.tools.util.FilterObjectStream
- reset() - Method in interface opennlp.tools.util.ObjectStream
-
Repositions the stream at the beginning and the previously seen object sequence will be repeated exactly.
- reset() - Method in class opennlp.tools.util.PlainTextByLineStream
- reset() - Method in interface opennlp.tools.util.ResetableIterator
-
Sets the
Iterator
back to the first retrieved element, the seen sequence of elements must be repeated. - ResetableIterator<E> - Interface in opennlp.tools.util
-
This interface makes an
Iterator
resetable. - ReverseListIterator<T> - Class in opennlp.tools.util
-
An iterator for a list which returns values in the opposite order as the typical list iterator.
- ReverseListIterator(List<T>) - Constructor for class opennlp.tools.util.ReverseListIterator
- RIGHT_LEFT_MATCHING - opennlp.tools.tokenize.DetokenizationDictionary.Operation
-
Attaches the token token to the right token on first occurrence, and to the token on the left side on the second occurrence.
- ROMANIAN - opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- run(String[]) - Method in class opennlp.tools.cmdline.chunker.ChunkerMETool
- run(String[]) - Method in class opennlp.tools.cmdline.dictionary.DictionaryBuilderTool
- run(String[]) - Method in class opennlp.tools.cmdline.doccat.DoccatTool
- run(String[]) - Method in class opennlp.tools.cmdline.entitylinker.EntityLinkerTool
- run(String[]) - Method in class opennlp.tools.cmdline.langdetect.LanguageDetectorTool
- run(String[]) - Method in class opennlp.tools.cmdline.languagemodel.NGramLanguageModelTool
- run(String[]) - Method in class opennlp.tools.cmdline.lemmatizer.LemmatizerMETool
- run(String[]) - Method in class opennlp.tools.cmdline.namefind.CensusDictionaryCreatorTool
- run(String[]) - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderTool
- run(String[]) - Method in class opennlp.tools.cmdline.parser.ParserTool
- run(String[]) - Method in class opennlp.tools.cmdline.parser.TaggerModelReplacerTool
- run(String[]) - Method in class opennlp.tools.cmdline.postag.POSTaggerTool
- run(String[]) - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorTool
-
Perform sentence detection the input stream.
- run(String[]) - Method in class opennlp.tools.cmdline.tokenizer.DictionaryDetokenizerTool
- run(String[]) - Method in class opennlp.tools.cmdline.tokenizer.SimpleTokenizerTool
- run(String[]) - Method in class opennlp.tools.cmdline.tokenizer.TokenizerMETool
- run(String, String[]) - Method in class opennlp.tools.cmdline.chunker.ChunkerCrossValidatorTool
- run(String, String[]) - Method in class opennlp.tools.cmdline.chunker.ChunkerEvaluatorTool
- run(String, String[]) - Method in class opennlp.tools.cmdline.chunker.ChunkerTrainerTool
- run(String, String[]) - Method in class opennlp.tools.cmdline.doccat.DoccatCrossValidatorTool
- run(String, String[]) - Method in class opennlp.tools.cmdline.doccat.DoccatEvaluatorTool
- run(String, String[]) - Method in class opennlp.tools.cmdline.doccat.DoccatTrainerTool
- run(String, String[]) - Method in class opennlp.tools.cmdline.langdetect.LanguageDetectorCrossValidatorTool
- run(String, String[]) - Method in class opennlp.tools.cmdline.langdetect.LanguageDetectorEvaluatorTool
- run(String, String[]) - Method in class opennlp.tools.cmdline.langdetect.LanguageDetectorTrainerTool
- run(String, String[]) - Method in class opennlp.tools.cmdline.lemmatizer.LemmatizerEvaluatorTool
- run(String, String[]) - Method in class opennlp.tools.cmdline.lemmatizer.LemmatizerTrainerTool
- run(String, String[]) - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderCrossValidatorTool
- run(String, String[]) - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderEvaluatorTool
- run(String, String[]) - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderTrainerTool
- run(String, String[]) - Method in class opennlp.tools.cmdline.parser.ParserEvaluatorTool
- run(String, String[]) - Method in class opennlp.tools.cmdline.parser.ParserTrainerTool
- run(String, String[]) - Method in class opennlp.tools.cmdline.postag.POSTaggerCrossValidatorTool
- run(String, String[]) - Method in class opennlp.tools.cmdline.postag.POSTaggerEvaluatorTool
- run(String, String[]) - Method in class opennlp.tools.cmdline.postag.POSTaggerTrainerTool
- run(String, String[]) - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorCrossValidatorTool
- run(String, String[]) - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorEvaluatorTool
- run(String, String[]) - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorTrainerTool
- run(String, String[]) - Method in class opennlp.tools.cmdline.tokenizer.TokenizerCrossValidatorTool
- run(String, String[]) - Method in class opennlp.tools.cmdline.tokenizer.TokenizerMEEvaluatorTool
- run(String, String[]) - Method in class opennlp.tools.cmdline.tokenizer.TokenizerTrainerTool
- RUSSIAN - opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
S
- scoreMap(String[]) - Method in interface opennlp.tools.doccat.DocumentCategorizer
-
Returns a map in which the key is the category name and the value is the score
- scoreMap(String[]) - Method in class opennlp.tools.doccat.DocumentCategorizerME
-
Returns a map in which the key is the category name and the value is the score
- SDContextGenerator - Interface in opennlp.tools.sentdetect
-
Interface for
SentenceDetectorME
context generators. - SDCrossValidator - Class in opennlp.tools.sentdetect
-
A cross validator for the sentence detector.
- SDCrossValidator(String) - Constructor for class opennlp.tools.sentdetect.SDCrossValidator
-
Deprecated.use
SDCrossValidator(String, TrainingParameters, SentenceDetectorFactory, SentenceDetectorEvaluationMonitor...)
instead and pass in a TrainingParameters object. - SDCrossValidator(String, TrainingParameters) - Constructor for class opennlp.tools.sentdetect.SDCrossValidator
- SDCrossValidator(String, TrainingParameters, SentenceDetectorEvaluationMonitor...) - Constructor for class opennlp.tools.sentdetect.SDCrossValidator
-
Deprecated.use
SDCrossValidator(String, TrainingParameters, SentenceDetectorFactory, SentenceDetectorEvaluationMonitor...)
instead and pass in a TrainingParameters object. - SDCrossValidator(String, TrainingParameters, SentenceDetectorFactory, SentenceDetectorEvaluationMonitor...) - Constructor for class opennlp.tools.sentdetect.SDCrossValidator
- SDEventStream - Class in opennlp.tools.sentdetect
- SDEventStream(ObjectStream<SentenceSample>, SDContextGenerator, EndOfSentenceScanner) - Constructor for class opennlp.tools.sentdetect.SDEventStream
-
Initializes the current instance.
- seen - Variable in class opennlp.tools.ml.model.ComparableEvent
- SegmenterObjectStream<S,T> - Class in opennlp.tools.formats.brat
- SegmenterObjectStream(ObjectStream<S>) - Constructor for class opennlp.tools.formats.brat.SegmenterObjectStream
- sentDetect(String) - Method in class opennlp.tools.sentdetect.NewlineSentenceDetector
- sentDetect(String) - Method in interface opennlp.tools.sentdetect.SentenceDetector
-
Sentence detect a string.
- sentDetect(String) - Method in class opennlp.tools.sentdetect.SentenceDetectorME
-
Detect sentences in a String.
- Sentence() - Constructor for class opennlp.tools.formats.ad.ADSentenceStream.Sentence
- SENTENCE_DETECTOR - opennlp.tools.util.DownloadUtil.ModelType
- SentenceContextGenerator - Class in opennlp.tools.sentdetect.lang.th
-
Creates contexts/features for end-of-sentence detection in Thai text.
- SentenceContextGenerator() - Constructor for class opennlp.tools.sentdetect.lang.th.SentenceContextGenerator
- SentenceDetector - Interface in opennlp.tools.sentdetect
-
The interface for sentence detectors, which find the sentence boundaries in a text.
- SentenceDetectorConverterTool - Class in opennlp.tools.cmdline.sentdetect
- SentenceDetectorConverterTool() - Constructor for class opennlp.tools.cmdline.sentdetect.SentenceDetectorConverterTool
- SentenceDetectorCrossValidatorTool - Class in opennlp.tools.cmdline.sentdetect
- SentenceDetectorCrossValidatorTool() - Constructor for class opennlp.tools.cmdline.sentdetect.SentenceDetectorCrossValidatorTool
- SentenceDetectorEvaluationMonitor - Interface in opennlp.tools.sentdetect
- SentenceDetectorEvaluator - Class in opennlp.tools.sentdetect
-
The
SentenceDetectorEvaluator
measures the performance of the givenSentenceDetector
with the provided referenceSentenceSample
s. - SentenceDetectorEvaluator(SentenceDetector, SentenceDetectorEvaluationMonitor...) - Constructor for class opennlp.tools.sentdetect.SentenceDetectorEvaluator
-
Initializes the current instance.
- SentenceDetectorEvaluatorTool - Class in opennlp.tools.cmdline.sentdetect
- SentenceDetectorEvaluatorTool() - Constructor for class opennlp.tools.cmdline.sentdetect.SentenceDetectorEvaluatorTool
- SentenceDetectorFactory - Class in opennlp.tools.sentdetect
-
The factory that provides SentenceDetecor default implementations and resources
- SentenceDetectorFactory() - Constructor for class opennlp.tools.sentdetect.SentenceDetectorFactory
-
Creates a
SentenceDetectorFactory
that provides the default implementation of the resources. - SentenceDetectorFactory(String, boolean, Dictionary, char[]) - Constructor for class opennlp.tools.sentdetect.SentenceDetectorFactory
-
Creates a
SentenceDetectorFactory
. - SentenceDetectorME - Class in opennlp.tools.sentdetect
-
A sentence detector for splitting up raw text into sentences.
- SentenceDetectorME(String) - Constructor for class opennlp.tools.sentdetect.SentenceDetectorME
-
Initializes the sentence detector by downloading a default model.
- SentenceDetectorME(SentenceModel) - Constructor for class opennlp.tools.sentdetect.SentenceDetectorME
-
Initializes the current instance.
- SentenceDetectorME(SentenceModel, Factory) - Constructor for class opennlp.tools.sentdetect.SentenceDetectorME
-
Deprecated.Use a
SentenceDetectorFactory
to extend SentenceDetector functionality. - SentenceDetectorTool - Class in opennlp.tools.cmdline.sentdetect
-
A sentence detector which uses a maxent model to predict the sentences.
- SentenceDetectorTool() - Constructor for class opennlp.tools.cmdline.sentdetect.SentenceDetectorTool
- SentenceDetectorTrainerTool - Class in opennlp.tools.cmdline.sentdetect
- SentenceDetectorTrainerTool() - Constructor for class opennlp.tools.cmdline.sentdetect.SentenceDetectorTrainerTool
- SentenceEvaluationErrorListener - Class in opennlp.tools.cmdline.sentdetect
-
A default implementation of
EvaluationMonitor
that prints to an output stream. - SentenceEvaluationErrorListener() - Constructor for class opennlp.tools.cmdline.sentdetect.SentenceEvaluationErrorListener
-
Creates a listener that will print to System.err
- SentenceEvaluationErrorListener(OutputStream) - Constructor for class opennlp.tools.cmdline.sentdetect.SentenceEvaluationErrorListener
-
Creates a listener that will print to a given
OutputStream
- SentenceFeatureGenerator - Class in opennlp.tools.util.featuregen
-
This feature generator creates sentence begin and end features.
- SentenceFeatureGenerator(boolean, boolean) - Constructor for class opennlp.tools.util.featuregen.SentenceFeatureGenerator
- SentenceFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
- SentenceFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.SentenceFeatureGeneratorFactory
- SentenceModel - Class in opennlp.tools.sentdetect
-
The
SentenceModel
is the model used by a learnableSentenceDetector
. - SentenceModel(File) - Constructor for class opennlp.tools.sentdetect.SentenceModel
- SentenceModel(InputStream) - Constructor for class opennlp.tools.sentdetect.SentenceModel
- SentenceModel(String, MaxentModel, boolean, Dictionary) - Constructor for class opennlp.tools.sentdetect.SentenceModel
- SentenceModel(String, MaxentModel, boolean, Dictionary, char[]) - Constructor for class opennlp.tools.sentdetect.SentenceModel
-
Deprecated.Use
SentenceModel(String, MaxentModel, Map, SentenceDetectorFactory)
instead and pass in aSentenceDetectorFactory
- SentenceModel(String, MaxentModel, boolean, Dictionary, char[], Map<String, String>) - Constructor for class opennlp.tools.sentdetect.SentenceModel
-
Deprecated.Use
SentenceModel(String, MaxentModel, Map, SentenceDetectorFactory)
instead and pass in aSentenceDetectorFactory
- SentenceModel(String, MaxentModel, boolean, Dictionary, Map<String, String>) - Constructor for class opennlp.tools.sentdetect.SentenceModel
- SentenceModel(String, MaxentModel, Map<String, String>, SentenceDetectorFactory) - Constructor for class opennlp.tools.sentdetect.SentenceModel
- SentenceModel(URL) - Constructor for class opennlp.tools.sentdetect.SentenceModel
- SentenceModel(Path) - Constructor for class opennlp.tools.sentdetect.SentenceModel
- SentenceParser() - Constructor for class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser
- SentenceSample - Class in opennlp.tools.sentdetect
-
A
SentenceSample
contains a document with begin indexes of the individual sentences. - SentenceSample(CharSequence, Span...) - Constructor for class opennlp.tools.sentdetect.SentenceSample
-
Initializes the current instance.
- SentenceSample(Detokenizer, String[][]) - Constructor for class opennlp.tools.sentdetect.SentenceSample
- SentenceSampleStream - Class in opennlp.tools.sentdetect
-
This class is a stream filter which reads a sentence by line samples from a
Reader
and converts them intoSentenceSample
objects. - SentenceSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.sentdetect.SentenceSampleStream
- SentenceSampleStreamFactory - Class in opennlp.tools.formats
-
Factory producing OpenNLP
SentenceSampleStream
s. - sentPosDetect(String) - Method in class opennlp.tools.sentdetect.NewlineSentenceDetector
- sentPosDetect(String) - Method in interface opennlp.tools.sentdetect.SentenceDetector
-
Sentence detect a string.
- sentPosDetect(String) - Method in class opennlp.tools.sentdetect.SentenceDetectorME
-
Detect the position of the first words of sentences in a String.
- Sequence<T> - Class in opennlp.tools.ml.model
-
Class which models a sequence.
- Sequence - Class in opennlp.tools.util
-
Represents a weighted sequence of outcomes.
- Sequence() - Constructor for class opennlp.tools.util.Sequence
-
Creates a new sequence of outcomes.
- Sequence(List<String>) - Constructor for class opennlp.tools.util.Sequence
- Sequence(Event[], T) - Constructor for class opennlp.tools.ml.model.Sequence
-
Creates a new sequence made up of the specified events and derived from the specified source.
- Sequence(Sequence) - Constructor for class opennlp.tools.util.Sequence
- Sequence(Sequence, String, double) - Constructor for class opennlp.tools.util.Sequence
- SEQUENCE_TRAINER - opennlp.tools.ml.TrainerFactory.TrainerType
- SEQUENCE_VALUE - Static variable in interface opennlp.tools.ml.EventModelSequenceTrainer
- SEQUENCE_VALUE - Static variable in interface opennlp.tools.ml.SequenceTrainer
- SequenceClassificationModel<T> - Interface in opennlp.tools.ml.model
-
A classification model that can label an input sequence.
- SequenceCodec<T> - Interface in opennlp.tools.util
- SequenceStream - Interface in opennlp.tools.ml.model
-
Interface for streams of sequences used to train sequence models.
- SequenceStreamEventStream - Class in opennlp.tools.ml.model
-
Class which turns a sequence stream into an event stream.
- SequenceStreamEventStream(SequenceStream) - Constructor for class opennlp.tools.ml.model.SequenceStreamEventStream
- SequenceTrainer - Interface in opennlp.tools.ml
- SequenceValidator<T> - Interface in opennlp.tools.util
- SerializableArtifact - Interface in opennlp.tools.util.model
- serialize(byte[], OutputStream) - Method in class opennlp.tools.util.model.ByteArraySerializer
- serialize(File) - Method in class opennlp.tools.util.model.BaseModel
- serialize(OutputStream) - Method in class opennlp.tools.dictionary.Dictionary
-
Writes the current instance to the given
OutputStream
. - serialize(OutputStream) - Method in class opennlp.tools.ngram.NGramModel
-
Writes the ngram instance to the given
OutputStream
. - serialize(OutputStream) - Method in class opennlp.tools.postag.POSDictionary
-
Writes the
POSDictionary
to the givenOutputStream
; After the serialization is finished the providedOutputStream
remains open. - serialize(OutputStream) - Method in class opennlp.tools.tokenize.DetokenizationDictionary
- serialize(OutputStream) - Method in class opennlp.tools.util.featuregen.BrownCluster
- serialize(OutputStream) - Method in class opennlp.tools.util.featuregen.WordClusterDictionary
- serialize(OutputStream) - Method in class opennlp.tools.util.model.BaseModel
-
Serializes the model to the given
OutputStream
. - serialize(OutputStream) - Method in class opennlp.tools.util.TrainingParameters
- serialize(OutputStream, Iterator<Entry>) - Static method in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor
-
Deprecated.
- serialize(OutputStream, Iterator<Entry>, boolean) - Static method in class opennlp.tools.dictionary.serializer.DictionaryEntryPersistor
-
Serializes the given entries to the given
OutputStream
. - serialize(Writer) - Method in class opennlp.tools.parser.lang.en.HeadRules
-
Writes the head rules to the writer in a format suitable for loading the head rules again with the constructor.
- serialize(Writer) - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules
-
Writes the head rules to the writer in a format suitable for loading the head rules again with the constructor.
- serialize(Path) - Method in class opennlp.tools.util.model.BaseModel
- serialize(ChunkerModel, OutputStream) - Method in class opennlp.tools.util.model.ChunkerModelSerializer
- serialize(Dictionary, OutputStream) - Method in class opennlp.tools.util.model.DictionarySerializer
- serialize(AbstractModel, OutputStream) - Method in class opennlp.tools.util.model.GenericModelSerializer
- serialize(HeadRules, OutputStream) - Method in class opennlp.tools.parser.lang.en.HeadRules.HeadRulesSerializer
- serialize(AncoraSpanishHeadRules, OutputStream) - Method in class opennlp.tools.parser.lang.es.AncoraSpanishHeadRules.HeadRulesSerializer
- serialize(POSDictionary, OutputStream) - Method in class opennlp.tools.postag.POSTaggerFactory.POSDictionarySerializer
- serialize(POSModel, OutputStream) - Method in class opennlp.tools.util.model.POSModelSerializer
- serialize(BrownCluster, OutputStream) - Method in class opennlp.tools.util.featuregen.BrownCluster.BrownClusterSerializer
- serialize(WordClusterDictionary, OutputStream) - Method in class opennlp.tools.util.featuregen.WordClusterDictionary.WordClusterDictionarySerializer
- serialize(T, OutputStream) - Method in interface opennlp.tools.util.model.ArtifactSerializer
-
Serializes the artifact to the provided
OutputStream
. - set(double) - Method in class opennlp.tools.ml.naivebayes.LogProbability
-
Assigns a probability to a label, discarding any previously assigned probability.
- set(double) - Method in class opennlp.tools.ml.naivebayes.Probability
-
Assigns a probability to a label, discarding any previously assigned probability.
- set(Probability) - Method in class opennlp.tools.ml.naivebayes.LogProbability
-
Assigns a probability to a label, discarding any previously assigned probability.
- set(Probability) - Method in class opennlp.tools.ml.naivebayes.Probability
-
Assigns a probability to a label, discarding any previously assigned probability.
- set(T, double) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
-
Assigns a probability to a label, discarding any previously assigned probability.
- set(T, double) - Method in class opennlp.tools.ml.naivebayes.Probabilities
-
Assigns a probability to a label, discarding any previously assigned probability.
- set(T, Probability<T>) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
-
Assigns a probability to a label, discarding any previously assigned probability.
- set(T, Probability<T>) - Method in class opennlp.tools.ml.naivebayes.Probabilities
-
Assigns a probability to a label, discarding any previously assigned probability.
- setAll(double, double, double, double[], double[], double[], double[], double[], double[], int) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
-
Update line search elements
- setAll(double, double, double, double[], double[], double[], double[], int) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
-
Update line search elements
- setChild(int, String) - Method in class opennlp.tools.parser.Parse
-
Replaces the child at the specified index with a new child with the specified label.
- setChunkSize(int) - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
- setConfidence(double) - Method in class opennlp.tools.ml.naivebayes.Probabilities
-
Sets the best confidence with which this set of probabilities has been calculated.
- setCount(String, int) - Method in class opennlp.tools.ngram.NGramCharModel
-
Sets the count of an existing ngram.
- setCount(StringList, int) - Method in class opennlp.tools.ngram.NGramModel
-
Sets the count of an existing ngram.
- setCurrentContext(String[][]) - Method in class opennlp.tools.util.featuregen.AdditionalContextFeatureGenerator
- setCurrPoint(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- setDerivation(StringBuffer) - Method in class opennlp.tools.parser.Parse
-
Specifies the derivation string to be associated with this parse.
- setDictionary(String, Dictionary) - Method in class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
- setDictionary(Dictionary) - Method in class opennlp.tools.postag.POSTaggerFactory
-
Deprecated.
- setDictionary(Dictionary) - Method in class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
- setEnd(int) - Method in class opennlp.tools.formats.ad.ADChunkSampleStream
- setErrorReporting(boolean) - Method in class opennlp.tools.parser.AbstractBottomUpParser
-
Specifies whether the parser should report when it was unable to find a parse for a particular sentence.
- setEvaluator(QNMinimizer.Evaluator) - Method in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer
- setFctEvalCount(int) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- setFeatureGenerators(FeatureGenerator[]) - Method in class opennlp.tools.doccat.DoccatFactory
- setFunctionalTag(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- setGaussianSigma(double) - Method in class opennlp.tools.ml.maxent.GISTrainer
-
Sets whether this trainer will use smoothing while training the model.
- setGradAtCurr(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- setGradAtNext(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- setIfLarger(double) - Method in class opennlp.tools.ml.naivebayes.LogProbability
-
Assigns a probability to a label, discarding any previously assigned probability, if the new probability is greater than the old one.
- setIfLarger(double) - Method in class opennlp.tools.ml.naivebayes.Probability
-
Assigns a probability to a label, discarding any previously assigned probability, if the new probability is greater than the old one.
- setIfLarger(Probability) - Method in class opennlp.tools.ml.naivebayes.LogProbability
-
Assigns a probability to a label, discarding any previously assigned probability, if the new probability is greater than the old one.
- setIfLarger(Probability) - Method in class opennlp.tools.ml.naivebayes.Probability
-
Assigns a probability to a label, discarding any previously assigned probability, if the new probability is greater than the old one.
- setIfLarger(T, double) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
-
Assigns a probability to a label, discarding any previously assigned probability, if the new probability is greater than the old one.
- setIfLarger(T, double) - Method in class opennlp.tools.ml.naivebayes.Probabilities
-
Assigns a probability to a label, discarding any previously assigned probability, if the new probability is greater than the old one.
- setItemID(String) - Method in class opennlp.tools.entitylinker.BaseLink
-
sets the item id.
- setItemName(String) - Method in class opennlp.tools.entitylinker.BaseLink
-
Sets the item name.
- setItemParentID(String) - Method in class opennlp.tools.entitylinker.BaseLink
-
returns the parent ID of the linked item
- setItemType(String) - Method in class opennlp.tools.entitylinker.BaseLink
-
sets the item type.
- setLabel(String) - Method in class opennlp.tools.parser.Constituent
-
Assigns the label to the constituent.
- setLabel(String) - Method in class opennlp.tools.parser.Parse
-
Assigns this parse the specified label.
- setLabels(String[], String[]) - Method in interface opennlp.tools.ml.model.Prior
-
Method to specify the label for the outcomes and contexts.
- setLabels(String[], String[]) - Method in class opennlp.tools.ml.model.UniformPrior
- setLemma(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- setLevel(int) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
- setLexeme(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- setLinkedEntries(ArrayList<T>) - Method in class opennlp.tools.entitylinker.LinkedSpan
-
Sets the n best linked entries from an external data source.
- setLog(double) - Method in class opennlp.tools.ml.naivebayes.LogProbability
-
Assigns a log probability to a label, discarding any previously assigned probability.
- setLog(double) - Method in class opennlp.tools.ml.naivebayes.Probability
-
Assigns a log probability to a label, discarding any previously assigned probability.
- setLog(T, double) - Method in class opennlp.tools.ml.naivebayes.LogProbabilities
-
Assigns a log probability to a label, discarding any previously assigned probability.
- setLog(T, double) - Method in class opennlp.tools.ml.naivebayes.Probabilities
-
Assigns a log probability to a label, discarding any previously assigned probability.
- setMaxLength(int) - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
- setMetadata(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.Sentence
- setMinConsecImprovements(int) - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
- setMinDiff(double) - Method in class opennlp.tools.langdetect.LanguageDetectorConfig
- setMorphologicalTag(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
- setmPatterns(Pattern[]) - Method in class opennlp.tools.namefind.RegexNameFinder
- setNextPoint(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- setNextPunctuation(Collection<Parse>) - Method in class opennlp.tools.parser.Parse
-
Sets the set of punctuation tags which follow this parse.
- setNote(String) - Method in class opennlp.tools.formats.brat.BratAnnotation
- setParameter(int, double) - Method in class opennlp.tools.ml.model.MutableContext
-
Assigns the parameter or expected value at the specified outcomeIndex the specified value.
- setParent(Parse) - Method in class opennlp.tools.parser.Parse
-
Specifies the parent parse node for this constituent.
- setParents(Parse) - Static method in class opennlp.tools.parser.AbstractBottomUpParser
-
Assigns parent references for the specified parse so that they are consistent with the children references.
- setPrevPunctuation(Collection<Parse>) - Method in class opennlp.tools.parser.Parse
-
Sets the set of punctuation tags which preceed this parse.
- setPseudoGradAtNext(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- setRoot(ADSentenceStream.SentenceParser.Node) - Method in class opennlp.tools.formats.ad.ADSentenceStream.Sentence
- setScoreMap(HashMap<String, Double>) - Method in class opennlp.tools.entitylinker.BaseLink
- setSearchTerm(String) - Method in class opennlp.tools.entitylinker.LinkedSpan
-
sets the search term that is used to link this span to an external data source
- setSecondaryTag(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- setSentenceid(int) - Method in class opennlp.tools.entitylinker.LinkedSpan
-
sets the id or index of the sentence from which this span was extracted
- setSignVector(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- setSkippedAveraging(boolean) - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
-
Enables skipped averaging, this flag changes the standard averaging to special averaging instead.
- setSmoothing(boolean) - Method in class opennlp.tools.ml.maxent.GISTrainer
-
Sets whether this trainer will use smoothing while training the model.
- setSmoothingObservation(double) - Method in class opennlp.tools.ml.maxent.GISTrainer
-
Sets whether this trainer will use smoothing while training the model.
- setStart(int) - Method in class opennlp.tools.formats.ad.ADChunkSampleStream
- setStepSize(double) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- setStepSizeDecrease(double) - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
-
Enables and sets step size decrease.
- setsType(String) - Method in class opennlp.tools.namefind.RegexNameFinder
- setSyntacticTag(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
- setTagDictionary(TagDictionary) - Method in class opennlp.tools.postag.POSTaggerFactory
- setText(String) - Method in class opennlp.tools.formats.ad.ADSentenceStream.Sentence
- setTolerance(double) - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
-
Specifies the tolerance.
- setType(String) - Method in class opennlp.tools.parser.Parse
-
Set the type of this constituent to the specified type.
- setValue(String, String) - Method in class opennlp.tools.dictionary.serializer.Attributes
-
Sets a key/value pair.
- setValueAtCurr(double) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- setValueAtNext(double) - Method in class opennlp.tools.ml.maxent.quasinewton.LineSearch.LineSearchResult
- SgmlParser - Class in opennlp.tools.formats.muc
-
SAX style SGML parser.
- SgmlParser() - Constructor for class opennlp.tools.formats.muc.SgmlParser
- SgmlParser.ContentHandler - Class in opennlp.tools.formats.muc
- show() - Method in class opennlp.tools.parser.Parse
-
Displays this parse using Penn Treebank-style formatting.
- show(StringBuffer) - Method in class opennlp.tools.parser.Parse
-
Appends the specified string buffer with a string representation of this parse.
- showCodeTree() - Method in class opennlp.tools.parser.Parse
-
Prints to standard out a representation of the specified parse which contains hash codes so that parent/child relationships can be explicitly seen.
- ShrinkCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
Normalizer to shrink repeated spaces / chars
- ShrinkCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.ShrinkCharSequenceNormalizer
- SimplePerceptronSequenceTrainer - Class in opennlp.tools.ml.perceptron
-
Trains models for sequences using the perceptron algorithm.
- SimplePerceptronSequenceTrainer() - Constructor for class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
- SimpleTokenizer - Class in opennlp.tools.tokenize
-
Performs tokenization using character classes.
- SimpleTokenizer() - Constructor for class opennlp.tools.tokenize.SimpleTokenizer
-
Deprecated.Use INSTANCE field instead to obtain an instance, constructor will be made private in the future.
- SimpleTokenizerTool - Class in opennlp.tools.cmdline.tokenizer
- SimpleTokenizerTool() - Constructor for class opennlp.tools.cmdline.tokenizer.SimpleTokenizerTool
- size() - Method in class opennlp.tools.dictionary.Dictionary
-
Retrieves the number of tokens in the current instance.
- size() - Method in class opennlp.tools.ngram.NGramCharModel
-
Retrieves the number of
String
entries in the current instance. - size() - Method in class opennlp.tools.ngram.NGramModel
-
Retrieves the number of
StringList
entries in the current instance. - size() - Method in class opennlp.tools.util.StringList
-
Retrieves the number of tokens inside this list.
- size() - Method in interface opennlp.tools.util.wordvector.WordVectorTable
- SnowballStemmer - Class in opennlp.tools.stemmer.snowball
- SnowballStemmer(SnowballStemmer.ALGORITHM) - Constructor for class opennlp.tools.stemmer.snowball.SnowballStemmer
- SnowballStemmer(SnowballStemmer.ALGORITHM, int) - Constructor for class opennlp.tools.stemmer.snowball.SnowballStemmer
- SnowballStemmer.ALGORITHM - Enum in opennlp.tools.stemmer.snowball
- SORT_DEFAULT - Static variable in class opennlp.tools.ml.model.AbstractDataIndexer
- SORT_PARAM - Static variable in class opennlp.tools.ml.model.AbstractDataIndexer
- sortedScoreMap(String[]) - Method in interface opennlp.tools.doccat.DocumentCategorizer
-
Get a map of the scores sorted in ascending aorder together with their associated categories.
- sortedScoreMap(String[]) - Method in class opennlp.tools.doccat.DocumentCategorizerME
-
Returns a map with the score as a key in ascending order.
- SPA - opennlp.tools.formats.Conll02NameSampleStream.LANGUAGE
- Span - Class in opennlp.tools.util
-
Class for storing start and end integer offsets.
- Span(int, int) - Constructor for class opennlp.tools.util.Span
-
Initializes a new Span Object.
- Span(int, int, double) - Constructor for class opennlp.tools.util.Span
- Span(int, int, String) - Constructor for class opennlp.tools.util.Span
-
Initializes a new Span Object.
- Span(int, int, String, double) - Constructor for class opennlp.tools.util.Span
-
Initializes a new Span Object.
- Span(Span, double) - Constructor for class opennlp.tools.util.Span
-
Creates a new immutable span based on an existing span, where the existing span did not include the prob
- Span(Span, int) - Constructor for class opennlp.tools.util.Span
-
Initializes a new Span object with an existing Span which is shifted by an offset.
- SPAN_TYPE - Static variable in class opennlp.tools.formats.brat.AnnotationConfiguration
- SpanAnnotation - Class in opennlp.tools.formats.brat
- SPANISH - opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- spansToStrings(Span[], CharSequence) - Static method in class opennlp.tools.util.Span
- spansToStrings(Span[], String[]) - Static method in class opennlp.tools.util.Span
- SPLIT - Static variable in class opennlp.tools.sentdetect.SentenceDetectorME
-
Constant indicates a sentence split.
- SPLIT - Static variable in class opennlp.tools.tokenize.TokenizerME
-
Constant indicates a token split.
- start(BundleContext) - Method in class opennlp.tools.util.ext.OSGiExtensionLoader
- START - Static variable in class opennlp.tools.namefind.BilouCodec
- START - Static variable in class opennlp.tools.namefind.BioCodec
- START - Static variable in class opennlp.tools.namefind.NameFinderME
- START - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
Prefix for outcomes starting a constituent.
- START_TAG - Static variable in class opennlp.tools.namefind.NameSampleDataStream
- START_TAG_PREFIX - Static variable in class opennlp.tools.namefind.NameSampleDataStream
- startElement(String, String, String, Attributes) - Method in class opennlp.tools.formats.masc.MascNamedEntityParser
- startElement(String, String, String, Attributes) - Method in class opennlp.tools.formats.masc.MascPennTagParser
- startElement(String, Map<String, String>) - Method in class opennlp.tools.formats.muc.MucNameContentHandler
- startElement(String, Map<String, String>) - Method in class opennlp.tools.formats.muc.SgmlParser.ContentHandler
- startsWith(Span) - Method in class opennlp.tools.util.Span
-
Returns true if the specified span is the begin of this span and the specified span is contained in this span.
- stem() - Method in class opennlp.tools.stemmer.PorterStemmer
-
Stem the word placed into the Stemmer buffer through calls to add().
- stem() - Method in class opennlp.tools.stemmer.snowball.arabicStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.catalanStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.greekStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.indonesianStemmer
- stem() - Method in class opennlp.tools.stemmer.snowball.irishStemmer
- stem(char[]) - Method in class opennlp.tools.stemmer.PorterStemmer
-
Stem a word contained in a char[].
- stem(char[], int) - Method in class opennlp.tools.stemmer.PorterStemmer
-
Stem a word contained in a leading portion of a char[] array.
- stem(char[], int, int) - Method in class opennlp.tools.stemmer.PorterStemmer
-
Stem a word contained in a portion of a char[] array.
- stem(int) - Method in class opennlp.tools.stemmer.PorterStemmer
- stem(CharSequence) - Method in class opennlp.tools.stemmer.PorterStemmer
-
Stem a word provided as a CharSequence.
- stem(CharSequence) - Method in class opennlp.tools.stemmer.snowball.SnowballStemmer
- stem(CharSequence) - Method in interface opennlp.tools.stemmer.Stemmer
- stem(String) - Method in class opennlp.tools.stemmer.PorterStemmer
-
Stem a word provided as a String.
- Stemmer - Interface in opennlp.tools.stemmer
-
The stemmer is reducing a word to its stem.
- stop(BundleContext) - Method in class opennlp.tools.util.ext.OSGiExtensionLoader
- StringList - Class in opennlp.tools.util
-
The
StringList
is an immutable list ofString
s. - StringList(String) - Constructor for class opennlp.tools.util.StringList
-
Initializes the current instance.
- StringList(String...) - Constructor for class opennlp.tools.util.StringList
-
Initializes the current instance.
- StringPattern - Class in opennlp.tools.util.featuregen
-
Recognizes predefined patterns in strings.
- StringUtil - Class in opennlp.tools.util
- StringUtil() - Constructor for class opennlp.tools.util.StringUtil
- SuffixFeatureGenerator - Class in opennlp.tools.util.featuregen
- SuffixFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.SuffixFeatureGenerator
- SuffixFeatureGenerator(int) - Constructor for class opennlp.tools.util.featuregen.SuffixFeatureGenerator
- SuffixFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
- SuffixFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.SuffixFeatureGeneratorFactory
- sumFeatures(Context[], float[], double[]) - Static method in class opennlp.tools.ml.ArrayMath
- SWEDISH - opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
T
- tag(int, String[]) - Method in class opennlp.tools.postag.POSTaggerME
-
Returns at most the specified number of taggings for the specified sentence.
- tag(String[]) - Method in interface opennlp.tools.postag.POSTagger
-
Assigns the sentence of tokens pos tags.
- tag(String[]) - Method in class opennlp.tools.postag.POSTaggerME
- tag(String[], Object[]) - Method in interface opennlp.tools.postag.POSTagger
- tag(String[], Object[]) - Method in class opennlp.tools.postag.POSTaggerME
- TAG - opennlp.tools.parser.ParserEventTypeEnum
-
Deprecated.
- TagDictionary - Interface in opennlp.tools.postag
-
Interface to determine which tags are valid for a particular word based on a tag dictionary.
- TaggerModelReplacerTool - Class in opennlp.tools.cmdline.parser
- TaggerModelReplacerTool() - Constructor for class opennlp.tools.cmdline.parser.TaggerModelReplacerTool
- thEosCharacters - Static variable in class opennlp.tools.sentdetect.lang.Factory
- THREADS_DEFAULT - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- THREADS_PARAM - Static variable in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- THREADS_PARAM - Static variable in class opennlp.tools.util.TrainingParameters
- toContraction(String, String) - Static method in class opennlp.tools.formats.ad.PortugueseContractionUtility
-
Merges a contraction
- toDictionary() - Method in class opennlp.tools.ngram.NGramModel
-
Creates a dictionary which contain all
StringList
which are in the currentNGramModel
. - toDictionary(boolean) - Method in class opennlp.tools.ngram.NGramModel
-
Creates a dictionary which contains all
StringList
s which are in the currentNGramModel
. - toDoubleArray(List<Double>) - Static method in class opennlp.tools.ml.ArrayMath
-
Convert a list of Double objects into an array of primitive doubles
- toDoubleBuffer() - Method in interface opennlp.tools.util.wordvector.WordVector
- toFloatBuffer() - Method in interface opennlp.tools.util.wordvector.WordVector
- toIntArray(List<Integer>) - Static method in class opennlp.tools.ml.ArrayMath
-
Convert a list of Integer objects into an array of primitive integers
- TOK_NODE - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
The label for a token node.
- TokenClassFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Generates features for different for the class of the token.
- TokenClassFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.TokenClassFeatureGenerator
- TokenClassFeatureGenerator(boolean) - Constructor for class opennlp.tools.util.featuregen.TokenClassFeatureGenerator
- TokenClassFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
- TokenClassFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.TokenClassFeatureGeneratorFactory
- TokenContextGenerator - Interface in opennlp.tools.tokenize
-
Interface for
TokenizerME
context generators. - TokenEvaluationErrorListener - Class in opennlp.tools.cmdline.tokenizer
-
A default implementation of
EvaluationMonitor
that prints to an output stream. - TokenEvaluationErrorListener() - Constructor for class opennlp.tools.cmdline.tokenizer.TokenEvaluationErrorListener
-
Creates a listener that will print to System.err
- TokenEvaluationErrorListener(OutputStream) - Constructor for class opennlp.tools.cmdline.tokenizer.TokenEvaluationErrorListener
-
Creates a listener that will print to a given
OutputStream
- tokenFeature(String) - Static method in class opennlp.tools.util.featuregen.FeatureGeneratorUtil
-
Generates a class name for the specified token.
- TokenFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Generates a feature which contains the token itself.
- TokenFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.TokenFeatureGenerator
- TokenFeatureGenerator(boolean) - Constructor for class opennlp.tools.util.featuregen.TokenFeatureGenerator
- TokenFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
- TokenFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.TokenFeatureGeneratorFactory
- tokenize(String) - Method in interface opennlp.tools.tokenize.Tokenizer
-
Splits a string into its atomic parts
- tokenize(String) - Method in class opennlp.tools.tokenize.WordpieceTokenizer
- tokenizePos(String) - Method in class opennlp.tools.tokenize.SimpleTokenizer
- tokenizePos(String) - Method in interface opennlp.tools.tokenize.Tokenizer
-
Finds the boundaries of atomic parts in a string.
- tokenizePos(String) - Method in class opennlp.tools.tokenize.TokenizerME
-
Tokenizes the string.
- tokenizePos(String) - Method in class opennlp.tools.tokenize.WhitespaceTokenizer
- tokenizePos(String) - Method in class opennlp.tools.tokenize.WordpieceTokenizer
- Tokenizer - Interface in opennlp.tools.tokenize
-
The interface for tokenizers, which segment a string into its tokens.
- TOKENIZER - opennlp.tools.util.DownloadUtil.ModelType
- TokenizerConverterTool - Class in opennlp.tools.cmdline.tokenizer
- TokenizerConverterTool() - Constructor for class opennlp.tools.cmdline.tokenizer.TokenizerConverterTool
- TokenizerCrossValidator - Class in opennlp.tools.tokenize
- TokenizerCrossValidator(TrainingParameters, TokenizerFactory, TokenizerEvaluationMonitor...) - Constructor for class opennlp.tools.tokenize.TokenizerCrossValidator
- TokenizerCrossValidatorTool - Class in opennlp.tools.cmdline.tokenizer
- TokenizerCrossValidatorTool() - Constructor for class opennlp.tools.cmdline.tokenizer.TokenizerCrossValidatorTool
- TokenizerEvaluationMonitor - Interface in opennlp.tools.tokenize
- TokenizerEvaluator - Class in opennlp.tools.tokenize
-
The
TokenizerEvaluator
measures the performance of the givenTokenizer
with the provided referenceTokenSample
s. - TokenizerEvaluator(Tokenizer, TokenizerEvaluationMonitor...) - Constructor for class opennlp.tools.tokenize.TokenizerEvaluator
-
Initializes the current instance with the given
Tokenizer
. - TokenizerFactory - Class in opennlp.tools.tokenize
-
The factory that provides
Tokenizer
default implementations and resources. - TokenizerFactory() - Constructor for class opennlp.tools.tokenize.TokenizerFactory
-
Creates a
TokenizerFactory
that provides the default implementation of the resources. - TokenizerFactory(String, Dictionary, boolean, Pattern) - Constructor for class opennlp.tools.tokenize.TokenizerFactory
-
Creates a
TokenizerFactory
. - TokenizerME - Class in opennlp.tools.tokenize
-
A Tokenizer for converting raw text into separated tokens.
- TokenizerME(String) - Constructor for class opennlp.tools.tokenize.TokenizerME
-
Initializes the tokenizer by downloading a default model.
- TokenizerME(TokenizerModel) - Constructor for class opennlp.tools.tokenize.TokenizerME
- TokenizerME(TokenizerModel, Factory) - Constructor for class opennlp.tools.tokenize.TokenizerME
-
Deprecated.use
TokenizerFactory
to extend the Tokenizer functionality - TokenizerMEEvaluatorTool - Class in opennlp.tools.cmdline.tokenizer
- TokenizerMEEvaluatorTool() - Constructor for class opennlp.tools.cmdline.tokenizer.TokenizerMEEvaluatorTool
- TokenizerMETool - Class in opennlp.tools.cmdline.tokenizer
- TokenizerMETool() - Constructor for class opennlp.tools.cmdline.tokenizer.TokenizerMETool
- TokenizerModel - Class in opennlp.tools.tokenize
-
The
TokenizerModel
is the model used by a learnableTokenizer
. - TokenizerModel(File) - Constructor for class opennlp.tools.tokenize.TokenizerModel
-
Initializes the current instance.
- TokenizerModel(InputStream) - Constructor for class opennlp.tools.tokenize.TokenizerModel
-
Initializes the current instance.
- TokenizerModel(URL) - Constructor for class opennlp.tools.tokenize.TokenizerModel
-
Initializes the current instance.
- TokenizerModel(Path) - Constructor for class opennlp.tools.tokenize.TokenizerModel
- TokenizerModel(MaxentModel, Map<String, String>, TokenizerFactory) - Constructor for class opennlp.tools.tokenize.TokenizerModel
-
Initializes the current instance.
- TokenizerModelLoader - Class in opennlp.tools.cmdline.tokenizer
-
Loads a Tokenizer Model for the command line tools.
- TokenizerModelLoader() - Constructor for class opennlp.tools.cmdline.tokenizer.TokenizerModelLoader
- TokenizerStream - Class in opennlp.tools.tokenize
-
The
TokenizerStream
uses a tokenizer to tokenize the input string and outputTokenSample
s. - TokenizerStream(Tokenizer, ObjectStream<String>) - Constructor for class opennlp.tools.tokenize.TokenizerStream
- TokenizerTrainerTool - Class in opennlp.tools.cmdline.tokenizer
- TokenizerTrainerTool() - Constructor for class opennlp.tools.cmdline.tokenizer.TokenizerTrainerTool
- TokenNameFinder - Interface in opennlp.tools.namefind
-
The interface for name finders which provide name tags for a sequence of tokens.
- TokenNameFinderConverterTool - Class in opennlp.tools.cmdline.namefind
-
Tool to convert multiple data formats into native OpenNLP name finder training format.
- TokenNameFinderConverterTool() - Constructor for class opennlp.tools.cmdline.namefind.TokenNameFinderConverterTool
- TokenNameFinderCrossValidator - Class in opennlp.tools.namefind
- TokenNameFinderCrossValidator(String, String, TrainingParameters, byte[], Map<String, Object>, TokenNameFinderEvaluationMonitor...) - Constructor for class opennlp.tools.namefind.TokenNameFinderCrossValidator
- TokenNameFinderCrossValidator(String, String, TrainingParameters, byte[], Map<String, Object>, SequenceCodec<String>, TokenNameFinderEvaluationMonitor...) - Constructor for class opennlp.tools.namefind.TokenNameFinderCrossValidator
-
Name finder cross validator
- TokenNameFinderCrossValidator(String, String, TrainingParameters, TokenNameFinderFactory, TokenNameFinderEvaluationMonitor...) - Constructor for class opennlp.tools.namefind.TokenNameFinderCrossValidator
- TokenNameFinderCrossValidatorTool - Class in opennlp.tools.cmdline.namefind
- TokenNameFinderCrossValidatorTool() - Constructor for class opennlp.tools.cmdline.namefind.TokenNameFinderCrossValidatorTool
- TokenNameFinderDetailedFMeasureListener - Class in opennlp.tools.cmdline.namefind
- TokenNameFinderDetailedFMeasureListener() - Constructor for class opennlp.tools.cmdline.namefind.TokenNameFinderDetailedFMeasureListener
- TokenNameFinderEvaluationMonitor - Interface in opennlp.tools.namefind
- TokenNameFinderEvaluator - Class in opennlp.tools.namefind
-
The
TokenNameFinderEvaluator
measures the performance of the givenTokenNameFinder
with the provided referenceNameSample
s. - TokenNameFinderEvaluator(TokenNameFinder, TokenNameFinderEvaluationMonitor...) - Constructor for class opennlp.tools.namefind.TokenNameFinderEvaluator
-
Initializes the current instance with the given
TokenNameFinder
. - TokenNameFinderEvaluatorTool - Class in opennlp.tools.cmdline.namefind
- TokenNameFinderEvaluatorTool() - Constructor for class opennlp.tools.cmdline.namefind.TokenNameFinderEvaluatorTool
- TokenNameFinderFactory - Class in opennlp.tools.namefind
- TokenNameFinderFactory() - Constructor for class opennlp.tools.namefind.TokenNameFinderFactory
-
Creates a
TokenNameFinderFactory
that provides the default implementation of the resources. - TokenNameFinderFactory(byte[], Map<String, Object>, SequenceCodec<String>) - Constructor for class opennlp.tools.namefind.TokenNameFinderFactory
- TokenNameFinderFineGrainedReportListener - Class in opennlp.tools.cmdline.namefind
-
Generates a detailed report for the NameFinder.
- TokenNameFinderFineGrainedReportListener(SequenceCodec<String>) - Constructor for class opennlp.tools.cmdline.namefind.TokenNameFinderFineGrainedReportListener
-
Creates a listener that will print to
System.err
- TokenNameFinderFineGrainedReportListener(SequenceCodec<String>, OutputStream) - Constructor for class opennlp.tools.cmdline.namefind.TokenNameFinderFineGrainedReportListener
-
Creates a listener that prints to a given
OutputStream
- TokenNameFinderModel - Class in opennlp.tools.namefind
-
The
TokenNameFinderModel
is the model used by a learnableTokenNameFinder
. - TokenNameFinderModel(File) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
- TokenNameFinderModel(InputStream) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
- TokenNameFinderModel(String, MaxentModel, byte[], Map<String, Object>, Map<String, String>) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
- TokenNameFinderModel(String, MaxentModel, int, byte[], Map<String, Object>, Map<String, String>, SequenceCodec<String>, TokenNameFinderFactory) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
- TokenNameFinderModel(String, MaxentModel, Map<String, Object>, Map<String, String>) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
- TokenNameFinderModel(String, SequenceClassificationModel<String>, byte[], Map<String, Object>, Map<String, String>, SequenceCodec<String>, TokenNameFinderFactory) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
- TokenNameFinderModel(URL) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
- TokenNameFinderModel(Path) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
- TokenNameFinderModel.FeatureGeneratorCreationError - Exception in opennlp.tools.namefind
- TokenNameFinderModelLoader - Class in opennlp.tools.cmdline.namefind
-
Loads a Token Name Finder Model for the command line tools.
- TokenNameFinderModelLoader() - Constructor for class opennlp.tools.cmdline.namefind.TokenNameFinderModelLoader
- TokenNameFinderTool - Class in opennlp.tools.cmdline.namefind
- TokenNameFinderTool() - Constructor for class opennlp.tools.cmdline.namefind.TokenNameFinderTool
- TokenNameFinderTrainerTool - Class in opennlp.tools.cmdline.namefind
- TokenNameFinderTrainerTool() - Constructor for class opennlp.tools.cmdline.namefind.TokenNameFinderTrainerTool
- TokenPatternFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Partitions tokens into sub-tokens based on character classes and generates class features for each of the sub-tokens and combinations of those sub-tokens.
- TokenPatternFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.TokenPatternFeatureGenerator
-
Initializes a new instance.
- TokenPatternFeatureGenerator(Tokenizer) - Constructor for class opennlp.tools.util.featuregen.TokenPatternFeatureGenerator
-
Initializes a new instance.
- TokenPatternFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
- TokenPatternFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.TokenPatternFeatureGeneratorFactory
- tokens() - Method in interface opennlp.tools.util.wordvector.WordVectorTable
- TokenSample - Class in opennlp.tools.tokenize
-
A
TokenSample
is text with token spans. - TokenSample(String, Span[]) - Constructor for class opennlp.tools.tokenize.TokenSample
-
Initializes the current instance.
- TokenSample(Detokenizer, String[]) - Constructor for class opennlp.tools.tokenize.TokenSample
- TokenSampleStream - Class in opennlp.tools.tokenize.lang.en
-
Class which produces an Iterator<TokenSample> from a file of space delimited token.
- TokenSampleStream - Class in opennlp.tools.tokenize
-
This class is a stream filter which reads in string encoded samples and creates
TokenSample
s out of them. - TokenSampleStream(InputStream) - Constructor for class opennlp.tools.tokenize.lang.en.TokenSampleStream
- TokenSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.tokenize.TokenSampleStream
- TokenSampleStream(ObjectStream<String>, String) - Constructor for class opennlp.tools.tokenize.TokenSampleStream
- TokenSampleStreamFactory - Class in opennlp.tools.formats
-
Factory producing OpenNLP
TokenSampleStream
s. - TokenTag - Class in opennlp.tools.util
- TokenTag(String, String, String[]) - Constructor for class opennlp.tools.util.TokenTag
- TokSpanEventStream - Class in opennlp.tools.tokenize
-
This class reads the
TokenSample
s from the givenIterator
and converts theTokenSample
s intoEvent
s which can be used by the maxent library for training. - TokSpanEventStream(ObjectStream<TokenSample>, boolean) - Constructor for class opennlp.tools.tokenize.TokSpanEventStream
-
Initializes the current instance.
- TokSpanEventStream(ObjectStream<TokenSample>, boolean, Pattern, TokenContextGenerator) - Constructor for class opennlp.tools.tokenize.TokSpanEventStream
-
Initializes the current instance.
- TokSpanEventStream(ObjectStream<TokenSample>, boolean, TokenContextGenerator) - Constructor for class opennlp.tools.tokenize.TokSpanEventStream
-
Initializes the current instance.
- TOLERANCE_DEFAULT - Static variable in class opennlp.tools.ml.perceptron.PerceptronTrainer
- toLine(Event) - Static method in class opennlp.tools.ml.model.FileEventStream
-
Generates a string representing the specified event.
- toLowerCase(CharSequence) - Static method in class opennlp.tools.util.StringUtil
-
Converts to lower case independent of the current locale via
Character.toLowerCase(int)
which uses mapping information from the UnicodeData file. - TOP_NODE - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
The label for the top node.
- topKLemmaClasses(String[], String[]) - Method in class opennlp.tools.lemmatizer.LemmatizerME
- topKLemmaClasses(String[], String[], double) - Method in class opennlp.tools.lemmatizer.LemmatizerME
- topKSequences(String[]) - Method in interface opennlp.tools.postag.POSTagger
- topKSequences(String[]) - Method in class opennlp.tools.postag.POSTaggerME
- topKSequences(String[], Object[]) - Method in interface opennlp.tools.postag.POSTagger
- topKSequences(String[], Object[]) - Method in class opennlp.tools.postag.POSTaggerME
- topKSequences(String[], String[]) - Method in interface opennlp.tools.chunker.Chunker
-
Returns the top k chunk sequences for the specified sentence with the specified pos-tags
- topKSequences(String[], String[]) - Method in class opennlp.tools.chunker.ChunkerME
- topKSequences(String[], String[]) - Method in class opennlp.tools.lemmatizer.LemmatizerME
- topKSequences(String[], String[], double) - Method in interface opennlp.tools.chunker.Chunker
-
Returns the top k chunk sequences for the specified sentence with the specified pos-tags
- topKSequences(String[], String[], double) - Method in class opennlp.tools.chunker.ChunkerME
- topKSequences(String[], String[], double) - Method in class opennlp.tools.lemmatizer.LemmatizerME
- toSpan() - Method in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument.Pointer
- toString() - Method in class opennlp.tools.chunker.ChunkSample
- toString() - Method in class opennlp.tools.dictionary.Dictionary
- toString() - Method in class opennlp.tools.doccat.DocumentCategorizerEvaluator
-
Represents this objects as human readable
String
. - toString() - Method in class opennlp.tools.doccat.DocumentSample
- toString() - Method in class opennlp.tools.entitylinker.BaseLink
- toString() - Method in class opennlp.tools.entitylinker.LinkedSpan
- toString() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Leaf
- toString() - Method in class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Node
- toString() - Method in class opennlp.tools.formats.brat.AttributeAnnotation
- toString() - Method in class opennlp.tools.formats.brat.BratAnnotation
- toString() - Method in class opennlp.tools.formats.brat.RelationAnnotation
- toString() - Method in class opennlp.tools.formats.brat.SpanAnnotation
- toString() - Method in class opennlp.tools.formats.nkjp.NKJPSegmentationDocument.Pointer
- toString() - Method in class opennlp.tools.langdetect.Language
- toString() - Method in class opennlp.tools.langdetect.LanguageDetectorEvaluator
-
Represents this objects as human readable
String
. - toString() - Method in class opennlp.tools.langdetect.LanguageSample
- toString() - Method in class opennlp.tools.lemmatizer.LemmaSample
- toString() - Method in class opennlp.tools.lemmatizer.LemmatizerEvaluator
-
Represents this objects as human readable
String
. - toString() - Method in class opennlp.tools.ml.model.ComparableEvent
- toString() - Method in class opennlp.tools.ml.model.ComparablePredicate
- toString() - Method in class opennlp.tools.ml.model.Event
- toString() - Method in class opennlp.tools.ml.naivebayes.LogProbability
- toString() - Method in class opennlp.tools.ml.naivebayes.Probabilities
- toString() - Method in class opennlp.tools.ml.naivebayes.Probability
- toString() - Method in class opennlp.tools.namefind.NameSample
- toString() - Method in class opennlp.tools.ngram.NGramCharModel
- toString() - Method in class opennlp.tools.ngram.NGramModel
- toString() - Method in class opennlp.tools.parser.Parse
-
Represents this parse in a human readable way.
- toString() - Method in class opennlp.tools.postag.POSDictionary
- toString() - Method in class opennlp.tools.postag.POSEvaluator
-
Represents this objects as human readable
String
. - toString() - Method in class opennlp.tools.postag.POSSample
- toString() - Method in class opennlp.tools.sentdetect.SentenceSample
- toString() - Method in class opennlp.tools.stemmer.PorterStemmer
-
After a word has been stemmed, it can be retrieved by toString(), or a reference to the internal buffer can be retrieved by getResultBuffer and getResultLength (which is generally more efficient.)
- toString() - Method in class opennlp.tools.tokenize.TokenSample
- toString() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner
- toString() - Method in class opennlp.tools.util.eval.FMeasure
-
Creates a human read-able
String
representation. - toString() - Method in class opennlp.tools.util.eval.Mean
- toString() - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
- toString() - Method in class opennlp.tools.util.featuregen.WindowFeatureGenerator
- toString() - Method in class opennlp.tools.util.Sequence
- toString() - Method in class opennlp.tools.util.Span
-
Generates a human readable string.
- toString() - Method in class opennlp.tools.util.StringList
- toString() - Method in class opennlp.tools.util.TokenTag
- toString() - Method in class opennlp.tools.util.Version
-
Retrieves the version string.
- toUpperCase(CharSequence) - Static method in class opennlp.tools.util.StringUtil
-
Converts to upper case independent of the current locale via
Character.toUpperCase(char)
which uses mapping information from the UnicodeData file. - train(String, String, ObjectStream<NameSample>, TrainingParameters, TokenNameFinderFactory) - Static method in class opennlp.tools.namefind.NameFinderME
- train(String, ObjectStream<ChunkSample>, TrainingParameters, ChunkerFactory) - Static method in class opennlp.tools.chunker.ChunkerME
- train(String, ObjectStream<DocumentSample>, TrainingParameters, DoccatFactory) - Static method in class opennlp.tools.doccat.DocumentCategorizerME
- train(String, ObjectStream<LemmaSample>, TrainingParameters, LemmatizerFactory) - Static method in class opennlp.tools.lemmatizer.LemmatizerME
- train(String, ObjectStream<Parse>, HeadRules, int, int) - Static method in class opennlp.tools.parser.treeinsert.Parser
- train(String, ObjectStream<Parse>, HeadRules, TrainingParameters) - Static method in class opennlp.tools.parser.chunking.Parser
- train(String, ObjectStream<Parse>, HeadRules, TrainingParameters) - Static method in class opennlp.tools.parser.treeinsert.Parser
- train(String, ObjectStream<POSSample>, TrainingParameters, POSTaggerFactory) - Static method in class opennlp.tools.postag.POSTaggerME
- train(String, ObjectStream<SentenceSample>, boolean, Dictionary) - Static method in class opennlp.tools.sentdetect.SentenceDetectorME
-
Deprecated.
- train(String, ObjectStream<SentenceSample>, boolean, Dictionary, TrainingParameters) - Static method in class opennlp.tools.sentdetect.SentenceDetectorME
-
Deprecated.
- train(String, ObjectStream<SentenceSample>, SentenceDetectorFactory, TrainingParameters) - Static method in class opennlp.tools.sentdetect.SentenceDetectorME
- train(DataIndexer) - Method in class opennlp.tools.ml.AbstractEventTrainer
- train(DataIndexer) - Method in interface opennlp.tools.ml.EventTrainer
- train(SequenceStream) - Method in class opennlp.tools.ml.AbstractEventModelSequenceTrainer
- train(SequenceStream) - Method in class opennlp.tools.ml.AbstractSequenceTrainer
- train(SequenceStream) - Method in interface opennlp.tools.ml.EventModelSequenceTrainer
- train(SequenceStream) - Method in interface opennlp.tools.ml.SequenceTrainer
- train(ObjectStream<LanguageSample>, TrainingParameters, LanguageDetectorFactory) - Static method in class opennlp.tools.langdetect.LanguageDetectorME
- train(ObjectStream<Event>) - Method in class opennlp.tools.ml.AbstractEventTrainer
- train(ObjectStream<Event>) - Method in interface opennlp.tools.ml.EventTrainer
- train(ObjectStream<TokenSample>, TokenizerFactory, TrainingParameters) - Static method in class opennlp.tools.tokenize.TokenizerME
-
Trains a model for the
TokenizerME
. - TRAINER_TYPE_PARAM - Static variable in class opennlp.tools.ml.AbstractTrainer
- TRAINER_TYPE_PARAM - Static variable in class opennlp.tools.util.TrainingParameters
- TrainerFactory - Class in opennlp.tools.ml
- TrainerFactory() - Constructor for class opennlp.tools.ml.TrainerFactory
- TrainerFactory.TrainerType - Enum in opennlp.tools.ml
- TRAINING_CUTOFF_PROPERTY - Static variable in class opennlp.tools.util.model.BaseModel
- TRAINING_EVENTHASH_PROPERTY - Static variable in class opennlp.tools.util.model.BaseModel
- TRAINING_ITERATIONS_PROPERTY - Static variable in class opennlp.tools.util.model.BaseModel
- TrainingParameters - Class in opennlp.tools.util
- TrainingParameters() - Constructor for class opennlp.tools.util.TrainingParameters
- TrainingParameters(InputStream) - Constructor for class opennlp.tools.util.TrainingParameters
- TrainingParameters(Map<String, String>) - Constructor for class opennlp.tools.util.TrainingParameters
-
Deprecated.
- TrainingParameters(TrainingParameters) - Constructor for class opennlp.tools.util.TrainingParameters
- TrainingToolParams - Interface in opennlp.tools.cmdline.params
-
Common training parameters.
- trainModel(int, DataIndexer) - Method in class opennlp.tools.ml.maxent.GISTrainer
-
Train a model using the GIS algorithm.
- trainModel(int, DataIndexer) - Method in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- trainModel(int, DataIndexer, int) - Method in class opennlp.tools.ml.maxent.GISTrainer
-
Train a model using the GIS algorithm.
- trainModel(int, DataIndexer, int) - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
- trainModel(int, DataIndexer, int, boolean) - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
- trainModel(int, DataIndexer, Prior, int) - Method in class opennlp.tools.ml.maxent.GISTrainer
-
Train a model using the GIS algorithm.
- trainModel(int, SequenceStream, int, boolean) - Method in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
- trainModel(DataIndexer) - Method in class opennlp.tools.ml.naivebayes.NaiveBayesTrainer
- trainModel(ObjectStream<Event>) - Method in class opennlp.tools.ml.maxent.GISTrainer
-
Train a model using the GIS algorithm, assuming 100 iterations and no cutoff.
- trainModel(ObjectStream<Event>, int, int) - Method in class opennlp.tools.ml.maxent.GISTrainer
-
Trains a GIS model on the event in the specified event stream, using the specified number of iterations and the specified count cutoff.
- TreeElement() - Constructor for class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
- TREEINSERT - opennlp.tools.parser.ParserType
- TrigramNameFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Adds trigram features based on tokens and token classes.
- TrigramNameFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.TrigramNameFeatureGenerator
- TrigramNameFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
- TrigramNameFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.TrigramNameFeatureGeneratorFactory
- trim(CharSequence) - Method in class opennlp.tools.util.Span
-
Return a copy of this span with leading and trailing white spaces removed.
- TURKISH - opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
- TwentyNewsgroupSampleStream - Class in opennlp.tools.formats
- TwentyNewsgroupSampleStreamFactory - Class in opennlp.tools.formats
- TwitterCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
Normalizer for Twitter character sequences
- TwitterCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.TwitterCharSequenceNormalizer
- TwoPassDataIndexer - Class in opennlp.tools.ml.model
-
Collecting event and context counts by making two passes over the events.
- TwoPassDataIndexer() - Constructor for class opennlp.tools.ml.model.TwoPassDataIndexer
U
- U - opennlp.tools.formats.conllu.ConlluTagset
- UncloseableInputStream - Class in opennlp.tools.util.model
-
An
InputStream
which cannot be closed. - UncloseableInputStream(InputStream) - Constructor for class opennlp.tools.util.model.UncloseableInputStream
- UniformPrior - Class in opennlp.tools.ml.model
-
Provide a maximum entropy model with a uniform prior.
- UniformPrior() - Constructor for class opennlp.tools.ml.model.UniformPrior
- UNIT - Static variable in class opennlp.tools.namefind.BilouCodec
- updateAdaptiveData(String[], String[]) - Method in class opennlp.tools.namefind.DefaultNameContextGenerator
- updateAdaptiveData(String[], String[]) - Method in interface opennlp.tools.namefind.NameContextGenerator
-
Informs all the feature generators for a name finder that the specified tokens have been classified with the coorisponds set of specified outcomes.
- updateAdaptiveData(String[], String[]) - Method in interface opennlp.tools.util.featuregen.AdaptiveFeatureGenerator
-
Informs the feature generator that the specified tokens have been classified with the corresponding set of specified outcomes.
- updateAdaptiveData(String[], String[]) - Method in class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
-
Calls the
AdaptiveFeatureGenerator.updateAdaptiveData(String[], String[])
method on all aggregatedAdaptiveFeatureGenerator
s. - updateAdaptiveData(String[], String[]) - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
- updateAdaptiveData(String[], String[]) - Method in class opennlp.tools.util.featuregen.PreviousMapFeatureGenerator
-
Generates previous decision features for the token based on contents of the previous map.
- updateAdaptiveData(String[], String[]) - Method in class opennlp.tools.util.featuregen.PreviousTwoMapFeatureGenerator
- updateAdaptiveData(String[], String[]) - Method in class opennlp.tools.util.featuregen.WindowFeatureGenerator
- updateBuildModel(MaxentModel) - Method in class opennlp.tools.parser.ParserModel
- updateCheckModel(MaxentModel) - Method in class opennlp.tools.parser.ParserModel
- updateChunkerModel(ChunkerModel) - Method in class opennlp.tools.parser.ParserModel
- updateContext(Sequence, AbstractModel) - Method in class opennlp.tools.chunker.ChunkSampleSequenceStream
- updateContext(Sequence, AbstractModel) - Method in class opennlp.tools.lemmatizer.LemmaSampleSequenceStream
- updateContext(Sequence, AbstractModel) - Method in interface opennlp.tools.ml.model.SequenceStream
-
Creates a new event array based on the outcomes predicted by the specified parameters for the specified sequence.
- updateContext(Sequence, AbstractModel) - Method in class opennlp.tools.namefind.NameSampleSequenceStream
- updateContext(Sequence, AbstractModel) - Method in class opennlp.tools.postag.POSSampleSequenceStream
- updateHeads(HeadRules) - Method in class opennlp.tools.parser.Parse
-
Computes the head parses for this parse and its sub-parses and stores this information in the parse data structure.
- updateParameter(int, double) - Method in class opennlp.tools.ml.model.MutableContext
-
Updated the parameter or expected value at the specified outcomeIndex by adding the specified value to its current value.
- updateScores(Object[], Object[]) - Method in class opennlp.tools.util.eval.FMeasure
-
Updates the score based on the number of true positives and the number of predictions and references.
- updateSpan() - Method in class opennlp.tools.parser.Parse
- updateTaggerModel(POSModel) - Method in class opennlp.tools.parser.ParserModel
- URL - opennlp.tools.namefind.RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER
- UrlCharSequenceNormalizer - Class in opennlp.tools.util.normalizer
-
Normalizer that removes URls and email addresses.
- UrlCharSequenceNormalizer() - Constructor for class opennlp.tools.util.normalizer.UrlCharSequenceNormalizer
- USA_PHONE_NUM - opennlp.tools.namefind.RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER
- useAlphaNumericOptimization() - Method in class opennlp.tools.tokenize.TokenizerME
-
Returns the value of the alpha-numeric optimization flag.
- useAlphaNumericOptimization() - Method in class opennlp.tools.tokenize.TokenizerModel
- useFunctionTags(boolean) - Static method in class opennlp.tools.parser.Parse
-
Specifies whether function tags should be included as part of the constituent type.
- useTokenEnd() - Method in class opennlp.tools.sentdetect.SentenceModel
V
- validate() - Method in class opennlp.tools.ml.AbstractEventTrainer
- validate() - Method in class opennlp.tools.ml.AbstractTrainer
-
Check parameters.
- validate() - Method in class opennlp.tools.ml.maxent.quasinewton.QNTrainer
- validate() - Method in class opennlp.tools.ml.perceptron.PerceptronTrainer
- validate() - Method in class opennlp.tools.ml.perceptron.SimplePerceptronSequenceTrainer
- validateArtifactMap() - Method in class opennlp.tools.chunker.ChunkerFactory
- validateArtifactMap() - Method in class opennlp.tools.doccat.DoccatFactory
- validateArtifactMap() - Method in class opennlp.tools.langdetect.LanguageDetectorFactory
- validateArtifactMap() - Method in class opennlp.tools.lemmatizer.LemmatizerFactory
- validateArtifactMap() - Method in class opennlp.tools.namefind.TokenNameFinderFactory
- validateArtifactMap() - Method in class opennlp.tools.postag.POSTaggerFactory
- validateArtifactMap() - Method in class opennlp.tools.sentdetect.SentenceDetectorFactory
- validateArtifactMap() - Method in class opennlp.tools.tokenize.TokenizerFactory
- validateArtifactMap() - Method in class opennlp.tools.util.BaseToolFactory
-
Validates the parsed artifacts.
- validateOutcomes(MaxentModel, String...) - Static method in class opennlp.tools.util.model.ModelUtil
-
Checks if the expected outcomes are all contained as outcomes in the given model.
- validSequence(int, String[], String[], String) - Method in class opennlp.tools.lemmatizer.DefaultLemmatizerSequenceValidator
- validSequence(int, String[], String[], String) - Method in class opennlp.tools.namefind.BilouNameFinderSequenceValidator
- validSequence(int, String[], String[], String) - Method in class opennlp.tools.namefind.NameFinderSequenceValidator
- validSequence(int, String[], String[], String) - Method in class opennlp.tools.parser.ParserChunkerSequenceValidator
- validSequence(int, String[], String[], String) - Method in class opennlp.tools.postag.DefaultPOSSequenceValidator
- validSequence(int, TokenTag[], String[], String) - Method in class opennlp.tools.chunker.DefaultChunkerSequenceValidator
- validSequence(int, TokenTag[], String[], String) - Method in class opennlp.tools.parser.ParserChunkerSequenceValidator
- validSequence(int, T[], String[], String) - Method in interface opennlp.tools.util.SequenceValidator
-
Determines whether a particular continuation of a sequence is valid.
- valueAt(double[]) - Method in interface opennlp.tools.ml.maxent.quasinewton.Function
- valueAt(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.NegLogLikelihood
-
Negative log-likelihood
- valueAt(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.ParallelNegLogLikelihood
-
Negative log-likelihood
- valueAt(double[]) - Method in class opennlp.tools.ml.maxent.quasinewton.QNMinimizer.L2RegFunction
- valueOf(String) - Static method in enum opennlp.tools.formats.Conll02NameSampleStream.LANGUAGE
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum opennlp.tools.formats.Conll03NameSampleStream.LANGUAGE
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum opennlp.tools.formats.conllu.ConlluTagset
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum opennlp.tools.formats.EvalitaNameSampleStream.LANGUAGE
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum opennlp.tools.ml.model.AbstractModel.ModelType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum opennlp.tools.ml.TrainerFactory.TrainerType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum opennlp.tools.namefind.RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum opennlp.tools.parser.ParserEventTypeEnum
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum opennlp.tools.parser.ParserType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum opennlp.tools.tokenize.DetokenizationDictionary.Operation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum opennlp.tools.tokenize.Detokenizer.DetokenizationOperation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum opennlp.tools.util.DownloadUtil.ModelType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum opennlp.tools.util.model.ModelType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum opennlp.tools.util.wordvector.WordVectorType
-
Returns the enum constant of this type with the specified name.
- values - Variable in class opennlp.tools.ml.model.ComparableEvent
- values() - Static method in enum opennlp.tools.formats.Conll02NameSampleStream.LANGUAGE
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum opennlp.tools.formats.Conll03NameSampleStream.LANGUAGE
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum opennlp.tools.formats.conllu.ConlluTagset
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum opennlp.tools.formats.EvalitaNameSampleStream.LANGUAGE
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum opennlp.tools.ml.model.AbstractModel.ModelType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum opennlp.tools.ml.TrainerFactory.TrainerType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum opennlp.tools.namefind.RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum opennlp.tools.parser.ParserEventTypeEnum
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum opennlp.tools.parser.ParserType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum opennlp.tools.stemmer.snowball.SnowballStemmer.ALGORITHM
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum opennlp.tools.tokenize.DetokenizationDictionary.Operation
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum opennlp.tools.tokenize.Detokenizer.DetokenizationOperation
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum opennlp.tools.util.DownloadUtil.ModelType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum opennlp.tools.util.model.ModelType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum opennlp.tools.util.wordvector.WordVectorType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VERBOSE_DEFAULT - Static variable in class opennlp.tools.ml.AbstractTrainer
- VERBOSE_PARAM - Static variable in class opennlp.tools.ml.AbstractTrainer
- Version - Class in opennlp.tools.util
-
The
Version
class represents the OpenNlp Tools library version. - Version(int, int, int) - Constructor for class opennlp.tools.util.Version
-
Initializes the current instance with the provided versions.
- Version(int, int, int, boolean) - Constructor for class opennlp.tools.util.Version
-
Initializes the current instance with the provided versions.
W
- WhitespaceTokenizer - Class in opennlp.tools.tokenize
-
This tokenizer uses white spaces to tokenize the input text.
- WhitespaceTokenStream - Class in opennlp.tools.tokenize
-
This stream formats a
TokenSample
s into whitespace separated token strings. - WhitespaceTokenStream(ObjectStream<TokenSample>) - Constructor for class opennlp.tools.tokenize.WhitespaceTokenStream
- WindowFeatureGenerator - Class in opennlp.tools.util.featuregen
-
Generates previous and next features for a given
AdaptiveFeatureGenerator
. - WindowFeatureGenerator(int, int, AdaptiveFeatureGenerator...) - Constructor for class opennlp.tools.util.featuregen.WindowFeatureGenerator
-
Initializes the current instance with the given parameters.
- WindowFeatureGenerator(AdaptiveFeatureGenerator) - Constructor for class opennlp.tools.util.featuregen.WindowFeatureGenerator
-
Initializes the current instance.
- WindowFeatureGenerator(AdaptiveFeatureGenerator...) - Constructor for class opennlp.tools.util.featuregen.WindowFeatureGenerator
-
Initializes the current instance with the given parameters.
- WindowFeatureGenerator(AdaptiveFeatureGenerator, int, int) - Constructor for class opennlp.tools.util.featuregen.WindowFeatureGenerator
-
Initializes the current instance with the given parameters.
- WindowFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
- WindowFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.WindowFeatureGeneratorFactory
- WordClusterDictionary - Class in opennlp.tools.util.featuregen
- WordClusterDictionary(InputStream) - Constructor for class opennlp.tools.util.featuregen.WordClusterDictionary
-
Read word2vec and clark clustering style lexicons.
- WordClusterDictionary.WordClusterDictionarySerializer - Class in opennlp.tools.util.featuregen
- WordClusterDictionarySerializer() - Constructor for class opennlp.tools.util.featuregen.WordClusterDictionary.WordClusterDictionarySerializer
- WordClusterFeatureGenerator - Class in opennlp.tools.util.featuregen
- WordClusterFeatureGenerator(WordClusterDictionary, String, boolean) - Constructor for class opennlp.tools.util.featuregen.WordClusterFeatureGenerator
- WordClusterFeatureGeneratorFactory - Class in opennlp.tools.util.featuregen
-
Defines a word cluster generator factory; it reads an element containing 'w2vwordcluster' as a tag name; these clusters are typically produced by word2vec or clark pos induction systems.
- WordClusterFeatureGeneratorFactory() - Constructor for class opennlp.tools.util.featuregen.WordClusterFeatureGeneratorFactory
- WordpieceTokenizer - Class in opennlp.tools.tokenize
-
A WordPiece tokenizer.
- WordpieceTokenizer(Set<String>) - Constructor for class opennlp.tools.tokenize.WordpieceTokenizer
- WordpieceTokenizer(Set<String>, int) - Constructor for class opennlp.tools.tokenize.WordpieceTokenizer
- WordTagSampleStream - Class in opennlp.tools.postag
-
A stream filter which reads a sentence per line which contains words and tags in word_tag format and outputs a
POSSample
objects. - WordTagSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.postag.WordTagSampleStream
-
Initializes the current instance.
- WordTagSampleStreamFactory - Class in opennlp.tools.formats
-
Note: Do not use this class, internal use only!
- WordTagSampleStreamFactory.Parameters - Interface in opennlp.tools.formats
- WordVector - Interface in opennlp.tools.util.wordvector
-
A word vector.
- WordVectorTable - Interface in opennlp.tools.util.wordvector
-
A table that maps tokens to word vectors.
- WordVectorType - Enum in opennlp.tools.util.wordvector
- writeDouble(double) - Method in class opennlp.tools.ml.maxent.io.BinaryGISModelWriter
- writeDouble(double) - Method in class opennlp.tools.ml.maxent.io.BinaryQNModelWriter
- writeDouble(double) - Method in class opennlp.tools.ml.model.AbstractModelWriter
- writeDouble(double) - Method in class opennlp.tools.ml.model.GenericModelWriter
- writeDouble(double) - Method in class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelWriter
- writeDouble(double) - Method in class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelWriter
- writeDouble(double) - Method in class opennlp.tools.ml.perceptron.BinaryPerceptronModelWriter
- writeInt(int) - Method in class opennlp.tools.ml.maxent.io.BinaryGISModelWriter
- writeInt(int) - Method in class opennlp.tools.ml.maxent.io.BinaryQNModelWriter
- writeInt(int) - Method in class opennlp.tools.ml.model.AbstractModelWriter
- writeInt(int) - Method in class opennlp.tools.ml.model.GenericModelWriter
- writeInt(int) - Method in class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelWriter
- writeInt(int) - Method in class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelWriter
- writeInt(int) - Method in class opennlp.tools.ml.perceptron.BinaryPerceptronModelWriter
- writeModel(MaxentModel, OutputStream) - Static method in class opennlp.tools.util.model.ModelUtil
-
Writes the given model to the given
OutputStream
. - writeReport() - Method in class opennlp.tools.cmdline.doccat.DoccatFineGrainedReportListener
- writeReport() - Method in class opennlp.tools.cmdline.langdetect.LanguageDetectorFineGrainedReportListener
- writeReport() - Method in class opennlp.tools.cmdline.lemmatizer.LemmatizerFineGrainedReportListener
- writeReport() - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderFineGrainedReportListener
- writeReport() - Method in class opennlp.tools.cmdline.postag.POSTaggerFineGrainedReportListener
- writeUTF(String) - Method in class opennlp.tools.ml.maxent.io.BinaryGISModelWriter
- writeUTF(String) - Method in class opennlp.tools.ml.maxent.io.BinaryQNModelWriter
- writeUTF(String) - Method in class opennlp.tools.ml.model.AbstractModelWriter
- writeUTF(String) - Method in class opennlp.tools.ml.model.GenericModelWriter
- writeUTF(String) - Method in class opennlp.tools.ml.naivebayes.BinaryNaiveBayesModelWriter
- writeUTF(String) - Method in class opennlp.tools.ml.naivebayes.PlainTextNaiveBayesModelWriter
- writeUTF(String) - Method in class opennlp.tools.ml.perceptron.BinaryPerceptronModelWriter
X
- X - opennlp.tools.formats.conllu.ConlluTagset
- XmlUtil - Class in opennlp.tools.util
- XmlUtil() - Constructor for class opennlp.tools.util.XmlUtil
Z
- ZERO - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
-
The integer 0.
All Classes All Packages