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