Uses of Class
opennlp.tools.formats.masc.MascDocument
-
Packages that use MascDocument Package Description opennlp.tools.formats.masc Experimental package related to theMASCcorpus format. -
-
Uses of MascDocument in opennlp.tools.formats.masc
Methods in opennlp.tools.formats.masc that return MascDocument Modifier and Type Method Description static MascDocumentMascDocument. parseDocument(String path, InputStream f_primary, InputStream f_seg, InputStream f_penn, InputStream f_s, InputStream f_ne)Initializes aMascDocumentwith all the stand-off annotations translated into the internal structure.MascDocumentMascDocumentStream. read()Return the next document.Constructor parameters in opennlp.tools.formats.masc with type arguments of type MascDocument Constructor Description MascNamedEntitySampleStream(ObjectStream<MascDocument> samples)InitializesMascNamedEntitySampleStreamfrom a stream ofdocuments.MascPOSSampleStream(ObjectStream<MascDocument> samples)InitializesMascPOSSampleStreamfrom a stream ofdocuments.MascSentenceSampleStream(ObjectStream<MascDocument> samples, int sentencesPerSample)MascTokenSampleStream(ObjectStream<MascDocument> samples)Initializes aMascTokenSampleStream.
-