gcloud beta healthcare nlp analyze-entities - find and analyze medical entities in a document
gcloud beta healthcare nlp analyze-entities [LOCATION] --document-content=DOCUMENT_CONTENT --nlp-service=NLP_SERVICE [GCLOUD_WIDE_FLAG ...]
(BETA) Find and analyze medical entities in a document.
To inspect input text for medical concepts and relations run:
$ gcloud beta 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/v1beta1 API. The full documentation for this API can be found at: https://cloud.google.com/healthcare
This command is currently in beta and might change without notice. This variant is also available:
$ gcloud alpha healthcare nlp analyze-entities