Module | TAXO |
In: |
icw_taxo.rb
|
iCookware taxonomy format. This module model the weight of every attribute of ingredients according to our taxonomy, which is stored in the file all_zutaten_verbessert.txt. The "main" methode of this modul is getClassVector and belongs to the class Ingredient. It is in fact an interface to TAXO. getClassVector takes an ingredient as string, looks what class it belongs to and returns the acording attribute vector. File call_taxo.rb give an example for it.
Note: Please note that not all ingredients are modelled in this module yet! There are for example such classes as alcohol, fruits, spices, herbs and some others, which were not required in this project. The whole list of the modeled classes of ingredients can be found in lines 441-792. The list of non modeled ingredients starts in the line 793 of this module.
The taxomony of ingredients is, as said before, stored in the file all_zutaten_verbessert.txt and represents a set of different classes of ingredients, which partially depends of each other. It contains 258 ingredients extracted from our Meal Master corpus assignet to 94 classes. 42 of classes are modeled in the project. It concerns about such main classes as:
Following classes are included in the taxonomy but not modeled in this module:
With the object of interface to PLAIN as well as futher processing every ingredient will be listed in singular.
Author: | Olga Mordvinova (mordvino@cl.uni-heidelberg.de) |
Project: | iCookWare |
Copyright: | iCookWare Team 2005 (Nicola Kaiser, Ana Kovatcheva, Olga Mordvinova, Stephanie Schuldes) |
Embedded Documentation Tool: | rdoc |