Difference between revisions of "Processing Taxonomy"

From Open Food Facts EN
Jump to: navigation, search
(Created page with "= Processing Taxonomy == == Introduction == This page describes the ideas and principles behind the processing taxonomy. The taxonomy can be found here: [http://taxonomies/in...")
 
(Procedure)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Processing Taxonomy ==
 
 
== Introduction ==
 
== Introduction ==
 
This page describes the ideas and principles behind the processing taxonomy.
 
This page describes the ideas and principles behind the processing taxonomy.
Line 5: Line 4:
 
The taxonomy can be found here: [http://taxonomies/ingredients_processing.txt taxonomies/ingredients_processing.txt] on Github.
 
The taxonomy can be found here: [http://taxonomies/ingredients_processing.txt taxonomies/ingredients_processing.txt] on Github.
 
== Procedure ==
 
== Procedure ==
A standard procedure has been setup for adding a process or translation to this taxonomy.
+
A standard procedure has been setup for adding a process or translation to this taxonomy. Adding a new element has to be done with care, as it might introduce errors (false positives). The ingredients parsing might be different for each language.
 +
* Define parsing rules. Where is the adjective placed? For instance the adjective ''powder'' can be found before or after the ingredient, i.e. ''powdered cocoa'' or ''cocoa powder''. Is there a space between adjective and ingredient, for instance in dutch ''cacaopoeder'' and ''cacao poeder'' are both acceptable.
 +
* Check for false positives, with the filtering option for a specific language. For instance ''puree'' in dutch: https://nl.openfoodfacts.org/ingredients?filter=puree
 +
* Create specific tests for the new entry [[Processing test]];

Latest revision as of 15:25, 22 March 2020

Introduction

This page describes the ideas and principles behind the processing taxonomy.

The taxonomy can be found here: taxonomies/ingredients_processing.txt on Github.

Procedure

A standard procedure has been setup for adding a process or translation to this taxonomy. Adding a new element has to be done with care, as it might introduce errors (false positives). The ingredients parsing might be different for each language.

  • Define parsing rules. Where is the adjective placed? For instance the adjective powder can be found before or after the ingredient, i.e. powdered cocoa or cocoa powder. Is there a space between adjective and ingredient, for instance in dutch cacaopoeder and cacao poeder are both acceptable.
  • Check for false positives, with the filtering option for a specific language. For instance puree in dutch: https://nl.openfoodfacts.org/ingredients?filter=puree
  • Create specific tests for the new entry Processing test;