|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ir.vsr.Document | +--ir.vsr.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. |
Methods inherited from class ir.vsr.Document |
getNextCandidateToken, hashMapPosVector, hashMapVector, hasMoreTokens, loadStopWords, nextToken, numberOfTokens, positionOrderedTokenVector, 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: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |