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

fix: "Dry" not being recognized as a processing type #6636

Merged
merged 2 commits into from
Apr 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion t/ingredients_processing.t
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ my @tests = (
'text' => 'haricots blancs'
}
]
],
],

# test for jus and concentré with extra "de"
# [ { lc => "fr", ingredients_text => "jus concentré de baies de sureau"},
Expand Down Expand Up @@ -1368,6 +1368,16 @@ my @tests = (
],


[ { lc => "en", ingredients_text => "dry whey" },
[
{
'id' => 'en:whey',
'processing' => 'en:dried',
'text' => 'whey'
}
]
],

[ { lc => "es", ingredients_text => "pimientos amarillos deshidratados" },
[
{
Expand Down
35 changes: 21 additions & 14 deletions taxonomies/ingredients_processing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pt:cru, crus
# sv:parse:rå$

en:fresh
bg:пресно, пресен, пресна, пресни
bg:пресно, пресен, пресна, пресни, прясно
de:frisch, frische, frischer, frisches
es:fresco, fresca, frescos, frescas
fr:frais, fraîche, fraiche, fraîches, fraiches
Expand Down Expand Up @@ -145,6 +145,7 @@ en:trimmed

en:cut, steel cut, regular cut
#en:false_positives:cuttlefish, cutlet
bg:нарязано, нарязана, нарязани
de:geschnitten, geschnittene, geschnittener, geschnittenes
es:cortado,cortada,cortados,cortadas
fr:coupé, coupée, coupés, coupées, émincé, émincée, émincés, émincées, émincé de, en éclats, éclats de, éclats d', en copeaux, copeaux de, copeaux d'
Expand Down Expand Up @@ -230,7 +231,7 @@ en:segment, segments
es:segmento, segmenta, segmentos, segmentas

en:diced
bg:на кубчета
bg:на кубчета, кубчета от
de:würfel, gewürfelt, gewürfelte, in würfel geschnitten, in würfel
fi:kuutioitu, kuutioidut
fr:en dés, en cubes, en julienne, cubes de, dés de, cubes d', dès d'
Expand Down Expand Up @@ -284,6 +285,7 @@ en:shred,shredded
pt:retalhado, retalhada, retalhados, retalhadas

en:granulated, granules
bg:гранули, на гранули
da:granulat
de:granulat, granuliert, granulierte, granulierter, granuliertes
es:granulado,granulada,granulados,granuladas
Expand All @@ -298,7 +300,7 @@ sv:granulat

# en:description:To reduce to smaller pieces by crushing with lateral motion.
en:ground
bg:смляно, смлян, смляна, смляни
bg:смляно, смлян, смляна, смляни, мляно
cs:mleté
da:formalede
de:gemahlen, gemahlene, gemahlener, gemahlenes
Expand Down Expand Up @@ -403,7 +405,7 @@ nl:schilfers
pt:descadado, descamada

en:flakes
bg:люспи
bg:люспи, люспи от
de:Flocken
es:escamas de
fi:hiutaleet, hiutale
Expand Down Expand Up @@ -561,7 +563,7 @@ pt:descascado, descascada, descascados, descascadas, sem casca, sem cascas

# en:description:With the outermost layer or skin removed
en:peeled, hulled
bg:обелен, обелено, обелена, обелени
bg:обелен, обелено, обелена, обелени, белен, белена, белено, белени
da:afskallede
# de:geschälte is a separate entry
es:sin piel, repelada, repelado, repeladas, repelados, descascarrillado, descascarrillada, descascarrillados, descascarrilladas, descascarilladas
Expand Down Expand Up @@ -618,6 +620,7 @@ en:zest

# en:description:The soft center of a fruit
en:pulp
bg:пулп, пулп от
ca:polpa do
cs:dřeň, dužina
de:mark, pulpe, fruchtfleisch
Expand Down Expand Up @@ -792,6 +795,7 @@ nl:ingekookt

#en:description:Water has been added to concentrate
en:from concentrate
bg:от концентрат
cs:koncentrát z
da:fra koncentrat, fra koncentrater
de:aus Konzentrat, aus Konzentraten
Expand All @@ -807,9 +811,9 @@ ro:din concentrat
sk:z koncentrátu
sv:från koncentrat

en:dried
en:dried, dry
ar:مجف
bg:изсушен, изсушено, изсушени, сушен, сушено, сушени
bg:изсушен, изсушено, изсушена, изсушени, сушен, сушено, сушена, сушени
ca:dessecade, dessecades, dessecats, dessecat
co:secchi
cs:sušené, sušená, sušenná
Expand Down Expand Up @@ -984,7 +988,7 @@ pt:extrato natural, extratos naturais, extracto natural, extractos naturais, ext

en:pressed, extraite par pression
# en:false:compressed
bg:пресовано, пресован, пресовани
bg:пресовано, пресован, пресована, пресовани
da:presset, pressede
de:abgepresste
es:espremido de, prensado, prensada
Expand Down Expand Up @@ -1032,7 +1036,7 @@ de:erste kalte pressung
fr:première pression à froid, 1ère pression à froid, de première pression à froid

en:mechanically separated
bg:механично отделено, механично отделен, механично отделени
bg:механично отделено, механично отделен, механично отделена, механично отделени
es:separada mecánicamente
fr:séparée mécaniquement
hu:mechanikai úton leválasztott
Expand Down Expand Up @@ -1116,7 +1120,7 @@ de:parboiled
es:parboiled
fi:parboil-käsitelty
it:parboiled
pt:parboilizado, parboilizada, parboilizados, parboilizadas,
pt:parboilizado, parboilizada, parboilizados, parboilizadas,

# prepare (vegetables) for freezing or further cooking by immersing briefly in boiling water.
# comment:sometimes it seems to mean "the skin removed", used for almonds. Related to en:bleached?
Expand All @@ -1128,6 +1132,7 @@ hu:blansírozott
nl:geblancheerd

en:cooked, boiled
bg:сготвено, сготвена, сготвен, сготвени, варено, варена, варен, варени
cs:vařená
da:kogte
de:gekocht, gekochte, gekochter, gekochtes
Expand Down Expand Up @@ -1184,7 +1189,7 @@ pt:pré-frito, pré-frita, pré-fritos, pré-fritas
sv:förfriterad

en:fried
bg:пържено, пържен, пържени
bg:пържено, пържен, пържена, пържени
de:frittiert, frittierte, frittierter
es:frito, fritos, frita, fritas
fr:frit, frite, frits, frites
Expand All @@ -1196,6 +1201,7 @@ sv:friterad, stekt
# en:wikitionary:To cook food by heating in an oven or over a fire without covering, resulting in a crisp, possibly even slightly charred appearance.

en:roasted
bg:печено, печен, печена, печени
ca:rostit,rostits,rostida,rostides
cs:pražené
de:gebraten, gebratene, gebratener, gebratenes
Expand Down Expand Up @@ -1321,6 +1327,7 @@ pt:com meio-sal

#<en:salted
en:desalted
bg:обезсолено, обезсолен, обезсолена, обезсолени
fr:dessalée, dessalee

#<en:salted
Expand Down Expand Up @@ -1356,7 +1363,7 @@ bg:захаросано, захаросан, захаросана, захаро
de:gezuckert, gezuckerte, gezuckerter, gezuckertes
es:azucarado,azucarada,azucarados,azucaradas
fi:sokeroitu, sokeroidut, sokeroitua, sokeroituja
fr:sucré, sucrée, sucrés, sucrées, sucree, sucrees
fr:sucré, sucrée, sucrés, sucrées, sucree, sucrees
#better not add fr:sucre and fr:sucres
hu:cukrozott
nl:gesuikerd, gesuikerde
Expand Down Expand Up @@ -1490,7 +1497,7 @@ en:fermented
bg:ферментирало, ферментирал, ферментирала, ферментирали
es:fermentado
hu:fermentált
pt:fermentado, fermentada, fermentados, fermentadas
pt:fermentado, fermentada, fermentados, fermentadas

en:marinated
bg:мариновано, маринован, маринована, мариновани
Expand Down Expand Up @@ -1524,7 +1531,7 @@ pt:em salmoura
de:ungepökelt

en:flavoured, flavored
bg:ароматизирано, ароматизиран
bg:ароматизирано, ароматизиран, ароматизирани
de:aromatisiert, aromatisierte, aromatisierter, aromatisiertes
es:sabour,saboreado,saboreada
fr:aromatisé, aromatisée, aromatisées
Expand Down