Difference between revisions of "Global Food Preparation taxonomy"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
<< Back to [[Global Taxonomies]] <br><br> | << Back to [[Global Taxonomies]] <br><br> | ||
== Current status == | == Current status == | ||
− | + | Draft. Not live. | |
== 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> | ||
+ | ===Singular=== | ||
+ | <pre> | ||
+ | en:1 minute, 1minute | ||
+ | fr:1 minute, 1minute | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | === Method=== | ||
<pre> | <pre> | ||
en:Microwavable | en:Microwavable | ||
Line 20: | Line 53: | ||
</pre> | </pre> | ||
+ | |||
+ | === Duration and method === | ||
+ | |||
<pre> | <pre> | ||
fr:1 minute au micro-ondes | fr:1 minute au micro-ondes |
Revision as of 15:09, 27 October 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