pitt.search.semanticvectors
Class IncrementalDocVectors

java.lang.Object
  extended by pitt.search.semanticvectors.IncrementalDocVectors

public class IncrementalDocVectors
extends java.lang.Object

generates document vectors incrementally requires a

Author:
Trevor Cohen, Dominic Widdows

Constructor Summary
IncrementalDocVectors(VectorStore termVectorData, java.lang.String indexDir, java.lang.String[] fieldsToIndex, java.lang.String vectorFileName)
          Constructor that gets everything it needs from a TermVectorsFromLucene object and writes to a named file.
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IncrementalDocVectors

public IncrementalDocVectors(VectorStore termVectorData,
                             java.lang.String indexDir,
                             java.lang.String[] fieldsToIndex,
                             java.lang.String vectorFileName)
                      throws java.io.IOException
Constructor that gets everything it needs from a TermVectorsFromLucene object and writes to a named file.

Parameters:
termVectorData - Has all the information needed to create doc vectors.
indexDir - Directory of the Lucene Index used to generate termVectorData
fieldsToIndex - String[] containing fields indexed when generating termVectorData
vectorFileName - Filename for the document vectors
Throws:
java.io.IOException
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception