|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpitt.search.semanticvectors.BuildIndex
public class BuildIndex
Command line utility for creating semantic vector indexes.
| Constructor Summary | |
|---|---|
BuildIndex()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
Builds term vector and document vector stores from a Lucene index. |
static void |
usage()
Prints the following usage message:
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BuildIndex()
| Method Detail |
|---|
public static void usage()
BuildIndex class in package pitt.search.semanticvectors
Usage: java pitt.search.semanticvectors.BuildIndex PATH_TO_LUCENE_INDEX
BuildIndex creates termvectors and docvectors files in local directory.
Other parameters that can be changed include vector length,
(number of dimensions), seed length (number of non-zero
entries in basic vectors), minimum term frequency,
and number of iterative training cycles.
To change these use the following command line arguments:
-dimension [number of dimensions]
-seedlength [seed length]
-minfrequency [minimum term frequency]
-numnonalphabetchars [number non-alphabet characters (-1 for any number)]
-trainingcycles [training cycles]
-docindexing [incremental|inmemory] Switch between building doc vectors incrementally"
(requires positional index) or all in memory (default case).
public static void main(java.lang.String[] args)
throws java.lang.IllegalArgumentException
args -
java.lang.IllegalArgumentExceptionusage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||