Global categories taxonomy

From Open Food Facts wiki
Revision as of 12:45, 17 May 2019 by Stephane (talk | contribs)
Jump to navigation Jump to search

How it works

This page contains the definition of the hierarchy of categories used in Open Food Facts.

The definition contains:

  • stopwords (words that can be ignored when matching category names)
  • word synonyms (words that can be exchanged when matching category names)
  • category synonyms (the synonyms are then matched also in other cateflammegory names that contains those synonyms)

For more details, see Global taxonomies

Current status

  • Nov 22 2016: pushed live

To do

  • Merge with Wikidata:

Using (carefully) Wikidata Translations

https://docs.google.com/spreadsheets/d/1gZLOqqyIDVb4lzYr4SjdiDJt3aOjCTFu1ScMgOVbTUY/edit#gid=1962237550

Input the Wikidata ID (Q20162694 for https://www.wikidata.org/wiki/Q20162694) in A1, and get translations on column H. Double check the translations before using them.

--Twoflower (talk) 22:11, 14 July 2016 (CEST)

Taxonomy definition

The taxonomy is now managed directly on github: https://github.com/openfoodfacts/openfoodfacts-server/blob/master/taxonomies/categories.txt