Difference between revisions of "Ingredients/Parsing"
Jump to navigation
Jump to search
(→Links) |
|||
Line 23: | Line 23: | ||
=== Order === | === Order === | ||
Items are required to be listed in order of largest to smallest quantity | Items are required to be listed in order of largest to smallest quantity | ||
+ | == Some examples == | ||
+ | * http://world.openfoodfacts.org/product/3760122960121/petits-sables-ronds-et-bons-aux-gouttes-de-chocolat-michel-et-augustin | ||
+ | * http://th.openfoodfacts.org/product/8850487049106/%E0%B8%9A%E0%B9%8A%E0%B8%A7%E0%B8%A2%E0%B8%94%E0%B8%AD%E0%B8%87-%E0%B9%81%E0%B8%A1%E0%B9%88%E0%B8%9B%E0%B8%A3%E0%B8%B0%E0%B8%99%E0%B8%AD%E0%B8%A1 | ||
+ | * http://uk.openfoodfacts.org/product/5038862238977/innocent-super-smoothie-antioxidant | ||
+ | * http://jp.openfoodfacts.org/product/4540118002726/%E9%9B%AA%E5%A1%A9%E3%81%A1%E3%82%93%E3%81%99%E3%81%93%E3%81%86 | ||
+ | * http://world.openfoodfacts.org/product/0000027533048/luxury-christmas-pudding-asda | ||
+ | |||
== Links == | == Links == | ||
* http://world.openfoodfacts.org/ingredients (will crash your browser) | * http://world.openfoodfacts.org/ingredients (will crash your browser) |
Revision as of 15:49, 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
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
- http://world.openfoodfacts.org/product/3760122960121/petits-sables-ronds-et-bons-aux-gouttes-de-chocolat-michel-et-augustin
- http://th.openfoodfacts.org/product/8850487049106/%E0%B8%9A%E0%B9%8A%E0%B8%A7%E0%B8%A2%E0%B8%94%E0%B8%AD%E0%B8%87-%E0%B9%81%E0%B8%A1%E0%B9%88%E0%B8%9B%E0%B8%A3%E0%B8%B0%E0%B8%99%E0%B8%AD%E0%B8%A1
- http://uk.openfoodfacts.org/product/5038862238977/innocent-super-smoothie-antioxidant
- http://jp.openfoodfacts.org/product/4540118002726/%E9%9B%AA%E5%A1%A9%E3%81%A1%E3%82%93%E3%81%99%E3%81%93%E3%81%86
- http://world.openfoodfacts.org/product/0000027533048/luxury-christmas-pudding-asda
Links
- http://world.openfoodfacts.org/ingredients (will crash your browser)
- http://world.openfoodfacts.org/files/ingredients.20151117.txt (lighter text version of the above)
- https://files.slack.com/files-pri/T02KVRT1Q-F192GGZE3/download/top500ingredients.xls (normalised Excel version for top 500 of the above)
- Global ingredients taxonomy (Taxonomisation start)
- Wikidata (We could generate a list from Wikidata)
- List of ingredients for multilingual products: http://world.openfoodfacts.org/language/multilingual/ingredients
- http://ec.europa.eu/food/safety/labelling_nutrition/labelling_legislation/index_en.htm
- http://ec.europa.eu/dgs/health_food-safety/dgs_consultations/food/docs/consult_20150104_allergy-intolerance_guidance.pdf
- http://www.fda.gov/Food/GuidanceRegulation/GuidanceDocumentsRegulatoryInformation/LabelingNutrition/ucm2006828.htm