Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

taxonomy: Lithuanian ingredients + processing #9148

Merged
merged 14 commits into from
Oct 24, 2023
17 changes: 16 additions & 1 deletion lib/ProductOpener/Ingredients.pm
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ my %may_contain_regexps = (
is => "getur innihaldið leifar|gæti innihaldið snefil|getur innihaldið",
it =>
"Pu[òo] contenere tracce di|pu[òo] contenere|che utilizza anche|possibili tracce|eventuali tracce|possibile traccia|eventuale traccia|tracce|traccia",
lt => "sudėtyje gali būti",
lt => "sudėtyje gali būti|gali būti",
lv => "var saturēt",
nl =>
"Dit product kan sporen van|bevat mogelijk sporen van|Kan sporen bevatten van|Kan sporen van|bevat mogelijk|sporen van",
Expand Down Expand Up @@ -2091,6 +2091,7 @@ sub parse_ingredients_text ($product_ref) {
or ($ingredients_lc eq 'fr')
or ($ingredients_lc eq 'hr')
or ($ingredients_lc eq 'it')
or ($ingredients_lc eq 'lt')
or ($ingredients_lc eq 'mk')
or ($ingredients_lc eq 'pl')
or ($ingredients_lc eq 'sl')
Expand Down Expand Up @@ -4324,6 +4325,10 @@ my %phrases_after_ingredients_list = (

lt => [
'geriausias iki', # best before
'tinka vartoti iki', # valid until
'data ant pakuotės', #date on package
'laikyti sausoje vietoje', #Keep in dry place
'',
],

nb => ['netto(?:innhold|vekt)', 'oppbevar(?:ing|es)', 'næringsinnhold', 'kjølevare',],
Expand Down Expand Up @@ -4886,6 +4891,16 @@ my %ingredients_categories_and_types = (
[["piment", "poivron"], ["vert", "jaune", "rouge",], 0,],
],

lt => [
#oils
[
# categories
["aliejai", "augaliniai aliejai",],
# types
["palmių", "rapsų", "saulėgrąžų",],
],
],

hr => [
# malts
[
Expand Down
6 changes: 3 additions & 3 deletions taxonomies/categories.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31477,7 +31477,7 @@ fr:Cookies fourrés
fr:Barquettes

<en:Biscuits
en:Sponge cake biscuits wih fruits covering, Pre-packed sponge cake biscuit with fruits covering
en:Sponge cake biscuits with fruits covering, Sponge cake biscuits wih fruits covering, Pre-packed sponge cake biscuit with fruits covering
fr:Barquettes aux fruits, Biscuit sec avec nappage aux fruits, Génoise avec nappage aux fruits, Barquette avec nappage aux fruits
agribalyse_food_code:en:24678
ciqual_food_code:en:24678
Expand Down Expand Up @@ -104531,10 +104531,10 @@ wikidata:en:Q4820063
# TODO upstream child proxy

<en:Stuffed vine leaves
en:Dolmas, Vine leaf stuffed wih rice, Drained vine leaf stuffed wih rice
en:Dolmas, Vine leaf stuffed with rice, Drained vine leaf stuffed with rice
fr:Dolmas, Feuille de vigne farcie au riz, Feuille de vigne égouttée farcie au riz
ciqual_food_code:en:25217
ciqual_food_name:en:Vine leaf stuffed wih rice or dolmas, drained
ciqual_food_name:en:Vine leaf stuffed with rice or dolmas, drained
ciqual_food_name:fr:Feuille de vigne farcie au riz ou dolmas, égouttée

en:Brick sheets, Baked filo pastry sheets without fat, Baked phyllo pastry sheets without fat
Expand Down
33 changes: 28 additions & 5 deletions taxonomies/ingredients.txt
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ hr:emulgator soja lecitin, emulgator sojin lecitin, soja lecitin, emulgatori soj
hu:szójalecitin, szójalecitinek
is:sojalesitin
it:lecitina di soia, lecitine di soia
lt:sojos lecitinas, sojų lecitinai, sojų pupelių lecitinai
lt:sojos lecitinas, sojų lecitinai, sojų pupelių lecitinai, emulsikliai sojos lecitinas
nb:soyalecitin, soyalecitiner
nl:sojalecithine, soja lecithine, sojalecithinen
nn:sojalecitin
Expand Down Expand Up @@ -3600,6 +3600,7 @@ hu:édesítetlen sűrített tej
id:Susu evaporasi
ja:無糖練乳
ko:무당연유
lt:nesaldintas kondensuotas pienas
mk:згуснато млеко
ms:Susu sejat
nl:koffiemelk, geëvaporeerde melk
Expand Down Expand Up @@ -3945,7 +3946,7 @@ hu:sovány tejpor
is:undanrennuduft
it:latte scremato in polvere, latte in polvere scremato
ja:脱脂粉乳
lt:nugriebto pieno milteliai
lt:nugriebto pieno milteliai, lieso pieno milteliai
lv:sausais vajpiena pulveris
nb:skummetmelkepulver, skummetmelkpulver
nl:magere melkpoeder, mageremelkpoeder, mager melkpoeder
Expand Down Expand Up @@ -4034,6 +4035,7 @@ fr:lait écrémé réhydraté
# hr:rekonstituirano obrano mlijeko # see ingredients_processing.txt
hu:visszaállított sovány tej, feloldott sovány tej
it:latte scremato reidratato
lt:regeneruotas nugriebtas pienas
Copy link
Collaborator

@benbenben2 benbenben2 Oct 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because there is "nugriebtas pienas" in ingredients.txt and "regeneruotas" in ingredients_processing.txt, this line becomes useless. We can keep it as comment, to help find ingredients with processing in ingredients.txt for when we will tackle more languages for processing.

Suggested change
lt:regeneruotas nugriebtas pienas
# lt:regeneruotas nugriebtas pienas # see ingredients_processing.txt

nl:gerehydrateerde magere melk
pl:odtworzone odtłuszczone mleko, odtworzone mleko odtłuszczone
pt:leite magro reconstituído
Expand Down Expand Up @@ -12139,6 +12141,7 @@ he:חזיר
hu:sertés, disznó, malac
it:suino
ja:豚, ポーク
lt:kiauliena
nb:svin, flesk
nl:varken
pl:Wieprzowina, wieprzowy, wieprzowe, wieprzowa
Expand Down Expand Up @@ -12167,6 +12170,7 @@ hr:svinjsko meso, svinjetina
hu:sertéshús, disznóhús
it:carne di suino, carne di maiale, carne suina
ja:豚肉
lt:kiaulienos mėsa
nb:svinekjøtt, kjøtt av svin
nl:Varkensvlees
pl:mięso wieprzowe
Expand Down Expand Up @@ -12209,6 +12213,7 @@ es:paleta de cerdo
fr:épaule de porc
fi:porsaan lapa
hr:svinjska lopatica
lt:kiaulienos mentė, kiaulienos mentis
pl:mięso wieprzowe z łopatki
sv:grisbog
wikidata:en:Q2255700
Expand Down Expand Up @@ -13222,6 +13227,7 @@ hu:slanina, sertészsír
id:lemak babi
it:grasso di maiale, grasso di suino, grasso suino
ja:豚脂
lt:kiaulienos lašiniai
nl:varkensvet
no:svinefett
pl:tłuszcz wieprzowy, tłuszcze wieprzowe, tłuszcz ze świni
Expand Down Expand Up @@ -13774,7 +13780,7 @@ kk:Крахмал
ko:녹말
la:Amylum
li:Zètmael
lt:Krakmolas
lt:Krakmolas, tirštiklis krakmolas
Copy link
Collaborator

@benbenben2 benbenben2 Oct 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it synonym of Krakmolas or could it be synonym of "Modifikuotas krakmolas" in additives.txt?

Copy link
Contributor Author

@DanieliusAsm DanieliusAsm Oct 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tirštiklis means thickener. In one of the product's ingredients it was listed "tirštiklis krakmolas". "tirštiklis" should probably be somewhere else not sure where.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

me neither. Let's leave it in ingredients.txt for now.

lv:Ciete
mk:Скроб
ml:അന്നജം
Expand Down Expand Up @@ -15324,6 +15330,7 @@ hr:palma, palmina, palmine, palmino
hu:pálma
it:palma
ja:パーム
lt:palmių
nb:palme
nl:palm
pl:palma
Expand Down Expand Up @@ -20158,6 +20165,7 @@ hr:prirodna aroma, prirodne arome
hu:természetes aroma, természetes aromák, természetazonos aroma, természetazonos aromák
is:náttúruleg bragðefni
it:aroma naturale, aromi naturali
lt:natūralios kvapiosios medžiagos
lv:dabīgs aromatizētājs
mk:природна арома
nb:naturlig aroma
Expand Down Expand Up @@ -21004,6 +21012,7 @@ ja:バニリン
kk:Ванилин
ko:바닐린
ky:Ванилин
lt:vanilinas
mk:Ванилин
ms:Vanilin
nb:vanillin
Expand Down Expand Up @@ -21228,6 +21237,7 @@ fi:vanilliiniaromi
fr:arôme vanilline
hu:vanillin aroma
it:aroma vanillina
lt:kvapioji medžiaga vanilinas, aromatizatorius vanilinas
pl:aromat wanilinowy
sv:vanillinarom

Expand Down Expand Up @@ -34731,7 +34741,7 @@ fr:diphosphate, diphosphates
hu:Difoszfátok
it:difosfati
ja:ピロリン酸塩
lt:E450
lt:E450, emulsiklis difosfatai
lv:E450
mt:E450
nl:difosfaten
Expand Down Expand Up @@ -35179,6 +35189,7 @@ fi:ammonium- ja natriumkarbonaatit
fr:carbonates d'ammonium et de sodium
hr:amonijev bikarbonat
it:carbonati di ammonio e di sodio
lt:kildinimo medžiaga amonio karbonatas
nl:ammonium- en natriumcarbonaten, ammonium carbonaten en natrium
# ingredient/fr:carbonates-d’ammonium-et-de-sodium has 110 products in 7 languages @2019-04-06

Expand Down Expand Up @@ -35509,6 +35520,7 @@ fi:mehutiiviste
fr:jus concentré
it:succo concentrato
ja:濃縮果汁
lt:sulčių koncentratas, koncentruotos sultys
nl:sap uit vruchtensapconcentraat, geconcentreerd sap
pl:zagęszczony sok, sok zagęszczony, koncentrat soku, koncentrat soku z, zagęszczone soki
ru:концентрированные соки
Expand Down Expand Up @@ -42580,7 +42592,7 @@ ku:Zebeş
ky:Дарбыз
la:Citrullus lanatus
lg:Sekazzi
lt:Tikrasis arbūzas
lt:Arbūzas, Tikrasis arbūzas, arbūzų
lv:arbūzs
mk:Лубеница
ml:തണ്ണിമത്തൻ
Expand Down Expand Up @@ -51021,11 +51033,13 @@ ciqual_food_name:fr:Carotte, purée
# fr:concentré de carotte usage as a colour is not always mentioned

<en:carrot
en:carrot concentrate
fr:concentré de carotte, concentré de carottes
de:Karottenkonzentrat
fi:porkkanatiiviste
hr:koncentrat mrkve
it:concentrato di carota, concentrato di carote
lt:morkų koncentratas, dažiklis morkų koncentratas
ro:concentrat de morcov
# fr:concentré-de-carotte has 221 products in 4 languages @2018-10-10

Expand Down Expand Up @@ -52706,6 +52720,7 @@ fi:punajuuri
fr:betterave rouge, betteraves rouges
it:barbabietole rosse
ja:赤ビーツ
lt:raudonieji burokėliai
nl:rode biet
pl:burak czerwony, buraki czerwone, buraków czerwonych, buraka czerwonego, czerwony burak, czerwone buraki, czerwonych buraków, czerwonego buraka
pt:beterraba vermelha
Expand Down Expand Up @@ -58546,6 +58561,7 @@ fi:paahdettu maapähkinä, paahdetut maapähkinät
fr:cacahuètes grillées
it:arachidi tostate
ja:ローストピーナッツ
lt:skrudinti žemės riešutai
nl:geroosterde pinda's, geroosterde pindanoten
ru:арахис обжаренный
tr:kavrulmuş yer fıstığı, kavrulmuş yerfıstığı
Expand Down Expand Up @@ -59561,6 +59577,7 @@ es:amapola
fr:pavot
it:papavero
la:Papaver somniferum
lt:aguonos
pl:mak, makowy, makowa, makowe, maku
pt:papoila
sv:vallmo
Expand Down Expand Up @@ -80194,6 +80211,7 @@ description:en:Chicken Cutlet is a thin slice of meat from the leg or ribs of ch
<en:animal protein
en:chicken protein
es:proteina de pollo
lt:vištienos baltymai
pl:białko z kurczaka

<en:chicken
Expand Down Expand Up @@ -81345,6 +81363,7 @@ fr:blanc d'œuf en poudre, blancs d'œufs en poudre, poudre de blanc d’œuf, b
hr:bjelanjak u prahu, bjelanjak jaja u prahu, bjelanjak jajate u prahu
hu:porított tojásfehérje, tojásfehérjepor, szárított tojásfehérje
it:albume d'uovo in polvere, albume in polvere
lt:kiaušinių baltymų milteliai, kiaušinio baltymo milteliai
nl:eiwitpoeder, gedroogd ei-eiwit, eiwit in poeder
pl:sproszkowane białka jajek, białko jaja w proszku, białka jaj w proszku
pt:clara de ovo em pó
Expand Down Expand Up @@ -81858,6 +81877,7 @@ fi:kasvisuute, kasvisuutteet
fr:extraits végétaux
hr:biljni ekstrakt, biljni ekstrakti sa svojstvom
it:estratto vegetale, estratti vegetali
lt:daržovių ekstraktas
nl:plantaardig extract, plantaardige extracten
pl:ekstrakty warzyw, ekstrakt warzyw
pt:Extrato de vegetais
Expand Down Expand Up @@ -84375,6 +84395,7 @@ vegetarian:en:maybe
<en:coating
en:cocoa coating
hr:kakao preljev, kakaov preljev, kakaovog preljeva
lt:kakavos glaistas

<en:coating
fr:décor au cacao maigre, decor au cacao maigre, enrobage au cacao maigre
Expand All @@ -84385,6 +84406,7 @@ fr:chocolat de couverture
ca:cobertura de xocolata, cobertura de cacau
es:cobertura de chocolate
hr:čokoladna kuvertura, čokoladni preljev, preljev od čokolade, preljev s čokoladom
lt:šokoladinis glaistas
pt:chocolate de cobertura

<en:chocolate coating
Expand All @@ -84393,6 +84415,7 @@ en:milk chocolate coating, couverture milk chocolate
de:Milchschokoladenkuvertüre, Milchschokoladenüberzug
fr:chocolat au lait de couverture, enrobage chocolat au lait
hr:miliječno čokoladni preljev, preljev okusa mliječne čokolade
lt:pieniško šokolado glaistas
sv:mjölkchokladsöverdrag
# ingredient/en:milk-chocolate-coating has 99 products in 3 languages @2020-12-19

Expand Down
Loading
Loading