public abstract class FileDocument extends Document
Modifier and Type | Field and Description |
---|---|
java.io.File |
file
The name of the file
|
protected java.io.BufferedReader |
reader
The I/O reader for accessing the file
|
nextToken, numStopWords, numTokens, stem, stemmer, stopWords, stopWordsFile
Constructor and Description |
---|
FileDocument(java.io.File file,
boolean stem)
Creates a FileDocument and initializes its name and reader.
|
allLetters, getNextCandidateToken, hashMapVector, hasMoreTokens, loadStopWords, nextToken, numberOfTokens, prepareNextToken, printVector