Global Food Preparation taxonomy

From Open Food Facts wiki
Revision as of 16:19, 5 November 2016 by Teolemon (talk | contribs)
Jump to navigation Jump to search

<< 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