public class SegmentationResult
extends java.lang.Object
| Constructor and Description |
|---|
SegmentationResult(java.util.List<java.lang.Integer> tags,
java.util.List<java.lang.Integer> inputs) |
SegmentationResult(java.util.List<java.lang.Integer> tags,
java.util.List<java.lang.Integer> inputs,
double score) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.Integer> |
getInputIndexes() |
double |
getScore() |
java.util.List<java.lang.Integer> |
getTags() |
boolean |
isCorrect(SegmentationInstance instance) |
boolean |
isSegmentationCorrect(SegmentationInstance instance) |
java.lang.String |
toString() |
public SegmentationResult(java.util.List<java.lang.Integer> tags,
java.util.List<java.lang.Integer> inputs,
double score)
public SegmentationResult(java.util.List<java.lang.Integer> tags,
java.util.List<java.lang.Integer> inputs)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.util.List<java.lang.Integer> getTags()
public java.util.List<java.lang.Integer> getInputIndexes()
public boolean isCorrect(SegmentationInstance instance)
public boolean isSegmentationCorrect(SegmentationInstance instance)
public double getScore()