Comprehend currently doesn’t support sub-categories. As a bit of background:
- PERSONAL QUANTITY
are the sole items we support out of the box for our standard entity recognition APIs.
If you wanted custom entities, those found outside the ones listed above, Comprehend has custom entity recognition where you can train models to recognize specific entities you’re interested in, and run inference against those models. Here’s how you can begin to setup your custom entities.
I noticed Events is another item that had a MONETARY_VALUE entity type, but Events we only support a fixed amount out of the box (along the same line as the list of entities I listed originally). The Events API are generally used for financial events.
The event type also contains a list of arguments that are related to the detected event, and an argument consists of an entity that is related to the detected event. The argument’s role describes the relationship (E.G. who did what, where and when).
If you’re interested in this kind of analysis, then you can use Events instead, but at this moment there isn’t a way to combine the 2 APIs or pick a subset of these types (E.G. combining QUANTITY, from entity recognition, and MONETARY_VALUE, from Events, with a single API call). Events also aren’t real time Synchronous APIs, and is currently only available for asynchronous jobs.
https://docs.aws.amazon.com/comprehend/latest/dg/how-entities.html https://docs.aws.amazon.com/comprehend/latest/dg/training-recognizers.html https://docs.aws.amazon.com/comprehend/latest/dg/how-events.html https://aws.amazon.com/blogs/machine-learning/announcing-the-launch-of-amazon-comprehend-events/
Comprehend Medical Entity Detection Classification Accuracyasked 4 years ago
AWS Comprehend scan list for frequently used words and phrases?asked a month ago
A2I for Named Entity Recognition in PDFsasked 16 days ago
Want Real-Time Custom Entity Recognition for PDFs Amazon Comprehend
Can we get sub categories in standard entity recognition of AWS Comprehend?asked 5 months ago
Real Time PDF Entity Recognition Not Possible?
Does the custom entity recognition of Amazon Comprehend does not works with sem-structured data in Spanish?asked 3 months ago
Comprehend CER Internal server errorasked 4 months ago
Custom entity recognition supports a maximum of 120000 samples.asked 4 years ago
Error in Custom Entity Recognition (AWS Comprehend)asked 2 months ago