Package opennlp.tools.namefind
package opennlp.tools.namefind
-
ClassDescriptionThe default
SequenceCodecimplementation according to theBILOUscheme.ASequenceValidatorimplementation for theBilouCodec.The defaultSequenceCodecimplementation according to theBIOscheme: B: 'beginning' of a NE I: 'inside', the word is inside a NE O: 'outside', the word is a regular word outside a NE See also the paper by Roth D.ANameContextGeneratorimplementation for determining contextual features for atag-chunkstyle named-entity recognizer.This is aDictionarybasedname finder.Interface for processing an entire document allowing aTokenNameFinderto use context from the entire document.Interface for generating the context for aname finderby specifying a set of feature generators.Adapts aTokenNameFinderto the document pipeline: readsLayers.SENTENCESandLayers.TOKENS, maps the finder's token-index spans to character spans on the original text, and providesLayers.ENTITIES.Class for creating an event stream out of data files for training anTokenNameFinder.A maximum-entropy-basedname finderimplementation.The default name finderSequenceValidatorimplementation.Encapsulates names for a single unit of text.TheNameSampleDataStreamclass converts tagged tokens provided by a DataStream toNameSampleobjects.ASequenceStreamimplementation encapsulatingsamples.Astreamwhich removesname sampleswhich do not have a certain type.ATokenNameFinderthat can additionally report detected spans in the character coordinates of the original input, mapping back through any text normalization applied before detection.ATokenNameFinderimplementation based on a series of regular expressions.Returns aRegexNameFinderbased on a selection of defaults or a configuration and a selection of defaults.Enumeration of typical regex expressions available in OpenNLP.Deprecated.The interface for name finders which provide name tags for a sequence of tokens.Cross validator forTokenNameFinder.Splitsdocument samplesintoname samples.Readssamplesto group them as a document based on the clear adaptive data flag.A marker interface for evaluatingname finders.TheTokenNameFinderEvaluatormeasures the performance of the givenTokenNameFinderwith the provided referencesamples.The factory that providesTokenNameFinderdefault implementations and resources.TheTokenNameFinderModelis the model used by a learnableTokenNameFinder.
NameFinderMEis itself thread-safe.