public class LeipzigDoccatSampleStream extends FilterObjectStream<java.lang.String,DocumentSample>
The input text is tokenized with the SimpleTokenizer. The input text classified
by the language model must also be tokenized by the SimpleTokenizer to produce
exactly the same tokenization during testing and training.
| Modifier and Type | Method and Description |
|---|---|
DocumentSample |
read()
Returns the next object.
|
close, resetpublic DocumentSample read() throws java.io.IOException
ObjectStreamjava.io.IOException - if there is an error during readingCopyright © 2010 - 2019 Adobe. All Rights Reserved