gcloud alpha healthcare nlp analyze-entities - find and analyze medical entities in a document
gcloud alpha healthcare nlp analyze-entities [LOCATION] --document-content=DOCUMENT_CONTENT --nlp-service=NLP_SERVICE [GCLOUD_WIDE_FLAG ...]
(ALPHA) Find and analyze medical entities in a document.
To inspect input text for medical concepts and relations run:
$ gcloud alpha healthcare nlp analyze-entities \ --document-content="Example" \ --nlp-service="projects/my-project/locations/my-location/service\ s/nlp"
- Nlp resource - Cloud Healthcare NL API service be evaluated. This represents a
Cloud resource. (NOTE) Some attributes are not given arguments in this group but can be set in other ways. To set the project attribute:
- —
provide the argument location on the command line with a fully specified name;
- —
set the property healthcare/location with a fully specified name;
- —
provide the argument --project on the command line;
- —
set the property core/project.
- [LOCATION]
ID of the nlp or fully qualified identifier for the nlp. To set the location attribute:
provide the argument location on the command line;
set the property healthcare/location.
- --document-content=DOCUMENT_CONTENT
The input text to be analyzed.
- --nlp-service=NLP_SERVICE
The NLP Service name to be used.
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
This command uses the healthcare/v1alpha2 API. The full documentation for this API can be found at: https://cloud.google.com/healthcare
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. This variant is also available:
$ gcloud beta healthcare nlp analyze-entities