Package org.aksw.limes.core.io.query
Class VectorQueryModule
- java.lang.Object
-
- org.aksw.limes.core.io.query.VectorQueryModule
-
- All Implemented Interfaces:
IQueryModule
public class VectorQueryModule extends Object implements IQueryModule
This class reads vectors contained in a text file so as to enable LIMES to compute the similarity of the entities described by these vectors efficiently. The file format is assumed to be URI\tVector. The vector itself is read by the metrics of the metric factory for maximum flexibility.- Version:
- Nov 23, 2015
- Author:
- Axel-C. Ngonga Ngomo (ngonga@informatik.uni-leipzig.de), Mohamed Sherif (sherif@informatik.uni-leipzig.de)
-
-
Constructor Summary
Constructors Constructor Description VectorQueryModule(KBInfo kbinfo)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfillCache(ACache c)Fills the cache c with the data contained in the data source described by kb
-
-
-
Constructor Detail
-
VectorQueryModule
public VectorQueryModule(KBInfo kbinfo)
Constructor- Parameters:
kbinfo- Contains the knowledge base infos necessary to read the input stream
-
-
Method Detail
-
fillCache
public void fillCache(ACache c)
Fills the cache c with the data contained in the data source described by kb- Specified by:
fillCachein interfaceIQueryModule- Parameters:
c- The cache to be filled
-
-