I have a TRIE tree with several words (dictionary function), on the node that is the last character of the word I need to have a "type" inside this node. I need to distinguish what kind of word is each, so I need something that at the end of each word (last node) I have a variable or something of the type, to know what kind of word. How can I do this?