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