Skip to content

Commit

Permalink
fix: add new nutrient mention for portuguese (#1425)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael0202 authored Oct 3, 2024
1 parent 68412fe commit 49df155
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions robotoff/prediction/ocr/nutrient.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
("waarvan verzadigde", ["nl"]),
("gesättigte fettsäuren", ["de"]),
("[aá]cidos grasos saturados", ["es"]),
("dos quais saturados", ["pt"]),
("mættede fedtsyrer", ["da"]),
],
"trans_fat": [("mati[èe]res? grasses? trans", ["fr"]), ("trans fat", ["en"])],
Expand All @@ -52,7 +53,7 @@
("fett", ["de"]),
("grasas", ["es"]),
("grassi", ["it"]),
("l[íi]pidos", ["es"]),
("l[íi]pidos", ["es", "pt"]),
("fedt", ["da"]),
],
"sugar": [
Expand All @@ -72,23 +73,23 @@
("koolhydraten", ["nl"]),
("koolhydraat", ["nl"]),
("kohlenhydrate", ["de"]),
("hidratos de carbono", ["es"]),
("hidratos de carbono", ["es", "pt"]),
("kulhydrat", ["da"]),
],
"protein": [
("prot[ée]ines?", ["fr"]),
("protein", ["en", "da"]),
("eiwitten", ["nl"]),
("eiweiß", ["de"]),
("prote[íi]nas", ["es"]),
("prote[íi]nas", ["es", "pt"]),
],
"salt": [
("sel", ["fr"]),
("salt", ["en", "da"]),
("zout", ["nl"]),
("salz", ["de"]),
("sale", ["it"]),
("sal", ["es"]),
("sal", ["es", "pt"]),
],
"fiber": [
("fibres?", ["en", "fr", "it"]),
Expand Down

0 comments on commit 49df155

Please sign in to comment.