class_docstr: Base class for converting from ints to/from human readable strings.
code: def __init__(self, num_reserved_ids=NUM_RESERVED_TOKENS):
      self._num_reserved_ids = num_reserved_ids
  
imports: import re
  import six
label_desc: Use image node_id 1 to create a new TextEncoder object from inherited base classes: object with example: obj = TextEncoder(num_reserved_ids)