public class ChildesCorpusReader.ChildesFileIterator extends DirectoryCorpusReader.BaseFileIterator
Constructor and Description |
---|
ChildesCorpusReader.ChildesFileIterator(Iterator<File> files) |
Modifier and Type | Method and Description |
---|---|
protected Document |
advanceInDoc()
Iterates over the utterances in a file and appends the words to
create a new document.
|
protected void |
setupCurrentDoc(File currentDocName)
Parses the content of the given file and extracts the set of
utterances.
|
protected void setupCurrentDoc(File currentDocName)
setupCurrentDoc
in class DirectoryCorpusReader.BaseFileIterator
protected Document advanceInDoc()
advanceInDoc
in class DirectoryCorpusReader.BaseFileIterator
Copyright © 2012. All Rights Reserved.