EntityExtraction

  • EntityExtraction is the entry point for Entity Extraction.

  • It provides a static method getClient to get an instance of EntityExtractor with specified options.

  • To release resources, EntityExtractor.close() should be called on the EntityExtractor instance when it's no longer needed.

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

From class java.lang.Object
Object
clone()
boolean
equals(Object arg0)
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()

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.

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.