public final class SparseVectorDocumentMapper extends Object implements InvertedIndex.DocumentMapper<de.jungblut.math.DoubleVector,Integer>
InvertedIndex for fast lookup.| Constructor and Description |
|---|
SparseVectorDocumentMapper() |
| Modifier and Type | Method and Description |
|---|---|
Set<Integer> |
mapDocument(de.jungblut.math.DoubleVector v)
Maps the document into its smaller parts.
|
public Set<Integer> mapDocument(de.jungblut.math.DoubleVector v)
InvertedIndex.DocumentMappermapDocument in interface InvertedIndex.DocumentMapper<de.jungblut.math.DoubleVector,Integer>v - the document to map.Copyright © 2016. All rights reserved.