Global Food Preparation taxonomy: Difference between revisions

From Open Food Facts wiki
No edit summary
No edit summary
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 ==
Draft. Not live.
Draft. Not live.

Revision as of 16:19, 5 November 2016

<< Back to Global taxonomies

Current status

Draft. Not live.

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";
}

Singular

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


Method

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

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

fr:Percer l'emballage de quelques trous

fr:Décoller la languette


Duration and method

fr:1 minute au micro-ondes
fr:15 minutes au four
fr:Meilleur cuit au four