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
 
- 
- 
Field Summary- 
Fields inherited from class org.apache.tika.parser.recognition.RecognisedObjectconfidence, id, label, labelLang
 
- 
 - 
Constructor SummaryConstructors Constructor Description CaptionObject(String sentence, String sentenceLang, double confidence)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()- 
Methods inherited from class org.apache.tika.parser.recognition.RecognisedObjectgetConfidence, getId, getLabel, getLabelLang, setConfidence, setId, setLabel, setLabelLang
 
- 
 
- 
- 
- 
Method Detail- 
toStringpublic String toString() - Overrides:
- toStringin class- RecognisedObject
 
 
- 
 
-