public class BloglinesCorpusReader extends DirectoryCorpusReader<Document>
DirectoryCorpusReader for the bloglines corpus.| Modifier and Type | Class and Description |
|---|---|
class |
BloglinesCorpusReader.InnerIterator |
DirectoryCorpusReader.BaseFileIterator| Constructor and Description |
|---|
BloglinesCorpusReader()
Creates a new
BloglinesCorpusReader from a given file name,
without time stamps. |
BloglinesCorpusReader(boolean includeTimeStamps)
Creates a new
BloglinesCorpusReader from a given file name that
will include time stamps if includeTimeStamps is true. |
| Modifier and Type | Method and Description |
|---|---|
protected Iterator<Document> |
corpusIterator(Iterator<File> fileIter)
|
initialize, read, readpublic BloglinesCorpusReader()
BloglinesCorpusReader from a given file name,
without time stamps.public BloglinesCorpusReader(boolean includeTimeStamps)
BloglinesCorpusReader from a given file name that
will include time stamps if includeTimeStamps is true.protected Iterator<Document> corpusIterator(Iterator<File> fileIter)
DirectoryCorpusReaderIterator over documents contained in the Files
traversed by fileIter. Sub-classes are encouraged to sub-class
BaseFileIterator for the return value of this method.corpusIterator in class DirectoryCorpusReader<Document>Copyright © 2012. All Rights Reserved.