Devon McCormick <[EMAIL PROTECTED]> writes: > NB. But why make this array when each element is the same > NB. as its index? E.G.
At least from my perspective, it seemed safer to do this like you would model a well-normalized RDBMS: CREATE TABLE age_lookup ( age_i : INTEGER PRIMARY KEY, age_name : VARCHAR(255) ) and so on for each attribute. And then the cross product of the indexes from each attribute table would be the entire possible space of configurations. But we could flexibly go from indices to labels and vice versa. I anticipated scoring my way to the indices... I.e., given age belonging to the range [0,2] , I might develop a function which yields a number from 0 to 2. But I suppose such a scoring function could index into the list of names for age as well. Numbers seem more j-like... you can use them with Agenda (@.) to choose parts of gerunds, etc. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
