public interface MonolingualCorpusBuilder
MonolingualCorpus
instances.Modifier and Type | Method and Description |
---|---|
MonolingualCorpusBuilder |
add(Sentence sentence)
Appends a sentence to the end of the list contained by this builder.
|
MonolingualCorpus |
build()
Builds a
MonolingualCorpus representing the data in this builder. |
MonolingualCorpusBuilder add(Sentence sentence)
sentence
- the sentence to add.MonolingualCorpus build()
MonolingualCorpus
representing the data in this builder.MonolingualCorpus
representing the data in this builder.