Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign updetect_medical_entities and phi should handle character vector #22
Comments
Merged
|
My bad, AWS does not provide batch operations for Comprehend Medical. This is a good reason not to implement batch processing for the One can always loop on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
detect_medical_entitiescan only handle a scalar string. It should handle a character vector, like all otherdetect_*functions. Example code can be found inR/detect_entity.R.Note that right now the medical stuff in the "medical" branch. Install with
remotes::install_github("cloudyr/aws.comprehend", ref = "medical").Created on 2020-01-28 by the reprex package (v0.3.0)
Making sure indices are consistent with the input even when no entities are found...
detect_medical_entities(c(medical_txt, "No medical entity in here", medical_txt))@dkincaid