Global Food Preparation taxonomy: Difference between revisions

From Open Food Facts wiki
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Global Taxonomies]]
[[Category:Global Taxonomies]]
[[Category:Translations]]
[[Category:Translations]]
<< Back to [[Global Taxonomies]] <br><br>
<< Back to [[Global taxonomies]]
<br><br>
 
== Current status ==
== Current status ==
This is a draft.
Draft. Not live.
Related GitHub issue: https://github.com/openfoodfacts/openfoodfacts-server/issues/408
== Taxonomy ==
== Taxonomy ==
=== Script ===
The taxonomy is generated with this script:
<pre>
#!/usr/bin/perl -w
use strict;
my $entry_format = <<TXT
en:<i> minutes, <i>minutes, <i> min, <i>M, <i>
fr:<i> minutes, <i>min
numeric_minutes:en:<i>
TXT
;
for (my $i = 1; $i <= 4 * 12; $i++) {
my $entry = $entry_format;
$entry =~ s/<i>/$i/g;
print $entry . "\n";
}
</pre>
== Duration ==
===Singular===
<pre>
en:1 minute, 1minute
fr:1 minute, 1minute
en:1 hour, 1hour
fr:1 heure, 1heure
</pre>
===Plural===
<pre>
en:2 minutes, 2minutes
fr:2 minutes, 2minutes
en:2 hours, 2hours
fr:2 heures, 2heures
</pre>
== Pre-cooking instructions ==
<pre>
fr:Percer l'emballage de quelques trous
fr:DĂ©coller la languette
</pre>
== Heat ==
180, 200°C or °F, 900W (for microwaves)
Rotating oven, regular oven
== Method==
<pre>
<pre>
en:Microwavable
en:Microwavable
Line 14: Line 75:
de:Nicht Mikrowellengeeignet
de:Nicht Mikrowellengeeignet


fr:Percer l'emballage de quelques trous
</pre>
 
== Cooking devices ==
<pre>
fr:Micro-ondes, Four Ă  micro-ondes
en:Microwave, Microwave oven
 
en:Oven
fr:Four


fr:DĂ©coller la languette
fr:Gril


fr:PoĂȘle


fr:Wok
</pre>
</pre>
== Duration and method ==
<pre>
<pre>
1 minute au micro-ondes
en:{{duration}} in {{device}}
15 minutes au four
fr:{{duration}} au {{device}}
Meilleur cuit au four
 
en:Best cooked in {{device}}
fr:Meilleur cuit au {{device}}
</pre>
</pre>

Latest revision as of 14:36, 7 May 2024

<< Back to Global taxonomies

Current status

Draft. Not live. Related GitHub issue: https://github.com/openfoodfacts/openfoodfacts-server/issues/408

Taxonomy

Script

The taxonomy is generated with this script:


#!/usr/bin/perl -w

use strict;

my $entry_format = <<TXT
en:<i> minutes, <i>minutes, <i> min, <i>M, <i>
fr:<i> minutes, <i>min
numeric_minutes:en:<i>
TXT
;

for (my $i = 1; $i <= 4 * 12; $i++) {

	my $entry = $entry_format;
	$entry =~ s/<i>/$i/g;
	print $entry . "\n";
}

Duration

Singular

en:1 minute, 1minute
fr:1 minute, 1minute

en:1 hour, 1hour
fr:1 heure, 1heure


Plural

en:2 minutes, 2minutes
fr:2 minutes, 2minutes

en:2 hours, 2hours
fr:2 heures, 2heures

Pre-cooking instructions

fr:Percer l'emballage de quelques trous

fr:DĂ©coller la languette

Heat

180, 200°C or °F, 900W (for microwaves) Rotating oven, regular oven

Method

en:Microwavable
fr:Micro-ondable, Microondable
de:Mikrowellengeeignet

en:Unmicrowavable
fr:Ne pas micro-onder
de:Nicht Mikrowellengeeignet

Cooking devices

fr:Micro-ondes, Four Ă  micro-ondes
en:Microwave, Microwave oven

en:Oven
fr:Four

fr:Gril

fr:PoĂȘle

fr:Wok

Duration and method

en:{{duration}} in {{device}}
fr:{{duration}} au {{device}}

en:Best cooked in {{device}}
fr:Meilleur cuit au {{device}}