Package opennlp.tools.formats

# 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`, `GermEval2014NameSampleStreamFactory`, `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 opennlp.tools.formats.AbstractSampleStreamFactory

  `getParameters`

  ### Methods inherited from class java.lang.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>`