CSE494
Class VectorViewer

java.lang.Object
  |
  +--CSE494.VectorViewer

public class VectorViewer
extends java.lang.Object

Demonstrates how to access the underlying Data Structure to retrieve Term and Document Frequencies


Constructor Summary
VectorViewer()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void showVector()
          For retrieving the (docNo,Freq) pair for each term call TermDocs termdocs = reader.termDocs(termval); For retrieving the (docNo,Freq,(pos1,......posn)) call TermPositions termpositions = termval.termPositions(termval)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VectorViewer

public VectorViewer()
Method Detail

showVector

public void showVector()
For retrieving the (docNo,Freq) pair for each term call TermDocs termdocs = reader.termDocs(termval); For retrieving the (docNo,Freq,(pos1,......posn)) call TermPositions termpositions = termval.termPositions(termval)

main

public static void main(java.lang.String[] args)