class_docstr: Encoder based on a user-supplied vocabulary (file or list).
code: def vocab_size(self):
      return len(self._id_to_token)
  
imports: import re
  import six
label_desc: Use image node_id 5 for calling the TokenTextEncoder obj's underlying member method code with example usage: obj.vocab_size() and returns: len