ir.vsr
Class RetrievalPosInfo
java.lang.Object
|
+--ir.vsr.RetrievalPosInfo
- public class RetrievalPosInfo
- extends java.lang.Object
A lightweight object for storing information about a retrieved Document
for a positional inverted index that includes vector-space and proximity
Field Summary |
java.util.ArrayList |
foundPositions
A list of position vectors (int[]) for the positions in
which each previously found query token were found in the document |
java.util.ArrayList |
foundTokens
A list of previously found query tokens in order |
double |
proximityScore
The current proximity score component. |
double |
vectorScore
The current vector-space score component. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
vectorScore
public double vectorScore
- The current vector-space score component.
proximityScore
public double proximityScore
- The current proximity score component.
foundTokens
public java.util.ArrayList foundTokens
- A list of previously found query tokens in order
foundPositions
public java.util.ArrayList foundPositions
- A list of position vectors (int[]) for the positions in
which each previously found query token were found in the document
RetrievalPosInfo
public RetrievalPosInfo()