moj.javasdm
Class TestRI

java.lang.Object
  extended by moj.javasdm.TestRI
Direct Known Subclasses:
TestRI

public class TestRI
extends java.lang.Object

A small but functional demo program that loads a given RandomIndex and generates some semantic sets, either for the given index terms or for the highest tf*idf ranking index terms in the index.

Please note that TestRI is very naively implemented and does _not_ demonstrate recommended use of Random Indexes. Typically you do not, as TestRI does, want to compare all representations (vectors) with each other, but rather compare specific tokens with a limited set of tokens in order to get a ranked list of the set. Random Indexes tend to grow big.

Version:
2009-April-20
Author:
Martin Hassel

Constructor Summary
TestRI()
           
 
Method Summary
static void main(java.lang.String[] arg)
          *** TestRI ***
Usage: TestRI ( ...
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestRI

public TestRI()
Method Detail

main

public static void main(java.lang.String[] arg)
*** TestRI ***
Usage: TestRI ( ... )
: RandomIndex to load
... : index terms to generate semantic sets for