Skip to content

Commit

Permalink
feat: dq_correct_wrong_lang__for_tags (#9581)
Browse files Browse the repository at this point in the history
Python code to: 
 - fetch unknown tags for categories, allergens, etc.
 - check if each unknown tag exists in the taxonomy in different language
 - if yes, to all products having the tag in wrong language:
    - add existing tag in different language 
    - remove tag in wrong language 
   
Code is generalized to - not only categories, but also - additional tags fields.

- Part of #7838
---------

Co-authored-by: Alex Garel <alex@openfoodfacts.org>
  • Loading branch information
benbenben2 and alexgarel authored Apr 2, 2024
1 parent bf6c22b commit 0986951
Show file tree
Hide file tree
Showing 2 changed files with 559 additions and 0 deletions.
Loading

0 comments on commit 0986951

Please sign in to comment.