Fig. 5: Example of a parsed list of ingredients. | npj Science of Food

Fig. 5: Example of a parsed list of ingredients.

From: Crop diversity used in branded products with focus on legume species worldwide

Fig. 5

Illustration of the output dictionaries obtained by the parser43. Each ingredient has an identifier indicating its order of appearance. Information such as the initial name of the ingredient, the depth to which it appears in the list of ingredients (the ingredient of an ingredient), the comment(s) associated with this ingredient, and any proportional information is retained.

Back to article page