Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

overalaping body in the extracted entities #740

Open
vivek2259 opened this issue Jul 26, 2024 · 0 comments
Open

overalaping body in the extracted entities #740

vivek2259 opened this issue Jul 26, 2024 · 0 comments

Comments

@vivek2259
Copy link

How can we make sure that there are no overlapping bodies in the extracted entities.

For example:
for text: "one hundred forty one hundred and thirteen". I wanted the output: 140 and 113 ultimately

but I got 141 and 4113 (forty one is common between both the bodies).

[{'body': 'one hundred forty one',
  'start': 0,
  'value': {'value': 141, 'type': 'value'},
  'end': 21,
  'dim': 'number',
  'latent': False},
 {'body': 'forty one hundred and thirteen',
  'start': 12,
  'value': {'value': 4113, 'type': 'value'},
  'end': 42,
  'dim': 'number',
  'latent': False}]

I want nothing to overlap between the bodies of the extracted entities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant