Custom entity annotation with groundtruth


I'm trying to train a custom entity recognizer with aws comprehend by using annotations labelled with aws groundtruth.

Via ground truth, annotations are stored in the augmented manifest file in s3 but the format of the annotations doesn't look easily compatible with the expected format of the annotations to train a custom entity recognizer using comprehend.

Is there an easy way to combine these two tools or would I need to manipulate the annotated data in a more manual way to match the expected training data format for comprehend?

asked 3 years ago68 views
3 Answers

Please refer to this solution to train Comprehend Custom entity recognizers using data annotated with Groundtruth -

answered 2 years ago

Thank you for your question.

Comprehend currently does not support training of a customer entity recognizer using annotations labelled with Groundtruth in the exact output format of Groundtruth. We have submitted a feature request on your behalf to support this.

In the mean time unfortunately, you will have to write some custom code to transform the output of Groundtruth to the one supported by Comprehend Entity Recognizer training.

Please let us know if you have issues getting this done and we can get back with a code snippet that will help accomplish this.


answered 3 years ago

thank you!

A code snippet that might help the process would be really useful here if you're able to help?

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions