public interface MonolingualCorpusWriter
MonolingualCorpus
through a Writer
.
The exact specification of the produced output is implementation dependent.Modifier and Type | Method and Description |
---|---|
MonolingualCorpusBuilder |
getWriterCorpusBuilder(java.io.Writer out)
Returns a wrapper
MonolingualCorpusBuilder that writes sentences
by this MonolingualCorpusWriter as they are added to it. |
void |
writeMonolingualCorpus(MonolingualCorpus corpus,
java.io.Writer out)
Writes a
MonolingualCorpus through a Writer . |
void writeMonolingualCorpus(MonolingualCorpus corpus, java.io.Writer out) throws ParseException
MonolingualCorpus
through a Writer
. The exact
specification of the produced output is implementation dependent.corpus
- the MonolingualCorpus
to write.out
- the Writer
to write the output to.ParseException
- if some sort of writing error occurs.MonolingualCorpusBuilder getWriterCorpusBuilder(java.io.Writer out) throws ParseException
MonolingualCorpusBuilder
that writes sentences
by this MonolingualCorpusWriter
as they are added to it.out
- the Writer
to write the output to.MonolingualCorpusBuilder
that writes sentences by this MonolingualCorpusWriter
as they are added to it.ParseException
- if some sort of writing error occurs.