Is the category capitalization necessary?
I don't understand the motivation.
The reason for the interning I do understand, so perhaps it has to do with the way ruby enforces semantic constraints on symbol spelling.
If not, it seems to me it would be better to preserve the category that is trained rather than capitalizing it. As it is, I have to know to perform the same normalization my own categories before using them, or else comparisons fail.
|