Changes

Jump to navigation Jump to search
Line 142: Line 142:  
** And/or (''%and_or'') -
 
** And/or (''%and_or'') -
 
** The (''%the'') - the [https://en.wikipedia.org/wiki/The grammatical article] of the language.
 
** The (''%the'') - the [https://en.wikipedia.org/wiki/The grammatical article] of the language.
 +
** Ignore after percent (''%ignore_strings_after_percent'') - a phrase that can be discard after it appears a %-sign;
 +
** Ignore phrases (''%ignore_regexps'') - phrases that can be ignored (black list);
 +
** Ingredients start (''%phrases_before_ingredients_list'') - this word is used as the beginning a the ingredient list, and helps OFF determine where the recognition should start.
 +
** Ingredients start all caps (''%phrases_before_ingredients_list_uppercase'') - For example in[https://static.openfoodfacts.org/images/products/002/222/420/0820/ingredients_en.4.full.jpg this ingredient list], the lis starts with '''INGREDIENTS''';
 +
** After ingredients (''%phrases_after_ingredients_list'') - an ingredient list can end in many different ways. These can be listed here;
 +
** Wrong dashes (%prefixes_before_dash)
 +
 
* Systematically add the translations - you can use the available web-interface for this. For example to translate the dutch ingredients, use this link: [https://world-nl.openfoodfacts.org/ingredients?translate=add]. In this url ''world'' stands for all products in the database and ''nl'' stands for those with dutch as a main language. And the go through the provided list of ingredients. Be careful, as you might easily introduce wrong translations, which are not actually used on ingredient lists.
 
* Systematically add the translations - you can use the available web-interface for this. For example to translate the dutch ingredients, use this link: [https://world-nl.openfoodfacts.org/ingredients?translate=add]. In this url ''world'' stands for all products in the database and ''nl'' stands for those with dutch as a main language. And the go through the provided list of ingredients. Be careful, as you might easily introduce wrong translations, which are not actually used on ingredient lists.
  
4,296

edits

Navigation menu