Overlapping annotations AWS Comprehend

0

Hi , I am training a model in AWS comprehend using a csv file. It is giving me an error "Overlapping annotations (0, 4, 'Make') and (0, 11, 'Model') were found in the file PAS ID AWS Comprehend training data - Sheet1.csv, line 62" Can anyone help me in understanding the reason for this error and a possible fix to this issue?

質問済み 2年前653ビュー
2回答
2

Comprehend doesn't support overlapping annotations, i.e. when a section of your text is annotated twice. Make sure the annotation is correct in the line that Comprehend found the error. If your annotation is correct and you have frequent overlaps in your document then creating two separate models is the suggested workaround.

AWS
Heiko
回答済み 2年前
  • I can't find any overlapping text in the TEXT column of the CSV. I can share the CSV in case it helps.

  • Note, this is not about overlapping text, but about overlapping annotations. From the error message it seems that you have annotated the same section twice, once with (0, 4, 'Make') and once with (0, 11, 'Model').

1

If you are using a custom entity file (as opposed to an annotation file), you cannot have an entity term be the same or a substring of another entity term. For example if you have one entity term that's "login" and another that's "user login" belonging to different entities, the auto-annotation will then overlap as it's trying to annotate the overlapping substring "login" to 2 different entities.

回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ