Class RecognisedObject
java.lang.Object
org.apache.tika.parser.recognition.RecognisedObject
- Direct Known Subclasses:
CaptionObject
A model for recognised objects from graphics and texts typically includes
human readable label for the object, language of the label, id and confidence score.
- Since:
- Apache Tika 1.14
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRecognisedObject
(String label, String labelLang, String id, double confidence) -
Method Summary
Modifier and TypeMethodDescriptiondouble
getId()
getLabel()
void
setConfidence
(double confidence) void
void
void
setLabelLang
(String labelLang) toString()
-
Field Details
-
label
Label of this object. Usually the name given to this object by humans -
labelLang
Language of label, Example : english -
id
Identifier for this object -
confidence
protected double confidenceConfidence score
-
-
Constructor Details
-
RecognisedObject
-
-
Method Details