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(java.lang.String sentence, java.lang.String sentenceLang, double confidence)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
Methods inherited from class org.apache.tika.parser.recognition.RecognisedObject
getConfidence, getId, getLabel, getLabelLang, setConfidence, setId, setLabel, setLabelLang
-
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classRecognisedObject
-
-