Uses of Interface opennlp.tools.util.SequenceCodec (Apache OpenNLP Tools 2.5.9 API)
Description: use: package: opennlp.tools.util, interface: SequenceCodec

# Uses of Interface
opennlp.tools.util.SequenceCodec

Packages that use SequenceCodec
Package
Description
opennlp.tools.cmdline.namefind
opennlp.tools.namefind
Package related to finding proper names and numeric amounts.

- ## Uses of SequenceCodec in opennlp.tools.cmdline.namefind

  Constructors in opennlp.tools.cmdline.namefind with parameters of type SequenceCodec
  Modifier
  Constructor
  Description
  ``
  `TokenNameFinderFineGrainedReportListener(SequenceCodec<String> seqCodec)`
  Creates a listener that will print to the configured `logger`.
  ``
  `TokenNameFinderFineGrainedReportListener(SequenceCodec<String> seqCodec, OutputStream outputStream)`
  Creates a listener that prints to a given `OutputStream`.

- ## Uses of SequenceCodec in opennlp.tools.namefind

  Classes in opennlp.tools.namefind that implement SequenceCodec
  Modifier and Type
  Class
  Description
  `class`
  `BilouCodec`
  The default `SequenceCodec` implementation according to the `BILOU` scheme.
  `class`
  `BioCodec`
  The default `SequenceCodec` implementation according to the `BIO` 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.
  Methods in opennlp.tools.namefind that return SequenceCodec
  Modifier and Type
  Method
  Description
  `SequenceCodec<String>`
  TokenNameFinderFactory.`createSequenceCodec()`
  `protected SequenceCodec<String>`
  TokenNameFinderFactory.`getSequenceCodec()`
  `SequenceCodec<String>`
  TokenNameFinderModel.`getSequenceCodec()`
  `static SequenceCodec<String>`
  TokenNameFinderFactory.`instantiateSequenceCodec(String sequenceCodecImplName)`
  Initializes a `SequenceCodec` instance via given parameters.
  Methods in opennlp.tools.namefind with parameters of type SequenceCodec
  Modifier and Type
  Method
  Description
  `static TokenNameFinderFactory`
  TokenNameFinderFactory.`create(String subclassName, byte[] featureGeneratorBytes, Map<String,Object> resources, SequenceCodec<String> seqCodec)`
  Initializes a `TokenNameFinderFactory` instance via given parameters.
  Constructors in opennlp.tools.namefind with parameters of type SequenceCodec
  Modifier
  Constructor
  Description
  ``
  `NameFinderEventStream(ObjectStream<NameSample> dataStream, String type, NameContextGenerator contextGenerator, SequenceCodec<String> codec)`
  Initializes a `NameFinderEventStream` using the specified `dataStream` and `NameContextGenerator`.
  ``
  `NameSampleSequenceStream(ObjectStream<NameSample> psi, NameContextGenerator pcg, boolean useOutcomes, SequenceCodec<String> seqCodec)`
  Initializes a `NameSampleSequenceStream` with given `psi` samples and an `feature generator`.
  ``
  `TokenNameFinderCrossValidator(String languageCode, String type, TrainingParameters params, byte[] featureGeneratorBytes, Map<String,Object> resources, SequenceCodec<String> codec, TokenNameFinderEvaluationMonitor... listeners)`
  Initializes a `TokenNameFinderCrossValidator` with the given parameters.
  ``
  `TokenNameFinderFactory(byte[] featureGeneratorBytes, Map<String,Object> resources, SequenceCodec<String> seqCodec)`
  Initializes a `TokenNameFinderFactory` instance via given parameters.
  ``
  `TokenNameFinderModel(String languageCode, MaxentModel nameFinderModel, int beamSize, byte[] generatorDescriptor, Map<String,Object> resources, Map<String,String> manifestInfoEntries, SequenceCodec<String> seqCodec, TokenNameFinderFactory factory)`
  Initializes a `TokenNameFinderModel` instance via given parameters.
  ``
  `TokenNameFinderModel(String languageCode, SequenceClassificationModel nameFinderModel, byte[] generatorDescriptor, Map<String,Object> resources, Map<String,String> manifestInfoEntries, SequenceCodec<String> seqCodec, TokenNameFinderFactory factory)`
  Initializes a `TokenNameFinderModel` instance via given parameters.