Package org.terrier.structures
Interface NgramEntryStatistics
-
- All Superinterfaces:
EntryStatistics
,java.io.Serializable
- All Known Implementing Classes:
SimpleNgramEntryStatistics
public interface NgramEntryStatistics extends EntryStatistics
Represent statistics of n-grams, such as those used in sequence dependence models. These require to know the windows size.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getWindowSize()
Get the size of the window used to calculate an n-gram frequencyvoid
setWindowSize(int ws)
Update the window size-
Methods inherited from interface org.terrier.structures.EntryStatistics
add, getDocumentFrequency, getFrequency, getMaxFrequencyInDocuments, getTermId, getWritableEntryStatistics, setDocumentFrequency, setFrequency, setMaxFrequencyInDocuments, subtract
-
-