LanguageSampleStreamFactory (Apache OpenNLP Tools 2.5.9 API)
Description: declaration: package: opennlp.tools.formats, class: LanguageSampleStreamFactory

# Class LanguageSampleStreamFactory<T,P>

java.lang.Object
opennlp.tools.formats.AbstractSampleStreamFactory<T,P>
opennlp.tools.formats.LanguageSampleStreamFactory<T,P>

All Implemented Interfaces:
  `opennlp.tools.cmdline.ObjectStreamFactory<T,P>`

Direct Known Subclasses:
  `ADChunkSampleStreamFactory, ADNameSampleStreamFactory, ADPOSSampleStreamFactory, ADSentenceSampleStreamFactory, Conll02NameSampleStreamFactory, Conll03NameSampleStreamFactory, EvalitaNameSampleStreamFactory, ParseToPOSSampleStreamFactory, TokenSampleStreamFactory`

public abstract class LanguageSampleStreamFactory<T,P> extends AbstractSampleStreamFactory<T,P>
Stream factory for those streams which carry language.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getLang()`

  ### Methods inherited from class AbstractSampleStreamFactory

  `getParameters`

  ### Methods inherited from class Object

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

  ### Methods inherited from interface opennlp.tools.cmdline.ObjectStreamFactory

  `create`

- ## Method Details

  - ### getLang

    public String getLang()
    Overrides:
      `getLang` in class `AbstractSampleStreamFactory<T,P>`