pitt.search.semanticvectors
Class BuildBilingualIndex
java.lang.Object
pitt.search.semanticvectors.BuildBilingualIndex
public class BuildBilingualIndex
- extends java.lang.Object
Command line utility for creating bilingual semantic vector indexes.
Field Summary |
static java.util.logging.Logger |
logger
|
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:
BuildBilingualIndex class in package pitt.search.semanticvectors
Usage: java pitt.search.semanticvectors.BuildBilingualIndex PATH_TO_LUCENE_INDEX LANG1 LANG2
BuildBilingualIndex creates files termvectors_LANGn.bin and docvectors_LANGn.bin,
in local directory, where LANG1 and LANG2 are obtained from fields in index. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static java.util.logging.Logger logger
BuildBilingualIndex
public BuildBilingualIndex()
usage
public static void usage()
- Prints the following usage message:
BuildBilingualIndex class in package pitt.search.semanticvectors
Usage: java pitt.search.semanticvectors.BuildBilingualIndex PATH_TO_LUCENE_INDEX LANG1 LANG2
BuildBilingualIndex creates files termvectors_LANGn.bin and docvectors_LANGn.bin,
in local directory, where LANG1 and LANG2 are obtained from fields in index.
main
public static void main(java.lang.String[] args)
throws java.lang.IllegalArgumentException
- Builds term vector and document vector stores from a Lucene index.
- Parameters:
args
-
- Throws:
java.lang.IllegalArgumentException
- See Also:
usage()