Replies: 1 comment
-
|
This is something I've thought about for a long time, but always came away at a loss as to how to detect those quantities reliably in a procedural way. Like, a natural language processor would easily parse that kind of thing, but structured logic would either be way too complex for a small library like this or too ineffective to be worth the effort. If you could come up with a simple(-ish), effective algorithm for this case I'd be happy to reconsider! |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Hey @jakeboone02!
Working with various recipes, I've encountered some scenarios where the ingredient description may sometimes also contain a unit.
For example:
Which is fine, until you start converting units to metric system, which results in something like:
It would be nice if we could extract
1 1/2-inchand1 poundas parsed units that we could then apply conversion against.Beta Was this translation helpful? Give feedback.
All reactions