EntityExtraction
Stay organized with collections
Save and categorize content based on your preferences.
Entry point for Entity Extraction.
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
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.
[null,null,["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eEntityExtraction\u003c/code\u003e is the entry point for using Google ML Kit's entity extraction features.\u003c/p\u003e\n"],["\u003cp\u003eProvides a static \u003ccode\u003egetClient\u003c/code\u003e method to obtain an instance of \u003ccode\u003eEntityExtractor\u003c/code\u003e configured with specified options.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eEntityExtractor\u003c/code\u003e instances must be closed using \u003ccode\u003eEntityExtractor.close()\u003c/code\u003e when they are no longer needed to release resources.\u003c/p\u003e\n"]]],[],null,["# EntityExtraction\n\npublic class **EntityExtraction** extends [Object](//developer.android.com/reference/java/lang/Object.html) \nEntry point for Entity Extraction. \n\n### Public Method Summary\n\n|---------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| static [EntityExtractor](/android/reference/com/google/mlkit/nl/entityextraction/EntityExtractor) | [getClient](/android/reference/com/google/mlkit/nl/entityextraction/EntityExtraction#getClient(com.google.mlkit.nl.entityextraction.EntityExtractorOptions))([EntityExtractorOptions](/android/reference/com/google/mlkit/nl/entityextraction/EntityExtractorOptions) options) Gets an instance of [EntityExtractor](/android/reference/com/google/mlkit/nl/entityextraction/EntityExtractor) with the given `options`. |\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 static [EntityExtractor](/android/reference/com/google/mlkit/nl/entityextraction/EntityExtractor)\n**getClient** ([EntityExtractorOptions](/android/reference/com/google/mlkit/nl/entityextraction/EntityExtractorOptions) options)\n\nGets an instance of [EntityExtractor](/android/reference/com/google/mlkit/nl/entityextraction/EntityExtractor)\nwith the given `options`.\n\nTo release the resources associated with an [EntityExtractor](/android/reference/com/google/mlkit/nl/entityextraction/EntityExtractor),\nyou need to ensure that [EntityExtractor.close()](/android/reference/com/google/mlkit/nl/entityextraction/EntityExtractor#close())\nis called on the resulting [EntityExtractor](/android/reference/com/google/mlkit/nl/entityextraction/EntityExtractor)\ninstance once it will no longer be used."]]