Package org.aksw.palmetto.corpus.lucene
Interface SlidingWindowCounter
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionintdetermineCount(com.carrotsearch.hppc.IntArrayList[] positions)Deprecated.longgetWordSetCountSum(int wordSetLength)Deprecated.This method returns the sum of word sets which would be counted if one would go over the complete corpus using the sliding window.voidsetWindowSize(int windowSize)Deprecated.
-
Method Details
-
setWindowSize
void setWindowSize(int windowSize)Deprecated. -
determineCount
int determineCount(com.carrotsearch.hppc.IntArrayList[] positions)Deprecated. -
getWordSetCountSum
long getWordSetCountSum(int wordSetLength)Deprecated.This method returns the sum of word sets which would be counted if one would go over the complete corpus using the sliding window. Note that if the given word set length is 1 this method must return the sum of all terms inside the corpus.- Parameters:
wordSetLength-- Returns:
-