|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ir.vsr.Document ir.vsr.FileDocument
public abstract class FileDocument
A Document stored as a file.
Field Summary | |
---|---|
java.io.File |
file
The name of the file |
protected java.io.BufferedReader |
reader
The I/O reader for accessing the file |
Fields inherited from class ir.vsr.Document |
---|
nextToken, numStopWords, numTokens, stem, stemmer, stopWords, stopWordsFile |
Constructor Summary | |
---|---|
FileDocument(java.io.File file,
boolean stem)
Creates a FileDocument and initializes its name and reader. |
Method Summary |
---|
Methods inherited from class ir.vsr.Document |
---|
allLetters, getNextCandidateToken, hashMapVector, hasMoreTokens, loadStopWords, nextToken, numberOfTokens, prepareNextToken, printVector |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.io.File file
protected java.io.BufferedReader reader
Constructor Detail |
---|
public FileDocument(java.io.File file, boolean stem)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |