EntityExtraction

  • EntityExtraction is the entry point for using Google ML Kit's entity extraction features.

  • Provides a static getClient method to obtain an instance of EntityExtractor configured with specified options.

  • EntityExtractor instances must be closed using EntityExtractor.close() when they are no longer needed to release resources.

public class EntityExtraction extends Object

Entry point for Entity Extraction.

Public Method Summary

static EntityExtractor
getClient(EntityExtractorOptions options)
Gets an instance of EntityExtractor with the given options.

Inherited Method Summary

Public Methods

public static EntityExtractor getClient (EntityExtractorOptions options)

Gets an instance of EntityExtractor with the given options.

To release the resources associated with an EntityExtractor, you need to ensure that EntityExtractor.close() is called on the resulting EntityExtractor instance once it will no longer be used.