[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2020-08-08 UTC."],[],[],null,["# FirebaseVisionDocumentText.Word\n\npublic static class **FirebaseVisionDocumentText.Word** extends [Object](//developer.android.com/reference/java/lang/Object.html) \nA single word representation. \n\n### Public Method Summary\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Rect](//developer.android.com/reference/android/graphics/Rect.html) | [getBoundingBox](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.Word#getBoundingBox())() Gets the bounding box for the recognized text. |\n| [Float](//developer.android.com/reference/java/lang/Float.html) | [getConfidence](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.Word#getConfidence())() Gets confidence of the OCR results for the recognized text. |\n| [FirebaseVisionDocumentText.RecognizedBreak](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.RecognizedBreak) | [getRecognizedBreak](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.Word#getRecognizedBreak())() Gets the recognized break. |\n| [List](//developer.android.com/reference/java/util/List.html)\\\u003c[RecognizedLanguage](/docs/reference/android/com/google/firebase/ml/vision/text/RecognizedLanguage)\\\u003e | [getRecognizedLanguages](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.Word#getRecognizedLanguages())() Gets the recognized languages. |\n| [List](//developer.android.com/reference/java/util/List.html)\\\u003c[FirebaseVisionDocumentText.Symbol](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.Symbol)\\\u003e | [getSymbols](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.Word#getSymbols())() Gets the [List](//developer.android.com/reference/java/util/List.html) of [FirebaseVisionDocumentText.Symbol](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.Symbol)s in the [FirebaseVisionDocumentText.Word](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.Word). |\n| [String](//developer.android.com/reference/java/lang/String.html) | [getText](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.Word#getText())() Gets the UTF-8 representation of the recognized text. |\n\n### Inherited Method Summary\n\nFrom class java.lang.Object \n\n|----------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| [Object](//developer.android.com/reference/java/lang/Object.html) | clone() |\n| boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| void | finalize() |\n| final [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Methods\n--------------\n\n#### public [Rect](//developer.android.com/reference/android/graphics/Rect.html) **getBoundingBox** ()\n\nGets the bounding box for the recognized text. \n\n#### public [Float](//developer.android.com/reference/java/lang/Float.html) **getConfidence** ()\n\nGets confidence of the OCR results for the recognized text.\n\nReturns null if no confidence available. Otherwise, its range is \\[0.0f, 1.0f\\]. \n\n#### public [FirebaseVisionDocumentText.RecognizedBreak](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.RecognizedBreak) **getRecognizedBreak** ()\n\nGets the recognized break. \n\n#### public [List](//developer.android.com/reference/java/util/List.html)\\\u003c[RecognizedLanguage](/docs/reference/android/com/google/firebase/ml/vision/text/RecognizedLanguage)\\\u003e\n**getRecognizedLanguages** ()\n\nGets the recognized languages. \n\n#### public [List](//developer.android.com/reference/java/util/List.html)\\\u003c[FirebaseVisionDocumentText.Symbol](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.Symbol)\\\u003e\n**getSymbols** ()\n\nGets the [List](//developer.android.com/reference/java/util/List.html) of\n[FirebaseVisionDocumentText.Symbol](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.Symbol)s in the [FirebaseVisionDocumentText.Word](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.Word). The order of the symbols follows the\nnatural reading order. \n\n#### public [String](//developer.android.com/reference/java/lang/String.html) **getText** ()\n\nGets the UTF-8 representation of the recognized text.\n\nReturns an empty string if nothing is found."]]