Entity Extraction
Using Google’s entity extraction APIs, DocumentScanner can identify and enable the appropriate action for entities such as addresses, phone numbers, and more.
To enable entity extraction, set the extractEntities
boolean to true.
To specify the language, identify one of the supported languages in Google’s Entity Extraction ML Kit. Then, set entityExtractionLanguageCode
to the corresponding language code in the ML Kit language identification doc. By default, the language is set to "en"
for English.