Class PopularityScore
- java.lang.Object
-
- com.complexible.stardog.docs.nlp.impl.PopularityScore
-
- All Implemented Interfaces:
FeatureGenerator
,java.util.function.Consumer<CandidateMention>
public class PopularityScore extends java.lang.Object implements FeatureGenerator
Counts the number of inbound edges for an entity- Since:
- 5.2
- Version:
- 5.2
- Author:
- Pedro Oliveira
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
POPULARITY_SCORE
-
Constructor Summary
Constructors Constructor Description PopularityScore(com.complexible.stardog.db.DatabaseConnection theConnection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(CandidateMention theCandidate)
-
-
-
Field Detail
-
POPULARITY_SCORE
public static final java.lang.String POPULARITY_SCORE
- See Also:
- Constant Field Values
-
-
Method Detail
-
accept
public void accept(CandidateMention theCandidate)
- Specified by:
accept
in interfacejava.util.function.Consumer<CandidateMention>
-
-