Class CaptionObject
- java.lang.Object
-
- org.apache.tika.parser.recognition.RecognisedObject
-
- org.apache.tika.parser.captioning.CaptionObject
-
public class CaptionObject extends RecognisedObject
A model for caption objects from graphics and texts typically includes human readable sentence, language of the sentence and confidence score.- Since:
- Apache Tika 1.16
-
-
Constructor Summary
Constructors Constructor Description CaptionObject(String sentence, String sentenceLang, double confidence)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
-
Methods inherited from class org.apache.tika.parser.recognition.RecognisedObject
getConfidence, getId, getLabel, getLabelLang, setConfidence, setId, setLabel, setLabelLang
-
-
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toString
in classRecognisedObject
-
-