Package opennlp.tools.namefind
package opennlp.tools.namefind
Package related to finding proper names and numeric amounts.
-
ClassDescriptionThe default
SequenceCodec
implementation according to theBILOU
scheme.ASequenceValidator
implementation for theBilouCodec
.The defaultSequenceCodec
implementation according to theBIO
scheme: B: 'beginning' of a NE I: 'inside', the word is inside a NE O: 'outside', the word is a regular word outside a NE See also the paper by Roth D. and Ratinov L.: Design Challenges and Misconceptions in Named Entity Recognition.ANameContextGenerator
implementation for determining contextual features for atag-chunk
style named-entity recognizer.This is aDictionary
basedname finder
.Interface for processing an entire document allowing aTokenNameFinder
to use context from the entire document.Interface for generating the context for aname finder
by specifying a set of feature generators.Class for creating an event stream out of data files for training anTokenNameFinder
.A maximum-entropy-basedname finder
implementation.The default name finderSequenceValidator
implementation.Encapsulates names for a single unit of text.TheNameSampleDataStream
class converts taggedstrings
provided by aDataStream
toNameSample
objects.ASequenceStream
implementation encapsulatingsamples
.Astream
which removesname samples
which do not have a certain type.ATokenNameFinder
implementation based on a series of regular expressions.Returns aRegexNameFinder
based on a selection of defaults or a configuration and a selection of defaults.Enumeration of typical regex expressions available in OpenNLP.The interface for name finders which provide name tags for a sequence of tokens.Cross validator forTokenNameFinder
.A marker interface for evaluatingname finders
.TheTokenNameFinderEvaluator
measures the performance of the givenTokenNameFinder
with the provided referencesamples
.The factory that providesTokenNameFinder
default implementations and resources.TheTokenNameFinderModel
is the model used by a learnableTokenNameFinder
.