moj.javasdm
Class TrainRI

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

public class TrainRI
extends java.lang.Object

TrainRI indexes a given text, or folder tree of texts, using RandomIndexing given certain properties. In case of OutOfMemoryError or when being prompted to abort (i.e. Ctrl-c) the index so far is dumped in a well- behaved manner. The settings for connection to a Granska server and indexing are located in a separate properties files (default values are declared in relevant classes).

Version:
2009-April-21
Author:
Martin Hassel

Constructor Summary
TrainRI()
           
 
Method Summary
static void main(java.lang.String[] arg)
          *** TrainRI ***
Usage: TrainRI ()
: file or folder to recursively Random Index files in
: filename (without extension) to save the RandomIndex to
: properties file to read settings from (optional)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrainRI

public TrainRI()
Method Detail

main

public static void main(java.lang.String[] arg)
*** TrainRI ***
Usage: TrainRI ()
: file or folder to recursively Random Index files in
: filename (without extension) to save the RandomIndex to
: properties file to read settings from (optional)