class ProjectsLocationsServicesNlp extends Resource (View source)

The "nlp" collection of methods.

Typical usage is:

 $healthcareService = new Google\Service\CloudHealthcare(...);
 $nlp = $healthcareService->projects_locations_services_nlp;

Methods

analyzeEntities(string $nlpService, AnalyzeEntitiesRequest $postBody, array $optParams = [])

Analyze heathcare entity in a document. Its response includes the recognized entity mentions and the relationships between them. AnalyzeEntities uses context aware models to detect entities. (nlp.analyzeEntities)

Details

AnalyzeEntitiesResponse analyzeEntities(string $nlpService, AnalyzeEntitiesRequest $postBody, array $optParams = [])

Analyze heathcare entity in a document. Its response includes the recognized entity mentions and the relationships between them. AnalyzeEntities uses context aware models to detect entities. (nlp.analyzeEntities)

Parameters

string $nlpService

The resource name of the service of the form: "projects/{project_id}/locations/{location_id}/services/nlp".

AnalyzeEntitiesRequest $postBody
array $optParams

Optional parameters.

Return Value

AnalyzeEntitiesResponse

Exceptions

Exception