Uses of Class opennlp.tools.formats.masc.MascDocument (Apache OpenNLP Tools 2.5.9 API)
Description: use: package: opennlp.tools.formats.masc, class: MascDocument

# Uses of Class
opennlp.tools.formats.masc.MascDocument

Packages that use MascDocument
Package
Description
opennlp.tools.formats.masc
Experimental package related to the `MASC` corpus format.

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

  Subclasses with type arguments of type MascDocument in opennlp.tools.formats.masc
  Modifier and Type
  Class
  Description
  `class`
  `MascNamedEntitySampleStream`
  `class`
  `MascPOSSampleStream`
  `class`
  `MascSentenceSampleStream`
  `class`
  `MascTokenSampleStream`
  Classes in opennlp.tools.formats.masc that implement interfaces with type arguments of type MascDocument
  Modifier and Type
  Class
  Description
  `class`
  `MascDocumentStream`
  Methods in opennlp.tools.formats.masc that return MascDocument
  Modifier and Type
  Method
  Description
  `static MascDocument`
  MascDocument.`parseDocument(String path, InputStream f_primary, InputStream f_seg, InputStream f_penn, InputStream f_s, InputStream f_ne)`
  Initializes a `MascDocument` with all the stand-off annotations translated into the internal structure.
  `MascDocument`
  MascDocumentStream.`read()`
  Return the next document.
  Constructor parameters in opennlp.tools.formats.masc with type arguments of type MascDocument
  Modifier
  Constructor
  Description
  ``
  `MascNamedEntitySampleStream(ObjectStream<MascDocument> samples)`
  Initializes `MascNamedEntitySampleStream` from a stream of `documents`.
  ``
  `MascPOSSampleStream(ObjectStream<MascDocument> samples)`
  Initializes `MascPOSSampleStream` from a stream of `documents`.
  ``
  `MascSentenceSampleStream(ObjectStream<MascDocument> samples, int sentencesPerSample)`
  ``
  `MascTokenSampleStream(ObjectStream<MascDocument> samples)`
  Initializes a `MascTokenSampleStream`.