Closed mossprescott closed 2 years ago
You mean (not) parsing multiple quantities as metric/imperial conversions? :laughing:
Better now:
...
1 1/8 cup whole-milk ricotta
...
3/8 cup /60 milliliters extra-virgin olive oil
...
I'm not very happy with "3 to 2 ½ pounds", but it's sort of out of the scope of what I'm trying to accomplish here, and it's clear in the JSON what's going on, so I think this is a solid addition and I'm done playing with it for the time being.
I think it would be cool to parse things like "1 cup/240 ml" and "2 to 2 ½ pounds" into some kind of ADT, but it's certainly going to complicate both the parser and (worse) the parsed representation. See #7 (and apologies if you weren't looking for feature requests today.)
Yeah, I like it. It's hard to understand the /
contextually as well.
One thing I considered in the past is training a model to recognize recipes based on images, so things like that would be good for the training set :smiling_imp:
For example:
I think this is rather useful, actually 😄
Can you spot the bug above?