Class MaxRanking
- java.lang.Object
-
- com.complexible.stardog.docs.nlp.impl.MaxRanking
-
- All Implemented Interfaces:
RankingFunction
,java.util.function.Function<java.util.List<CandidateMention>,java.util.List<Rank>>
public class MaxRanking extends java.lang.Object implements RankingFunction
Sets the maximum value on all of acandidate's
features as itsRank
- Since:
- 5.2
- Version:
- 5.2
- Author:
- Pedro Oliveira
-
-
Constructor Summary
Constructors Constructor Description MaxRanking()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Rank>
apply(java.util.List<CandidateMention> theCandidates)
-
-
-
Method Detail
-
apply
public java.util.List<Rank> apply(java.util.List<CandidateMention> theCandidates)
- Specified by:
apply
in interfacejava.util.function.Function<java.util.List<CandidateMention>,java.util.List<Rank>>
-
-