Class LuceneTfIdfFeaturesReader
java.lang.Object
es.uam.eps.ir.relison.links.recommendation.features.LuceneTfIdfFeaturesReader
public class LuceneTfIdfFeaturesReader
extends java.lang.Object
Class that loads tf-idf features from a content index.
-
Constructor Summary
Constructors Constructor Description LuceneTfIdfFeaturesReader()
-
Method Summary
-
Constructor Details
-
LuceneTfIdfFeaturesReader
public LuceneTfIdfFeaturesReader()
-
-
Method Details
-
load
public static <U> java.util.stream.Stream<org.jooq.lambda.tuple.Tuple3<U,java.lang.String,java.lang.Double>> load(java.lang.String route, Graph<U> graph, org.ranksys.formats.parsing.Parser<U> uParser)Loads features from an index.- Type Parameters:
U
- the type of the users.- Parameters:
route
- the index route.graph
- the graph containing the users to retrieve.uParser
- reads users from text.- Returns:
- a stream containing the features.
-