Package com.complexible.stardog.docs.nlp
Class Rank
- java.lang.Object
-
- com.complexible.stardog.docs.nlp.Annotated
-
- com.complexible.stardog.docs.nlp.Rank
-
- All Implemented Interfaces:
java.lang.Comparable<Rank>
public class Rank extends Annotated implements java.lang.Comparable<Rank>
The final score given to aCandidateMention
by aRankingFunction
- Since:
- 5.2
- Version:
- 5.2
- Author:
- Pedro Oliveira
-
-
Field Summary
-
Fields inherited from class com.complexible.stardog.docs.nlp.Annotated
mAnnotations
-
-
Constructor Summary
Constructors Constructor Description Rank(CandidateMention theCandidate, double theScore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CandidateMention
candidate()
int
compareTo(Rank o)
double
score()
java.lang.String
toString()
-
-
-
Constructor Detail
-
Rank
public Rank(CandidateMention theCandidate, double theScore)
-
-
Method Detail
-
candidate
public CandidateMention candidate()
-
score
public double score()
-
compareTo
public int compareTo(Rank o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<Rank>
-
-