
Introducing sharp-recipe-parser
For almost four years now, I have maintained the Sharp Cooking app. From the beginning, one of the features I wanted to provide was ingredient UOM conversion. In version 1.4 of the app, a preview of the UOM conversion feature was made available. In this post, I will describe the process and how it was achieved. Before we get into UOM conversion, we first need to break down an ingredient line into its components. Recipe ingredient lines primarily consist of the quantity, the UOM, the ingredient, and any additional instructions. It should look like this: ...



