Package opennlp.tools.formats.masc

# Class MascNamedEntitySampleStreamFactory

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

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

@Internal public class MascNamedEntitySampleStreamFactory extends AbstractSampleStreamFactory<NameSample,MascNamedEntitySampleStreamFactory.Parameters> implements Masc
Note: Do not use this class, internal use only!

See Also:
  - `NameSample`
  - `MascPOSSampleStream`

- ## Nested Class Summary

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

- ## Field Summary

  ### Fields inherited from interface opennlp.tools.formats.masc.Masc

  `MASC_FORMAT`

- ## 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`.
    Specified by:
      `create` in interface `opennlp.tools.cmdline.ObjectStreamFactory<NameSample,MascNamedEntitySampleStreamFactory.Parameters>`
    Parameters:
      `args` - arguments
    Returns:
      The created `ObjectStream` instance.