anl.aida.sv
Class SVIndexBuilder
java.lang.Object
anl.aida.sv.SVIndexBuilder
public class SVIndexBuilder
- extends java.lang.Object
Creates a semantic vectors index, consisting of the terms and doc files.
Constructor Summary |
SVIndexBuilder(int seedLength,
Filter<MIFSTerm> filter)
Creates an SVIndexBuilder with the specified seedlength and minFreq. |
SVIndexBuilder(int seedLength,
int minFreq)
Creates an SVIndexBuilder with the specified seedlength and minFreq. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
seedLength
private int seedLength
filter
private Filter<MIFSTerm> filter
SVIndexBuilder
public SVIndexBuilder(int seedLength,
int minFreq)
- Creates an SVIndexBuilder with the specified seedlength and minFreq.
- Parameters:
seedLength
- the seed length used to build the vectors.minFreq
- the minimum number of documents a word must appear in order to
be included in the index.
SVIndexBuilder
public SVIndexBuilder(int seedLength,
Filter<MIFSTerm> filter)
- Creates an SVIndexBuilder with the specified seedlength and minFreq.
- Parameters:
seedLength
- the seed length used to build the vectors.minFreq
- the minimum number of documents a word must appear in order to
be included in the index.
buildIndex
public void buildIndex(java.lang.String termVecFile,
java.lang.String docVecFile,
ScoredTermsCollection stc)
throws java.io.IOException
- Throws:
java.io.IOException