|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ir.vsr.TokenInfo
public class TokenInfo
A lightweight object for storing information about a token (a.k.a word, term) in an inverted index.
Field Summary | |
---|---|
double |
idf
The IDF (inverse document frequency) factor for this token which indicates how much to weight an occurence. |
java.util.List<TokenOccurrence> |
occList
A list of TokenOccurences giving documents where this token occurs |
Constructor Summary | |
---|---|
TokenInfo()
Create an initially empty data structure |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public double idf
public java.util.List<TokenOccurrence> occList
Constructor Detail |
---|
public TokenInfo()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |