com.google.mlkit.nl.entityextraction
Stay organized with collections
Save and categorize content based on your preferences.
Annotations
Interfaces
Annotates a text with information about entities
referenced in the text.
Classes
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["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 2024-10-31 UTC."],[[["\u003cp\u003eEntity Extraction uses machine learning to identify and categorize entities within text, such as dates, addresses, and payment information.\u003c/p\u003e\n"],["\u003cp\u003eIt offers various classes and interfaces for handling entities, including DateTimeEntity, EntityAnnotation, and EntityExtractor.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize the Entity Extraction API to annotate text with detailed information about the entities found.\u003c/p\u003e\n"],["\u003cp\u003eEntity Extraction supports various entity types, including payment card networks, tracking carriers, and date-time granularities.\u003c/p\u003e\n"],["\u003cp\u003eYou can use Entity Extraction to extract flight numbers, IBANs, ISBNs, and more from given text.\u003c/p\u003e\n"]]],[],null,["# com.google.mlkit.nl.entityextraction\n\n### Annotations\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------|\n| [DateTimeEntity.DateTimeGranularity](/android/reference/com/google/mlkit/nl/entityextraction/DateTimeEntity.DateTimeGranularity) | The precision of a timestamp that was extracted from text. |\n| [Entity.Type](/android/reference/com/google/mlkit/nl/entityextraction/Entity.Type) | The type of an extracted entity(e.g. |\n| [EntityExtractorOptions.ModelIdentifier](/android/reference/com/google/mlkit/nl/entityextraction/EntityExtractorOptions.ModelIdentifier) | The list of models supported by entity extraction (e.g. |\n| [PaymentCardEntity.PaymentCardNetwork](/android/reference/com/google/mlkit/nl/entityextraction/PaymentCardEntity.PaymentCardNetwork) | The list of supported payment card networks that could be detected (e.g. |\n| [TrackingNumberEntity.ParcelTrackingCarrier](/android/reference/com/google/mlkit/nl/entityextraction/TrackingNumberEntity.ParcelTrackingCarrier) | The list of supported carriers that could be detected (e.g. |\n\n### Interfaces\n\n|--------------------------------------------------------------------------------------------|--------------------------------------------------------------------------|\n| [EntityExtractor](/android/reference/com/google/mlkit/nl/entityextraction/EntityExtractor) | Annotates a text with information about entities referenced in the text. |\n\n### Classes\n\n|------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|\n| [DateTimeEntity](/android/reference/com/google/mlkit/nl/entityextraction/DateTimeEntity) | A date-time entity extracted from a piece of text. |\n| [Entity](/android/reference/com/google/mlkit/nl/entityextraction/Entity) | An entity extracted from a piece of text. |\n| [EntityAnnotation](/android/reference/com/google/mlkit/nl/entityextraction/EntityAnnotation) | An annotation of a piece of text. |\n| [EntityExtraction](/android/reference/com/google/mlkit/nl/entityextraction/EntityExtraction) | Entry point for Entity Extraction. |\n| [EntityExtractionParams](/android/reference/com/google/mlkit/nl/entityextraction/EntityExtractionParams) | Parameters for a request to extract entities from a given piece of text. |\n| [EntityExtractionParams.Builder](/android/reference/com/google/mlkit/nl/entityextraction/EntityExtractionParams.Builder) | Builder class for [EntityExtractionParams](/android/reference/com/google/mlkit/nl/entityextraction/EntityExtractionParams). |\n| [EntityExtractionRemoteModel](/android/reference/com/google/mlkit/nl/entityextraction/EntityExtractionRemoteModel) | Information about a downloaded or to-be-downloaded model for entity extraction. |\n| [EntityExtractionRemoteModel.Builder](/android/reference/com/google/mlkit/nl/entityextraction/EntityExtractionRemoteModel.Builder) | Builder for [EntityExtractionRemoteModel](/android/reference/com/google/mlkit/nl/entityextraction/EntityExtractionRemoteModel). |\n| [EntityExtractorOptions](/android/reference/com/google/mlkit/nl/entityextraction/EntityExtractorOptions) | Options for extracting entities from a piece of text. |\n| [EntityExtractorOptions.Builder](/android/reference/com/google/mlkit/nl/entityextraction/EntityExtractorOptions.Builder) | Builder for [EntityExtractorOptions](/android/reference/com/google/mlkit/nl/entityextraction/EntityExtractorOptions) instances. |\n| [FlightNumberEntity](/android/reference/com/google/mlkit/nl/entityextraction/FlightNumberEntity) | A flight number entity extracted from a piece of text. |\n| [IbanEntity](/android/reference/com/google/mlkit/nl/entityextraction/IbanEntity) | An IBAN (International Bank Account Number) entity extracted from a piece of text. |\n| [IsbnEntity](/android/reference/com/google/mlkit/nl/entityextraction/IsbnEntity) | An ISBN (International Standard Book Number) entity extracted from a piece of text. |\n| [MoneyEntity](/android/reference/com/google/mlkit/nl/entityextraction/MoneyEntity) | A money entity extracted from a piece of text. |\n| [PaymentCardEntity](/android/reference/com/google/mlkit/nl/entityextraction/PaymentCardEntity) | A payment card entity extracted from a piece of text. |\n| [TrackingNumberEntity](/android/reference/com/google/mlkit/nl/entityextraction/TrackingNumberEntity) | A parcel tracking number entity extracted from a piece of text. |"]]