Add the given value to the lexicon if it is not already present, and return its integer id. Ids are assigned sequentially starting from zero.
See Implementation
Add the given value to the lexicon if it is not already present, and return its integer id. Ids are assigned sequentially starting from zero.