-
Notifications
You must be signed in to change notification settings - Fork 50
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
Unable to understand the context #35
Comments
I believe your use case is within the scope of the library. |
I think support of inputs like To provide more context, this library was primarily developed to parse prices coming from website elements, where usually an element contains only the price with little extra text, while this example with a free-form text is more like a NER (named entity recognition) followed by price extraction. |
That makes sense @lopuhin ! |
Let's keep the issue open in case we can support this or someone has other opinion. |
Oh, I thought we had merged it already: #5 may fix this. |
Hey @Gallaecio, could you please review and merge the pull request (#5), I am running into similar problems. It might help me as well :) |
I tried to test the library on this:
Output:
It's unable to understand the context. I have gone through the code in parser.py, it's using regex to extract prices as well as the currency symbol.
Could you please share the vision of creating this library?
This way it can definitely resolve the minor human errors and help data scientists while preprocessing.
Or
The plan was to create a library that can extract prices from normal text like this:
"The price of 2000 plates is $13,004"
?The text was updated successfully, but these errors were encountered: