Class TopThresholdSelector
- java.lang.Object
-
- com.complexible.stardog.docs.nlp.impl.TopThresholdSelector
-
- All Implemented Interfaces:
CandidateSelector
,java.util.function.Function<java.util.List<Rank>,java.util.List<Rank>>
public class TopThresholdSelector extends java.lang.Object implements CandidateSelector
Selects the top scoringranks
, given that their score is above the threshold- Since:
- 5.2
- Version:
- 5.2
- Author:
- Pedro Oliveira
-
-
Constructor Summary
Constructors Constructor Description TopThresholdSelector(double theThreshold)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Rank>
apply(java.util.List<Rank> theRanks)
-