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

Packages that use MascDocument
Package
Description
opennlp.tools.formats.masc

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

  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(opennlp.tools.util.ObjectStream<MascDocument> samples)`
  Initializes `MascNamedEntitySampleStream` from a stream of `documents`.
  ``
  `MascPOSSampleStream(opennlp.tools.util.ObjectStream<MascDocument> samples)`
  Initializes `MascPOSSampleStream` from a stream of `documents`.
  ``
  `MascSentenceSampleStream(opennlp.tools.util.ObjectStream<MascDocument> samples, int sentencesPerSample)`
  ``
  `MascTokenSampleStream(opennlp.tools.util.ObjectStream<MascDocument> samples)`
  Initializes a `MascTokenSampleStream`.