As part of my work on Gastronaut, I'm building a form that allows users to create recipes and which will attempt to parse ingredients lists and find a suitable stock photo for each item the user adds to their recipe. As well as being cute and decorative, this step is important for later when we want to normalise ingredient quantities.
What we're looking to do is take a string like "2lbs flour" and turn it into structured data - a json representation might look like this:
Read more...