-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
I tried to test the library on this:
from price_parser import parse_price
parse_price("The price of 2000 plates is $13,004")
Output:
Price(amount=Decimal('2000'), currency='$')
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"?
Gallaecio
Metadata
Metadata
Assignees
Labels
No labels
