Sign in | Sign up

"to taste"

Tagged:

Currently contains 4 posts

Avatar

September 19, 2016 19:35

liemb

Would it be possible to add the ability to parse “to taste”? A majority of our recipe rejections are kicked back on:

“Salt and pepper to taste”
“Pepper to taste”
“Sea salt, to taste”
etc

We’ve been manually changing these to “1/8 tsp pepper” or “1/8 tsp salt” when we see them just to get them to parse through the API. I realize that this is a particularly subjective ingredient to put an amount and value to, but it would be nice if we could somehow automate processing these extremely common ingredient listings.

Avatar

October 03, 2016 18:34

mattsilv

Our natural API endpoint is set to just disregard unrecognized phrases like “to taste” so that should not be causing an issue on our end.

Can you please try our demo interface and confirm if you can replicate any problem there?

https://www.nutritionix.com/natural-demo?q=Salt%20and%20pepper%20to%20taste&s=1

Avatar

October 05, 2016 22:31

liemb

Is this the most current API URL for natural language parsing of ingredients?

https://trackapi.nutritionix.com/v1/natural/nutrients

Avatar

October 06, 2016 15:14

mattsilv

Yes, though we recommend pointing to /v2/ in the URL instead of /v1/ the result will be the same regardless of which version number you use.

Reply to thread