Package opennlp.tools.formats

# Class BioNLP2004NameSampleStreamFactory

java.lang.Object
opennlp.tools.formats.AbstractSampleStreamFactory<NameSample,BioNLP2004NameSampleStreamFactory.Parameters>
opennlp.tools.formats.BioNLP2004NameSampleStreamFactory

All Implemented Interfaces:
  `opennlp.tools.cmdline.ObjectStreamFactory<NameSample,BioNLP2004NameSampleStreamFactory.Parameters>`

public class BioNLP2004NameSampleStreamFactory extends AbstractSampleStreamFactory<NameSample,BioNLP2004NameSampleStreamFactory.Parameters>

See Also:
  - `BioNLP2004NameSampleStream`

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static interface`
  `BioNLP2004NameSampleStreamFactory.Parameters`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ObjectStream<NameSample>`
  `create(String[] args)`
  Creates an `ObjectStream` of the template type `T`.
  `static void`
  `registerFactory()`

  ### Methods inherited from class opennlp.tools.formats.AbstractSampleStreamFactory

  `getLang, getParameters`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### registerFactory

    public static void registerFactory()

  - ### create

    public ObjectStream<NameSample> create(String[] args)
    Description copied from interface: `opennlp.tools.cmdline.ObjectStreamFactory`
    Creates an `ObjectStream` of the template type `T`.
    Parameters:
      `args` - arguments
    Returns:
      The created `ObjectStream` instance.