Uses of Class opennlp.tools.namefind.NameSample (Apache OpenNLP Tools 2.5.9 API)
Description: use: package: opennlp.tools.namefind, class: NameSample

# Uses of Class
opennlp.tools.namefind.NameSample

Packages that use NameSample
Package
Description
opennlp.tools.cmdline.namefind
opennlp.tools.formats
Experimental package related to converting various corpora to OpenNLP Format.
opennlp.tools.formats.ad
Experimental package related to the `Arvores Deitadas corpus` format.
opennlp.tools.formats.brat
Experimental package related to the corpus format used by the "brat rapid annotation tool" (brat).
opennlp.tools.formats.convert
opennlp.tools.formats.masc
Experimental package related to the `MASC` corpus format.
opennlp.tools.formats.muc
Experimental package related to the `MUC` corpus format.
opennlp.tools.formats.ontonotes
Experimental package related to the OntoNotes 4.0 format.
opennlp.tools.namefind
Package related to finding proper names and numeric amounts.

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

  Subclasses with type arguments of type NameSample in opennlp.tools.cmdline.namefind
  Modifier and Type
  Class
  Description
  `class`
  `NameEvaluationErrorListener`
  A default implementation of `EvaluationMonitor` that prints to an output stream.
  `class`
  `NameSampleCountersStream`
  Counts tokens, sentences and names by type.
  `class`
  `NameSampleCountersStream`
  Counts tokens, sentences and names by type.
  `class`
  `TokenNameFinderConverterTool`
  Tool to convert multiple data formats into native OpenNLP name finder training format.
  `final class`
  `TokenNameFinderCrossValidatorTool`
  `class`
  `TokenNameFinderDetailedFMeasureListener`
  `final class`
  `TokenNameFinderEvaluatorTool`
  A default `NameSample`-centric implementation of `AbstractEvaluatorTool` that prints to an output stream.
  `final class`
  `TokenNameFinderTrainerTool`
  Methods in opennlp.tools.cmdline.namefind that return NameSample
  Modifier and Type
  Method
  Description
  `NameSample`
  NameSampleCountersStream.`read()`
  Methods in opennlp.tools.cmdline.namefind with parameters of type NameSample
  Modifier and Type
  Method
  Description
  `protected Span[]`
  TokenNameFinderDetailedFMeasureListener.`asSpanArray(NameSample sample)`
  `void`
  TokenNameFinderFineGrainedReportListener.`correctlyClassified(NameSample reference, NameSample prediction)`
  `void`
  NameEvaluationErrorListener.`misclassified(NameSample reference, NameSample prediction)`
  `void`
  TokenNameFinderFineGrainedReportListener.`misclassified(NameSample reference, NameSample prediction)`
  Constructor parameters in opennlp.tools.cmdline.namefind with type arguments of type NameSample
  Modifier
  Constructor
  Description
  `protected`
  `NameSampleCountersStream(ObjectStream<NameSample> samples)`

- ## Uses of NameSample in opennlp.tools.formats

  Subclasses with type arguments of type NameSample in opennlp.tools.formats
  Modifier and Type
  Class
  Description
  `class`
  `BioNLP2004NameSampleStreamFactory`
  `class`
  `Conll02NameSampleStreamFactory`
  Note: Do not use this class, internal use only!
  `class`
  `Conll03NameSampleStreamFactory`
  `class`
  `EvalitaNameSampleStreamFactory`
  Note: Do not use this class, internal use only!
  `class`
  `NameSampleDataStreamFactory`
  Factory producing OpenNLP `NameSampleDataStream`s.
  Classes in opennlp.tools.formats that implement interfaces with type arguments of type NameSample
  Modifier and Type
  Class
  Description
  `class`
  `BioNLP2004NameSampleStream`
  A `sample stream` for the training files of the BioNLP/NLPBA 2004 shared task.
  `class`
  `Conll02NameSampleStream`
  Parser for the Dutch and Spanish ner training files of the CONLL 2002 shared task.
  `class`
  `Conll03NameSampleStream`
  An import stream which can parse the CONLL03 data.
  `class`
  `EvalitaNameSampleStream`
  Parser for the Italian NER training files of the Evalita 2007 and 2009 NER shared tasks.
  Methods in opennlp.tools.formats that return NameSample
  Modifier and Type
  Method
  Description
  `NameSample`
  BioNLP2004NameSampleStream.`read()`
  `NameSample`
  Conll02NameSampleStream.`read()`
  `NameSample`
  Conll03NameSampleStream.`read()`
  `NameSample`
  EvalitaNameSampleStream.`read()`
  Methods in opennlp.tools.formats that return types with arguments of type NameSample
  Modifier and Type
  Method
  Description
  `ObjectStream<NameSample>`
  BioNLP2004NameSampleStreamFactory.`create(String[] args)`
  `ObjectStream<NameSample>`
  Conll02NameSampleStreamFactory.`create(String[] args)`
  `ObjectStream<NameSample>`
  Conll03NameSampleStreamFactory.`create(String[] args)`
  `ObjectStream<NameSample>`
  EvalitaNameSampleStreamFactory.`create(String[] args)`
  `ObjectStream<NameSample>`
  NameSampleDataStreamFactory.`create(String[] args)`

- ## Uses of NameSample in opennlp.tools.formats.ad

  Subclasses with type arguments of type NameSample in opennlp.tools.formats.ad
  Modifier and Type
  Class
  Description
  `class`
  `ADNameSampleStreamFactory`
  A Factory to create a Arvores Deitadas NameSampleDataStream from the command line utility.
  Classes in opennlp.tools.formats.ad that implement interfaces with type arguments of type NameSample
  Modifier and Type
  Class
  Description
  `class`
  `ADNameSampleStream`
  Parser for Floresta Sita(c)tica Arvores Deitadas corpus, output to for the Portuguese NER training.
  Methods in opennlp.tools.formats.ad that return NameSample
  Modifier and Type
  Method
  Description
  `NameSample`
  ADNameSampleStream.`read()`
  Methods in opennlp.tools.formats.ad that return types with arguments of type NameSample
  Modifier and Type
  Method
  Description
  `ObjectStream<NameSample>`
  ADNameSampleStreamFactory.`create(String[] args)`

- ## Uses of NameSample in opennlp.tools.formats.brat

  Subclasses with type arguments of type NameSample in opennlp.tools.formats.brat
  Modifier and Type
  Class
  Description
  `class`
  `BratNameSampleStream`
  Generates Name Sample objects for a Brat Document object.
  `class`
  `BratNameSampleStreamFactory`
  Note: Do not use this class, internal use only!
  Methods in opennlp.tools.formats.brat that return types with arguments of type NameSample
  Modifier and Type
  Method
  Description
  `ObjectStream<NameSample>`
  BratNameSampleStreamFactory.`create(String[] args)`
  `List<NameSample>`
  BratDocumentParser.`parse(BratDocument sample)`
  `protected List<NameSample>`
  BratNameSampleStream.`read(BratDocument sample)`

- ## Uses of NameSample in opennlp.tools.formats.convert

  Subclasses with type arguments of type NameSample in opennlp.tools.formats.convert
  Modifier and Type
  Class
  Description
  `class`
  `NameToSentenceSampleStream`
  Note: Do not use this class, internal use only!
  `class`
  `NameToTokenSampleStream`
  Note: Do not use this class, internal use only!
  Methods in opennlp.tools.formats.convert with parameters of type NameSample
  Modifier and Type
  Method
  Description
  `protected String[]`
  NameToSentenceSampleStream.`toSentence(NameSample sample)`
  Constructor parameters in opennlp.tools.formats.convert with type arguments of type NameSample
  Modifier
  Constructor
  Description
  ``
  `NameToSentenceSampleStream(Detokenizer detokenizer, ObjectStream<NameSample> samples, int chunkSize)`
  Initializes a `NameToSentenceSampleStream`.
  ``
  `NameToTokenSampleStream(Detokenizer detokenizer, ObjectStream<NameSample> samples)`
  Initializes a `NameToTokenSampleStream`.

- ## Uses of NameSample in opennlp.tools.formats.masc

  Subclasses with type arguments of type NameSample in opennlp.tools.formats.masc
  Modifier and Type
  Class
  Description
  `class`
  `MascNamedEntitySampleStream`
  `class`
  `MascNamedEntitySampleStreamFactory`
  Note: Do not use this class, internal use only!
  Methods in opennlp.tools.formats.masc that return NameSample
  Modifier and Type
  Method
  Description
  `NameSample`
  MascNamedEntitySampleStream.`read()`
  Reads the next sample of named entities.
  Methods in opennlp.tools.formats.masc that return types with arguments of type NameSample
  Modifier and Type
  Method
  Description
  `ObjectStream<NameSample>`
  MascNamedEntitySampleStreamFactory.`create(String[] args)`

- ## Uses of NameSample in opennlp.tools.formats.muc

  Subclasses with type arguments of type NameSample in opennlp.tools.formats.muc
  Modifier and Type
  Class
  Description
  `class`
  `Muc6NameSampleStreamFactory`
  `class`
  `MucNameSampleStream`
  Methods in opennlp.tools.formats.muc that return NameSample
  Modifier and Type
  Method
  Description
  `NameSample`
  MucNameSampleStream.`read()`
  Methods in opennlp.tools.formats.muc that return types with arguments of type NameSample
  Modifier and Type
  Method
  Description
  `ObjectStream<NameSample>`
  Muc6NameSampleStreamFactory.`create(String[] args)`
  Constructor parameters in opennlp.tools.formats.muc with type arguments of type NameSample
  Modifier
  Constructor
  Description
  ``
  `MucNameContentHandler(Tokenizer tokenizer, List<NameSample> storedSamples)`
  Initializes a `MucNameContentHandler`.

- ## Uses of NameSample in opennlp.tools.formats.ontonotes

  Subclasses with type arguments of type NameSample in opennlp.tools.formats.ontonotes
  Modifier and Type
  Class
  Description
  `class`
  `OntoNotesNameSampleStream`
  Name Sample Stream parser for the OntoNotes 4.0 named entity files.
  `class`
  `OntoNotesNameSampleStreamFactory`
  Note: Do not use this class, internal use only!
  Methods in opennlp.tools.formats.ontonotes that return NameSample
  Modifier and Type
  Method
  Description
  `NameSample`
  OntoNotesNameSampleStream.`read()`
  Methods in opennlp.tools.formats.ontonotes that return types with arguments of type NameSample
  Modifier and Type
  Method
  Description
  `ObjectStream<NameSample>`
  OntoNotesNameSampleStreamFactory.`create(String[] args)`

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

  Subclasses with type arguments of type NameSample in opennlp.tools.namefind
  Modifier and Type
  Class
  Description
  `class`
  `NameFinderEventStream`
  Class for creating an event stream out of data files for training an `TokenNameFinder`.
  `class`
  `NameSampleDataStream`
  The `NameSampleDataStream` class converts tagged tokens provided by a `DataStream` to `NameSample` objects.
  `class`
  `NameSampleTypeFilter`
  A `stream` which removes `name samples` which do not have a certain type.
  `class`
  `NameSampleTypeFilter`
  A `stream` which removes `name samples` which do not have a certain type.
  `class`
  `TokenNameFinderEvaluator`
  The `TokenNameFinderEvaluator` measures the performance of the given `TokenNameFinder` with the provided reference `samples`.
  Subinterfaces with type arguments of type NameSample in opennlp.tools.namefind
  Modifier and Type
  Interface
  Description
  `interface`
  `TokenNameFinderEvaluationMonitor`
  A marker interface for evaluating `name finders`.
  Classes in opennlp.tools.namefind that implement interfaces with type arguments of type NameSample
  Modifier and Type
  Class
  Description
  `class`
  `NameSampleSequenceStream`
  A `SequenceStream` implementation encapsulating `samples`.
  Methods in opennlp.tools.namefind that return NameSample
  Modifier and Type
  Method
  Description
  `static NameSample`
  NameSample.`parse(String taggedTokens, boolean clearAdaptiveData)`
  Parses given input into a `NameSample`.
  `static NameSample`
  NameSample.`parse(String taggedTokens, String defaultType, boolean clearAdaptiveData)`
  Parses given input into a `NameSample`.
  `protected NameSample`
  TokenNameFinderEvaluator.`processSample(NameSample reference)`
  Evaluates the given reference `NameSample` object.
  `NameSample`
  NameSampleDataStream.`read()`
  `NameSample`
  NameSampleTypeFilter.`read()`
  Methods in opennlp.tools.namefind that return types with arguments of type NameSample
  Modifier and Type
  Method
  Description
  `Sequence<NameSample>`
  NameSampleSequenceStream.`read()`
  Methods in opennlp.tools.namefind with parameters of type NameSample
  Modifier and Type
  Method
  Description
  `protected Iterator<Event>`
  NameFinderEventStream.`createEvents(NameSample sample)`
  `protected NameSample`
  TokenNameFinderEvaluator.`processSample(NameSample reference)`
  Evaluates the given reference `NameSample` object.
  Method parameters in opennlp.tools.namefind with type arguments of type NameSample
  Modifier and Type
  Method
  Description
  `void`
  TokenNameFinderCrossValidator.`evaluate(ObjectStream<NameSample> samples, int nFolds)`
  Starts the evaluation.
  `static TokenNameFinderModel`
  NameFinderME.`train(String languageCode, String type, ObjectStream<NameSample> samples, TrainingParameters params, TokenNameFinderFactory factory)`
  Starts a training of a `TokenNameFinderModel` with the given parameters.
  `Event[]`
  NameSampleSequenceStream.`updateContext(Sequence<NameSample> sequence, AbstractModel model)`
  Constructor parameters in opennlp.tools.namefind with type arguments of type NameSample
  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)`
  Initializes a `NameSampleSequenceStream` with given `psi` samples.
  ``
  `NameSampleSequenceStream(ObjectStream<NameSample> psi, NameContextGenerator pcg)`
  Initializes a `NameSampleSequenceStream` with given `psi` samples and an `feature generator`.
  ``
  `NameSampleSequenceStream(ObjectStream<NameSample> psi, NameContextGenerator pcg, boolean useOutcomes)`
  Initializes a `NameSampleSequenceStream` with given `psi` samples and an `feature generator`.
  ``
  `NameSampleSequenceStream(ObjectStream<NameSample> psi, NameContextGenerator pcg, boolean useOutcomes, SequenceCodec<String> seqCodec)`
  Initializes a `NameSampleSequenceStream` with given `psi` samples and an `feature generator`.
  ``
  `NameSampleSequenceStream(ObjectStream<NameSample> psi, AdaptiveFeatureGenerator featureGen)`
  Initializes a `NameSampleSequenceStream` with given `psi` samples and an `feature generator`.
  ``
  `NameSampleSequenceStream(ObjectStream<NameSample> psi, AdaptiveFeatureGenerator featureGen, boolean useOutcomes)`
  Initializes a `NameSampleSequenceStream` with given `psi` samples and an `feature generator`.
  ``
  `NameSampleTypeFilter(String[] types, ObjectStream<NameSample> samples)`
  Initializes a `NameSampleTypeFilter`.
  ``
  `NameSampleTypeFilter(Set<String> types, ObjectStream<NameSample> samples)`
  Initializes a `NameSampleTypeFilter`.