4 ms·
Very cool! It sounds like you followed a similar approach that the NY Times used in their recipe parsing approach, correct? How does your API handle ingredient
by Abundnce10 8y ago
Very cool! It sounds like you followed a similar approach that the NY Times used in their recipe parsing approach, correct?
How does your API handle ingredients with multiple options (e.g. "1 1/2 cups seedless red or green grapes")?
- ioot17 8y agoYes, that's correct, it's similar to the mechanisms NY Times guys were using and I've been focusing on the datasets to feed the CRF with as it's what drives the whole thing. This is the output I've got based on your example: [ { "unit": "cup", "input": "1$1/2 cups seedless red or green grapes", "name": "red grapes", "qty": "1$1/2", "comment": "seedless or green" } ] Don't hesitate to try the API out by pasting some examples to the white box on the site and pressing the "Try it out!" button, it's interactive :)
- Abundnce10 8y agoDon't hesitate to try the API out by pasting some examples to the white box on the site and pressing the "Try it out!" button, it's interactive Sweet, I didn't realize it was interactive. I'll give it a try!