* @param sentencesPerDocument the number of sentences which should be grouped into once {@link DocumentSample}
* @param in the InputStream pointing to the contents of the sentences.txt input file
*/
LeipzigDoccatSampleStream(String language, int sentencesPerDocument,
InputStream in) throws IOException {
super(new PlainTextByLineStream(in, "UTF-8"));
this.language = language;
this.sentencesPerDocument = sentencesPerDocument;
}