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

A

a - Variable in class opennlp.tools.util.Pair
Deprecated.  
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
 
AbstractConverterTool<T> - Class in opennlp.tools.cmdline
 
AbstractConverterTool() - Constructor for class opennlp.tools.cmdline.AbstractConverterTool
 
AbstractEndOfSentenceScanner - Class in opennlp.tools.sentdetect
Deprecated. use DefaultEndOfSentenceScanner instead
AbstractEndOfSentenceScanner() - Constructor for class opennlp.tools.sentdetect.AbstractEndOfSentenceScanner
Deprecated.  
AbstractEventStream<T> - Class in opennlp.tools.util
This is a base class for EventStream classes.
AbstractEventStream(ObjectStream<T>) - Constructor for class opennlp.tools.util.AbstractEventStream
Initializes the current instance with a sample Iterator.
AbstractLinker - Class in opennlp.tools.coref
Provides a default implementation of many of the methods in Linker that most implementations of Linker will want to extend.
AbstractLinker(String, LinkerMode) - Constructor for class opennlp.tools.coref.AbstractLinker
Creates a new linker using the models in the specified project directory and using the specified mode.
AbstractLinker(String, LinkerMode, boolean) - Constructor for class opennlp.tools.coref.AbstractLinker
Creates a new linker using the models in the specified project directory, using the specified mode, and combining coreferent entities based on the specified value.
AbstractMentionFinder - Class in opennlp.tools.coref.mention
Provides default implementation of many of the methods in the MentionFinder interface.
AbstractMentionFinder() - Constructor for class opennlp.tools.coref.mention.AbstractMentionFinder
 
AbstractParse - Class in opennlp.tools.coref.mention
Provides default implemenation of many of the methods in the Parse interface.
AbstractParse() - Constructor for class opennlp.tools.coref.mention.AbstractParse
 
AbstractParserEventStream - Class in opennlp.tools.parser
Abstract class extended by parser event streams which perform tagging and chunking.
AbstractParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum, Dictionary) - Constructor for class opennlp.tools.parser.AbstractParserEventStream
 
AbstractParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum) - Constructor for class opennlp.tools.parser.AbstractParserEventStream
 
AbstractResolver - Class in opennlp.tools.coref.resolver
Default implementation of some methods in the Resolver interface.
AbstractResolver(int) - Constructor for class opennlp.tools.coref.resolver.AbstractResolver
 
AbstractToSentenceSampleStream<T> - Class in opennlp.tools.formats
 
AdaptiveFeatureGenerator - Interface in opennlp.tools.util.featuregen
An interface for generating features for name entity identification and for updating document level contexts.
add(StringList) - Method in class opennlp.tools.ngram.NGramModel
Adds one NGram, if it already exists the count increase by one.
add(StringList, int, int) - Method in class opennlp.tools.ngram.NGramModel
Adds NGrams up to the specified length to the current instance.
add(String, int, int) - Method in class opennlp.tools.ngram.NGramModel
Adds character NGrams to the current instance.
add(Parse, HeadRules) - Method in class opennlp.tools.parser.Parse
 
add(E) - Method in class opennlp.tools.util.CountedSet
 
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(E) - Method in interface opennlp.tools.util.Heap
Adds the specified object to the heap.
add(E) - Method in class opennlp.tools.util.ListHeap
 
add(String, double) - Method in class opennlp.tools.util.Sequence
Adds an outcome and probability to this sequence.
add(E) - Method in class opennlp.tools.util.TreeHeap
Deprecated.  
addAll(Collection<? extends E>) - Method in class opennlp.tools.util.CountedSet
 
addCutoffAndIterations(Map<String, String>, int, int) - Static method in class opennlp.tools.util.model.ModelUtil
 
addEntity(DiscourseEntity) - Method in class opennlp.tools.coref.DiscourseModel
Adds the specified entity to this discourse model.
addEntry(String, String) - Method in class opennlp.tools.postag.POSDictionaryWriter
Deprecated.  
addEvent(MentionContext) - Method in class opennlp.tools.coref.resolver.DefaultNonReferentialResolver
 
addEvent(MentionContext) - Method in class opennlp.tools.coref.resolver.FixedNonReferentialResolver
 
addEvent(MentionContext) - Method in interface opennlp.tools.coref.resolver.NonReferentialResolver
Designates that the specified mention be used for training.
addEvent(String[], String[], int) - Method in class opennlp.tools.postag.POSEventGenerator
Deprecated. Adds an event for the tag in the tags array and token in the token array at teh specified index.
addEvents(String[], String[]) - Method in class opennlp.tools.postag.POSEventGenerator
Deprecated. Adds events for each tag/token of the specified arrays.
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.
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
 
addMention(MentionContext) - Method in class opennlp.tools.coref.DiscourseElement
Adds the specified mention to this discourse element.
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.
addParseEvents(List<Event>, Parse[]) - Method in class opennlp.tools.parser.AbstractParserEventStream
Produces all events for the specified sentence chunks and adds them to the specified list.
addParseEvents(List<Event>, Parse[]) - Method in class opennlp.tools.parser.chunking.ParserEventStream
Adds events for parsing (post tagging and chunking to the specified list of events for the specified parse chunks.
addParseEvents(List<Event>, Parse[]) - Method in class opennlp.tools.parser.treeinsert.ParserEventStream
 
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
 
advanceChunks(Parse, double) - Method in class opennlp.tools.parser.AbstractBottomUpParser
Returns the top chunk sequences for the specified parse.
advanceChunks(Parse, double) - Method in class opennlp.tools.parser.treeinsert.Parser
 
advanceParses(Parse, double) - Method in class opennlp.tools.parser.AbstractBottomUpParser
Advances the specified parse and returns the an array advanced parses whose probability accounts for more than the specified amount of probability mass.
advanceParses(Parse, double) - Method in class opennlp.tools.parser.chunking.Parser
 
advanceParses(Parse, double) - Method in class opennlp.tools.parser.treeinsert.Parser
 
advanceTags(Parse) - Method in class opennlp.tools.parser.AbstractBottomUpParser
Advances the parse by assigning it POS tags and returns multiple tag sequences.
advanceTop(Parse) - Method in class opennlp.tools.parser.AbstractBottomUpParser
Adds the "TOP" node to the specified parse.
advanceTop(Parse) - Method in class opennlp.tools.parser.chunking.Parser
 
advanceTop(Parse) - Method in class opennlp.tools.parser.treeinsert.Parser
 
AggregatedFeatureGenerator - Class in opennlp.tools.util.featuregen
The AggregatedFeatureGenerator aggregates a set of AdaptiveFeatureGenerators and calls them to generate the features.
AggregatedFeatureGenerator(AdaptiveFeatureGenerator...) - Constructor for class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
Initializes the current instance.
AggregatedFeatureGenerator(Collection<AdaptiveFeatureGenerator>) - Constructor for class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
 
alphaNumeric - Static variable in class opennlp.tools.tokenize.TokenizerME
Alpha-Numeric Pattern
ArgumentParser - Class in opennlp.tools.cmdline
Parser for command line arguments.
ArgumentParser.OptionalParameter - Annotation Type in opennlp.tools.cmdline
 
ArgumentParser.ParameterDescription - Annotation Type in opennlp.tools.cmdline
 
artifactMap - Variable in class opennlp.tools.util.model.BaseModel
 
ArtifactSerializer<T> - Interface in opennlp.tools.util.model
Responsible to create an artifact from an InputStream.
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
 
attachContextGenerator - Variable in class opennlp.tools.parser.treeinsert.ParserEventStream
 
Attributes - Class in opennlp.tools.dictionary.serializer
The Attributes class stores name value pairs.
Attributes() - Constructor for class opennlp.tools.dictionary.serializer.Attributes
 

B

b - Variable in class opennlp.tools.util.Pair
Deprecated.  
BagOfWordsFeatureGenerator - Class in opennlp.tools.doccat
Generates a feature for each word in a document.
BagOfWordsFeatureGenerator() - Constructor for class opennlp.tools.doccat.BagOfWordsFeatureGenerator
 
BaseModel - Class in opennlp.tools.util.model
This model is a common based which can be used by the components model classes.
BaseModel(String, String, Map<String, String>) - Constructor for class opennlp.tools.util.model.BaseModel
Initializes the current instance.
BaseModel(String, InputStream) - Constructor for class opennlp.tools.util.model.BaseModel
Initializes the current instance.
BasicTrainingParameters - Class in opennlp.tools.cmdline
Parses common training parameters.
BasicTrainingParameters(String[]) - Constructor for class opennlp.tools.cmdline.BasicTrainingParameters
 
bcg - Variable in class opennlp.tools.parser.chunking.ParserEventStream
 
beam - Variable in class opennlp.tools.chunker.ChunkerME
The beam used to search for sequences of chunk tag assignments.
beam - Variable in class opennlp.tools.postag.POSTaggerME
The search object used for search multiple sequences of tags.
BeamSearch<T> - Class in opennlp.tools.util
Performs k-best search over sequence.
BeamSearch(int, BeamSearchContextGenerator<T>, MaxentModel) - Constructor for class opennlp.tools.util.BeamSearch
Creates new search object.
BeamSearch(int, BeamSearchContextGenerator<T>, MaxentModel, int) - Constructor for class opennlp.tools.util.BeamSearch
 
BeamSearch(int, BeamSearchContextGenerator<T>, MaxentModel, SequenceValidator<T>, int) - Constructor for class opennlp.tools.util.BeamSearch
 
BeamSearchContextGenerator<T> - Interface in opennlp.tools.util
Interface for context generators used with a sequence beam search.
bestSequence(T[], Object[]) - Method in class opennlp.tools.util.BeamSearch
Returns the best sequence of outcomes based on model for this object.
bestSequences(int, T[], Object[]) - Method in class opennlp.tools.util.BeamSearch
 
bestSequences(int, T[], Object[], double) - Method in class opennlp.tools.util.BeamSearch
Returns the best sequence of outcomes based on model for this object.
BRACKET_LCB - Static variable in class opennlp.tools.parser.Parse
 
BRACKET_LRB - 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
 
buf - Variable in class opennlp.tools.sentdetect.DefaultSDContextGenerator
String buffer for generating features.
BuildContextGenerator - Class in opennlp.tools.parser.chunking
Class to generator predictive contexts for deciding how constituents should be combined together.
BuildContextGenerator() - Constructor for class opennlp.tools.parser.chunking.BuildContextGenerator
Creates a new context generator for making decisions about combining constitients togehter.
BuildContextGenerator(Dictionary) - Constructor for class opennlp.tools.parser.chunking.BuildContextGenerator
 
BuildContextGenerator - Class in opennlp.tools.parser.treeinsert
Creates the features or contexts for the building phase of parsing.
BuildContextGenerator() - Constructor for class opennlp.tools.parser.treeinsert.BuildContextGenerator
 
buildContextGenerator - Variable in class opennlp.tools.parser.treeinsert.ParserEventStream
 
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.
BuildModelUpdaterTool - Class in opennlp.tools.cmdline.parser
 
BuildModelUpdaterTool() - Constructor for class opennlp.tools.cmdline.parser.BuildModelUpdaterTool
 
BUILT - Static variable in class opennlp.tools.parser.treeinsert.Parser
Label used to distinguish build nodes from non-built nodes.

C

Cache - Class in opennlp.tools.util
Provides fixed size, pre-allocated, least recently used replacement cache.
Cache(int) - Constructor for class opennlp.tools.util.Cache
Creates a new cache of the specified size.
CachedFeatureGenerator - Class in opennlp.tools.util.featuregen
Caches features of the aggregated AdaptiveFeatureGenerators.
CachedFeatureGenerator(AdaptiveFeatureGenerator...) - Constructor for class opennlp.tools.util.featuregen.CachedFeatureGenerator
 
calculateHashSum() - Method in class opennlp.tools.util.HashSumEventStream
Calculates the hash sum of the stream.
canResolve(MentionContext) - Method in class opennlp.tools.coref.resolver.CommonNounResolver
 
canResolve(MentionContext) - Method in class opennlp.tools.coref.resolver.DefiniteNounResolver
 
canResolve(MentionContext) - Method in class opennlp.tools.coref.resolver.IsAResolver
 
canResolve(MentionContext) - Method in class opennlp.tools.coref.resolver.PerfectResolver
 
canResolve(MentionContext) - Method in class opennlp.tools.coref.resolver.PluralNounResolver
 
canResolve(MentionContext) - Method in class opennlp.tools.coref.resolver.PluralPronounResolver
 
canResolve(MentionContext) - Method in class opennlp.tools.coref.resolver.ProperNounResolver
 
canResolve(MentionContext) - Method in interface opennlp.tools.coref.resolver.Resolver
Returns true if this resolver is able to resolve the referring expression of the same type as the specified mention.
canResolve(MentionContext) - Method in class opennlp.tools.coref.resolver.SingularPronounResolver
 
canResolve(MentionContext) - Method in class opennlp.tools.coref.resolver.SpeechPronounResolver
 
categorize(String[]) - Method in interface opennlp.tools.doccat.DocumentCategorizer
Categorizes the given text.
categorize(String) - Method in interface opennlp.tools.doccat.DocumentCategorizer
 
categorize(String[]) - Method in class opennlp.tools.doccat.DocumentCategorizerME
Categorizes the given text.
categorize(String) - Method in class opennlp.tools.doccat.DocumentCategorizerME
 
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
 
cg - Variable in class opennlp.tools.util.BeamSearch
 
CharacterNgramFeatureGenerator - Class in opennlp.tools.util.featuregen
The CharacterNgramFeatureGenerator uses character ngrams to generate features about each token.
CharacterNgramFeatureGenerator(int, int) - Constructor for class opennlp.tools.util.featuregen.CharacterNgramFeatureGenerator
 
CharacterNgramFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.CharacterNgramFeatureGenerator
Initializes the current instance with min 2 length and max 5 length of ngrams.
checkcons(Parse, String, String, List<String>) - Method in class opennlp.tools.parser.AbstractContextGenerator
Produces features to determine whether the specified child node is part of a complete constituent of the specified type and adds those features to the specfied list.
checkcons(Parse, Parse, String, List<String>) - Method in class opennlp.tools.parser.AbstractContextGenerator
 
CheckContextGenerator - Class in opennlp.tools.parser.chunking
Class for generating predictive context for deciding when a constituent is complete.
CheckContextGenerator() - Constructor for class opennlp.tools.parser.chunking.CheckContextGenerator
Creates a new context generator for generating predictive context for deciding when a constituent is complete.
CheckContextGenerator - Class in opennlp.tools.parser.treeinsert
 
CheckContextGenerator(Set<String>) - Constructor for class opennlp.tools.parser.treeinsert.CheckContextGenerator
 
checkContextGenerator - Variable in class opennlp.tools.parser.treeinsert.ParserEventStream
 
checkForMerges(DiscourseModel, DiscourseEntity[]) - Method in class opennlp.tools.coref.AbstractLinker
 
checkInputFile(String, File) - Static method in class opennlp.tools.cmdline.CmdLineUtil
Check that the given input file is valid.
checkLanguageCode(String) - Static method in class opennlp.tools.cmdline.CmdLineUtil
 
CheckModelUpdaterTool - Class in opennlp.tools.cmdline.parser
 
CheckModelUpdaterTool() - Constructor for class opennlp.tools.cmdline.parser.CheckModelUpdaterTool
 
checkOutputFile(String, File) - Static method in class opennlp.tools.cmdline.CmdLineUtil
Tries to ensure that it is possible to write to an output file.
chunk(List<String>, List<String>) - Method in interface opennlp.tools.chunker.Chunker
Deprecated. please use Chunker.chunk(String[], String[]) instead.
chunk(String[], String[]) - Method in interface opennlp.tools.chunker.Chunker
Generates chunk tags for the given sequence returning the result in an array.
chunk(List<String>, List<String>) - Method in class opennlp.tools.chunker.ChunkerME
 
chunk(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 - Variable in class opennlp.tools.parser.AbstractBottomUpParser
The chunker that the parser uses to chunk non-recursive structures.
ChunkerContextGenerator - Interface in opennlp.tools.chunker
Interface for the context generator used in syntactic chunking.
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.
ChunkerEventStream(ObjectStream<ChunkSample>) - Constructor for class opennlp.tools.chunker.ChunkerEventStream
Creates a new event stream based on the specified data stream.
ChunkerME - Class in opennlp.tools.chunker
The class represents a maximum-entropy-based chunker.
ChunkerME(ChunkerModel, int, SequenceValidator<String>, ChunkerContextGenerator) - Constructor for class opennlp.tools.chunker.ChunkerME
Initializes the current instance with the specified model and the specified beam size.
ChunkerME(ChunkerModel, int, SequenceValidator<String>) - Constructor for class opennlp.tools.chunker.ChunkerME
Initializes the current instance with the specified model and the specified beam size.
ChunkerME(ChunkerModel, int) - Constructor for class opennlp.tools.chunker.ChunkerME
Initializes the current instance with the specified model and the specified beam size.
ChunkerME(ChunkerModel) - Constructor for class opennlp.tools.chunker.ChunkerME
Initializes the current instance with the specified model.
ChunkerME(MaxentModel) - Constructor for class opennlp.tools.chunker.ChunkerME
Deprecated. 
ChunkerME(MaxentModel, ChunkerContextGenerator) - Constructor for class opennlp.tools.chunker.ChunkerME
Deprecated. 
ChunkerME(MaxentModel, ChunkerContextGenerator, int) - Constructor for class opennlp.tools.chunker.ChunkerME
Deprecated. 
ChunkerMETool - Class in opennlp.tools.cmdline.chunker
 
ChunkerMETool() - Constructor for class opennlp.tools.cmdline.chunker.ChunkerMETool
 
ChunkerModel - Class in opennlp.tools.chunker
The ChunkerModel is the model used by a learnable Chunker.
ChunkerModel(String, AbstractModel, Map<String, String>) - Constructor for class opennlp.tools.chunker.ChunkerModel
 
ChunkerModel(String, AbstractModel) - Constructor for class opennlp.tools.chunker.ChunkerModel
 
ChunkerModel(InputStream) - 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
 
ChunkerTrainerTool - Class in opennlp.tools.cmdline.chunker
 
ChunkerTrainerTool() - Constructor for class opennlp.tools.cmdline.chunker.ChunkerTrainerTool
 
ChunkSample - Class in opennlp.tools.chunker
 
ChunkSample(String[], String[], String[]) - Constructor for class opennlp.tools.chunker.ChunkSample
 
ChunkSample(List<String>, List<String>, List<String>) - Constructor for class opennlp.tools.chunker.ChunkSample
 
ChunkSampleStream - Class in opennlp.tools.chunker
Parses the conll 2000 shared task shallow parser training data.
ChunkSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.chunker.ChunkSampleStream
Initializes the current instance.
ChunkSampleStream - Class in opennlp.tools.parser
 
ChunkSampleStream(ObjectStream<Parse>) - Constructor for class opennlp.tools.parser.ChunkSampleStream
 
ClassSerializer - Class in opennlp.tools.util.model
Deprecated. 
ClassSerializer() - Constructor for class opennlp.tools.util.model.ClassSerializer
Deprecated.  
clear() - Method in class opennlp.tools.coref.DiscourseModel
Removes all elements from this discourse model.
clear() - Method in class opennlp.tools.util.Cache
 
clear() - Method in class opennlp.tools.util.CountedSet
 
clear() - Method in interface opennlp.tools.util.Heap
Clears the contents of the heap.
clear() - Method in class opennlp.tools.util.ListHeap
 
clear() - Method in class opennlp.tools.util.TreeHeap
Deprecated.  
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 aggregated AdaptiveFeatureGenerators.
clearAdaptiveData() - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
 
clearAdaptiveData() - Method in class opennlp.tools.util.featuregen.FeatureGeneratorAdapter
 
clearAdaptiveData() - Method in class opennlp.tools.util.featuregen.PreviousMapFeatureGenerator
Clears the previous map.
clearAdaptiveData() - Method in class opennlp.tools.util.featuregen.WindowFeatureGenerator
 
CLI - Class in opennlp.tools.cmdline
 
CLI() - Constructor for class opennlp.tools.cmdline.CLI
 
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.formats.Conll02NameSampleStream
 
close() - Method in class opennlp.tools.formats.NameFinderCensus90NameStream
 
close() - Method in class opennlp.tools.tokenize.TokenizerStream
 
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
 
CMD - Static variable in class opennlp.tools.cmdline.CLI
 
CmdLineTool - Interface in opennlp.tools.cmdline
A tool which can be executed from the command line.
CmdLineUtil - Class in opennlp.tools.cmdline
Util class for the command line interface.
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.
collectCoordinatedNounPhrases - Variable in class opennlp.tools.coref.mention.AbstractMentionFinder
 
collectFeats - Variable in class opennlp.tools.sentdetect.DefaultSDContextGenerator
List for holding features as they are generated.
collectFeatures(String, String, String, String) - Method in class opennlp.tools.sentdetect.DefaultSDContextGenerator
Determines some of the features for the sentence detector and adds them to list features.
collectFeatures(String, String, String, String) - Method in class opennlp.tools.sentdetect.lang.th.SentenceContextGenerator
 
CollectionEventStream - Class in opennlp.tools.util
Creates an event stream out of a collection of events.
CollectionEventStream(Collection<Event>) - Constructor for class opennlp.tools.util.CollectionEventStream
 
CollectionObjectStream<E> - Class in opennlp.tools.util
 
CollectionObjectStream(Collection<E>) - Constructor for class opennlp.tools.util.CollectionObjectStream
 
collectPrenominalNamedEntities - Variable in class opennlp.tools.coref.mention.AbstractMentionFinder
 
COMBINED_NPS - Static variable in interface opennlp.tools.coref.Linker
String constant used to label a mention which consists of two or more noun phrases.
CommonNounResolver - Class in opennlp.tools.coref.resolver
Resolves coreference between common nouns.
CommonNounResolver(String, ResolverMode) - Constructor for class opennlp.tools.coref.resolver.CommonNounResolver
 
CommonNounResolver(String, ResolverMode, NonReferentialResolver) - Constructor for class opennlp.tools.coref.resolver.CommonNounResolver
 
compareTo(Parse) - Method in class opennlp.tools.coref.mention.DefaultParse
 
compareTo(Mention) - Method in class opennlp.tools.coref.mention.Mention
 
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.
COMPATIBLE - Static variable in class opennlp.tools.coref.sim.SemanticEnum
Semantically compatible.
compatible(Context, Context) - Method in class opennlp.tools.coref.sim.SimilarityModel
Returns a number between 0 and 1 which represents the models belief that the specified mentions are compatible.
compatible(Context, Context) - Method in interface opennlp.tools.coref.sim.TestSimilarityModel
 
COMPLETE - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
Outcome used when a constituent is complete.
complete() - Method in class opennlp.tools.parser.Parse
Returns whether this parse is complete.
completeParses - Variable in class opennlp.tools.parser.AbstractBottomUpParser
Completed parses.
computeGender(MentionContext) - Method in class opennlp.tools.coref.AbstractLinker
 
computeGender(MentionContext) - Method in class opennlp.tools.coref.DefaultLinker
 
computeGender(Context) - Method in class opennlp.tools.coref.sim.MaxentCompatibilityModel
 
computeNumber(MentionContext) - Method in class opennlp.tools.coref.AbstractLinker
 
computeNumber(MentionContext) - Method in class opennlp.tools.coref.DefaultLinker
 
computeNumber(Context) - Method in class opennlp.tools.coref.sim.MaxentCompatibilityModel
 
Conll02NameSampleStream - Class in opennlp.tools.formats
Parser for the dutch and spanish ner training files of the CONLL 2002 shared task.
Conll02NameSampleStream(Conll02NameSampleStream.LANGUAGE, ObjectStream<String>, int) - Constructor for class opennlp.tools.formats.Conll02NameSampleStream
 
Conll02NameSampleStream(Conll02NameSampleStream.LANGUAGE, InputStream, 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!
Conll02NameSampleStreamFactory() - Constructor for class opennlp.tools.formats.Conll02NameSampleStreamFactory
 
ConllXPOSSampleStream - Class in opennlp.tools.formats
Parses the data from the CONLL 06 shared task into POS Samples.
ConllXPOSSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.ConllXPOSSampleStream
 
ConllXPOSSampleStreamFactory - Class in opennlp.tools.formats
Note: Do not use this class, internal use only!
ConllXPOSSampleStreamFactory() - Constructor for class opennlp.tools.formats.ConllXPOSSampleStreamFactory
 
ConllXSentenceSampleStreamFactory - Class in opennlp.tools.formats
Note: Do not use this class, internal use only!
ConllXSentenceSampleStreamFactory() - Constructor for class opennlp.tools.formats.ConllXSentenceSampleStreamFactory
 
ConllXTokenSampleStreamFactory - Class in opennlp.tools.formats
Note: Do not use this class, internal use only!
ConllXTokenSampleStreamFactory() - Constructor for class opennlp.tools.formats.ConllXTokenSampleStreamFactory
 
cons(Parse, int) - Method in class opennlp.tools.parser.AbstractContextGenerator
 
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
 
cons2(List<String>, Cons, Cons, Collection<Parse>, boolean) - Method in class opennlp.tools.parser.AbstractContextGenerator
 
cons3(List<String>, Cons, Cons, Cons, Collection<Parse>, Collection<Parse>, boolean, boolean, boolean) - Method in class opennlp.tools.parser.AbstractContextGenerator
Creates cons features involving the 3 specified nodes and adds them to the specified feature list.
consbo(Parse, int) - Method in class opennlp.tools.parser.AbstractContextGenerator
 
Constituent - Class in opennlp.tools.parser
Class used to hold constituents when reading parses.
Constituent(String, Span) - Constructor for class opennlp.tools.parser.Constituent
 
constructContexts(Mention[], HeadFinder) - Static method in class opennlp.tools.coref.sim.Context
 
constructHeadMap(List<Parse>) - Method in class opennlp.tools.coref.mention.AbstractMentionFinder
Assigns head relations between noun phrases and the child np which is their head.
constructMentionContexts(Mention[]) - Method in class opennlp.tools.coref.AbstractLinker
 
constructMentionContexts(Mention[]) - Method in interface opennlp.tools.coref.Linker
Creates mention contexts for the specified mention exents.
constructModifierSet(Parse[], int) - Static method in class opennlp.tools.coref.resolver.ResolverUtils
 
CONT - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
Prefix for outcomes continuing a constituent.
contains(StringList) - Method in class opennlp.tools.dictionary.Dictionary
Checks if this dictionary has the given entry.
contains(String) - Method in class opennlp.tools.dictionary.Index
Checks if at leat one StringList contains the given Token.
contains(StringList) - Method in class opennlp.tools.ngram.NGramModel
Checks fit he given tokens are contained by the current instance.
contains(Object) - Method in class opennlp.tools.util.CountedSet
 
contains(Span) - Method in class opennlp.tools.util.Span
Returns true if the specified span is contained by this span.
contains(int) - Method in class opennlp.tools.util.Span
 
containsAll(Collection<?>) - Method in class opennlp.tools.util.CountedSet
 
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
 
containsKey(Object) - Method in class opennlp.tools.util.Cache
 
containsLetters() - Method in class opennlp.tools.util.featuregen.StringPattern
 
containsParam(String, String[]) - Static method in class opennlp.tools.cmdline.CmdLineUtil
 
containsPeriod() - Method in class opennlp.tools.util.featuregen.StringPattern
 
containsSlash() - Method in class opennlp.tools.util.featuregen.StringPattern
 
containsValue(Object) - Method in class opennlp.tools.util.Cache
 
Context - Class in opennlp.tools.coref.sim
Specifies the context of a mention for computing gender, number, and semantic compatibility.
Context(Span, Span, int, Parse, String, String, HeadFinder) - Constructor for class opennlp.tools.coref.sim.Context
 
Context(Object[], String, String, String) - Constructor for class opennlp.tools.coref.sim.Context
 
Context(Mention, HeadFinder) - Constructor for class opennlp.tools.coref.sim.Context
 
contextGen - Variable in class opennlp.tools.postag.POSTaggerME
The feature context generator.
contextGenerator - Variable in class opennlp.tools.namefind.NameFinderME
 
CONTINUE - Static variable in class opennlp.tools.namefind.NameFinderME
 
convertAnnotatedString(String) - Static method in class opennlp.tools.postag.POSEventCollector
Deprecated.  
CorefModel - Class in opennlp.tools.coref
 
CorefModel(String, String) - Constructor for class opennlp.tools.coref.CorefModel
 
corefProject - Variable in class opennlp.tools.coref.AbstractLinker
The name of the project where the coreference models are stored.
COUNT - Static variable in class opennlp.tools.ngram.NGramModel
 
count() - Method in class opennlp.tools.util.eval.Mean
Retrieves the number of times a value was added to the mean.
CountedSet<E> - Class in opennlp.tools.util
Set which counts the number of times a values are added to it.
CountedSet() - Constructor for class opennlp.tools.util.CountedSet
Creates a new counted set.
CountedSet(int) - Constructor for class opennlp.tools.util.CountedSet
Creates a new counted set of the specified initial size.
create(String[]) - Method in interface opennlp.tools.cmdline.ObjectStreamFactory
Creates the ObjectStream
create(InputStream, EntryInserter) - Static method in class opennlp.tools.dictionary.serializer.DictionarySerializer
Creates Entrys form the given InputStream and forwards these Entrys to the EntryInserter.
create(String[]) - Method in class opennlp.tools.formats.Conll02NameSampleStreamFactory
 
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.NameSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.NameToSentenceSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.NameToTokenSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.POSToSentenceSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.POSToTokenSampleStreamFactory
 
create(String[]) - Method in class opennlp.tools.formats.WordTagSampleStreamFactory
 
create(ParserModel, int, double) - Static method in class opennlp.tools.parser.ParserFactory
 
create(ParserModel) - Static method in class opennlp.tools.parser.ParserFactory
 
create(InputStream) - Static method in class opennlp.tools.postag.POSDictionary
Creates a new POSDictionary from a provided InputStream.
create(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.ClassSerializer
Deprecated.  
create(InputStream) - Method in class opennlp.tools.util.model.FeatureGeneratorFactorySerializer
Deprecated.  
create(InputStream) - Method in class opennlp.tools.util.model.GenericModelSerializer
 
createArtifactSerializers(Map<String, ArtifactSerializer>) - Method in class opennlp.tools.namefind.TokenNameFinderModel
 
createArtifactSerializers(Map<String, ArtifactSerializer>) - Method in class opennlp.tools.parser.ParserModel
 
createArtifactSerializers(Map<String, ArtifactSerializer>) - Method in class opennlp.tools.postag.POSModel
 
createArtifactSerializers(Map<String, ArtifactSerializer>) - Method in class opennlp.tools.util.model.BaseModel
Registers all ArtifactSerializer for their artifact file name extensions.
createDerivationString - Variable in class opennlp.tools.parser.AbstractBottomUpParser
Specifies whether a derivation string should be created during parsing.
createDictionary(ObjectStream<StringList>) - Static method in class opennlp.tools.cmdline.namefind.CensusDictionaryCreatorTool
 
createEndOfSentenceScanner(String) - Method in class opennlp.tools.sentdetect.lang.Factory
 
createEvents(DocumentSample) - Method in class opennlp.tools.doccat.DocumentCategorizerEventStream
 
createEvents(Parse) - Method in class opennlp.tools.parser.AbstractParserEventStream
 
createEvents(POSSample) - Method in class opennlp.tools.postag.POSSampleEventStream
 
createEvents(SentenceSample) - Method in class opennlp.tools.sentdetect.SDEventStream
 
createEvents(TokenSample) - Method in class opennlp.tools.tokenize.TokSpanEventStream
Adds training events to the event stream for each of the specified tokens.
createEvents(T) - Method in class opennlp.tools.util.AbstractEventStream
Creates events for the provided sample.
createFeatureGenerator(FeatureGeneratorResourceProvider) - Method in interface opennlp.tools.util.featuregen.FeatureGeneratorFactory
Constructs a new 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 aggregated AdaptiveFeatureGenerators.
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.FastTokenClassFeatureGenerator
 
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.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.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.WindowFeatureGenerator
 
createObjectStream(T...) - Static method in class opennlp.tools.util.ObjectStreamUtils
Creates an ObjectStream form an array.
createObjectStream(Collection<T>) - Static method in class opennlp.tools.util.ObjectStreamUtils
Creates an ObjectStream form a collection.
createSentenceContextGenerator(String) - Method in class opennlp.tools.sentdetect.lang.Factory
 
createStreamFactory(String) - Method in class opennlp.tools.cmdline.AbstractConverterTool
 
createStreamFactory(String) - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderConverterTool
 
createStreamFactory(String) - Method in class opennlp.tools.cmdline.postag.POSTaggerConverter
 
createStreamFactory(String) - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorConverterTool
 
createStreamFactory(String) - Method in class opennlp.tools.cmdline.tokenizer.TokenizerConverterTool
 
createUsage(Class<T>) - Static method in class opennlp.tools.cmdline.ArgumentParser
 
crosses(Span) - Method in class opennlp.tools.util.Span
Returns true is the specified span crosses this span.
CrossValidationPartitioner<E> - Class in opennlp.tools.util.eval
Provides access to training and test partitions for n-fold cross validation.
CrossValidationPartitioner(ObjectStream<E>, int) - Constructor for class opennlp.tools.util.eval.CrossValidationPartitioner
Initializes the current instance.
CrossValidationPartitioner(Collection<E>, int) - Constructor for class opennlp.tools.util.eval.CrossValidationPartitioner
Initializes the current instance.
CrossValidationPartitioner.TrainingSampleStream<E> - Class in opennlp.tools.util.eval
The TrainingSampleStream which iterates over all training elements.
currentVersion() - Static method in class opennlp.tools.util.Version
Retrieves the current version of the OpenNlp Tools library.
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.

D

debug - Variable in class opennlp.tools.coref.AbstractLinker
Specifies whether debug print is generated.
debugOn - Variable in class opennlp.tools.parser.AbstractBottomUpParser
Turns debug print on or off.
DEFAULT - Static variable in class opennlp.tools.coref.resolver.MaxentResolver
Default feature value.
DEFAULT_BEAM_SIZE - Static variable in class opennlp.tools.chunker.ChunkerME
 
DEFAULT_BEAM_SIZE - Static variable in class opennlp.tools.namefind.NameFinderME
 
DEFAULT_BEAM_SIZE - Static variable in class opennlp.tools.postag.POSTaggerME
 
DEFAULT_SEPARATOR_CHARS - Static variable in class opennlp.tools.tokenize.TokenSample
 
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.
DefaultLinker - Class in opennlp.tools.coref
This class perform coreference for treebank style parses or for noun-phrase chunked data.
DefaultLinker(String, LinkerMode) - Constructor for class opennlp.tools.coref.DefaultLinker
Creates a new linker with the specified model directory, running in the specified mode.
DefaultLinker(String, LinkerMode, boolean) - Constructor for class opennlp.tools.coref.DefaultLinker
Creates a new linker with the specified model directory, running in the specified mode which uses a discourse model based on the specified parameter.
DefaultLinker(String, LinkerMode, boolean, double) - Constructor for class opennlp.tools.coref.DefaultLinker
Creates a new linker with the specified model directory, running in the specified mode which uses a discourse model based on the specified parameter and uses the specified fixed non-referential probability.
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
Creates a name context generator.
DefaultNameContextGenerator(AdaptiveFeatureGenerator...) - Constructor for class opennlp.tools.namefind.DefaultNameContextGenerator
Creates a name context generator with the specified cache size.
DefaultNonReferentialResolver - Class in opennlp.tools.coref.resolver
Default implementation of the NonReferentialResolver interface.
DefaultNonReferentialResolver(String, String, ResolverMode) - Constructor for class opennlp.tools.coref.resolver.DefaultNonReferentialResolver
 
DefaultParse - Class in opennlp.tools.coref.mention
This class is a wrapper for Parse mapping it to the API specified in Parse.
DefaultParse(Parse, int) - Constructor for class opennlp.tools.coref.mention.DefaultParse
Initializes the current instance.
DefaultPOSContextGenerator - Class in opennlp.tools.postag
A context generator for the POS Tagger.
DefaultPOSContextGenerator(Dictionary) - Constructor for class opennlp.tools.postag.DefaultPOSContextGenerator
Initializes the current instance.
DefaultPOSContextGenerator(int, Dictionary) - Constructor for class opennlp.tools.postag.DefaultPOSContextGenerator
Initializes the current instance.
defaultReferent(DiscourseEntity) - Method in class opennlp.tools.coref.resolver.IsAResolver
 
defaultReferent(DiscourseEntity) - Method in class opennlp.tools.coref.resolver.MaxentResolver
Returns whether the specified entity satisfies the criteria for being a default referent.
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
 
definiteArticle(String, String) - Static method in class opennlp.tools.coref.resolver.ResolverUtils
Returns whether the specified token is a definite article.
DefiniteNounResolver - Class in opennlp.tools.coref.resolver
Resolves coreference between definite noun-phrases.
DefiniteNounResolver(String, ResolverMode) - Constructor for class opennlp.tools.coref.resolver.DefiniteNounResolver
 
DefiniteNounResolver(String, ResolverMode, NonReferentialResolver) - Constructor for class opennlp.tools.coref.resolver.DefiniteNounResolver
 
DESCRIPTOR - Static variable in interface opennlp.tools.coref.Linker
String constant used to label a mention which is a description.
designatorsPattern - Static variable in class opennlp.tools.coref.resolver.ResolverUtils
Regular expression for English corporate designators.
DetokenizationDictionary - Class in opennlp.tools.tokenize
 
DetokenizationDictionary(String[], DetokenizationDictionary.Operation[]) - Constructor for class opennlp.tools.tokenize.DetokenizationDictionary
Initializes the current instance.
DetokenizationDictionary(InputStream) - Constructor for class opennlp.tools.tokenize.DetokenizationDictionary
 
DetokenizationDictionary.Operation - Enum in opennlp.tools.tokenize
 
detokenize(String[], Detokenizer.DetokenizationOperation[]) - Static method in class opennlp.tools.cmdline.tokenizer.DictionaryDetokenizerTool
 
detokenize(String[]) - Method in interface opennlp.tools.tokenize.Detokenizer
Detokenize the input tokens.
detokenize(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.
DetokenizerParameter - Interface in opennlp.tools.cmdline.params
 
dict - Variable in class opennlp.tools.parser.AbstractParserEventStream
 
Dictionary - Interface in opennlp.tools.coref.mention
Interface to provide dictionary information to the coreference module assuming a hierarchically structured dictionary (such as WordNet) is available.
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.
Dictionary(InputStream, boolean) - Constructor for class opennlp.tools.dictionary.Dictionary
 
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
 
DictionaryFactory - Class in opennlp.tools.coref.mention
Factory class used to get an instance of a dictionary object.
DictionaryFactory() - Constructor for class opennlp.tools.coref.mention.DictionaryFactory
 
DictionaryFeatureGenerator - Class in opennlp.tools.util.featuregen
The DictionaryFeatureGenerator uses the DictionaryNameFinder to generated features for detected names based on the InSpanGenerator.
DictionaryFeatureGenerator(Dictionary) - Constructor for class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
 
DictionaryFeatureGenerator(String, Dictionary) - Constructor for class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
 
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.
DictionarySerializer - Class in opennlp.tools.dictionary.serializer
This class is used by for reading and writing dictionaries of all kinds.
DictionarySerializer() - Constructor for class opennlp.tools.dictionary.serializer.DictionarySerializer
 
DIFF - Static variable in class opennlp.tools.coref.resolver.MaxentResolver
Outcome when two mentions are not coreferent.
digits() - Method in class opennlp.tools.util.featuregen.StringPattern
Retrieves the number of digits.
DiscourseElement - Class in opennlp.tools.coref
Represents an item in which can be put into the discourse model.
DiscourseElement(MentionContext) - Constructor for class opennlp.tools.coref.DiscourseElement
Creates a new discourse element which contains the specified mention.
DiscourseEntity - Class in opennlp.tools.coref
Represents an entity in a discourse model.
DiscourseEntity(MentionContext, GenderEnum, double, NumberEnum, double) - Constructor for class opennlp.tools.coref.DiscourseEntity
Creates a new entity based on the specified mention and its specified gender and number properties.
DiscourseEntity(MentionContext) - Constructor for class opennlp.tools.coref.DiscourseEntity
Creates a new entity based on the specified mention.
DiscourseModel - Class in opennlp.tools.coref
Represents the elements which are part of a discourse.
DiscourseModel() - Constructor for class opennlp.tools.coref.DiscourseModel
Creates a new discourse model.
distances - Variable in class opennlp.tools.coref.resolver.AbstractResolver
Debugging variable which holds statistics about mention distances during training.
DoccatModel - Class in opennlp.tools.doccat
 
DoccatModel(String, AbstractModel, Map<String, String>) - Constructor for class opennlp.tools.doccat.DoccatModel
 
DoccatModel(String, AbstractModel) - Constructor for class opennlp.tools.doccat.DoccatModel
 
DoccatModel(InputStream) - 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
 
DocumentCategorizer - Interface in opennlp.tools.doccat
Interface for classes which categorize documents.
DocumentCategorizerEvaluator - Class in opennlp.tools.doccat
The DocumentCategorizerEvaluator measures the performance of the given DocumentCategorizer with the provided reference DocumentSamples.
DocumentCategorizerEvaluator(DocumentCategorizer) - Constructor for class opennlp.tools.doccat.DocumentCategorizerEvaluator
Initializes the current instance.
DocumentCategorizerEventStream - Class in opennlp.tools.doccat
Iterator-like class for modeling document classification events.
DocumentCategorizerEventStream(ObjectStream<DocumentSample>, FeatureGenerator...) - Constructor for class opennlp.tools.doccat.DocumentCategorizerEventStream
Initializes the current instance.
DocumentCategorizerEventStream(ObjectStream<DocumentSample>) - Constructor for class opennlp.tools.doccat.DocumentCategorizerEventStream
Initializes the current instance.
DocumentCategorizerME - Class in opennlp.tools.doccat
Maxent implementation of DocumentCategorizer.
DocumentCategorizerME(DoccatModel, FeatureGenerator...) - Constructor for class opennlp.tools.doccat.DocumentCategorizerME
Initializes a the current instance with a doccat model and custom feature generation.
DocumentCategorizerME(DoccatModel) - Constructor for class opennlp.tools.doccat.DocumentCategorizerME
Initializes the current instance with a doccat model.
DocumentCategorizerME(MaxentModel) - Constructor for class opennlp.tools.doccat.DocumentCategorizerME
Deprecated. Use DocumentCategorizerME.DocumentCategorizerME(DoccatModel) instead.
DocumentCategorizerME(MaxentModel, FeatureGenerator...) - Constructor for class opennlp.tools.doccat.DocumentCategorizerME
Deprecated. Use DocumentCategorizerME.DocumentCategorizerME(DoccatModel, FeatureGenerator...) instead.
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[]) - 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
 
DONE - Static variable in class opennlp.tools.parser.treeinsert.Parser
Outcome used when a constituent needs an no additional parent node/building.
dropOverlappingSpans(Span[]) - Static method in class opennlp.tools.namefind.NameFinderME
Removes spans with are intersecting or crossing in anyway.

E

END_TAG - Static variable in class opennlp.tools.namefind.NameSampleDataStream
 
EndOfSentenceScanner - Interface in opennlp.tools.sentdetect
Scans Strings, StringBuffers, and char[] arrays for the offsets of sentence ending characters.
entities - Variable in class opennlp.tools.coref.AbstractLinker
Array used to store the results of each call made to the linker.
Entry - Class in opennlp.tools.dictionary.serializer
An Entry is a StringList which can optionally be mapped to attributes.
Entry(StringList, Attributes) - Constructor for class opennlp.tools.dictionary.serializer.Entry
Initializes the current instance.
EntryInserter - Interface in opennlp.tools.dictionary.serializer
 
entrySet() - Method in class opennlp.tools.util.Cache
 
EOS - Static variable in class opennlp.tools.parser.AbstractContextGenerator
 
eosCharacters - Static variable in class opennlp.tools.sentdetect.lang.th.SentenceContextGenerator
 
equals(Object) - Method in class opennlp.tools.coref.mention.DefaultParse
 
equals(Object) - Method in class opennlp.tools.dictionary.Dictionary
 
equals(Object) - Method in class opennlp.tools.namefind.NameSample
 
equals(Object) - Method in class opennlp.tools.ngram.NGramModel
 
equals(Object) - Method in class opennlp.tools.parser.lang.en.HeadRules
 
equals(Object) - Method in class opennlp.tools.parser.Parse
 
equals(Object) - Method in class opennlp.tools.postag.POSDictionary
 
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.Version
 
etype - Variable in class opennlp.tools.parser.AbstractParserEventStream
The type of events being generated by this event stream.
evaluate(Iterator<DocumentSample>) - Method in class opennlp.tools.doccat.DocumentCategorizerEvaluator
Reads all DocumentSample objects from the stream and evaluates each DocumentSample object with #evaluateSample(POSSample) method.
evaluate(ObjectStream<NameSample>, int) - Method in class opennlp.tools.namefind.TokenNameFinderCrossValidator
 
evaluate(ObjectStream<POSSample>, int) - Method in class opennlp.tools.postag.POSTaggerCrossValidator
 
evaluate(ObjectStream<SentenceSample>, int) - Method in class opennlp.tools.sentdetect.SDCrossValidator
 
evaluate(ObjectStream<TokenSample>, int) - Method in class opennlp.tools.tokenize.TokenizerCrossValidator
 
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(NameSample) - Method in class opennlp.tools.namefind.TokenNameFinderEvaluator
Evaluates the given reference NameSample object.
evaluateSample(POSSample) - Method in class opennlp.tools.postag.POSEvaluator
Evaluates the given reference POSSample object.
evaluateSample(SentenceSample) - Method in class opennlp.tools.sentdetect.SentenceDetectorEvaluator
 
evaluateSample(TokenSample) - Method in class opennlp.tools.tokenize.TokenizerEvaluator
Evaluates the given reference TokenSample object.
evaluateSample(T) - Method in class opennlp.tools.util.eval.Evaluator
Evaluates the given reference object.
Evaluator<T> - Class in opennlp.tools.util.eval
The Evaluator is an abstract base class for evaluators.
Evaluator() - Constructor for class opennlp.tools.util.eval.Evaluator
 
evaluteSample(DocumentSample) - Method in class opennlp.tools.doccat.DocumentCategorizerEvaluator
Evaluates the given reference DocumentSample object.
EventTraceStream - Class in opennlp.tools.util
 
EventTraceStream(EventStream, Writer) - Constructor for class opennlp.tools.util.EventTraceStream
 
excluded(MentionContext, DiscourseEntity) - Method in class opennlp.tools.coref.resolver.AbstractResolver
Excludes entities which you are not compatible with the entity under consideration.
excluded(MentionContext, DiscourseEntity) - Method in class opennlp.tools.coref.resolver.CommonNounResolver
 
excluded(MentionContext, DiscourseEntity) - Method in class opennlp.tools.coref.resolver.IsAResolver
 
excluded(MentionContext, DiscourseEntity) - Method in class opennlp.tools.coref.resolver.MaxentResolver
 
excluded(MentionContext, DiscourseEntity) - Method in class opennlp.tools.coref.resolver.PluralNounResolver
 
excluded(MentionContext, DiscourseEntity) - Method in class opennlp.tools.coref.resolver.ProperNounResolver
 
excluded(MentionContext, DiscourseEntity) - Method in class opennlp.tools.coref.resolver.SingularPronounResolver
 
excluded(MentionContext, DiscourseEntity) - Method in class opennlp.tools.coref.resolver.SpeechPronounResolver
 
excludedDeterminerMentionString(MentionContext) - Static method in class opennlp.tools.coref.resolver.ResolverUtils
 
excludedHonorificMentionString(MentionContext) - Static method in class opennlp.tools.coref.resolver.ResolverUtils
 
excludedTheMentionString(MentionContext) - Static method in class opennlp.tools.coref.resolver.ResolverUtils
 
expandTopNode(Parse) - Method in class opennlp.tools.parser.Parse
 
extract() - Method in interface opennlp.tools.util.Heap
Removes the smallest element from the heap and returns it.
extract() - Method in class opennlp.tools.util.ListHeap
 
extract() - Method in class opennlp.tools.util.TreeHeap
Deprecated.  
extractFeatures(String[]) - Method in class opennlp.tools.doccat.BagOfWordsFeatureGenerator
 
extractFeatures(String[]) - Method in interface opennlp.tools.doccat.FeatureGenerator
 
extractFeatures(String[]) - Method in class opennlp.tools.doccat.NGramFeatureGenerator
 

F

Factory - Class in opennlp.tools.sentdetect.lang
 
Factory() - Constructor for class opennlp.tools.sentdetect.lang.Factory
 
FastTokenClassFeatureGenerator - Class in opennlp.tools.util.featuregen
Generates features for different for the class of the token.
FastTokenClassFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.FastTokenClassFeatureGenerator
 
FastTokenClassFeatureGenerator(boolean) - Constructor for class opennlp.tools.util.featuregen.FastTokenClassFeatureGenerator
 
FeatureGenerator - Interface in opennlp.tools.doccat
Interface for generating features for document categorization.
FeatureGeneratorAdapter - Class in opennlp.tools.util.featuregen
This class provides empty implementations of some of the optional methods in AdditionalContextFeatureGenerator to make implementing feature generators easier.
FeatureGeneratorAdapter() - Constructor for class opennlp.tools.util.featuregen.FeatureGeneratorAdapter
 
FeatureGeneratorFactory - Interface in opennlp.tools.util.featuregen
The FeatureGeneratorFactory interface is factory for AdaptiveFeatureGenerators.
FeatureGeneratorFactorySerializer - Class in opennlp.tools.util.model
Deprecated. 
FeatureGeneratorFactorySerializer() - Constructor for class opennlp.tools.util.model.FeatureGeneratorFactorySerializer
Deprecated.  
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
 
featureString(MentionContext) - Method in class opennlp.tools.coref.resolver.AbstractResolver
Returns the string of "_" delimited tokens for the specified mention.
FEMALE - Static variable in class opennlp.tools.coref.sim.GenderEnum
Female gender.
femalePronounPattern - Static variable in class opennlp.tools.coref.resolver.ResolverUtils
Regular expression for English female pronouns.
FilterObjectStream<S,T> - Class in opennlp.tools.util
Abstract base class for filtering ObjectStreams.
FilterObjectStream(ObjectStream<S>) - Constructor for class opennlp.tools.util.FilterObjectStream
 
find(String[]) - Method in class opennlp.tools.namefind.DictionaryNameFinder
 
find(String[][]) - Method in interface opennlp.tools.namefind.DocumentNameFinder
Returns tokens span for the specified document of sentences and their tokens.
find(String[]) - Method in class opennlp.tools.namefind.NameFinderME
 
find(String[], String[][]) - Method in class opennlp.tools.namefind.NameFinderME
Generates name tags for the given sequence, typically a sentence, returning token spans for any identified names.
find(String[]) - Method in class opennlp.tools.namefind.RegexNameFinder
 
find(String[]) - Method in interface opennlp.tools.namefind.TokenNameFinder
Generates name tags for the given sequence, typically a sentence, returning token spans for any identified names.
first() - Method in interface opennlp.tools.util.Heap
Returns the smallest element of the heap.
first() - Method in class opennlp.tools.util.ListHeap
 
first() - Method in class opennlp.tools.util.TreeHeap
Deprecated.  
firstChild(Parse, Parse) - Method in class opennlp.tools.parser.chunking.ParserEventStream
Returns true if the specified child is the first child of the specified parent.
firstPersonPronounPattern - Static variable in class opennlp.tools.coref.resolver.ResolverUtils
Regular expression for English first person pronouns.
FixedNonReferentialResolver - Class in opennlp.tools.coref.resolver
Implementation of non-referential classifier which uses a fixed-value threshold.
FixedNonReferentialResolver(double) - Constructor for class opennlp.tools.coref.resolver.FixedNonReferentialResolver
 
fixPossesives - Variable in class opennlp.tools.parser.AbstractParserEventStream
 
fixPossesives(Parse) - Static method in class opennlp.tools.parser.Parse
 
FMeasure - Class in opennlp.tools.util.eval
The FMeasure is an utility class for evaluators which measure precision, recall and the resulting f-measure.
FMeasure() - Constructor for class opennlp.tools.util.eval.FMeasure
 

G

GapLabeler - Interface in opennlp.tools.parser
Interface for labeling nodes which contain traces so that these traces can be predicted by the parser.
Gender - Class in opennlp.tools.coref.sim
Class which models the gender of an enity and the confidence of that association.
Gender(GenderEnum, double) - Constructor for class opennlp.tools.coref.sim.Gender
 
genderDistribution(Context) - Method in class opennlp.tools.coref.sim.GenderModel
 
genderDistribution(Context) - Method in interface opennlp.tools.coref.sim.TestGenderModel
 
GenderEnum - Class in opennlp.tools.coref.sim
Enumeration of gender types.
GenderModel - Class in opennlp.tools.coref.sim
Class which models the gender of a particular mentions and entities made up of mentions.
GENERATE_LOCATION_ENTITIES - Static variable in class opennlp.tools.formats.Conll02NameSampleStream
 
GENERATE_MISC_ENTITIES - Static variable in class opennlp.tools.formats.Conll02NameSampleStream
 
GENERATE_ORGANIZATION_ENTITIES - Static variable in class opennlp.tools.formats.Conll02NameSampleStream
 
GENERATE_PERSON_ENTITIES - Static variable in class opennlp.tools.formats.Conll02NameSampleStream
 
generateEvents(String[], String[], POSContextGenerator) - Static method in class opennlp.tools.postag.POSSampleEventStream
 
generateOutcomes(Span[], String, int) - Static method in class opennlp.tools.namefind.NameFinderEventStream
Generates the name tag outcomes (start, continue, other) for each token in a sentence with the specified length using the specified name spans.
GenericModelSerializer - Class in opennlp.tools.util.model
 
GenericModelSerializer() - Constructor for class opennlp.tools.util.model.GenericModelSerializer
 
get(Object) - Method in class opennlp.tools.util.Cache
 
get(Object, int) - Method in class opennlp.tools.util.HashList
 
getAbbreviations() - Method in class opennlp.tools.sentdetect.SentenceModel
 
getAccuracy() - Method in class opennlp.tools.doccat.DocumentCategorizerEvaluator
Retrieves the accuracy of provided DocumentCategorizer.
getAcronymFeatures(MentionContext, DiscourseEntity) - Method in class opennlp.tools.coref.resolver.ProperNounResolver
 
getAdditionalContext() - Method in class opennlp.tools.namefind.NameSample
 
getAllResults(double[]) - Method in interface opennlp.tools.doccat.DocumentCategorizer
 
getAllResults(double[]) - Method in class opennlp.tools.doccat.DocumentCategorizerME
 
getArtifactSerializer(String) - Method in class opennlp.tools.util.model.BaseModel
 
getAttachModel() - Method in class opennlp.tools.parser.ParserModel
 
getAttributes() - Method in class opennlp.tools.dictionary.serializer.Entry
Retrieves the Attributes.
getBestCategory(double[]) - Method in interface opennlp.tools.doccat.DocumentCategorizer
 
getBestCategory(double[]) - Method in class opennlp.tools.doccat.DocumentCategorizerME
 
getBuildModel() - Method in class opennlp.tools.parser.ParserModel
 
getCategory() - Method in class opennlp.tools.coref.DiscourseEntity
Returns the semantic category of this entity.
getCategory(int) - Method in interface opennlp.tools.doccat.DocumentCategorizer
 
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.coref.mention.DefaultParse
 
getChildren() - Method in interface opennlp.tools.coref.mention.Parse
Returns a list of the children to this object.
getChildren() - Method in class opennlp.tools.parser.Parse
Returns the child constituents of this constituent .
getChunkerModel() - Method in class opennlp.tools.chunker.ChunkerModel
 
getChunkerModel() - Method in class opennlp.tools.doccat.DoccatModel
 
getCode() - Method in exception opennlp.tools.cmdline.TerminateToolException
 
getCommonNounResolverModel() - Method in class opennlp.tools.coref.CorefModel
 
getCommonParent(Parse) - Method in class opennlp.tools.parser.Parse
Returns the deepest shared parent of this node and the specified node.
getCompatibilityFeatures(MentionContext, DiscourseEntity, TestSimilarityModel) - Static method in class opennlp.tools.coref.resolver.ResolverUtils
Returns features indicating whether the specified mention and the specified entity are compatible.
getConfidence() - Method in class opennlp.tools.coref.sim.Gender
 
getConfidence() - Method in class opennlp.tools.coref.sim.Number
 
getConfidence() - Method in class opennlp.tools.coref.sim.SemanticCompatibility
 
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[], Object[]) - Method in class opennlp.tools.chunker.DefaultChunkerContextGenerator
 
getContext(int, String[], String[], String[]) - Method in class opennlp.tools.chunker.DefaultChunkerContextGenerator
 
getContext(int, String[], String[], Object[]) - Method in class opennlp.tools.namefind.DefaultNameContextGenerator
Return the context for finding names at the specified index.
getContext(Object) - Method in class opennlp.tools.parser.ChunkContextGenerator
 
getContext(int, String[], String[], Object[]) - Method in class opennlp.tools.parser.ChunkContextGenerator
 
getContext(int, String[], String[], String[]) - Method in class opennlp.tools.parser.ChunkContextGenerator
 
getContext(Object) - Method in class opennlp.tools.parser.chunking.BuildContextGenerator
 
getContext(Parse[], int) - Method in class opennlp.tools.parser.chunking.BuildContextGenerator
Returns the predictive context used to determine how constituent at the specified index should be combined with other contisuents.
getContext(Object) - Method in class opennlp.tools.parser.chunking.CheckContextGenerator
 
getContext(Parse[], String, int, int) - Method in class opennlp.tools.parser.chunking.CheckContextGenerator
Returns predictive context for deciding whether the specified constituents between the specified start and end index can be combined to form a new constituent of the specified type.
getContext(Object) - Method in class opennlp.tools.parser.treeinsert.AttachContextGenerator
 
getContext(Parse[], int, List<Parse>, int) - Method in class opennlp.tools.parser.treeinsert.AttachContextGenerator
 
getContext(Object) - Method in class opennlp.tools.parser.treeinsert.BuildContextGenerator
 
getContext(Parse[], int) - Method in class opennlp.tools.parser.treeinsert.BuildContextGenerator
Returns the contexts/features for the decision to build a new constituent for the specified parse at the specified index.
getContext(Object) - Method in class opennlp.tools.parser.treeinsert.CheckContextGenerator
 
getContext(Parse, Parse[], int, boolean) - Method in class opennlp.tools.parser.treeinsert.CheckContextGenerator
 
getContext(int, String[], String[], Object[]) - Method in class opennlp.tools.postag.DefaultPOSContextGenerator
 
getContext(int, Object[], String[]) - Method in class opennlp.tools.postag.DefaultPOSContextGenerator
Returns the context for making a pos tag decision at the specified token index given the specified tokens and previous tags.
getContext(int, String[], String[], Object[]) - Method in interface opennlp.tools.postag.POSContextGenerator
 
getContext(CharSequence, int) - Method in class opennlp.tools.sentdetect.DefaultSDContextGenerator
 
getContext(CharSequence, int) - Method in interface opennlp.tools.sentdetect.SDContextGenerator
Returns an array of contextual features for the potential sentence boundary at the specified position within the specified string buffer.
getContext(String, int) - Method in class opennlp.tools.tokenize.DefaultTokenContextGenerator
 
getContext(String, int) - Method in interface opennlp.tools.tokenize.TokenContextGenerator
Returns an array of features for the specified sentence string at the specified index.
getContext(int, T[], String[], Object[]) - Method in interface opennlp.tools.util.BeamSearchContextGenerator
Returns the context for the specified position in the specified sequence (list).
getContextFeatures(MentionContext) - Static method in class opennlp.tools.coref.resolver.ResolverUtils
Returns a list of features based on the surrounding context of the specified mention.
getCount(StringList) - Method in class opennlp.tools.ngram.NGramModel
Retrieves the count of the given ngram.
getCount(E) - Method in class opennlp.tools.util.CountedSet
Return the count of the specified object.
getCoveredText(CharSequence) - Method in class opennlp.tools.util.Span
Retrieves the string covered by the current span of the specified text.
getCutoff() - Method in class opennlp.tools.cmdline.BasicTrainingParameters
 
getDefiniteNounResolverModel() - Method in class opennlp.tools.coref.CorefModel
 
getDerivation() - Method in class opennlp.tools.parser.Parse
Returns the derivation string for this parse if one has been created.
getDescription() - Static method in class opennlp.tools.cmdline.BasicTrainingParameters
 
getDetokenizer() - Method in interface opennlp.tools.cmdline.params.DetokenizerParameter
 
getDictionary() - Static method in class opennlp.tools.coref.mention.DictionaryFactory
Returns the default implementation of the Dictionary interface.
getDistanceFeatures(MentionContext, DiscourseEntity) - Static method in class opennlp.tools.coref.resolver.ResolverUtils
Returns distance features for the specified mention and entity.
getDocument() - Method in class opennlp.tools.sentdetect.SentenceSample
Retrieves the document.
getDoubleParameter(String, String[]) - Static method in class opennlp.tools.cmdline.CmdLineUtil
Retrieves the specified parameters from the specified arguments.
getEncoding() - Method in class opennlp.tools.cmdline.BasicTrainingParameters
 
getEncodingParameter(String[]) - Static method in class opennlp.tools.cmdline.CmdLineUtil
Retrieves the "-encoding" parameter.
getEnd() - Method in class opennlp.tools.util.Span
Return the end of a span.
getEndOfSentenceCharacters() - Method in class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
 
getEndOfSentenceCharacters() - Method in interface opennlp.tools.sentdetect.EndOfSentenceScanner
Returns an array of character which can indicate the end of a sentence.
getEntities(Mention[]) - Method in class opennlp.tools.coref.AbstractLinker
 
getEntities() - Method in class opennlp.tools.coref.DiscourseModel
Returns the entities in the discourse model.
getEntities(Mention[]) - Method in interface opennlp.tools.coref.Linker
Returns a list of entities which group the mentions into entity classes.
getEntity(int) - Method in class opennlp.tools.coref.DiscourseModel
Returns the entity at the specified index.
getEntityId() - Method in class opennlp.tools.coref.mention.DefaultParse
 
getEntityId() - Method in interface opennlp.tools.coref.mention.Parse
Returns an entity id associated with this parse and coreferent parses.
getEntityType() - Method in class opennlp.tools.coref.mention.DefaultParse
 
getEntityType() - Method in interface opennlp.tools.coref.mention.Parse
Returns the named-entity type of this node.
getEvents() - Method in class opennlp.tools.postag.POSEventCollector
Deprecated.  
getEvents(boolean) - Method in class opennlp.tools.postag.POSEventCollector
Deprecated. Builds up the list of features using the Reader as input.
getExactMatchFeature(MentionContext, MentionContext) - Static method in class opennlp.tools.coref.resolver.ResolverUtils
 
getFeatures(MentionContext, DiscourseEntity) - Method in class opennlp.tools.coref.resolver.CommonNounResolver
 
getFeatures(MentionContext) - Method in class opennlp.tools.coref.resolver.DefaultNonReferentialResolver
 
getFeatures(MentionContext, DiscourseEntity) - Method in class opennlp.tools.coref.resolver.DefiniteNounResolver
 
getFeatures(MentionContext, DiscourseEntity) - Method in class opennlp.tools.coref.resolver.IsAResolver
 
getFeatures(MentionContext, DiscourseEntity) - Method in class opennlp.tools.coref.resolver.MaxentResolver
Returns a list of features for deciding whether the specified mention refers to the specified discourse entity.
getFeatures(MentionContext, DiscourseEntity) - Method in class opennlp.tools.coref.resolver.PluralNounResolver
 
getFeatures(MentionContext, DiscourseEntity) - Method in class opennlp.tools.coref.resolver.PluralPronounResolver
 
getFeatures(MentionContext, DiscourseEntity) - Method in class opennlp.tools.coref.resolver.ProperNounResolver
 
getFeatures(MentionContext, DiscourseEntity) - Method in class opennlp.tools.coref.resolver.SingularPronounResolver
 
getFeatures(MentionContext, DiscourseEntity) - Method in class opennlp.tools.coref.resolver.SpeechPronounResolver
 
getFemaleIndex() - Method in class opennlp.tools.coref.sim.GenderModel
 
getFemaleIndex() - Method in interface opennlp.tools.coref.sim.TestGenderModel
 
getFemaleNames() - Method in class opennlp.tools.coref.CorefModel
 
getFirstToken() - Method in class opennlp.tools.coref.mention.MentionContext
Returns the parse for the first token in this mention.
getFirstTokenTag() - Method in class opennlp.tools.coref.mention.MentionContext
Returns the pos-tag of the first token of this mention.
getFirstTokenText() - Method in class opennlp.tools.coref.mention.MentionContext
Returns the text for the first token of the mention.
getFMeasure() - Method in class opennlp.tools.namefind.TokenNameFinderCrossValidator
 
getFMeasure() - Method in class opennlp.tools.namefind.TokenNameFinderEvaluator
 
getFMeasure() - Method in class opennlp.tools.sentdetect.SDCrossValidator
 
getFMeasure() - Method in class opennlp.tools.sentdetect.SentenceDetectorEvaluator
 
getFMeasure() - Method in class opennlp.tools.tokenize.TokenizerCrossValidator
 
getFMeasure() - Method in class opennlp.tools.tokenize.TokenizerEvaluator
 
getFMeasure() - Method in class opennlp.tools.util.eval.FMeasure
Retrieves the f-measure score.
getFrontierNodes(List<Parse>, Parse[]) - Method in class opennlp.tools.parser.AbstractContextGenerator
Populates specified nodes array with left-most right frontier node with a unique head.
getGender() - Method in class opennlp.tools.coref.DiscourseEntity
Returns the gender associated with this entity.
getGender() - Method in class opennlp.tools.coref.mention.MentionContext
Returns the gender of this mention.
getGenderCompatibilityFeature(MentionContext, DiscourseEntity) - Static method in class opennlp.tools.coref.resolver.ResolverUtils
 
getGenderProb() - Method in class opennlp.tools.coref.mention.MentionContext
Returns the probability associated with the gender assignment.
getGenderProbability() - Method in class opennlp.tools.coref.DiscourseEntity
Returns the probability for the gender associated with this entity.
getGenerators() - Method in class opennlp.tools.util.featuregen.AggregatedFeatureGenerator
Retrieves a Collections of all aggregated AdaptiveFeatureGenerators.
getHead(Parse) - Method in interface opennlp.tools.coref.mention.HeadFinder
Returns the child parse which contains the lexical head of the specified parse.
getHead() - Method in class opennlp.tools.coref.mention.MentionContext
 
getHead(Parse) - Method in class opennlp.tools.coref.mention.PTBHeadFinder
 
getHead(MentionContext) - Method in class opennlp.tools.coref.resolver.AbstractResolver
Returns the head parse for the specified mention.
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() - Method in class opennlp.tools.parser.Parse
Returns the head constituent associated with this constituent.
getHeadFinder() - Method in class opennlp.tools.coref.AbstractLinker
 
getHeadFinder() - Method in interface opennlp.tools.coref.Linker
Returns the head finder associated with this linker.
getHeadIndex(Parse) - Method in interface opennlp.tools.coref.mention.HeadFinder
Returns which index the specified list of token is the head word.
getHeadIndex(Parse) - Method in class opennlp.tools.coref.mention.PTBHeadFinder
 
getHeadIndex(MentionContext) - Method in class opennlp.tools.coref.resolver.AbstractResolver
Returns the index for the head word for the specified mention.
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
 
getHeadSpan() - Method in class opennlp.tools.coref.mention.Mention
Returns the character offsets for the head of this extent.
getHeadString(MentionContext) - Method in class opennlp.tools.coref.resolver.AbstractResolver
Returns the text of the head word for the specified mention.
getHeadText() - Method in class opennlp.tools.coref.mention.MentionContext
 
getHeadToken(Parse) - Method in interface opennlp.tools.coref.mention.HeadFinder
Returns head token for the specified np parse.
getHeadToken(Parse) - Method in class opennlp.tools.coref.mention.PTBHeadFinder
 
getHeadTokenIndex() - Method in class opennlp.tools.coref.sim.Context
Returns the token index into the mention for the head word.
getHeadTokenParse() - Method in class opennlp.tools.coref.mention.MentionContext
Returns the parse of the head token for this mention.
getHeadTokenTag() - Method in class opennlp.tools.coref.sim.Context
 
getHeadTokenText() - Method in class opennlp.tools.coref.sim.Context
 
getHelp() - Method in class opennlp.tools.cmdline.AbstractConverterTool
 
getHelp() - Method in class opennlp.tools.cmdline.chunker.ChunkerMETool
 
getHelp() - Method in class opennlp.tools.cmdline.chunker.ChunkerTrainerTool
 
getHelp() - Method in interface opennlp.tools.cmdline.CmdLineTool
Retrieves a description on how to use the tool.
getHelp() - Method in class opennlp.tools.cmdline.doccat.DoccatTool
 
getHelp() - Method in class opennlp.tools.cmdline.doccat.DoccatTrainerTool
 
getHelp() - Method in class opennlp.tools.cmdline.namefind.CensusDictionaryCreatorTool
Gets the expected usage of the tool as an example.
getHelp() - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderEvaluatorTool
 
getHelp() - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderTool
 
getHelp() - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderTrainerTool
 
getHelp() - Method in class opennlp.tools.cmdline.parser.ParserTool
 
getHelp() - Method in class opennlp.tools.cmdline.parser.ParserTrainerTool
 
getHelp() - Method in class opennlp.tools.cmdline.parser.TaggerModelReplacerTool
 
getHelp() - Method in class opennlp.tools.cmdline.postag.POSTaggerEvaluatorTool
 
getHelp() - Method in class opennlp.tools.cmdline.postag.POSTaggerTool
 
getHelp() - Method in class opennlp.tools.cmdline.postag.POSTaggerTrainerTool
 
getHelp() - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorCrossValidatorTool
 
getHelp() - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorEvaluatorTool
 
getHelp() - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorTool
 
getHelp() - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorTrainerTool
 
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.TokenizerCrossValidatorTool
 
getHelp() - Method in class opennlp.tools.cmdline.tokenizer.TokenizerMEEvaluatorTool
 
getHelp() - Method in class opennlp.tools.cmdline.tokenizer.TokenizerMETool
 
getHelp() - Method in class opennlp.tools.cmdline.tokenizer.TokenizerTrainerTool
 
getId() - Method in class opennlp.tools.coref.DiscourseElement
Returns the id associated with this element.
getId() - Method in class opennlp.tools.coref.mention.Mention
Returns the id associated with this mention.
getIndex(String) - Method in interface opennlp.tools.doccat.DocumentCategorizer
 
getIndex(String) - Method in class opennlp.tools.doccat.DocumentCategorizerME
 
getIndexSpan() - Method in class opennlp.tools.coref.mention.MentionContext
Returns a sentence-based token span for this mention.
getInitialChunks(Parse) - Static method in class opennlp.tools.parser.AbstractParserEventStream
 
getInitialChunks(Parse) - Static method in class opennlp.tools.parser.ChunkSampleStream
 
getInstance() - Static method in class opennlp.tools.coref.mention.PTBHeadFinder
Returns an instance of this head finder.
getInstance(HeadFinder) - Static method in class opennlp.tools.coref.mention.PTBMentionFinder
Retrives the one and only existing instance.
getInstance(HeadFinder) - Static method in class opennlp.tools.coref.mention.ShallowParseMentionFinder
Retrieves the one and only existing instance.
getInstance(String, ResolverMode) - Static method in class opennlp.tools.coref.resolver.SingletonNonReferentialResolver
 
getIntParameter(String, String[]) - Static method in class opennlp.tools.cmdline.CmdLineUtil
Retrieves the specified parameters from the specified arguments.
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.
getLanguage() - Method in class opennlp.tools.cmdline.BasicTrainingParameters
Retrieves the mandatory language parameter.
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.
getLastExtent() - Method in class opennlp.tools.coref.DiscourseElement
Returns the last mention for this element.
getLastHead(Parse) - Method in interface opennlp.tools.coref.mention.HeadFinder
Returns the parse bottom-most head of a Parse.
getLastHead(Parse) - Method in class opennlp.tools.coref.mention.PTBHeadFinder
Returns the bottom-most head of a Parse.
getLemmas(String, String) - Method in interface opennlp.tools.coref.mention.Dictionary
Returns the lemmas of the specified word with the specified part-of-speech.
getLemmas(String, String) - Method in class opennlp.tools.coref.mention.JWNLDictionary
 
getMajor() - Method in class opennlp.tools.util.Version
Retrieves the major version.
getMaleIndex() - Method in class opennlp.tools.coref.sim.GenderModel
 
getMaleIndex() - Method in interface opennlp.tools.coref.sim.TestGenderModel
 
getMaleNames() - Method in class opennlp.tools.coref.CorefModel
 
getManifestProperty(String) - Method in class opennlp.tools.util.model.BaseModel
Retrieves the value to the given key from the manifest.properties entry.
getMaxentModel() - Method in class opennlp.tools.sentdetect.SentenceModel
 
getMaxentModel() - Method in class opennlp.tools.tokenize.TokenizerModel
 
getMaxNounPhraseSentenceIndex() - Method in class opennlp.tools.coref.mention.MentionContext
Returns the index of the last noun phrase in the sentence containing this mention.
getMentionCountFeature(DiscourseEntity) - Static method in class opennlp.tools.coref.resolver.ResolverUtils
 
getMentionFinder() - Method in class opennlp.tools.coref.AbstractLinker
 
getMentionFinder() - Method in interface opennlp.tools.coref.Linker
Returns the mention finder for this linker.
getMentions() - Method in class opennlp.tools.coref.DiscourseElement
Returns an iterator over the mentions which iterates through them based on their occurrence in the document.
getMentions(Parse) - Method in class opennlp.tools.coref.mention.AbstractMentionFinder
 
getMentions(Parse) - Method in interface opennlp.tools.coref.mention.MentionFinder
Returns an array of mentions.
getMinor() - Method in class opennlp.tools.util.Version
Retrieves the minor version.
getName() - Method in class opennlp.tools.cmdline.chunker.ChunkerMETool
 
getName() - Method in class opennlp.tools.cmdline.chunker.ChunkerTrainerTool
 
getName() - Method in interface opennlp.tools.cmdline.CmdLineTool
Retrieves the name of the training data tool.
getName() - Method in class opennlp.tools.cmdline.doccat.DoccatTool
 
getName() - Method in class opennlp.tools.cmdline.doccat.DoccatTrainerTool
 
getName() - Method in class opennlp.tools.cmdline.namefind.CensusDictionaryCreatorTool
Gets the name for the tool.
getName() - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderConverterTool
 
getName() - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderEvaluatorTool
 
getName() - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderTool
 
getName() - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderTrainerTool
 
getName() - Method in class opennlp.tools.cmdline.parser.BuildModelUpdaterTool
 
getName() - Method in class opennlp.tools.cmdline.parser.CheckModelUpdaterTool
 
getName() - Method in class opennlp.tools.cmdline.parser.ParserTool
 
getName() - Method in class opennlp.tools.cmdline.parser.ParserTrainerTool
 
getName() - Method in class opennlp.tools.cmdline.parser.TaggerModelReplacerTool
 
getName() - Method in class opennlp.tools.cmdline.postag.POSTaggerConverter
 
getName() - Method in class opennlp.tools.cmdline.postag.POSTaggerEvaluatorTool
 
getName() - Method in class opennlp.tools.cmdline.postag.POSTaggerTool
 
getName() - Method in class opennlp.tools.cmdline.postag.POSTaggerTrainerTool
 
getName() - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorConverterTool
 
getName() - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorCrossValidatorTool
 
getName() - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorEvaluatorTool
 
getName() - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorTool
 
getName() - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorTrainerTool
 
getName() - Method in class opennlp.tools.cmdline.tokenizer.DictionaryDetokenizerTool
 
getName() - Method in class opennlp.tools.cmdline.tokenizer.SimpleTokenizerTool
 
getName() - Method in class opennlp.tools.cmdline.tokenizer.TokenizerConverterTool
 
getName() - Method in class opennlp.tools.cmdline.tokenizer.TokenizerCrossValidatorTool
 
getName() - Method in class opennlp.tools.cmdline.tokenizer.TokenizerMEEvaluatorTool
 
getName() - Method in class opennlp.tools.cmdline.tokenizer.TokenizerMETool
 
getName() - Method in class opennlp.tools.cmdline.tokenizer.TokenizerTrainerTool
 
getNamedEntities(Parse) - Method in class opennlp.tools.coref.mention.AbstractMentionFinder
Return all noun phrases which are contained by p.
getNamedEntities() - Method in class opennlp.tools.coref.mention.DefaultParse
 
getNamedEntities() - Method in interface opennlp.tools.coref.mention.Parse
Returns a list of all the named entities contained by this parse.
getNameFinderModel() - Method in class opennlp.tools.namefind.TokenNameFinderModel
Retrieves the TokenNameFinder model.
getNames() - Method in class opennlp.tools.namefind.NameSample
 
getNameType() - Method in class opennlp.tools.coref.mention.Mention
Returns the named-entity category associated with this mention.
getNeuterIndex() - Method in class opennlp.tools.coref.sim.GenderModel
 
getNeuterIndex() - Method in interface opennlp.tools.coref.sim.TestGenderModel
 
getNextPunctuationSet() - Method in class opennlp.tools.parser.Parse
Returns the set of punctuation parses that occur immediately after this parse.
getNextToken() - Method in class opennlp.tools.coref.mention.DefaultParse
 
getNextToken() - Method in class opennlp.tools.coref.mention.MentionContext
 
getNextToken() - Method in interface opennlp.tools.coref.mention.Parse
Returns the next token which is not a child of this parse.
getNextTokenBasal() - Method in class opennlp.tools.coref.mention.MentionContext
 
getNgramDictionary() - Method in class opennlp.tools.postag.POSModel
Retrieves the ngram dictionary.
getNonDescriptorStart() - Method in class opennlp.tools.coref.mention.MentionContext
 
getNonReferentialFeatures(MentionContext) - Method in class opennlp.tools.coref.resolver.DefaultNonReferentialResolver
Returns a list of features used to predict whether the specified mention is non-referential.
getNonReferentialProbability(MentionContext) - Method in class opennlp.tools.coref.resolver.DefaultNonReferentialResolver
 
getNonReferentialProbability(MentionContext) - Method in class opennlp.tools.coref.resolver.FixedNonReferentialResolver
 
getNonReferentialProbability(MentionContext) - Method in interface opennlp.tools.coref.resolver.NonReferentialResolver
Returns the probability that the specified mention doesn't refer to any previous mention.
getNounPhraseDocumentIndex() - Method in class opennlp.tools.coref.mention.MentionContext
Returns the index of the noun phrase for this mention in a document.
getNounPhrases() - Method in class opennlp.tools.coref.mention.AbstractParse
 
getNounPhrases() - Method in interface opennlp.tools.coref.mention.Parse
Returns a list of the all noun phrases contained by this parse.
getNounPhraseSentenceIndex() - Method in class opennlp.tools.coref.mention.MentionContext
Returns the index of the noun phrase for this mention in a sentence.
getNumber() - Method in class opennlp.tools.coref.DiscourseEntity
Returns the number associated with this entity.
getNumber() - Method in class opennlp.tools.coref.mention.MentionContext
Returns the number of this mention.
getNumber(Context) - Method in class opennlp.tools.coref.sim.NumberModel
 
getNumberCompatibilityFeature(MentionContext, DiscourseEntity) - Static method in class opennlp.tools.coref.resolver.ResolverUtils
 
getNumberModel() - Method in class opennlp.tools.coref.CorefModel
 
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
 
getNumberOfCategories() - Method in class opennlp.tools.doccat.DocumentCategorizerME
 
getNumberOfIterations() - Method in class opennlp.tools.cmdline.BasicTrainingParameters
Retrieves the optional iterations parameter.
getNumberProb() - Method in class opennlp.tools.coref.mention.MentionContext
Returns the probability associated with the number assignment.
getNumberProbability() - Method in class opennlp.tools.coref.DiscourseEntity
Returns the probability for the number associated with this entity.
getNumEntities() - Method in class opennlp.tools.coref.DiscourseModel
Returns the number of entities in this discourse model.
getNumEntities() - Method in class opennlp.tools.coref.resolver.AbstractResolver
Returns the number of previous entities that resolver should consider.
getNumEntities(DiscourseModel) - Method in class opennlp.tools.coref.resolver.AbstractResolver
The number of entities that should be considered for resolution with the specified discourse model.
getNumMentions() - Method in class opennlp.tools.coref.DiscourseElement
Returns the number of mentions in this element.
getNumSenses(String, String) - Method in interface opennlp.tools.coref.mention.Dictionary
Returns the number of senses in the dictionary for the specified lemma.
getNumSenses(String, String) - Method in class opennlp.tools.coref.mention.JWNLDictionary
 
getNumTags() - Method in class opennlp.tools.postag.POSTaggerME
Returns the number of different tags predicted by this model.
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
 
getOutcomes() - Method in class opennlp.tools.util.Sequence
Returns a list of outcomes for this sequence.
getParameter(String, String[]) - Static method in class opennlp.tools.cmdline.CmdLineUtil
Retrieves the specified parameters from the given arguments.
getParameterUsage() - Static method in class opennlp.tools.cmdline.BasicTrainingParameters
 
getParent() - Method in class opennlp.tools.coref.mention.DefaultParse
 
getParent() - Method in interface opennlp.tools.coref.mention.Parse
Returns the parent parse of this parse node.
getParent() - Method in class opennlp.tools.parser.Parse
Returns the parent parse node of this constituent.
getParentSenseKeys(String, String, int) - Method in interface opennlp.tools.coref.mention.Dictionary
Returns an array of keys for each parent of the specified sense number of the specified lemma with the specified part-of-speech.
getParentSenseKeys(String, String, int) - Method in class opennlp.tools.coref.mention.JWNLDictionary
 
getParse() - Method in class opennlp.tools.coref.mention.DefaultParse
Retrieves the Parse.
getParse() - Method in class opennlp.tools.coref.mention.Mention
Returns the parse node that this extent is based on.
getParserChunkerModel() - Method in class opennlp.tools.parser.ParserModel
 
getParserTaggerModel() - Method in class opennlp.tools.parser.ParserModel
 
getParserType() - Method in class opennlp.tools.parser.ParserModel
 
getPluralIndex() - Method in class opennlp.tools.coref.sim.NumberModel
 
getPluralIndex() - Method in interface opennlp.tools.coref.sim.TestNumberModel
 
getPluralNounResolverModel() - Method in class opennlp.tools.coref.CorefModel
 
getPluralPronounResolverModel() - Method in class opennlp.tools.coref.CorefModel
 
getPositions(String) - Method in class opennlp.tools.sentdetect.AbstractEndOfSentenceScanner
Deprecated.  
getPositions(StringBuffer) - Method in class opennlp.tools.sentdetect.AbstractEndOfSentenceScanner
Deprecated.  
getPositions(char[]) - Method in class opennlp.tools.sentdetect.AbstractEndOfSentenceScanner
Deprecated.  
getPositions(String) - Method in class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
 
getPositions(StringBuffer) - Method in class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
 
getPositions(char[]) - Method in class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
 
getPositions(String) - Method in interface opennlp.tools.sentdetect.EndOfSentenceScanner
The receiver scans the specified string for sentence ending characters and returns their offsets.
getPositions(StringBuffer) - Method in interface opennlp.tools.sentdetect.EndOfSentenceScanner
The receiver scans `buf' for sentence ending characters and returns their offsets.
getPositions(char[]) - Method in interface opennlp.tools.sentdetect.EndOfSentenceScanner
The receiver scans `cbuf' for sentence ending characters and returns their offsets.
getPosModel() - Method in class opennlp.tools.postag.POSModel
 
getPrecisionScore() - Method in class opennlp.tools.util.eval.FMeasure
Retrieves the arithmetic mean of the precision scores calculated for each evaluated sample.
getPreds() - Method in class opennlp.tools.chunker.ChunkSample
 
getPrefixes(String) - Static method in class opennlp.tools.postag.DefaultPOSContextGenerator
 
getPrefixes(String) - Static method in class opennlp.tools.util.featuregen.PrefixFeatureGenerator
 
getPreviousPunctuationSet() - Method in class opennlp.tools.parser.Parse
Returns the set of punctuation parses that occur immediately before this parse.
getPreviousToken() - Method in class opennlp.tools.coref.mention.DefaultParse
 
getPreviousToken() - Method in class opennlp.tools.coref.mention.MentionContext
 
getPreviousToken() - Method in interface opennlp.tools.coref.mention.Parse
Returns the first token which is not a child of 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.
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.
getPronounGender(String) - Static method in class opennlp.tools.coref.resolver.ResolverUtils
Returns a string representing the gender of the specified pronoun.
getPronounMatchFeatures(MentionContext, DiscourseEntity) - Static method in class opennlp.tools.coref.resolver.ResolverUtils
Returns features indicating whether the specified mention is compatible with the pronouns of the specified entity.
getProperNounExtent(DiscourseEntity) - Static method in class opennlp.tools.coref.resolver.ResolverUtils
 
getProperNounResolverModel() - Method in class opennlp.tools.coref.CorefModel
 
getPunctuationTags() - Method in interface opennlp.tools.parser.HeadRules
Returns the set of punctuation tags.
getPunctuationTags() - Method in class opennlp.tools.parser.lang.en.HeadRules
 
getRecallScore() - Method in class opennlp.tools.util.eval.FMeasure
Retrieves the arithmetic mean of the recall score calculated for each evaluated sample.
getRecentMentions() - Method in class opennlp.tools.coref.DiscourseElement
Returns an iterator over the mentions which iterates through them based on which were most recently mentioned.
getResource(String) - Method in interface opennlp.tools.util.featuregen.FeatureGeneratorResourceProvider
Retrieves the resource object for the given name/identifier.
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.
getScore() - Method in class opennlp.tools.util.Sequence
Returns the score of this sequence.
getSemanticCompatibilityFeature(MentionContext, DiscourseEntity, TestSimilarityModel) - Static method in class opennlp.tools.coref.resolver.ResolverUtils
 
getSenseKey(String, String, int) - Method in interface opennlp.tools.coref.mention.Dictionary
Returns a key indicating the specified sense number of the specified lemma with the specified part-of-speech.
getSenseKey(String, String, int) - Method in class opennlp.tools.coref.mention.JWNLDictionary
 
getSentence() - Method in class opennlp.tools.chunker.ChunkSample
 
getSentence() - Method in class opennlp.tools.namefind.NameSample
 
getSentence() - Method in class opennlp.tools.postag.POSSample
 
getSentenceNumber() - Method in class opennlp.tools.coref.mention.DefaultParse
 
getSentenceNumber() - Method in class opennlp.tools.coref.mention.MentionContext
Returns the index of the sentence which contains this mention.
getSentenceNumber() - Method in interface opennlp.tools.coref.mention.Parse
Returns the index of the sentence which contains this parse.
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.sentdetect.SentenceSample
Retrieves the sentences.
getShortDescription() - Method in class opennlp.tools.cmdline.chunker.ChunkerMETool
 
getShortDescription() - Method in class opennlp.tools.cmdline.chunker.ChunkerTrainerTool
 
getShortDescription() - Method in interface opennlp.tools.cmdline.CmdLineTool
Retrieves a short description of what the tool does.
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.namefind.CensusDictionaryCreatorTool
Gets a short description for the tool.
getShortDescription() - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderConverterTool
 
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.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.POSTaggerConverter
 
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.SentenceDetectorConverterTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorCrossValidatorTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorEvaluatorTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorTrainerTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.tokenizer.DictionaryDetokenizerTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.tokenizer.SimpleTokenizerTool
 
getShortDescription() - Method in class opennlp.tools.cmdline.tokenizer.TokenizerConverterTool
 
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
 
getSimModel() - Method in class opennlp.tools.coref.CorefModel
 
getSingularIndex() - Method in class opennlp.tools.coref.sim.NumberModel
 
getSingularIndex() - Method in interface opennlp.tools.coref.sim.TestNumberModel
 
getSingularPronounResolverModel() - Method in class opennlp.tools.coref.CorefModel
 
getSpan() - Method in class opennlp.tools.coref.mention.DefaultParse
 
getSpan() - Method in class opennlp.tools.coref.mention.Mention
Returns the character offsets for this extent.
getSpan() - Method in interface opennlp.tools.coref.mention.Parse
Returns the character offsets of this parse node.
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.
getSpeechPronounResolverModel() - Method in class opennlp.tools.coref.CorefModel
 
getStart() - Method in class opennlp.tools.util.Span
Return the start of a span.
getStringMatchFeatures(MentionContext, DiscourseEntity) - Static method in class opennlp.tools.coref.resolver.ResolverUtils
Returns string-match features for the the specified mention and entity.
getSuffixes(String) - Static method in class opennlp.tools.postag.DefaultPOSContextGenerator
 
getSuffixes(String) - Static method in class opennlp.tools.util.featuregen.SuffixFeatureGenerator
 
getSynsets() - Method in class opennlp.tools.coref.sim.Context
 
getSyntacticChildren() - Method in class opennlp.tools.coref.mention.DefaultParse
 
getSyntacticChildren() - Method in interface opennlp.tools.coref.mention.Parse
Returns a list of the children to this object which are constituents or tokens.
getSyntacticType() - Method in class opennlp.tools.coref.mention.DefaultParse
 
getSyntacticType() - Method in interface opennlp.tools.coref.mention.Parse
Returns the syntactic type of this node.
getTagDictionary() - Method in class opennlp.tools.postag.POSModel
Retrieves the tag dictionary.
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
 
getTags(String) - Method in class opennlp.tools.postag.POSDictionary
Returns a list of valid tags for the specified word.
getTags() - Method in class opennlp.tools.postag.POSSample
 
getTags(String) - Method in interface opennlp.tools.postag.TagDictionary
Returns a list of valid tags for the specified word.
getTagSequenceProb() - Method in class opennlp.tools.parser.Parse
Returns the probability associated with the pos-tag sequence assigned to this parse.
getTestSampleStream() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner.TrainingSampleStream
Retrieves the ObjectStream over the test/evaluations elements and poisons this TrainingSampleStream.
getText() - Method in class opennlp.tools.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.
getToken(int) - Method in class opennlp.tools.util.StringList
Retrieves a token from the given index.
getTokenParses() - Method in class opennlp.tools.coref.mention.MentionContext
Returns the parses for the tokens which are contained in this mention.
getTokenProbabilities() - Method in class opennlp.tools.tokenize.TokenizerME
Returns the probabilities associated with the most recent calls to AbstractTokenizer.tokenize(String) or TokenizerME.tokenizePos(String).
getTokens() - Method in class opennlp.tools.coref.mention.DefaultParse
 
getTokens() - Method in interface opennlp.tools.coref.mention.Parse
Returns a list of the tokens contained by this object.
getTokens() - Method in class opennlp.tools.coref.sim.Context
 
getTokens() - Method in class opennlp.tools.dictionary.serializer.Entry
Retrieves the Tokens.
getTokenSpans() - Method in class opennlp.tools.tokenize.TokenSample
Retrieves the token spans.
getToolNames() - Static method in class opennlp.tools.cmdline.CLI
 
getType() - Method in class opennlp.tools.coref.sim.Gender
 
getType() - Method in class opennlp.tools.coref.sim.Number
 
getType() - Method in class opennlp.tools.coref.sim.SemanticCompatibility
 
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.
getUsage() - Method in interface opennlp.tools.cmdline.ObjectStreamFactory
 
getUsage() - Method in class opennlp.tools.formats.Conll02NameSampleStreamFactory
 
getUsage() - Method in class opennlp.tools.formats.ConllXPOSSampleStreamFactory
 
getUsage() - Method in class opennlp.tools.formats.ConllXSentenceSampleStreamFactory
 
getUsage() - Method in class opennlp.tools.formats.ConllXTokenSampleStreamFactory
 
getUsage() - Method in class opennlp.tools.formats.NameSampleStreamFactory
 
getUsage() - Method in class opennlp.tools.formats.NameToSentenceSampleStreamFactory
 
getUsage() - Method in class opennlp.tools.formats.NameToTokenSampleStreamFactory
 
getUsage() - Method in class opennlp.tools.formats.POSToSentenceSampleStreamFactory
 
getUsage() - Method in class opennlp.tools.formats.POSToTokenSampleStreamFactory
 
getUsage() - Method in class opennlp.tools.formats.WordTagSampleStreamFactory
 
getValue(String) - Method in class opennlp.tools.dictionary.serializer.Attributes
Retrieves the value for the given key or null if attribute it not set.
getVersion() - Method in class opennlp.tools.util.model.BaseModel
Retrieves the OpenNLP version which was used to create the model.
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.
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.
getWordFeatures(Parse) - Static method in class opennlp.tools.coref.resolver.ResolverUtils
Returns a list of word features for the specified tokens.

H

handleStdinIoError(IOException) - Static method in class opennlp.tools.cmdline.CmdLineUtil
 
hashCode() - Method in class opennlp.tools.coref.mention.DefaultParse
 
hashCode() - Method in class opennlp.tools.dictionary.Dictionary
 
hashCode() - Method in class opennlp.tools.ngram.NGramModel
 
hashCode() - Method in class opennlp.tools.parser.Parse
 
hashCode() - Method in class opennlp.tools.util.Span
Generates a hash code of the current span.
hashCode() - Method in class opennlp.tools.util.StringList
 
HashList - Class in opennlp.tools.util
Class which creates mapping between keys and a list of values.
HashList() - Constructor for class opennlp.tools.util.HashList
 
HashSumEventStream - Class in opennlp.tools.util
 
HashSumEventStream(EventStream) - Constructor for class opennlp.tools.util.HashSumEventStream
 
hasNext() - Method in class opennlp.tools.chunker.ChunkerEventStream
 
hasNext() - Method in class opennlp.tools.namefind.NameFinderEventStream
 
hasNext() - Method in class opennlp.tools.postag.POSEventGenerator
Deprecated.  
hasNext() - Method in class opennlp.tools.postag.POSEventStream
Deprecated.  
hasNext() - Method in class opennlp.tools.tokenize.lang.en.TokenSampleStream
 
hasNext() - Method in class opennlp.tools.util.AbstractEventStream
Checks if there are more training events available.
hasNext() - Method in class opennlp.tools.util.CollectionEventStream
 
hasNext() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner
Checks if there are more partitions available.
hasNext() - Method in class opennlp.tools.util.EventTraceStream
 
hasNext() - Method in class opennlp.tools.util.HashSumEventStream
 
hasNext() - Method in class opennlp.tools.util.ReverseListIterator
 
headFinder - Variable in class opennlp.tools.coref.AbstractLinker
The head finder used in this linker.
headFinder - Variable in class opennlp.tools.coref.mention.AbstractMentionFinder
 
HeadFinder - Interface in opennlp.tools.coref.mention
Interface for finding head words in noun phrases and head noun-phrases in parses.
headRules - Variable in class opennlp.tools.parser.AbstractBottomUpParser
The head rules for the parser.
HeadRules - Interface in opennlp.tools.parser
Interface for encoding the head rules associated with parsing.
HeadRules - Class in opennlp.tools.parser.lang.en
Class for storing the English head rules associated with parsing.
HeadRules(String) - Constructor for class opennlp.tools.parser.lang.en.HeadRules
Deprecated. 
HeadRules(Reader) - Constructor for class opennlp.tools.parser.lang.en.HeadRules
Creates a new set of head rules based on the specified reader.
headTokenIndex - Variable in class opennlp.tools.coref.sim.Context
The token index in of the head word of this mention.
headTokenTag - Variable in class opennlp.tools.coref.sim.Context
 
headTokenText - Variable in class opennlp.tools.coref.sim.Context
 
Heap<E> - Interface in opennlp.tools.util
Interface for interacting with a Heap data structure.
honorificsPattern - Static variable in class opennlp.tools.coref.resolver.ResolverUtils
Regular expression for English honorifics.

I

INC_NODE - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
The label for the top if an incomplete node.
INCOMPATIBLE - Static variable in class opennlp.tools.coref.sim.SemanticEnum
Semantically incompatible.
INCOMPLETE - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
Outcome used when a constituent is incomplete.
incrementCounter(int) - Method in class opennlp.tools.cmdline.PerformanceMonitor
 
incrementCounter() - Method in class opennlp.tools.cmdline.PerformanceMonitor
 
Index - Class in opennlp.tools.dictionary
This classes indexes StringLists.
Index(Iterator<StringList>) - Constructor for class opennlp.tools.dictionary.Index
Initializes the current instance with the given StringList Iterator.
indexOf(Parse) - Method in class opennlp.tools.parser.Parse
Returns the index of this specified child.
init() - Method in class opennlp.tools.parser.AbstractParserEventStream
 
init() - Method in class opennlp.tools.parser.chunking.ParserEventStream
 
init() - Method in class opennlp.tools.parser.treeinsert.ParserEventStream
 
initHeadFinder() - Method in class opennlp.tools.coref.DefaultLinker
Initializes the head finder for this linker.
initMentionFinder() - Method in class opennlp.tools.coref.DefaultLinker
Initializes the mention finder for this linker.
initMentionFinder() - Method in class opennlp.tools.lang.english.TreebankLinker
 
initResolvers(LinkerMode, double) - Method in class opennlp.tools.coref.DefaultLinker
Initializes the resolvers used by this linker.
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.
INT_POOL - Static variable in class opennlp.tools.sentdetect.AbstractEndOfSentenceScanner
Deprecated.  
INT_POOL - Static variable in class opennlp.tools.sentdetect.DefaultEndOfSentenceScanner
 
intersects(Span) - Method in class opennlp.tools.util.Span
Returns true if the specified span intersects with this span.
InvalidFormatException - Exception in opennlp.tools.util
This exception indicates that a resource violates the expected data format.
InvalidFormatException() - Constructor for exception opennlp.tools.util.InvalidFormatException
 
InvalidFormatException(String) - Constructor for exception opennlp.tools.util.InvalidFormatException
 
InvalidFormatException(Throwable) - Constructor for exception opennlp.tools.util.InvalidFormatException
 
InvalidFormatException(String, Throwable) - Constructor for exception opennlp.tools.util.InvalidFormatException
 
invoke(Object, Method, Object[]) - Method in class opennlp.tools.cmdline.ArgumentParser
 
ISA - Static variable in interface opennlp.tools.coref.Linker
String constant used to label an mention in an appositive relationship.
isAcceptableBreak(String, int, int) - Method in class opennlp.tools.sentdetect.SentenceDetectorME
Allows subclasses to check an overzealous (read: poorly trained) model from flagging obvious non-breaks as breaks based on some boolean determination of a break's acceptability.
isAllCapitalLetter() - Method in class opennlp.tools.util.featuregen.StringPattern
 
isAllDigit() - Method in class opennlp.tools.util.featuregen.StringPattern
 
isAllLowerCaseLetter() - Method in class opennlp.tools.util.featuregen.StringPattern
 
IsAResolver - Class in opennlp.tools.coref.resolver
Resolves coreference between appositives.
IsAResolver(String, ResolverMode) - Constructor for class opennlp.tools.coref.resolver.IsAResolver
 
IsAResolver(String, ResolverMode, NonReferentialResolver) - Constructor for class opennlp.tools.coref.resolver.IsAResolver
 
isBasalNounPhrase(Parse) - Method in class opennlp.tools.coref.mention.AbstractMentionFinder
 
isChunk(boolean) - Method in class opennlp.tools.parser.Parse
 
isChunk() - Method in class opennlp.tools.parser.Parse
 
isClearAdaptiveDataSet() - Method in class opennlp.tools.namefind.NameSample
 
isConjoinedBasal(Parse) - Method in class opennlp.tools.coref.mention.AbstractMentionFinder
 
isCoordinatedNounPhrase() - Method in class opennlp.tools.coref.mention.AbstractParse
 
isCoordinatedNounPhrase() - Method in interface opennlp.tools.coref.mention.Parse
Specifies whether this parse is a coordinated noun phrase.
isCoordinatedNounPhraseCollection() - Method in class opennlp.tools.coref.mention.AbstractMentionFinder
 
isCoordinatedNounPhraseCollection() - Method in interface opennlp.tools.coref.mention.MentionFinder
Returns whether this mention finder collects coordinated noun phrases as mentions.
isEmpty() - Method in class opennlp.tools.util.Cache
 
isEmpty() - Method in class opennlp.tools.util.CountedSet
 
isEmpty() - Method in interface opennlp.tools.util.Heap
Returns whether the heap is empty.
isEmpty() - Method in class opennlp.tools.util.ListHeap
 
isEmpty() - Method in class opennlp.tools.util.TreeHeap
Deprecated.  
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
 
isModelValid(MaxentModel) - Static method in class opennlp.tools.namefind.TokenNameFinderModel
 
isNamedEntity() - Method in class opennlp.tools.coref.mention.DefaultParse
 
isNamedEntity() - Method in interface opennlp.tools.coref.mention.Parse
Specifies whether this parse is a named-entity.
isNounPhrase() - Method in class opennlp.tools.coref.mention.DefaultParse
 
isNounPhrase() - Method in interface opennlp.tools.coref.mention.Parse
Specifies whether this parse is a noun phrase.
isOfPrepPhrase(Parse) - Method in class opennlp.tools.coref.mention.AbstractMentionFinder
 
isParentNAC() - Method in class opennlp.tools.coref.mention.DefaultParse
 
isParentNAC() - Method in interface opennlp.tools.coref.mention.Parse
Determines whether this has an ancestor of type NAC.
isPossessive(Parse) - Method in class opennlp.tools.coref.mention.AbstractMentionFinder
 
isPosTag() - Method in class opennlp.tools.parser.Parse
Indicates whether this parse node is a pos-tag.
isPrenominalNamedEntityCollection() - Method in class opennlp.tools.coref.mention.AbstractMentionFinder
 
isPrenominalNamedEntityCollection() - Method in interface opennlp.tools.coref.mention.MentionFinder
Returns whether this mention finder collects pre-nominal named-entities as mentions.
isSentence() - Method in class opennlp.tools.coref.mention.DefaultParse
 
isSentence() - Method in interface opennlp.tools.coref.mention.Parse
Specifies whether this parse is a sentence.
isStarted() - Method in class opennlp.tools.cmdline.PerformanceMonitor
 
isSubstring(String, String) - Static method in class opennlp.tools.coref.resolver.ResolverUtils
 
isToken() - Method in class opennlp.tools.coref.mention.DefaultParse
 
isToken() - Method in interface opennlp.tools.coref.mention.Parse
Specifies whether this parse is a token.
isValid() - Method in class opennlp.tools.cmdline.BasicTrainingParameters
 
isValid() - Method in class opennlp.tools.cmdline.parser.TrainingParameters
 
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.
iterator() - Method in class opennlp.tools.dictionary.Dictionary
Retrieves an Iterator over all tokens.
iterator() - Method in class opennlp.tools.dictionary.serializer.Attributes
Iterates over the keys.
iterator() - Method in class opennlp.tools.ngram.NGramModel
Retrieves an Iterator over all StringList entries.
iterator() - Method in class opennlp.tools.postag.POSDictionary
 
iterator() - Method in class opennlp.tools.postag.POSSampleSequenceStream
 
iterator() - Method in class opennlp.tools.util.CountedSet
 
iterator() - Method in interface opennlp.tools.util.Heap
Returns an iterator over the elements of the heap.
iterator() - Method in class opennlp.tools.util.ListHeap
 
iterator() - Method in class opennlp.tools.util.StringList
Retrieves an Iterator over all Tokens.
iterator() - Method in class opennlp.tools.util.TreeHeap
Deprecated.  

J

JWNLDictionary - Class in opennlp.tools.coref.mention
An implementation of the Dictionary interface using the JWNL library.
JWNLDictionary(String) - Constructor for class opennlp.tools.coref.mention.JWNLDictionary
 

K

K - Variable in class opennlp.tools.parser.AbstractBottomUpParser
The maximum number of parses to advance from a single preceding parse.
kcg - Variable in class opennlp.tools.parser.chunking.ParserEventStream
 
keySet() - Method in class opennlp.tools.util.Cache
 

L

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
 
last() - Method in interface opennlp.tools.util.Heap
Returns the largest element of the heap.
last() - Method in class opennlp.tools.util.ListHeap
 
last() - Method in class opennlp.tools.util.TreeHeap
Deprecated.  
lastChild(Parse, Parse) - Method in class opennlp.tools.parser.AbstractParserEventStream
Returns true if the specified child is the last child of the specified parent.
lastChild(Parse, Parse) - Method in class opennlp.tools.parser.treeinsert.ParserEventStream
 
length() - Method in class opennlp.tools.util.Span
Returns the length of this span.
linker - Static variable in class opennlp.tools.coref.AbstractLinker
Instance used for for returning the same linker for subsequent getInstance requests.
Linker - Interface in opennlp.tools.coref
A linker provides an interface for finding mentions, getMentionFinder, and creating entities out of those mentions, getEntities.
LinkerMode - Enum in opennlp.tools.coref
Enumeration of modes in which a linker can run.
ListHeap<E extends Comparable<E>> - Class in opennlp.tools.util
This class implements the heap interface using a List as the underlying data structure.
ListHeap(int, Comparator<E>) - Constructor for class opennlp.tools.util.ListHeap
Creates a new heap with the specified size using the sorted based on the specified comparator.
ListHeap(int) - Constructor for class opennlp.tools.util.ListHeap
Creates a new heap of the specified size.
load(File) - Method in class opennlp.tools.cmdline.ModelLoader
 
loadModel(InputStream) - Method in class opennlp.tools.cmdline.chunker.ChunkerModelLoader
 
loadModel(InputStream) - Method in class opennlp.tools.cmdline.doccat.DoccatModelLoader
 
loadModel(InputStream) - Method in class opennlp.tools.cmdline.ModelLoader
 
loadModel(InputStream) - Method in class opennlp.tools.cmdline.postag.POSModelLoader
 

M

M - Variable in class opennlp.tools.parser.AbstractBottomUpParser
The maximum number of parses advanced from all preceding parses at each derivation step.
main(String[]) - Static method in class opennlp.tools.chunker.ChunkerME
Deprecated. 
main(String[]) - Static method in class opennlp.tools.chunker.ChunkerModel
 
main(String[]) - Static method in class opennlp.tools.cmdline.CLI
 
main(String[]) - Static method in class opennlp.tools.coref.CorefModel
 
main(String[]) - Static method in class opennlp.tools.coref.mention.JWNLDictionary
 
main(String[]) - Static method in class opennlp.tools.coref.sim.GenderModel
 
main(String[]) - Static method in class opennlp.tools.coref.sim.SimilarityModel
 
main(String[]) - Static method in class opennlp.tools.lang.english.TreebankLinker
Identitifies corefernce relationships for parsed input passed via standard in.
main(String[]) - Static method in class opennlp.tools.lang.spanish.TokenChunker
 
main(String[]) - Static method in class opennlp.tools.namefind.NameFinderEventStream
 
main(String[]) - Static method in class opennlp.tools.namefind.NameFinderME
Deprecated. 
main(String[]) - Static method in class opennlp.tools.namefind.TokenNameFinderEvaluator
Deprecated. 
main(String[]) - Static method in class opennlp.tools.parser.chunking.Parser
Deprecated. 
main(String[]) - Static method in class opennlp.tools.parser.chunking.ParserEventStream
 
main(String[]) - Static method in class opennlp.tools.parser.Parse
Deprecated. 
main(String[]) - Static method in class opennlp.tools.parser.ParserModel
Deprecated. 
main(String[]) - Static method in class opennlp.tools.parser.treeinsert.Parser
Deprecated. 
main(String[]) - Static method in class opennlp.tools.parser.treeinsert.ParserEventStream
 
main(String[]) - Static method in class opennlp.tools.postag.POSDictionary
 
main(String[]) - Static method in class opennlp.tools.postag.POSDictionaryWriter
Deprecated.  
main(String[]) - Static method in class opennlp.tools.postag.POSEventStream
Deprecated.  
main(String[]) - Static method in class opennlp.tools.postag.POSModel
Deprecated. 
main(String[]) - Static method in class opennlp.tools.postag.POSTaggerTrainer
Deprecated. 
main(String[]) - Static method in class opennlp.tools.sentdetect.SDCrossValidator
Deprecated. 
main(String[]) - Static method in class opennlp.tools.sentdetect.SentenceDetectorME
Trains a new sentence detection model.
main(String[]) - Static method in class opennlp.tools.sentdetect.SentenceModel
 
main(String[]) - Static method in class opennlp.tools.tokenize.lang.en.TokenSampleStream
 
main(String[]) - Static method in class opennlp.tools.tokenize.SimpleTokenizer
Deprecated. 
main(String[]) - Static method in class opennlp.tools.tokenize.TokenizerCrossValidator
Deprecated. 
main(String[]) - Static method in class opennlp.tools.tokenize.TokenizerModel
 
main(String[]) - Static method in class opennlp.tools.util.ListHeap
Deprecated. 
main(String[]) - Static method in class opennlp.tools.util.TreeHeap
Deprecated.  
MALE - Static variable in class opennlp.tools.coref.sim.GenderEnum
Male gender.
malePronounPattern - Static variable in class opennlp.tools.coref.resolver.ResolverUtils
Regular expression for English male pronouns.
MANIFEST_ENTRY - Static variable in class opennlp.tools.util.model.BaseModel
 
mapParseIndex(int, Parse[], Parse[]) - Method in class opennlp.tools.parser.AbstractBottomUpParser
Determines the mapping between the specified index into the specified parses without punctuation to the corresponding index into the specified parses.
MaxentCompatibilityModel - Class in opennlp.tools.coref.sim
Model of mention compatibiltiy using a maxent model.
MaxentCompatibilityModel(String) - Constructor for class opennlp.tools.coref.sim.MaxentCompatibilityModel
 
MaxentResolver - Class in opennlp.tools.coref.resolver
Provides common functionality used by classes which implement the Resolver class and use maximum entropy models to make resolution decisions.
MaxentResolver(int, boolean) - Constructor for class opennlp.tools.coref.resolver.MaxentResolver
Creates a maximum-entropy-based resolver which will look the specified number of entities back for a referent.
MaxentResolver(String, String, ResolverMode, int, boolean, NonReferentialResolver) - Constructor for class opennlp.tools.coref.resolver.MaxentResolver
Creates a maximum-entropy-based resolver with the specified model name, using the specified mode, which will look the specified number of entities back for a referent and prefer the first referent if specified.
MaxentResolver(String, String, ResolverMode, int) - Constructor for class opennlp.tools.coref.resolver.MaxentResolver
Creates a maximum-entropy-based resolver with the specified model name, using the specified mode, which will look the specified number of entities back for a referent.
MaxentResolver(String, String, ResolverMode, int, NonReferentialResolver) - Constructor for class opennlp.tools.coref.resolver.MaxentResolver
 
MaxentResolver(String, String, ResolverMode, int, boolean) - Constructor for class opennlp.tools.coref.resolver.MaxentResolver
 
MaxentResolver(String, String, ResolverMode, int, boolean, double) - Constructor for class opennlp.tools.coref.resolver.MaxentResolver
 
mcm - Variable in class opennlp.tools.coref.DefaultLinker
 
Mean - Class in opennlp.tools.util.eval
Calculates the arithmetic mean of values added with the Mean.add(double) method.
Mean() - Constructor for class opennlp.tools.util.eval.Mean
 
mean() - Method in class opennlp.tools.util.eval.Mean
Retrieves the mean of all values added with Mean.add(double) or 0 if there are zero added values.
Mention - Class in opennlp.tools.coref.mention
Data structure representation of a mention.
Mention(Span, Span, int, Parse, String) - Constructor for class opennlp.tools.coref.mention.Mention
 
Mention(Span, Span, int, Parse, String, String) - Constructor for class opennlp.tools.coref.mention.Mention
 
Mention(Mention) - Constructor for class opennlp.tools.coref.mention.Mention
 
MentionContext - Class in opennlp.tools.coref.mention
Data structure representation of a mention with additional contextual information.
MentionContext(Span, Span, int, Parse, String, String, int, int, int, int, HeadFinder) - Constructor for class opennlp.tools.coref.mention.MentionContext
 
MentionContext(Mention, int, int, int, int, HeadFinder) - Constructor for class opennlp.tools.coref.mention.MentionContext
Constructs context information for the specified mention.
mentionEntity(DiscourseEntity) - Method in class opennlp.tools.coref.DiscourseModel
Indicates that the specified entity has been mentioned.
mentionFinder - Variable in class opennlp.tools.coref.AbstractLinker
The mention finder used to find mentions.
MentionFinder - Interface in opennlp.tools.coref.mention
Specifies the interface that Objects which determine the space of mentions for coreference should implement.
mentionString(MentionContext) - Static method in class opennlp.tools.coref.resolver.ResolverUtils
 
mergeEntities(DiscourseEntity, DiscourseEntity, float) - Method in class opennlp.tools.coref.DiscourseModel
Merges the specified entities into a single entity with the specified confidence.
mergeInto(FMeasure) - Method in class opennlp.tools.util.eval.FMeasure
 
mode - Variable in class opennlp.tools.coref.AbstractLinker
The mode in which this linker is running.
model - Variable in class opennlp.tools.chunker.ChunkerME
The model used to assign chunk tags to a sequence of tokens.
model - Variable in class opennlp.tools.namefind.NameFinderME
 
model - Variable in class opennlp.tools.util.BeamSearch
 
ModelLoader<T> - Class in opennlp.tools.cmdline
Loads a model and does all the error handling for the command line tools.
ModelLoader(String) - Constructor for class opennlp.tools.cmdline.ModelLoader
 
ModelType - Enum in opennlp.tools.util.model
 
ModelUtil - Class in opennlp.tools.util.model
Utility class for handling of MaxentModels.

N

NAME_TYPES - Static variable in class opennlp.tools.coref.mention.DefaultParse
 
NameContextGenerator - Interface in opennlp.tools.namefind
Interface for generating the context for an name finder by specifying a set of geature generators.
NameFinderCensus90NameStream - Class in opennlp.tools.formats
This class helps to read the US Census data from the files to build a StringList for each dictionary entry in the name-finder dictionary.
NameFinderCensus90NameStream(ObjectStream<String>) - Constructor for class opennlp.tools.formats.NameFinderCensus90NameStream
This constructor takes an ObjectStream and initializes the class to handle the stream.
NameFinderCensus90NameStream(InputStream, Charset) - Constructor for class opennlp.tools.formats.NameFinderCensus90NameStream
This constructor takes an InputStream and a Charset and opens an associated stream object with the specified encoding specified.
NameFinderEventStream - Class in opennlp.tools.namefind
Class for creating an event stream out of data files for training an name finder.
NameFinderEventStream(ObjectStream<NameSample>, String, NameContextGenerator) - Constructor for class opennlp.tools.namefind.NameFinderEventStream
Creates a new name finder event stream using the specified data stream and context generator.
NameFinderEventStream(ObjectStream<NameSample>) - Constructor for class opennlp.tools.namefind.NameFinderEventStream
 
NameFinderME - Class in opennlp.tools.namefind
Class for creating a maximum-entropy-based name finder.
NameFinderME(TokenNameFinderModel) - Constructor for class opennlp.tools.namefind.NameFinderME
 
NameFinderME(TokenNameFinderModel, AdaptiveFeatureGenerator, int) - Constructor for class opennlp.tools.namefind.NameFinderME
Initializes the name finder with the specified model.
NameFinderME(TokenNameFinderModel, int) - Constructor for class opennlp.tools.namefind.NameFinderME
 
NameFinderME(MaxentModel) - Constructor for class opennlp.tools.namefind.NameFinderME
Deprecated. 
NameFinderME(MaxentModel, NameContextGenerator) - Constructor for class opennlp.tools.namefind.NameFinderME
Deprecated. 
NameFinderME(MaxentModel, NameContextGenerator, int) - Constructor for class opennlp.tools.namefind.NameFinderME
Deprecated. 
NameSample - Class in opennlp.tools.namefind
Class for holding names for a single unit of text.
NameSample(String[], Span[], String[][], boolean) - Constructor for class opennlp.tools.namefind.NameSample
Initializes the current instance.
NameSample(String[], Span[], boolean) - Constructor for class opennlp.tools.namefind.NameSample
 
NameSampleDataStream - Class in opennlp.tools.namefind
The NameSampleDataStream class converts tagged Strings provided by a DataStream to NameSample objects.
NameSampleDataStream(ObjectStream<String>) - Constructor for class opennlp.tools.namefind.NameSampleDataStream
 
NameSampleStreamFactory - Class in opennlp.tools.formats
 
NameSampleStreamFactory() - Constructor for class opennlp.tools.formats.NameSampleStreamFactory
 
NameToSentenceSampleStream - Class in opennlp.tools.formats
Note: Do not use this class, internal use only!
NameToSentenceSampleStream(Detokenizer, ObjectStream<NameSample>, int) - Constructor for class opennlp.tools.formats.NameToSentenceSampleStream
 
NameToSentenceSampleStreamFactory - Class in opennlp.tools.formats
Note: Do not use this class, internal use only!
NameToSentenceSampleStreamFactory() - Constructor for class opennlp.tools.formats.NameToSentenceSampleStreamFactory
 
NameToTokenSampleStream - Class in opennlp.tools.formats
Note: Do not use this class, internal use only!
NameToTokenSampleStream(Detokenizer, ObjectStream<NameSample>) - Constructor for class opennlp.tools.formats.NameToTokenSampleStream
 
NameToTokenSampleStreamFactory - Class in opennlp.tools.formats
Note: Do not use this class, internal use only!
NameToTokenSampleStreamFactory() - Constructor for class opennlp.tools.formats.NameToTokenSampleStreamFactory
 
nameType - Variable in class opennlp.tools.coref.mention.Mention
A string representing the name type for this extent.
ndh - Variable in class opennlp.tools.parser.AbstractBottomUpParser
Incomplete parses which have been advanced.
NEUTER - Static variable in class opennlp.tools.coref.sim.GenderEnum
Nueter gender.
neuterPronounPattern - Static variable in class opennlp.tools.coref.resolver.ResolverUtils
Regular expression for English neuter pronouns.
next() - Method in class opennlp.tools.chunker.ChunkerEventStream
 
next() - Method in class opennlp.tools.namefind.NameFinderEventStream
 
next() - Method in class opennlp.tools.postag.POSEventGenerator
Deprecated.  
next() - Method in class opennlp.tools.postag.POSEventStream
Deprecated.  
next() - Method in class opennlp.tools.tokenize.lang.en.TokenSampleStream
 
next() - Method in class opennlp.tools.util.AbstractEventStream
 
next() - Method in class opennlp.tools.util.CollectionEventStream
 
next() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner
Retrieves the next training and test partitions.
next() - Method in class opennlp.tools.util.EventTraceStream
 
next() - Method in class opennlp.tools.util.HashSumEventStream
 
next() - Method in class opennlp.tools.util.ReverseListIterator
 
NEXT_PREFIX - Static variable in class opennlp.tools.util.featuregen.WindowFeatureGenerator
 
ngramDictionary - Variable in class opennlp.tools.postag.POSTaggerME
 
NGramFeatureGenerator - Class in opennlp.tools.doccat
 
NGramFeatureGenerator() - Constructor for class opennlp.tools.doccat.NGramFeatureGenerator
 
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.
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.
NON_ATTACH - Static variable in class opennlp.tools.parser.treeinsert.Parser
Outcome used when a node should not be attached to another node.
nonReferentialResolver - Variable in class opennlp.tools.coref.resolver.MaxentResolver
The model for computing non-referential probabilities.
NonReferentialResolver - Interface in opennlp.tools.coref.resolver
Provides the interface for a object to provide a resolver with a non-referential probability.
NP - Static variable in interface opennlp.tools.coref.Linker
String constant used to label a mention which consists of a single noun phrase.
Number - Class in opennlp.tools.coref.sim
Class which models the number of an entity and the confidence of that association.
Number(NumberEnum, double) - Constructor for class opennlp.tools.coref.sim.Number
 
numberDist(Context) - Method in class opennlp.tools.coref.sim.NumberModel
 
numberDist(Context) - Method in interface opennlp.tools.coref.sim.TestNumberModel
 
NumberEnum - Class in opennlp.tools.coref.sim
Enumeration of number types.
NumberModel - Class in opennlp.tools.coref.sim
Class which models the number of particular mentions and the entities made up of mentions.
numberOfGrams() - Method in class opennlp.tools.ngram.NGramModel
Retrieves the total count of all Ngrams.
numEntitiesBack - Variable in class opennlp.tools.coref.resolver.AbstractResolver
The number of previous entities that resolver should consider.
numSentencesBack - Variable in class opennlp.tools.coref.resolver.AbstractResolver
The number of sentences back this resolver should look for a referent.

O

ObjectStream<T> - Interface in opennlp.tools.util
Reads Objects from a stream.
ObjectStreamFactory<T> - Interface in opennlp.tools.cmdline
 
ObjectStreamUtils - Class in opennlp.tools.util
 
ObjectStreamUtils() - Constructor for class opennlp.tools.util.ObjectStreamUtils
 
odh - Variable in class opennlp.tools.parser.AbstractBottomUpParser
Incomplete parses which will be advanced.
openInFile(File) - Static method in class opennlp.tools.cmdline.CmdLineUtil
 
opennlp.tools - package opennlp.tools
Contains packages which solve common NLP tasks.
opennlp.tools.chunker - package opennlp.tools.chunker
Package related to finding non-recursive syntactic annotation such as noun phrase chunks.
opennlp.tools.cmdline - package opennlp.tools.cmdline
 
opennlp.tools.cmdline.chunker - package opennlp.tools.cmdline.chunker
 
opennlp.tools.cmdline.doccat - package opennlp.tools.cmdline.doccat
 
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.coref - package opennlp.tools.coref
Package related to performing coreference resolution.
opennlp.tools.coref.mention - package opennlp.tools.coref.mention
Package related to the modeling mentions for coreference resolution.
opennlp.tools.coref.resolver - package opennlp.tools.coref.resolver
Package related to resolution techniques for coreference resolution.
opennlp.tools.coref.sim - package opennlp.tools.coref.sim
Package related to the modeling mention similarity for coreference resolution.
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.formats - package opennlp.tools.formats
Experimental package related to converting various corpora to OpenNLP Format.
opennlp.tools.lang.english - package opennlp.tools.lang.english
Package related to the processing of English data.
opennlp.tools.lang.spanish - package opennlp.tools.lang.spanish
Package related to the processing of Spanish data.
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.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.tokenize - package opennlp.tools.tokenize
Contains classes related to finding token or words in a string.
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.featuregen - package opennlp.tools.util.featuregen
This package contains classes for generating sequence features.
opennlp.tools.util.model - package opennlp.tools.util.model
 
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_PRIOR_FEATURE - Static variable in class opennlp.tools.util.featuregen.OutcomePriorFeatureGenerator
 
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
 
outOfRange(MentionContext, DiscourseEntity) - Method in class opennlp.tools.coref.resolver.AbstractResolver
Determines if the specified entity is too far from the specified mention to be resolved to it.
outOfRange(MentionContext, DiscourseEntity) - Method in class opennlp.tools.coref.resolver.IsAResolver
 
outOfRange(MentionContext, DiscourseEntity) - Method in class opennlp.tools.coref.resolver.PerfectResolver
 
outOfRange(MentionContext, DiscourseEntity) - Method in class opennlp.tools.coref.resolver.PluralPronounResolver
 
outOfRange(MentionContext, DiscourseEntity) - Method in class opennlp.tools.coref.resolver.SingularPronounResolver
 
outOfRange(MentionContext, DiscourseEntity) - Method in class opennlp.tools.coref.resolver.SpeechPronounResolver
 

P

Pair<A,B> - Class in opennlp.tools.util
Deprecated. 
Pair(A, B) - Constructor for class opennlp.tools.util.Pair
Deprecated.  
pairedSampleSelection - Variable in class opennlp.tools.coref.resolver.MaxentResolver
When true, this designates that training should consist of a single positive and a single negative example (when possible) for each mention.
ParagraphStream - Class in opennlp.tools.util
Stream filter which merges text lines into paragraphs.
ParagraphStream(ObjectStream<String>) - Constructor for class opennlp.tools.util.ParagraphStream
 
parse(String[], Class<T>) - Static method in class opennlp.tools.cmdline.ArgumentParser
 
parse - Variable in class opennlp.tools.coref.mention.Mention
The parse node that this extent is based on.
Parse - Interface in opennlp.tools.coref.mention
Interface for syntactic and named-entity information to be used in coreference annotation.
parse(String, boolean) - Static method in class opennlp.tools.namefind.NameSample
 
parse(Parse, int) - Method in class opennlp.tools.parser.AbstractBottomUpParser
 
parse(Parse) - Method in class opennlp.tools.parser.AbstractBottomUpParser
 
Parse - Class in opennlp.tools.parser
Data structure for holding parse constituents.
Parse(String, Span, String, double, int) - Constructor for class opennlp.tools.parser.Parse
Creates a new parse node for this specified text and span of the specified type with the specified probability and the specified head index.
Parse(String, Span, String, double, Parse) - Constructor for class opennlp.tools.parser.Parse
Creates a new parse node for this specified text and span of the specified type with the specified probability and the specified head and head index.
parse(Parse, int) - Method in interface opennlp.tools.parser.Parser
Returns the specified number of parses or fewer for the specified tokens.
parse(Parse) - Method in interface opennlp.tools.parser.Parser
Returns a parse for the specified parse of tokens.
parse(String) - Static method in enum opennlp.tools.parser.ParserType
 
parse(String) - Static method in class opennlp.tools.postag.POSSample
 
parse(String) - Static method in enum opennlp.tools.tokenize.DetokenizationDictionary.Operation
 
parse(String, String) - Static method in class opennlp.tools.tokenize.TokenSample
 
parse(String) - Static method in class opennlp.tools.util.Version
Return a new Version initialized to the value represented by the specified String
parseContext(String) - Static method in class opennlp.tools.coref.sim.Context
 
parseLine(String, Parser, 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(ParserModel, int, double) - Constructor for class opennlp.tools.parser.chunking.Parser
 
Parser(ParserModel) - Constructor for class opennlp.tools.parser.chunking.Parser
 
Parser(MaxentModel, MaxentModel, POSTagger, Chunker, HeadRules) - Constructor for class opennlp.tools.parser.chunking.Parser
Deprecated. 
Parser(MaxentModel, MaxentModel, POSTagger, Chunker, HeadRules, int, double) - Constructor for class opennlp.tools.parser.chunking.Parser
Deprecated. 
Parser - Interface in opennlp.tools.parser
Interface for full-syntactic parsers.
Parser - Class in opennlp.tools.parser.treeinsert
Built/attach parser.
Parser(ParserModel, int, double) - Constructor for class opennlp.tools.parser.treeinsert.Parser
 
Parser(ParserModel) - Constructor for class opennlp.tools.parser.treeinsert.Parser
 
Parser(AbstractModel, AbstractModel, AbstractModel, POSTagger, Chunker, HeadRules, int, double) - Constructor for class opennlp.tools.parser.treeinsert.Parser
Deprecated. 
Parser(AbstractModel, AbstractModel, AbstractModel, POSTagger, Chunker, HeadRules) - Constructor for class opennlp.tools.parser.treeinsert.Parser
Deprecated. 
ParserChunkerSequenceValidator - Class in opennlp.tools.parser
 
ParserChunkerSequenceValidator(ChunkerModel) - Constructor for class opennlp.tools.parser.ParserChunkerSequenceValidator
 
ParserEventStream - Class in opennlp.tools.parser.chunking
Wrapper class for one of four parser event streams.
ParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum, Dictionary) - Constructor for class opennlp.tools.parser.chunking.ParserEventStream
Create an event stream based on the specified data stream of the specified type using the specified head rules.
ParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum) - Constructor for class opennlp.tools.parser.chunking.ParserEventStream
 
ParserEventStream - Class in opennlp.tools.parser.treeinsert
 
ParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum, Dictionary) - Constructor for class opennlp.tools.parser.treeinsert.ParserEventStream
 
ParserEventStream(ObjectStream<Parse>, HeadRules, ParserEventTypeEnum) - Constructor for class opennlp.tools.parser.treeinsert.ParserEventStream
 
ParserEventTypeEnum - Enum in opennlp.tools.parser
Enumerated type of event types for the parser.
ParserFactory - Class in opennlp.tools.parser
 
ParserModel - Class in opennlp.tools.parser
This is an abstract base class for ParserModel implementations.
ParserModel(String, AbstractModel, AbstractModel, AbstractModel, POSModel, ChunkerModel, HeadRules, ParserType, Map<String, String>) - Constructor for class opennlp.tools.parser.ParserModel
 
ParserModel(String, AbstractModel, AbstractModel, AbstractModel, POSModel, ChunkerModel, HeadRules, ParserType) - Constructor for class opennlp.tools.parser.ParserModel
 
ParserModel(String, AbstractModel, AbstractModel, POSModel, ChunkerModel, HeadRules, ParserType, Map<String, String>) - Constructor for class opennlp.tools.parser.ParserModel
 
ParserModel(InputStream) - Constructor for class opennlp.tools.parser.ParserModel
 
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
 
PerfectResolver - Class in opennlp.tools.coref.resolver
Resolver used in training to update the discourse model based on the coreference annotation.
PerfectResolver() - Constructor for class opennlp.tools.coref.resolver.PerfectResolver
 
PerformanceMonitor - Class in opennlp.tools.cmdline
The PerformanceMonitor measures increments to a counter.
PerformanceMonitor(PrintStream, String) - Constructor for class opennlp.tools.cmdline.PerformanceMonitor
 
PerformanceMonitor(String) - Constructor for class opennlp.tools.cmdline.PerformanceMonitor
 
PlainTextByLineStream - Class in opennlp.tools.util
Reads a plain text file and return each line as a String object.
PlainTextByLineStream(Reader) - Constructor for class opennlp.tools.util.PlainTextByLineStream
Initializes the current instance.
PlainTextByLineStream(InputStream, String) - Constructor for class opennlp.tools.util.PlainTextByLineStream
 
PlainTextByLineStream(InputStream, Charset) - Constructor for class opennlp.tools.util.PlainTextByLineStream
 
PlainTextByLineStream(FileChannel, String) - Constructor for class opennlp.tools.util.PlainTextByLineStream
 
PlainTextByLineStream(FileChannel, Charset) - Constructor for class opennlp.tools.util.PlainTextByLineStream
 
PLURAL - Static variable in class opennlp.tools.coref.sim.NumberEnum
Plural number type.
PluralNounResolver - Class in opennlp.tools.coref.resolver
Resolves coreference between plural nouns.
PluralNounResolver(String, ResolverMode) - Constructor for class opennlp.tools.coref.resolver.PluralNounResolver
 
PluralNounResolver(String, ResolverMode, NonReferentialResolver) - Constructor for class opennlp.tools.coref.resolver.PluralNounResolver
 
pluralPronounPattern - Static variable in class opennlp.tools.coref.resolver.ResolverUtils
Regular expression for English plural pronouns.
PluralPronounResolver - Class in opennlp.tools.coref.resolver
Resolves coreference between plural pronouns and their referents.
PluralPronounResolver(String, ResolverMode) - Constructor for class opennlp.tools.coref.resolver.PluralPronounResolver
 
PluralPronounResolver(String, ResolverMode, NonReferentialResolver) - Constructor for class opennlp.tools.coref.resolver.PluralPronounResolver
 
pluralThirdPersonPronounPattern - Static variable in class opennlp.tools.coref.resolver.ResolverUtils
Regular expression for English plural third person pronouns.
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
 
POSDictionary(String) - Constructor for class opennlp.tools.postag.POSDictionary
Deprecated. Use POSDictionary.create(InputStream) instead, old format might removed.
POSDictionary(String, boolean) - Constructor for class opennlp.tools.postag.POSDictionary
Deprecated. Use POSDictionary.create(InputStream) instead, old format might removed.
POSDictionary(String, String, boolean) - Constructor for class opennlp.tools.postag.POSDictionary
Deprecated. Use POSDictionary.create(InputStream) instead, old format might removed.
POSDictionary(BufferedReader, boolean) - Constructor for class opennlp.tools.postag.POSDictionary
Deprecated. Use POSDictionary.create(InputStream) instead, old format might removed.
POSDictionaryWriter - Class in opennlp.tools.postag
Deprecated. 
POSDictionaryWriter(String, String) - Constructor for class opennlp.tools.postag.POSDictionaryWriter
Deprecated.  
POSDictionaryWriter(String) - Constructor for class opennlp.tools.postag.POSDictionaryWriter
Deprecated.  
POSEvaluator - Class in opennlp.tools.postag
The POSEvaluator measures the performance of the given POSTagger with the provided reference POSSamplees.
POSEvaluator(POSTagger) - Constructor for class opennlp.tools.postag.POSEvaluator
Initializes the current instance.
POSEventCollector - Class in opennlp.tools.postag
Deprecated. 
POSEventCollector(Reader, POSContextGenerator) - Constructor for class opennlp.tools.postag.POSEventCollector
Deprecated. Initializes the current instance.
POSEventGenerator - Class in opennlp.tools.postag
Deprecated. 
POSEventGenerator(POSContextGenerator) - Constructor for class opennlp.tools.postag.POSEventGenerator
Deprecated. Creates an event generator with the specified context generator.
POSEventGenerator() - Constructor for class opennlp.tools.postag.POSEventGenerator
Deprecated. Creates an event generator with a default context generator.
POSEventStream - Class in opennlp.tools.postag
Deprecated. 
POSEventStream(DataStream) - Constructor for class opennlp.tools.postag.POSEventStream
Deprecated. Initializes the current instance.
POSEventStream(DataStream, Dictionary) - Constructor for class opennlp.tools.postag.POSEventStream
Deprecated. Initializes the current instance.
POSEventStream(DataStream, POSContextGenerator) - Constructor for class opennlp.tools.postag.POSEventStream
Deprecated. Initializes the current instance.
POSModel - Class in opennlp.tools.postag
The POSModel is the model used by a learnable POSTagger.
POSModel(String, AbstractModel, POSDictionary, Dictionary, Map<String, String>) - Constructor for class opennlp.tools.postag.POSModel
 
POSModel(String, AbstractModel, POSDictionary, Dictionary) - Constructor for class opennlp.tools.postag.POSModel
 
POSModel(InputStream) - Constructor for class opennlp.tools.postag.POSModel
 
posModel - Variable in class opennlp.tools.postag.POSTaggerME
The maximum entropy model to use to evaluate contexts.
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
 
POSSample - Class in opennlp.tools.postag
Represents an pos-tagged sentence.
POSSample(String[], String[]) - Constructor for class opennlp.tools.postag.POSSample
 
POSSample(List<String>, List<String>) - Constructor for class opennlp.tools.postag.POSSample
 
POSSampleEventStream - Class in opennlp.tools.postag
This class reads the POSSamples from the given Iterator and converts the POSSamples into Events which can be used by the maxent library for training.
POSSampleEventStream(ObjectStream<POSSample>, POSContextGenerator) - Constructor for class opennlp.tools.postag.POSSampleEventStream
Initializes the current instance with the given samples and the given POSContextGenerator.
POSSampleEventStream(ObjectStream<POSSample>) - Constructor for class opennlp.tools.postag.POSSampleEventStream
Initializes the current instance with given samples and a DefaultPOSContextGenerator.
POSSampleSequenceStream - Class in opennlp.tools.postag
 
POSSampleSequenceStream(ObjectStream<POSSample>) - Constructor for class opennlp.tools.postag.POSSampleSequenceStream
 
POSSampleSequenceStream(ObjectStream<POSSample>, POSContextGenerator) - Constructor for class opennlp.tools.postag.POSSampleSequenceStream
 
PosSampleStream - Class in opennlp.tools.parser
 
PosSampleStream(ObjectStream<Parse>) - Constructor for class opennlp.tools.parser.PosSampleStream
 
POSTagger - Interface in opennlp.tools.postag
The interface for part of speech taggers.
POSTaggerConverter - Class in opennlp.tools.cmdline.postag
 
POSTaggerConverter() - Constructor for class opennlp.tools.cmdline.postag.POSTaggerConverter
 
POSTaggerCrossValidator - Class in opennlp.tools.postag
 
POSTaggerCrossValidator(String, ModelType, POSDictionary, Dictionary, int, int) - Constructor for class opennlp.tools.postag.POSTaggerCrossValidator
 
POSTaggerCrossValidator(String, ModelType, POSDictionary, Dictionary) - Constructor for class opennlp.tools.postag.POSTaggerCrossValidator
 
POSTaggerEvaluatorTool - Class in opennlp.tools.cmdline.postag
 
POSTaggerEvaluatorTool() - Constructor for class opennlp.tools.cmdline.postag.POSTaggerEvaluatorTool
 
POSTaggerME - Class in opennlp.tools.postag
A part-of-speech tagger that uses maximum entropy.
POSTaggerME(POSModel) - Constructor for class opennlp.tools.postag.POSTaggerME
Initializes the current instance with the provided model and the default beam size of 3.
POSTaggerME(POSModel, int, int) - Constructor for class opennlp.tools.postag.POSTaggerME
Initializes the current instance with the provided model and provided beam size.
POSTaggerME(AbstractModel, TagDictionary) - Constructor for class opennlp.tools.postag.POSTaggerME
Deprecated. 
POSTaggerME(AbstractModel, Dictionary) - Constructor for class opennlp.tools.postag.POSTaggerME
Deprecated. 
POSTaggerME(AbstractModel, Dictionary, TagDictionary) - Constructor for class opennlp.tools.postag.POSTaggerME
Deprecated. 
POSTaggerME(AbstractModel, POSContextGenerator) - Constructor for class opennlp.tools.postag.POSTaggerME
Deprecated. 
POSTaggerME(AbstractModel, POSContextGenerator, TagDictionary) - Constructor for class opennlp.tools.postag.POSTaggerME
Deprecated. 
POSTaggerME(int, AbstractModel, POSContextGenerator, TagDictionary) - Constructor for class opennlp.tools.postag.POSTaggerME
Deprecated. 
POSTaggerTool - Class in opennlp.tools.cmdline.postag
 
POSTaggerTool() - Constructor for class opennlp.tools.cmdline.postag.POSTaggerTool
 
POSTaggerTrainer - Class in opennlp.tools.postag
Deprecated. Use POSTaggerME.train(String, ObjectStream, opennlp.tools.util.model.ModelType, POSDictionary, Dictionary, int, int) instead.
POSTaggerTrainer() - Constructor for class opennlp.tools.postag.POSTaggerTrainer
Deprecated.  
POSTaggerTrainerTool - Class in opennlp.tools.cmdline.postag
 
POSTaggerTrainerTool() - Constructor for class opennlp.tools.cmdline.postag.POSTaggerTrainerTool
 
POSToSentenceSampleStream - Class in opennlp.tools.formats
Note: Do not use this class, internal use only!
POSToSentenceSampleStreamFactory - Class in opennlp.tools.formats
Note: Do not use this class, internal use only!
POSToSentenceSampleStreamFactory() - Constructor for class opennlp.tools.formats.POSToSentenceSampleStreamFactory
 
POSToTokenSampleStream - Class in opennlp.tools.formats
Note: Do not use this class, internal use only!
POSToTokenSampleStream(Detokenizer, ObjectStream<POSSample>) - Constructor for class opennlp.tools.formats.POSToTokenSampleStream
 
POSToTokenSampleStreamFactory - Class in opennlp.tools.formats
Note: Do not use this class, internal use only!
POSToTokenSampleStreamFactory() - Constructor for class opennlp.tools.formats.POSToTokenSampleStreamFactory
 
precision(Object[], Object[]) - Static method in class opennlp.tools.util.eval.FMeasure
Calculates the precision score for the given reference and predicted spans.
preferFirstReferent - Variable in class opennlp.tools.coref.resolver.MaxentResolver
When true, this designates that the resolver should use the first referent encountered which it more preferable than non-reference.
PrefixFeatureGenerator - Class in opennlp.tools.util.featuregen
 
PrefixFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.PrefixFeatureGenerator
 
PREV_PREFIX - Static variable in class opennlp.tools.util.featuregen.WindowFeatureGenerator
 
PreviousMapFeatureGenerator - Class in opennlp.tools.util.featuregen
This FeatureGeneratorAdapter generates features indicating the outcome associated with a previously occuring word.
PreviousMapFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.PreviousMapFeatureGenerator
 
printTrainingIoError(IOException) - Static method in class opennlp.tools.cmdline.CmdLineUtil
 
probs(double[]) - Method in class opennlp.tools.chunker.ChunkerME
Populates the specified array with the probabilities of the last decoded sequence.
probs() - Method in class opennlp.tools.chunker.ChunkerME
Returns an array with the probabilities of the last decoded sequence.
probs(double[]) - Method in class opennlp.tools.namefind.NameFinderME
Populates the specified array with the probabilities of the last decoded sequence.
probs() - Method in class opennlp.tools.namefind.NameFinderME
Returns an array with the probabilities of the last decoded sequence.
probs(Span[]) - Method in class opennlp.tools.namefind.NameFinderME
Returns an array of probabilities for each of the specified spans which is the product the probabilities for each of the outcomes which make up the span.
probs(double[]) - Method in class opennlp.tools.postag.POSTaggerME
Populates the specified array with the probabilities for each tag of the last tagged sentence.
probs() - Method in class opennlp.tools.postag.POSTaggerME
Returns an array with the probabilities for each tag of the last tagged sentence.
production(Parse, boolean) - Method in class opennlp.tools.parser.AbstractContextGenerator
Generates a string representing the grammar rule production that the specified parse is starting.
PRONOUN_MODIFIER - Static variable in interface opennlp.tools.coref.Linker
String constant used to label a mention which is a pronoun.
PROPER_NOUN_MODIFIER - Static variable in interface opennlp.tools.coref.Linker
String constant used to label a mention which is a proper noun modifying another noun.
ProperNounResolver - Class in opennlp.tools.coref.resolver
Resolves coreference between proper nouns.
ProperNounResolver(String, ResolverMode) - Constructor for class opennlp.tools.coref.resolver.ProperNounResolver
 
ProperNounResolver(String, ResolverMode, NonReferentialResolver) - Constructor for class opennlp.tools.coref.resolver.ProperNounResolver
 
pruneParse(Parse) - Static method in class opennlp.tools.parser.Parse
Prune the specified sentence parse of vacuous productions.
PTBHeadFinder - Class in opennlp.tools.coref.mention
Finds head information from Penn Treebank style parses.
PTBMentionFinder - Class in opennlp.tools.coref.mention
Finds mentions from Penn Treebank style parses.
punct(Parse, int) - Method in class opennlp.tools.parser.AbstractContextGenerator
Creates punctuation feature for the specified punctuation at the specified index based on the punctuation mark.
punctbo(Parse, int) - Method in class opennlp.tools.parser.AbstractContextGenerator
Creates punctuation feature for the specified punctuation at the specfied index based on the punctuation's tag.
punctSet - Variable in class opennlp.tools.parser.AbstractBottomUpParser
The set strings which are considered punctuation for the parser.
punctSet - Variable in class opennlp.tools.parser.AbstractContextGenerator
Set of punctuation to be used in generating features.
punctSet - Variable in class opennlp.tools.parser.AbstractParserEventStream
 
put(StringList) - Method in class opennlp.tools.dictionary.Dictionary
Adds the tokens to the dictionary as one new entry.
put(Object, Object) - Method in class opennlp.tools.util.Cache
 
put(Object, Object) - Method in class opennlp.tools.util.HashList
 
putAll(Map) - Method in class opennlp.tools.util.Cache
 
putAll(Object, Collection) - Method in class opennlp.tools.util.HashList
 

Q

Q - Variable in class opennlp.tools.parser.AbstractBottomUpParser
The minimum total probability mass of advanced outcomes.

R

read() - Method in class opennlp.tools.chunker.ChunkSampleStream
 
read() - Method in class opennlp.tools.doccat.DocumentSampleStream
 
read() - Method in class opennlp.tools.formats.AbstractToSentenceSampleStream
 
read() - Method in class opennlp.tools.formats.Conll02NameSampleStream
 
read() - Method in class opennlp.tools.formats.ConllXPOSSampleStream
 
read() - Method in class opennlp.tools.formats.NameFinderCensus90NameStream
 
read() - Method in class opennlp.tools.formats.NameToTokenSampleStream
 
read() - Method in class opennlp.tools.formats.POSToTokenSampleStream
 
read() - Method in class opennlp.tools.namefind.NameSampleDataStream
 
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.WordTagSampleStream
Parses the next sentence and return the next POSSample object.
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.CollectionObjectStream
 
read() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner.TrainingSampleStream
 
read(InputStream) - Static method in class opennlp.tools.util.model.ModelUtil
Writes the provided InputStream into a byte array which is returned
read() - Method in interface opennlp.tools.util.ObjectStream
Returns the next object.
read() - Method in class opennlp.tools.util.ParagraphStream
 
read() - Method in class opennlp.tools.util.PlainTextByLineStream
 
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(Pattern[]) - Constructor for class opennlp.tools.namefind.RegexNameFinder
 
register(Map<String, ArtifactSerializer>) - Static method in class opennlp.tools.util.model.GenericModelSerializer
 
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.
remove(int) - Method in class opennlp.tools.parser.Parse
 
remove() - Method in class opennlp.tools.tokenize.lang.en.TokenSampleStream
 
remove(Object) - Method in class opennlp.tools.util.Cache
 
remove(Object) - Method in class opennlp.tools.util.CountedSet
 
remove() - Method in class opennlp.tools.util.EventTraceStream
 
remove(Object, Object) - Method in class opennlp.tools.util.HashList
 
remove() - Method in class opennlp.tools.util.HashSumEventStream
 
remove() - Method in class opennlp.tools.util.ReverseListIterator
 
removeAll(Collection<?>) - Method in class opennlp.tools.util.CountedSet
 
removeUnresolvedMentions - Variable in class opennlp.tools.coref.AbstractLinker
Specifies whether mentions for which no resolver can be used should be added to the discourse model.
reportFailedParse - Variable in class opennlp.tools.parser.AbstractBottomUpParser
Specifies whether failed parses should be reported to standard error.
reset() - Method in class opennlp.tools.formats.Conll02NameSampleStream
 
reset() - Method in class opennlp.tools.formats.NameFinderCensus90NameStream
 
reset() - Method in class opennlp.tools.tokenize.TokenizerStream
 
reset() - Method in class opennlp.tools.util.CollectionObjectStream
 
reset() - Method in class opennlp.tools.util.eval.CrossValidationPartitioner.TrainingSampleStream
Throws UnsupportedOperationException
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.
resolve(MentionContext, DiscourseModel) - Method in class opennlp.tools.coref.AbstractLinker
Resolves the specified mention to an entity in the specified discourse model or creates a new entity for the mention.
resolve(MentionContext, DiscourseModel) - Method in class opennlp.tools.coref.resolver.MaxentResolver
 
resolve(MentionContext, DiscourseModel) - Method in class opennlp.tools.coref.resolver.PerfectResolver
 
resolve(MentionContext, DiscourseModel) - Method in interface opennlp.tools.coref.resolver.Resolver
Resolve this referring expression to a discourse entity in the discourse model.
Resolver - Interface in opennlp.tools.coref.resolver
Interface for coreference resolvers.
ResolverMode - Enum in opennlp.tools.coref.resolver
Enumerated type specifying the modes if a resolver.
resolverNames - Variable in class opennlp.tools.coref.AbstractLinker
The names of the resolvers used by this Linker.
resolvers - Variable in class opennlp.tools.coref.AbstractLinker
The resolvers used by this Linker.
ResolverUtils - Class in opennlp.tools.coref.resolver
This class provides a set of utilities for turning mentions into normalized strings and features.
ResolverUtils() - Constructor for class opennlp.tools.coref.resolver.ResolverUtils
 
retain(MentionContext, DiscourseModel) - Method in class opennlp.tools.coref.resolver.AbstractResolver
 
retain(MentionContext, DiscourseModel) - Method in class opennlp.tools.coref.resolver.MaxentResolver
 
retain(MentionContext, DiscourseModel) - Method in interface opennlp.tools.coref.resolver.Resolver
Uses the specified mention and discourse model to train this resolver.
retainAll(Collection<?>) - Method in class opennlp.tools.util.CountedSet
 
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
 
rules - Variable in class opennlp.tools.parser.AbstractParserEventStream
 
run(String[]) - Method in class opennlp.tools.cmdline.AbstractConverterTool
 
run(String[]) - Method in class opennlp.tools.cmdline.chunker.ChunkerMETool
 
run(String[]) - Method in class opennlp.tools.cmdline.chunker.ChunkerTrainerTool
 
run(String[]) - Method in interface opennlp.tools.cmdline.CmdLineTool
Executes the tool with the given parameters.
run(String[]) - Method in class opennlp.tools.cmdline.doccat.DoccatTool
 
run(String[]) - Method in class opennlp.tools.cmdline.doccat.DoccatTrainerTool
 
run(String[]) - Method in class opennlp.tools.cmdline.namefind.CensusDictionaryCreatorTool
This method is much like the old main() method used in prior class construction, and allows another main class to run() this classes method to perform the operations.
run(String[]) - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderEvaluatorTool
 
run(String[]) - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderTool
 
run(String[]) - Method in class opennlp.tools.cmdline.namefind.TokenNameFinderTrainerTool
 
run(String[]) - Method in class opennlp.tools.cmdline.parser.ParserTool
 
run(String[]) - Method in class opennlp.tools.cmdline.parser.ParserTrainerTool
 
run(String[]) - Method in class opennlp.tools.cmdline.parser.TaggerModelReplacerTool
 
run(String[]) - Method in class opennlp.tools.cmdline.postag.POSTaggerEvaluatorTool
 
run(String[]) - Method in class opennlp.tools.cmdline.postag.POSTaggerTool
 
run(String[]) - Method in class opennlp.tools.cmdline.postag.POSTaggerTrainerTool
 
run(String[]) - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorCrossValidatorTool
 
run(String[]) - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorEvaluatorTool
 
run(String[]) - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorTool
Perform sentence detection the input stream.
run(String[]) - Method in class opennlp.tools.cmdline.sentdetect.SentenceDetectorTrainerTool
 
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.TokenizerCrossValidatorTool
 
run(String[]) - Method in class opennlp.tools.cmdline.tokenizer.TokenizerMEEvaluatorTool
 
run(String[]) - Method in class opennlp.tools.cmdline.tokenizer.TokenizerMETool
 
run(String[]) - Method in class opennlp.tools.cmdline.tokenizer.TokenizerTrainerTool
 

S

SAME - Static variable in class opennlp.tools.coref.resolver.MaxentResolver
Outcomes when two mentions are coreferent.
samples - Variable in class opennlp.tools.util.FilterObjectStream
 
SB - Variable in class opennlp.tools.postag.DefaultPOSContextGenerator
 
SDContextGenerator - Interface in opennlp.tools.sentdetect
Interface for SentenceDetectorME context generators.
SDCrossValidator - Class in opennlp.tools.sentdetect
 
SDCrossValidator(String, int, int) - Constructor for class opennlp.tools.sentdetect.SDCrossValidator
 
SDCrossValidator(String) - Constructor for class opennlp.tools.sentdetect.SDCrossValidator
 
SDEventStream - Class in opennlp.tools.sentdetect
 
SDEventStream(ObjectStream<SentenceSample>, SDContextGenerator, EndOfSentenceScanner) - Constructor for class opennlp.tools.sentdetect.SDEventStream
Initializes the current instance.
SE - Variable in class opennlp.tools.postag.DefaultPOSContextGenerator
 
secondPersonPronounPattern - Static variable in class opennlp.tools.coref.resolver.ResolverUtils
Regular expression for English singular second person pronouns.
SemanticCompatibility - Class in opennlp.tools.coref.sim
Class which models the semantic compatibility of an enity and the confidence of that association.
SemanticCompatibility(SemanticEnum, double) - Constructor for class opennlp.tools.coref.sim.SemanticCompatibility
 
SemanticEnum - Class in opennlp.tools.coref.sim
 
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.
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
 
SentenceDetectorEvaluator - Class in opennlp.tools.sentdetect
The SentenceDetectorEvaluator measures the performance of the given SentenceDetector with the provided reference SentenceSamples.
SentenceDetectorEvaluator(SentenceDetector) - 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
 
SentenceDetectorME - Class in opennlp.tools.sentdetect
A sentence detector for splitting up raw text into sentences.
SentenceDetectorME(SentenceModel) - Constructor for class opennlp.tools.sentdetect.SentenceDetectorME
Initializes the current instance.
SentenceDetectorME(SentenceModel, Factory) - Constructor for class opennlp.tools.sentdetect.SentenceDetectorME
 
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
 
SentenceFeatureGenerator - Class in opennlp.tools.util.featuregen
This feature generator creates sentence begin and end features.
SentenceFeatureGenerator(boolean, boolean) - Constructor for class opennlp.tools.util.featuregen.SentenceFeatureGenerator
 
SentenceModel - Class in opennlp.tools.sentdetect
The SentenceModel is the model used by a learnable SentenceDetector.
SentenceModel(String, AbstractModel, boolean, Dictionary, Map<String, String>) - Constructor for class opennlp.tools.sentdetect.SentenceModel
 
SentenceModel(String, AbstractModel, boolean, Dictionary) - Constructor for class opennlp.tools.sentdetect.SentenceModel
 
SentenceModel(InputStream) - Constructor for class opennlp.tools.sentdetect.SentenceModel
 
SentenceSample - Class in opennlp.tools.sentdetect
A SentenceSample contains a document with begin indexes of the individual sentences.
SentenceSample(String, Span...) - Constructor for class opennlp.tools.sentdetect.SentenceSample
Initializes the current instance.
SentenceSample(Detokenizer, String[][]) - Constructor for class opennlp.tools.sentdetect.SentenceSample
 
SentenceSampleStream - Class in opennlp.tools.sentdetect
This class is a stream filter which reads a sentence by line samples from a Reader and converts them into SentenceSample objects.
SentenceSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.sentdetect.SentenceSampleStream
 
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 - Class in opennlp.tools.util
Represents a weighted sequence of outcomes.
Sequence() - Constructor for class opennlp.tools.util.Sequence
Creates a new sequence of outcomes.
Sequence(Sequence) - Constructor for class opennlp.tools.util.Sequence
 
Sequence(Sequence, String, double) - Constructor for class opennlp.tools.util.Sequence
 
Sequence(List<String>) - Constructor for class opennlp.tools.util.Sequence
 
SequenceValidator<T> - Interface in opennlp.tools.util
 
serialize(OutputStream) - Method in class opennlp.tools.dictionary.Dictionary
Writes the current instance to the given OutputStream.
serialize(OutputStream, Iterator<Entry>) - Static method in class opennlp.tools.dictionary.serializer.DictionarySerializer
Serializes the given entries to the given OutputStream.
serialize(OutputStream) - Method in class opennlp.tools.ngram.NGramModel
Writes the ngram instance to the given OutputStream.
serialize(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(OutputStream) - Method in class opennlp.tools.postag.POSDictionary
Writes the POSDictionary to the given OutputStream; After the serialization is finished the provided OutputStream remains open.
serialize(OutputStream) - Method in class opennlp.tools.tokenize.DetokenizationDictionary
 
serialize(T, OutputStream) - Method in interface opennlp.tools.util.model.ArtifactSerializer
Serializes the artifact to the provided OutputStream.
serialize(OutputStream) - Method in class opennlp.tools.util.model.BaseModel
Serializes the model to the given OutputStream.
serialize(Class<?>, OutputStream) - Method in class opennlp.tools.util.model.ClassSerializer
Deprecated.  
serialize(FeatureGeneratorFactory, OutputStream) - Method in class opennlp.tools.util.model.FeatureGeneratorFactorySerializer
Deprecated.  
serialize(AbstractModel, OutputStream) - Method in class opennlp.tools.util.model.GenericModelSerializer
 
setCategory(String) - Method in class opennlp.tools.coref.DiscourseEntity
Specifies the semantic category of this entity.
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.
setCoordinatedNounPhraseCollection(boolean) - Method in class opennlp.tools.coref.mention.AbstractMentionFinder
 
setCoordinatedNounPhraseCollection(boolean) - Method in interface opennlp.tools.coref.mention.MentionFinder
Specifies whether coordinated noun phrases should be collected as mentions.
setCount(StringList, int) - Method in class opennlp.tools.ngram.NGramModel
Sets the count of an existing ngram.
setCount(E, int) - Method in class opennlp.tools.util.CountedSet
Assigns the specified object the specified count in the set.
setCurrentContext(String[][]) - Method in class opennlp.tools.util.featuregen.AdditionalContextFeatureGenerator
 
setDerivation(StringBuffer) - Method in class opennlp.tools.parser.Parse
Specifies the derivation string to be associated with this parse.
setDictionary(Dictionary) - Method in class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
 
setDictionary(String, Dictionary) - Method in class opennlp.tools.util.featuregen.DictionaryFeatureGenerator
 
setEntities(Mention[]) - Method in class opennlp.tools.coref.AbstractLinker
 
setEntities(Mention[]) - Method in interface opennlp.tools.coref.Linker
Indicated that the specified mentions can be used to train this linker.
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.
setExtents(Context[]) - Method in class opennlp.tools.coref.sim.GenderModel
 
setExtents(Context[]) - Method in class opennlp.tools.coref.sim.NumberModel
 
setExtents(Context[]) - Method in class opennlp.tools.coref.sim.SimilarityModel
 
setExtents(Context[]) - Method in interface opennlp.tools.coref.sim.TrainSimilarityModel
Creates simialrity training pairs based on the specified extents.
setGender(GenderEnum) - Method in class opennlp.tools.coref.DiscourseEntity
Specifies the gender of this entity.
setGender(GenderEnum, double) - Method in class opennlp.tools.coref.mention.MentionContext
Assigns the specified gender with the specified probability to this mention.
setGenderProbability(double) - Method in class opennlp.tools.coref.DiscourseEntity
Specifies the probability of the gender of this entity.
setId(int) - Method in class opennlp.tools.coref.DiscourseElement
Associates an id with this element.
setId(int) - Method in class opennlp.tools.coref.mention.Mention
Associates an id with this mention.
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.
setManifestProperty(String, String) - Method in class opennlp.tools.util.model.BaseModel
Sets a given value for a given key to the manifest.properties entry.
setNameType(String) - Method in class opennlp.tools.coref.mention.Mention
Specifies the named-entity category associated with this mention.
setNextPunctuation(Collection<Parse>) - Method in class opennlp.tools.parser.Parse
Sets the set of punctuation tags which follow this parse.
setNumber(NumberEnum) - Method in class opennlp.tools.coref.DiscourseEntity
Specifies the number of this entity.
setNumber(NumberEnum, double) - Method in class opennlp.tools.coref.mention.MentionContext
Assigns the specified number with the specified probability to this mention.
setNumberProbability(double) - Method in class opennlp.tools.coref.DiscourseEntity
Specifies the probability of the number of this entity.
setNumberSentencesBack(int) - Method in class opennlp.tools.coref.resolver.AbstractResolver
Specifies the number of sentences back this resolver should look for a referent.
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.
setParse(Parse) - Method in class opennlp.tools.coref.mention.Mention
Specifies the parse for this mention.
setPrenominalNamedEntityCollection(boolean) - Method in class opennlp.tools.coref.mention.AbstractMentionFinder
 
setPrenominalNamedEntityCollection(boolean) - Method in interface opennlp.tools.coref.mention.MentionFinder
Specifies whether pre-nominal named-entities should be collected as mentions.
setPrevPunctuation(Collection<Parse>) - Method in class opennlp.tools.parser.Parse
Sets the set of punctuation tags which preceed this parse.
setSimilarityModel(TestSimilarityModel) - Static method in class opennlp.tools.coref.resolver.MaxentResolver
 
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.
ShallowParseMentionFinder - Class in opennlp.tools.coref.mention
Finds mentions from shallow np-chunking based parses.
show(StringBuffer) - Method in class opennlp.tools.parser.Parse
Appends the specified string buffer with a string representation of this parse.
show() - Method in class opennlp.tools.parser.Parse
Displays this parse using Penn Treebank-style formatting.
showCodeTree() - Method in class opennlp.tools.parser.Parse
Prints to standard out a representation of the specified parse which contains hash codes so that parent/child relationships can be explicitly seen.
showExclusions - Variable in class opennlp.tools.coref.resolver.AbstractResolver
Debugging variable which specifies whether error output is generated if a class excludes as possibly coreferent mentions which are in-fact coreferent.
SimilarityModel - Class in opennlp.tools.coref.sim
Models semantic similarity between two mentions and returns a score based on how semantically comparable the mentions are with one another.
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
 
SingletonNonReferentialResolver - Class in opennlp.tools.coref.resolver
This class allows you to share a single instance of a non-referential resolver among several resolvers.
SINGULAR - Static variable in class opennlp.tools.coref.sim.NumberEnum
Singular number type.
SINGULAR_PRONOUN - Variable in class opennlp.tools.coref.AbstractLinker
The index of resolver which is used for singular pronouns.
singularPronounPattern - Static variable in class opennlp.tools.coref.resolver.ResolverUtils
Regular expression for English singular pronouns.
SingularPronounResolver - Class in opennlp.tools.coref.resolver
This class resolver singular pronouns such as "he", "she", "it" and their various forms.
SingularPronounResolver(String, ResolverMode) - Constructor for class opennlp.tools.coref.resolver.SingularPronounResolver
 
SingularPronounResolver(String, ResolverMode, NonReferentialResolver) - Constructor for class opennlp.tools.coref.resolver.SingularPronounResolver
 
singularThirdPersonPronounPattern - Static variable in class opennlp.tools.coref.resolver.ResolverUtils
Regular expression for English singular third person pronouns.
size() - Method in class opennlp.tools.dictionary.Dictionary
Retrieves the number of tokens in the current instance.
size() - Method in class opennlp.tools.ngram.NGramModel
Retrieves the number of StringList entries in the current instance.
size - Variable in class opennlp.tools.postag.POSTaggerME
The size of the beam to be used in determining the best sequence of pos tags.
size - Variable in class opennlp.tools.util.BeamSearch
 
size() - Method in class opennlp.tools.util.Cache
 
size() - Method in class opennlp.tools.util.CountedSet
 
size() - Method in interface opennlp.tools.util.Heap
Returns the size of the heap.
size() - Method in class opennlp.tools.util.ListHeap
 
size() - Method in class opennlp.tools.util.StringList
Retrieves the number of tokens inside this list.
size() - Method in class opennlp.tools.util.TreeHeap
Deprecated.  
Span - Class in opennlp.tools.util
Class for storing start and end integer offsets.
Span(int, int, String) - Constructor for class opennlp.tools.util.Span
Initializes a new Span Object.
Span(int, int) - Constructor for class opennlp.tools.util.Span
Initializes a new Span Object.
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.
spansToStrings(Span[], CharSequence) - Static method in class opennlp.tools.util.Span
Converts an array of Spans to an array of Strings.
spansToStrings(Span[], String[]) - Static method in class opennlp.tools.util.Span
 
speechPronounPattern - Static variable in class opennlp.tools.coref.resolver.ResolverUtils
Regular expression for English speech pronouns.
SpeechPronounResolver - Class in opennlp.tools.coref.resolver
Resolves pronouns specific to quoted speech such as "you", "me", and "I".
SpeechPronounResolver(String, ResolverMode) - Constructor for class opennlp.tools.coref.resolver.SpeechPronounResolver
 
SpeechPronounResolver(String, ResolverMode, NonReferentialResolver) - Constructor for class opennlp.tools.coref.resolver.SpeechPronounResolver
 
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() - Method in class opennlp.tools.cmdline.PerformanceMonitor
 
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
 
startAndPrintThroughput() - Method in class opennlp.tools.cmdline.PerformanceMonitor
 
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.
stopAndPrintFinalResult() - Method in class opennlp.tools.cmdline.PerformanceMonitor
 
StringList - Class in opennlp.tools.util
The StringList is an immutable list of Strings.
StringList(String) - Constructor for class opennlp.tools.util.StringList
Initializes the current instance.
StringList(String...) - Constructor for class opennlp.tools.util.StringList
Initializes the current instance.
StringPattern - Class in opennlp.tools.util.featuregen
Recognizes predefined patterns in strings.
StringUtil - Class in opennlp.tools.util
 
StringUtil() - Constructor for class opennlp.tools.util.StringUtil
 
stripNp(MentionContext) - Static method in class opennlp.tools.coref.resolver.ResolverUtils
Returns a string for the specified mention with punctuation, honorifics, designators, and determiners removed.
subtract(E) - Method in class opennlp.tools.util.CountedSet
Reduces the count associated with this object by 1.
SuffixFeatureGenerator - Class in opennlp.tools.util.featuregen
 
SuffixFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.SuffixFeatureGenerator
 
surround(Parse, int, String, Collection<Parse>, List<String>) - Method in class opennlp.tools.parser.AbstractContextGenerator
Generates features for nodes surrounding a completed node of the specified type.
synsets - Variable in class opennlp.tools.coref.sim.Context
 

T

tag(List<String>) - Method in interface opennlp.tools.postag.POSTagger
Assigns the sentence of tokens pos tags.
tag(String[]) - Method in interface opennlp.tools.postag.POSTagger
Assigns the sentence of tokens pos tags.
tag(String) - Method in interface opennlp.tools.postag.POSTagger
Assigns the sentence of space-delimied tokens pos tags.
tag(List<String>) - Method in class opennlp.tools.postag.POSTaggerME
 
tag(String[]) - Method in class opennlp.tools.postag.POSTaggerME
 
tag(int, String[]) - Method in class opennlp.tools.postag.POSTaggerME
Returns at most the specified number of taggings for the specified sentence.
tag(String) - Method in class opennlp.tools.postag.POSTaggerME
 
tagDictionary - Variable in class opennlp.tools.postag.POSTaggerME
Tag dictionary used for restricting words to a fixed set of tags.
TagDictionary - Interface in opennlp.tools.postag
Interface to determine which tags are valid for a particular word based on a tag dictionary.
tagger - Variable in class opennlp.tools.parser.AbstractBottomUpParser
The pos-tagger that the parser uses.
TaggerModelReplacerTool - Class in opennlp.tools.cmdline.parser
 
TaggerModelReplacerTool() - Constructor for class opennlp.tools.cmdline.parser.TaggerModelReplacerTool
 
TerminateToolException - Exception in opennlp.tools.cmdline
Exception to terminate the execution of a command line tool.
TerminateToolException(int) - Constructor for exception opennlp.tools.cmdline.TerminateToolException
 
test(AbstractModel) - Static method in class opennlp.tools.postag.POSTaggerTrainer
Deprecated. 
TestGenderModel - Interface in opennlp.tools.coref.sim
Interface for testing a gender model.
testModel(String) - Static method in class opennlp.tools.coref.sim.GenderModel
 
testModel(String) - Static method in class opennlp.tools.coref.sim.NumberModel
 
testModel(String) - Static method in class opennlp.tools.coref.sim.SimilarityModel
 
TestNumberModel - Interface in opennlp.tools.coref.sim
Interface for testing a number model.
TestSimilarityModel - Interface in opennlp.tools.coref.sim
Interface for testing a similarity model.
thirdPersonPronounPattern - Static variable in class opennlp.tools.coref.resolver.ResolverUtils
Regular expression for English third person pronouns.
toArray() - Method in class opennlp.tools.util.CountedSet
 
toArray(T[]) - Method in class opennlp.tools.util.CountedSet
 
toDictionary() - Method in class opennlp.tools.ngram.NGramModel
Creates a dictionary which contain all StringList which are in the current NGramModel.
toDictionary(boolean) - Method in class opennlp.tools.ngram.NGramModel
Creates a dictionary which contains all StringLists which are in the current NGramModel.
TOK_NODE - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
The label for a token node.
TokenChunker - Class in opennlp.tools.lang.spanish
Class which identifies multi-token chunk which are treated as a single token in for POS-tagging.
TokenChunker(String) - Constructor for class opennlp.tools.lang.spanish.TokenChunker
 
TokenClassFeatureGenerator - Class in opennlp.tools.util.featuregen
Generates features for different for the class of the token.
TokenClassFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.TokenClassFeatureGenerator
 
TokenClassFeatureGenerator(boolean) - Constructor for class opennlp.tools.util.featuregen.TokenClassFeatureGenerator
 
TokenContextGenerator - Interface in opennlp.tools.tokenize
Interface for TokenizerME context generators.
tokenFeature(String) - Static method in class opennlp.tools.util.featuregen.FastTokenClassFeatureGenerator
 
tokenFeature(String) - Static method in class opennlp.tools.util.featuregen.FeatureGeneratorUtil
Generates a class name for the specified token.
TokenFeatureGenerator - Class in opennlp.tools.util.featuregen
Generates a feature which contains the token itself.
TokenFeatureGenerator(boolean) - Constructor for class opennlp.tools.util.featuregen.TokenFeatureGenerator
 
TokenFeatureGenerator() - Constructor for class opennlp.tools.util.featuregen.TokenFeatureGenerator
 
tokenize(String) - Method in interface opennlp.tools.tokenize.Tokenizer
Splits a string into its atomic parts
tokenizePos(String) - Method in class opennlp.tools.tokenize.SimpleTokenizer
 
tokenizePos(String) - Method in interface opennlp.tools.tokenize.Tokenizer
Finds the boundaries of atomic parts in a string.
tokenizePos(String) - Method in class opennlp.tools.tokenize.TokenizerME
Tokenizes the string.
tokenizePos(String) - Method in class opennlp.tools.tokenize.WhitespaceTokenizer
 
Tokenizer - Interface in opennlp.tools.tokenize
The interface for tokenizers, which segment a string into its tokens.
TokenizerConverterTool - Class in opennlp.tools.cmdline.tokenizer
 
TokenizerConverterTool() - Constructor for class opennlp.tools.cmdline.tokenizer.TokenizerConverterTool
 
TokenizerCrossValidator - Class in opennlp.tools.tokenize
 
TokenizerCrossValidator(String, boolean, int, int) - Constructor for class opennlp.tools.tokenize.TokenizerCrossValidator
 
TokenizerCrossValidator(String, boolean) - Constructor for class opennlp.tools.tokenize.TokenizerCrossValidator
 
TokenizerCrossValidatorTool - Class in opennlp.tools.cmdline.tokenizer
 
TokenizerCrossValidatorTool() - Constructor for class opennlp.tools.cmdline.tokenizer.TokenizerCrossValidatorTool
 
TokenizerEvaluator - Class in opennlp.tools.tokenize
The TokenizerEvaluator measures the performance of the given Tokenizer with the provided reference TokenSamples.
TokenizerEvaluator(Tokenizer) - Constructor for class opennlp.tools.tokenize.TokenizerEvaluator
Initializes the current instance with the given Tokenizer.
TokenizerME - Class in opennlp.tools.tokenize
A Tokenizer for converting raw text into separated tokens.
TokenizerME(TokenizerModel) - Constructor for class opennlp.tools.tokenize.TokenizerME
 
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 learnable Tokenizer.
TokenizerModel(String, AbstractModel, boolean, Map<String, String>) - Constructor for class opennlp.tools.tokenize.TokenizerModel
Initializes the current instance.
TokenizerModel(String, AbstractModel, boolean) - Constructor for class opennlp.tools.tokenize.TokenizerModel
Initializes the current instance.
TokenizerModel(InputStream) - Constructor for class opennlp.tools.tokenize.TokenizerModel
Initializes the current instance.
TokenizerStream - Class in opennlp.tools.tokenize
The TokenizerStream uses a tokenizer to tokenize the input string and output TokenSamples.
TokenizerStream(Tokenizer, ObjectStream<String>) - Constructor for class opennlp.tools.tokenize.TokenizerStream
 
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, int, int) - Constructor for class opennlp.tools.namefind.TokenNameFinderCrossValidator
 
TokenNameFinderEvaluator - Class in opennlp.tools.namefind
The TokenNameFinderEvaluator measures the performance of the given TokenNameFinder with the provided reference NameSamples.
TokenNameFinderEvaluator(TokenNameFinder) - 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
 
TokenNameFinderModel - Class in opennlp.tools.namefind
The TokenNameFinderModel is the model used by a learnable TokenNameFinder.
TokenNameFinderModel(String, AbstractModel, Map<String, Object>, Map<String, String>) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
 
TokenNameFinderModel(InputStream) - Constructor for class opennlp.tools.namefind.TokenNameFinderModel
 
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.
tokens - Variable in class opennlp.tools.coref.sim.Context
 
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 from a file of space delimited token.
TokenSampleStream(InputStream) - Constructor for class opennlp.tools.tokenize.lang.en.TokenSampleStream
 
TokenSampleStream - Class in opennlp.tools.tokenize
This class is a stream filter which reads in string encoded samples and creates TokenSamples out of them.
TokenSampleStream(ObjectStream<String>, String) - Constructor for class opennlp.tools.tokenize.TokenSampleStream
 
TokenSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.tokenize.TokenSampleStream
 
TokSpanEventStream - Class in opennlp.tools.tokenize
This class reads the TokenSamples from the given Iterator and converts the TokenSamples into Events which can be used by the maxent library for training.
TokSpanEventStream(ObjectStream<TokenSample>, boolean, TokenContextGenerator) - Constructor for class opennlp.tools.tokenize.TokSpanEventStream
Initializes the current instance.
TokSpanEventStream(ObjectStream<TokenSample>, boolean) - Constructor for class opennlp.tools.tokenize.TokSpanEventStream
Initializes the current instance.
toLowerCase(CharSequence) - Static method in class opennlp.tools.util.StringUtil
Converts to lower case independent of the current locale via Character.toLowerCase(char) which uses mapping information from the UnicodeData file.
TOP_NODE - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
The label for the top node.
topKSequences(List<String>, List<String>) - Method in interface opennlp.tools.chunker.Chunker
Returns the top k chunk sequences for the specified sentence with the specified pos-tags
topKSequences(String[], String[], double) - Method in interface opennlp.tools.chunker.Chunker
Returns the top k chunk sequences for the specified sentence with the specified pos-tags
topKSequences(List<String>, List<String>) - Method in class opennlp.tools.chunker.ChunkerME
 
topKSequences(String[], String[], double) - Method in class opennlp.tools.chunker.ChunkerME
 
topKSequences(List<String>) - Method in interface opennlp.tools.postag.POSTagger
 
topKSequences(String[]) - Method in interface opennlp.tools.postag.POSTagger
 
topKSequences(List<String>) - Method in class opennlp.tools.postag.POSTaggerME
 
topKSequences(String[]) - Method in class opennlp.tools.postag.POSTaggerME
 
toSentence(T) - Method in class opennlp.tools.formats.AbstractToSentenceSampleStream
 
toSentence(NameSample) - Method in class opennlp.tools.formats.NameToSentenceSampleStream
 
toSentence(POSSample) - Method in class opennlp.tools.formats.POSToSentenceSampleStream
 
toString() - Method in class opennlp.tools.chunker.ChunkSample
 
toString() - Method in class opennlp.tools.coref.DiscourseElement
 
toString() - Method in class opennlp.tools.coref.mention.DefaultParse
 
toString() - Method in class opennlp.tools.coref.mention.Mention
 
toString() - Method in interface opennlp.tools.coref.mention.Parse
 
toString() - Method in class opennlp.tools.coref.sim.Context
 
toString() - Method in class opennlp.tools.coref.sim.GenderEnum
 
toString() - Method in class opennlp.tools.coref.sim.NumberEnum
 
toString() - Method in class opennlp.tools.coref.sim.SemanticEnum
 
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.namefind.NameSample
 
toString() - Method in class opennlp.tools.ngram.NGramModel
 
toString() - Method in class opennlp.tools.parser.Parse
 
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.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.Pair
Deprecated.  
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.Version
Retrieves the version string.
toText() - Method in class opennlp.tools.coref.mention.MentionContext
Returns the text of this mention.
toUpperCase(CharSequence) - Static method in class opennlp.tools.util.StringUtil
Converts to upper case independent of the current locale via Character.toUpperCase(char) which uses mapping information from the UnicodeData file.
train(String, ObjectStream<ChunkSample>, int, int, ChunkerContextGenerator) - Static method in class opennlp.tools.chunker.ChunkerME
 
train(String, ObjectStream<ChunkSample>, int, int) - Static method in class opennlp.tools.chunker.ChunkerME
Trains a new model for the ChunkerME.
train() - Method in class opennlp.tools.coref.AbstractLinker
 
train() - Method in interface opennlp.tools.coref.Linker
Trains the linker based on the data specified via calls to setEntities.
train() - Method in class opennlp.tools.coref.resolver.AbstractResolver
 
train() - Method in class opennlp.tools.coref.resolver.DefaultNonReferentialResolver
 
train() - Method in class opennlp.tools.coref.resolver.FixedNonReferentialResolver
 
train() - Method in class opennlp.tools.coref.resolver.MaxentResolver
 
train() - Method in interface opennlp.tools.coref.resolver.NonReferentialResolver
Trains a model based on the events given to this resolver via #addEvent.
train() - Method in interface opennlp.tools.coref.resolver.Resolver
Retrains model on examples for which retain was called.
train() - Method in class opennlp.tools.coref.resolver.SingletonNonReferentialResolver
 
train(DocumentCategorizerEventStream) - Static method in class opennlp.tools.doccat.DocumentCategorizerME
Deprecated. 
train(String, ObjectStream<DocumentSample>, int, int, FeatureGenerator...) - Static method in class opennlp.tools.doccat.DocumentCategorizerME
Trains a document categorizer model with custom feature generation.
train(String, ObjectStream<DocumentSample>) - Static method in class opennlp.tools.doccat.DocumentCategorizerME
Trains a doccat model with default feature generation.
train(String, String, ObjectStream<NameSample>, AdaptiveFeatureGenerator, Map<String, Object>, int, int) - Static method in class opennlp.tools.namefind.NameFinderME
Trains a name finder model.
train(String, String, ObjectStream<NameSample>, Map<String, Object>, int, int) - Static method in class opennlp.tools.namefind.NameFinderME
 
train(String, String, ObjectStream<NameSample>, Map<String, Object>) - Static method in class opennlp.tools.namefind.NameFinderME
 
train(EventStream, int, int) - Static method in class opennlp.tools.namefind.NameFinderME
Deprecated. 
train(EventStream, int, int) - Static method in class opennlp.tools.parser.chunking.Parser
Deprecated. 
train(String, ObjectStream<Parse>, HeadRules, int, int) - Static method in class opennlp.tools.parser.chunking.Parser
 
train(String, ObjectStream<Parse>, HeadRules, int, int) - Static method in class opennlp.tools.parser.treeinsert.Parser
 
train(EventStream, int, int) - Static method in class opennlp.tools.parser.treeinsert.Parser
Deprecated. 
train(String, ObjectStream<POSSample>, ModelType, POSDictionary, Dictionary, int, int) - Static method in class opennlp.tools.postag.POSTaggerME
 
train(String, ObjectStream<POSSample>, POSDictionary, Dictionary, int, int) - Static method in class opennlp.tools.postag.POSTaggerTrainer
Deprecated.  
train(String, ObjectStream<SentenceSample>, boolean, Dictionary) - Static method in class opennlp.tools.sentdetect.SentenceDetectorME
 
train(String, ObjectStream<SentenceSample>, boolean, Dictionary, int, int) - Static method in class opennlp.tools.sentdetect.SentenceDetectorME
 
train(String, ObjectStream<TokenSample>, boolean, int, int) - Static method in class opennlp.tools.tokenize.TokenizerME
Trains a model for the TokenizerME.
train(String, ObjectStream<TokenSample>, boolean) - Static method in class opennlp.tools.tokenize.TokenizerME
Trains a model for the TokenizerME with a default cutoff of 5 and 100 iterations.
trainAndUpdate(ParserModel, ObjectStream<Parse>, BasicTrainingParameters) - Method in class opennlp.tools.cmdline.parser.BuildModelUpdaterTool
 
trainAndUpdate(ParserModel, ObjectStream<Parse>, BasicTrainingParameters) - Method in class opennlp.tools.cmdline.parser.CheckModelUpdaterTool
 
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.cmdline.parser
 
trainMaxentModel(EventStream, File) - Static method in class opennlp.tools.postag.POSTaggerTrainer
Deprecated. 
trainMaxentModel(EventStream, int, int) - Static method in class opennlp.tools.postag.POSTaggerTrainer
Deprecated. 
trainModel(String) - Static method in class opennlp.tools.coref.sim.GenderModel
 
trainModel() - Method in class opennlp.tools.coref.sim.GenderModel
 
trainModel(String) - Static method in class opennlp.tools.coref.sim.NumberModel
 
trainModel() - Method in class opennlp.tools.coref.sim.NumberModel
 
trainModel(String) - Static method in class opennlp.tools.coref.sim.SimilarityModel
 
trainModel() - Method in class opennlp.tools.coref.sim.SimilarityModel
Train a model based on the previously supplied evidence.
trainModel() - Method in interface opennlp.tools.coref.sim.TrainSimilarityModel
 
trainPerceptronModel(EventStream, int, int, boolean) - Static method in class opennlp.tools.postag.POSTaggerTrainer
Deprecated.  
trainPerceptronModel(EventStream, int, int) - Static method in class opennlp.tools.postag.POSTaggerTrainer
Deprecated.  
trainPerceptronSequenceModel(SequenceStream, int, int, boolean) - Static method in class opennlp.tools.postag.POSTaggerTrainer
Deprecated.  
TrainSimilarityModel - Interface in opennlp.tools.coref.sim
Interface for training a similarity, gender, or number model.
TreebankLinker - Class in opennlp.tools.lang.english
This class perform coreference for treebank style parses.
TreebankLinker(String, LinkerMode) - Constructor for class opennlp.tools.lang.english.TreebankLinker
 
TreebankLinker(String, LinkerMode, boolean) - Constructor for class opennlp.tools.lang.english.TreebankLinker
 
TreebankLinker(String, LinkerMode, boolean, double) - Constructor for class opennlp.tools.lang.english.TreebankLinker
 
TreeHeap<E> - Class in opennlp.tools.util
Deprecated. not used anymore, when there is need for a heap use ListHeap instead
TreeHeap() - Constructor for class opennlp.tools.util.TreeHeap
Deprecated. Creates a new tree heap.
TreeHeap(int) - Constructor for class opennlp.tools.util.TreeHeap
Deprecated. Creates a new tree heap of the specified size.
type - Variable in class opennlp.tools.coref.mention.Mention
A string representing the type of this extent.

U

UncloseableInputStream - Class in opennlp.tools.util.model
An InputStream which cannot be closed.
UncloseableInputStream(InputStream) - Constructor for class opennlp.tools.util.model.UncloseableInputStream
 
UNKNOWN - Static variable in class opennlp.tools.coref.sim.GenderEnum
Unknown gender.
UNKNOWN - Static variable in class opennlp.tools.coref.sim.NumberEnum
Unknown number type.
UNKNOWN - Static variable in class opennlp.tools.coref.sim.SemanticEnum
Semantic compatibility Unknown.
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 aggregated AdaptiveFeatureGenerators.
updateAdaptiveData(String[], String[]) - Method in class opennlp.tools.util.featuregen.CachedFeatureGenerator
 
updateAdaptiveData(String[], String[]) - Method in class opennlp.tools.util.featuregen.FeatureGeneratorAdapter
 
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.WindowFeatureGenerator
 
updateBuildModel(AbstractModel) - Method in class opennlp.tools.parser.ParserModel
 
updateCheckModel(AbstractModel) - Method in class opennlp.tools.parser.ParserModel
 
updateChunkerModel(ChunkerModel) - Method in class opennlp.tools.parser.ParserModel
 
updateContext(Sequence, AbstractModel) - Method in class opennlp.tools.postag.POSSampleSequenceStream
 
updateExtent(DiscourseModel, MentionContext, DiscourseEntity, boolean) - Method in class opennlp.tools.coref.AbstractLinker
Updates the specified discourse model with the specified mention as coreferent with the specified entity.
updateHeads(HeadRules) - Method in class opennlp.tools.parser.Parse
Computes the head parses for this parse and its sub-parses and stores this information in the parse data structure.
updateScores(Object[], Object[]) - Method in class opennlp.tools.util.eval.FMeasure
 
updateSpan() - Method in class opennlp.tools.parser.Parse
 
updateTaggerModel(POSModel) - Method in class opennlp.tools.parser.ParserModel
 
usage() - Static method in class opennlp.tools.postag.POSModel
 
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
 
useClosedClassTagsFilter - Variable in class opennlp.tools.postag.POSTaggerME
Says whether a filter should be used to check whether a tag assignment is to a word outside of a closed class.
useDiscourseModel - Variable in class opennlp.tools.coref.AbstractLinker
Specifies whether coreferent mentions should be combined into a single entity.
useFunctionTags(boolean) - Static method in class opennlp.tools.parser.Parse
Specifies whether function tags should be included as part of the constituent type.
useLabel - Variable in class opennlp.tools.parser.AbstractContextGenerator
 
useSameModelForNonRef - Variable in class opennlp.tools.coref.resolver.MaxentResolver
When true, this designates that the same maximum entropy model should be used non-reference events (the pairing of a mention and the "null" reference) as is used for potentially referential pairs.
useTokenEnd - Variable in class opennlp.tools.sentdetect.SentenceDetectorME
 
useTokenEnd() - Method in class opennlp.tools.sentdetect.SentenceModel
 

V

validateArguments(String[], Class<T>) - Static method in class opennlp.tools.cmdline.ArgumentParser
 
validateArguments(String[]) - Method in interface opennlp.tools.cmdline.ObjectStreamFactory
 
validateArguments(String[]) - Method in class opennlp.tools.formats.Conll02NameSampleStreamFactory
 
validateArguments(String[]) - Method in class opennlp.tools.formats.ConllXPOSSampleStreamFactory
 
validateArguments(String[]) - Method in class opennlp.tools.formats.ConllXSentenceSampleStreamFactory
 
validateArguments(String[]) - Method in class opennlp.tools.formats.ConllXTokenSampleStreamFactory
 
validateArguments(String[]) - Method in class opennlp.tools.formats.NameSampleStreamFactory
 
validateArguments(String[]) - Method in class opennlp.tools.formats.NameToSentenceSampleStreamFactory
 
validateArguments(String[]) - Method in class opennlp.tools.formats.NameToTokenSampleStreamFactory
 
validateArguments(String[]) - Method in class opennlp.tools.formats.POSToSentenceSampleStreamFactory
 
validateArguments(String[]) - Method in class opennlp.tools.formats.POSToTokenSampleStreamFactory
 
validateArguments(String[]) - Method in class opennlp.tools.formats.WordTagSampleStreamFactory
 
validateArtifactMap() - Method in class opennlp.tools.chunker.ChunkerModel
 
validateArtifactMap() - Method in class opennlp.tools.doccat.DoccatModel
 
validateArtifactMap() - Method in class opennlp.tools.namefind.TokenNameFinderModel
 
validateArtifactMap() - Method in class opennlp.tools.postag.POSModel
 
validateArtifactMap() - Method in class opennlp.tools.sentdetect.SentenceModel
 
validateArtifactMap() - Method in class opennlp.tools.tokenize.TokenizerModel
 
validateArtifactMap() - Method in class opennlp.tools.util.model.BaseModel
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.
validOutcome(String, String[]) - Method in class opennlp.tools.chunker.DefaultChunkerSequenceValidator
 
validSequence(int, String[], String[], String) - Method in class opennlp.tools.chunker.DefaultChunkerSequenceValidator
 
validSequence(int, String[], 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.
valueOf(String) - Static method in enum opennlp.tools.coref.LinkerMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum opennlp.tools.coref.resolver.ResolverMode
Returns the enum constant of this type with the specified name.
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.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.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.model.ModelType
Returns the enum constant of this type with the specified name.
values() - Static method in enum opennlp.tools.coref.LinkerMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum opennlp.tools.coref.resolver.ResolverMode
Returns an array containing the constants of this enum type, in the order they are declared.
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.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.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() - Method in class opennlp.tools.util.Cache
 
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.
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.

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 TokenSamples 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(AdaptiveFeatureGenerator, int, int) - Constructor for class opennlp.tools.util.featuregen.WindowFeatureGenerator
Initializes the current instance with the given parameters.
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 isntance with the given parameters.
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(Reader) - Constructor for class opennlp.tools.postag.WordTagSampleStream
Initializes the current instance.
WordTagSampleStream(ObjectStream<String>) - Constructor for class opennlp.tools.postag.WordTagSampleStream
 
WordTagSampleStreamFactory - Class in opennlp.tools.formats
Note: Do not use this class, internal use only!
WordTagSampleStreamFactory() - Constructor for class opennlp.tools.formats.WordTagSampleStreamFactory
 
write() - Method in class opennlp.tools.postag.POSDictionaryWriter
Deprecated.  
write(int) - Method in class opennlp.tools.postag.POSDictionaryWriter
Deprecated.  
write(String, int) - Method in class opennlp.tools.util.CountedSet
Deprecated. 
write(String, int, String) - Method in class opennlp.tools.util.CountedSet
Deprecated. 
write(String, int, String, String) - Method in class opennlp.tools.util.CountedSet
Deprecated. 
writeModel(String, File, BaseModel) - Static method in class opennlp.tools.cmdline.CmdLineUtil
Writes a BaseModel to disk.
writeModel(AbstractModel, OutputStream) - Static method in class opennlp.tools.util.model.ModelUtil
Writes the given model to the given OutputStream.

Z

ZERO - Static variable in class opennlp.tools.parser.AbstractBottomUpParser
The integer 0.
zeroBackOff - Variable in class opennlp.tools.parser.AbstractContextGenerator
 

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

Copyright © 2010. All Rights Reserved.