[Python] Extract all "values" and remove overlapped results #2412
daviddwlee84
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Sometimes we want to extract values in some text. For example, assume we care about normal numbers, currency, percentage, and time.
Since
recognizers_number.number.number_recognizer.recognize_number()will greedyly extract all numbers, that might exist some duplication between other results.It's good to have a function that can assign what type of value we want to extract and remove the duplicate between them (and maybe in some complex situation, there will be a priority among different types).
Beta Was this translation helpful? Give feedback.
All reactions