public interface WindowSupportingAdapter extends CorpusAdapter
| Modifier and Type | Method and Description |
|---|---|
int[][] |
getDocumentSizeHistogram()
Returns the histogram of the document sizes of the corpus.
|
com.carrotsearch.hppc.IntObjectOpenHashMap<com.carrotsearch.hppc.IntArrayList[]> |
requestWordPositionsInDocuments(String[] words,
com.carrotsearch.hppc.IntIntOpenHashMap docLengths)
Returns the positions of the given words inside the corpus.
|
closeint[][] getDocumentSizeHistogram()
com.carrotsearch.hppc.IntObjectOpenHashMap<com.carrotsearch.hppc.IntArrayList[]> requestWordPositionsInDocuments(String[] words, com.carrotsearch.hppc.IntIntOpenHashMap docLengths)
words - the words for which the positions inside the documents should
be determineddocLengths - empty int int map in which the document lengths and counts are
insertedCopyright © 2014–2016. All rights reserved.