Difference between revisions of "Ingredients/Parsing"

From Open Food Facts wiki
Jump to navigation Jump to search
Line 10: Line 10:
 
=== Comma separator ===
 
=== Comma separator ===
 
Ingredients are separated by a comma (,) generally followed by a single space
 
Ingredients are separated by a comma (,) generally followed by a single space
 +
They can be separated by other symbols
 +
<pre> • Polyquaternium-67 • Propylene Glycol • </pre>
 +
 
=== Dot ===
 
=== Dot ===
 
Indicates the end of the ingredients list.
 
Indicates the end of the ingredients list.

Revision as of 15:52, 25 September 2016

This page collects what we know about ingredient parsing.


 rietsuiker*, plantaardige olie* (zonnebloem, palm), 13% _hazelnoot_*, 7.5% magere cacaopoeder*, magere _melk_poeder*, emulgator (_soja_lecithine), vanille*.
*Van biologische oorsprong.

EU Regulation based parsing

Comma separator

Ingredients are separated by a comma (,) generally followed by a single space They can be separated by other symbols

 • Polyquaternium-67 • Propylene Glycol • 

Dot

Indicates the end of the ingredients list.

Asterisk(s) at the start of an ingredient

Indicates an annotation for one or more ingredients that have the same number of asterisks at the end. For instance, some items above are indicated as of biological origin

Asterisk(s) at the end of an ingredient

Indicates that this ingredient has an annotation (see above)

Parenthesis

Can indicate sub-components, that can also sometimes interpret to an E-Number. For instance: emulgator (sojalecithine) interprets to E322

Percentage

Indicates the quantity

Order

Items are required to be listed in order of largest to smallest quantity

Some examples

Links