Skip to content

Commit

Permalink
Refactored the util file. The categories and the other words now are …
Browse files Browse the repository at this point in the history
…json files where contributors can place other languages
  • Loading branch information
TurconiAndrea committed Jan 23, 2022
1 parent b5227a2 commit 9ff2dda
Show file tree
Hide file tree
Showing 6 changed files with 916 additions and 882 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,6 @@ Default language is English, if the "language" argument is not provided.
- [x] Handling of Wikipedia pages.
- [x] Better search over dictionary and Wikipedia pages of ingredient.
- [x] Calculate the water foorprint of a recipe
- [ ] A the possibility to add an ingredient after search if it is not present into the embedding.
- [ ] Add the possibility to add an ingredient after search if it is not present into the embedding.
- [ ] An explanation in order to provided an other language.
- [ ] A method for automatic translation when providing another language.
54 changes: 54 additions & 0 deletions recipe_tagger/provider/words_to_group.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"it": [
"gelato",
"sale",
"pepe",
"olio",
"uova",
"mozzarella",
"pollo",
"farina",
"latte",
"zucchero",
"vino",
"birra",
"aceto",
"colomba",
"pizza",
"riso",
"te",
"insalata",
"carne",
"verdure",
"cioccolato",
"funghi",
"fungo",
"tonnato"
],
"en": [
"ice cream",
"salt",
"pepper",
"oil",
"eggs",
"egg",
"mozzarella",
"chicken",
"flour",
"milk",
"sugar",
"wine",
"beer",
"winegar",
"dove",
"pizza",
"rice",
"tea",
"salad",
"meat",
"vegetable",
"chocolate",
"mushroom",
"veal"
]
}
Loading

0 comments on commit 9ff2dda

Please sign in to comment.