docstr: Decode ids into a string.
docstr_tok: ["Decode","ids","into","a","string","."]
code: def decode(
      self,
      tokens: List[int],
      ext_table: Optional[Dict[int, str]] = None,
  ):
      """Decode ids into a string."""
      if ext_table is None:
          ext_table = {}
      ret = []
      for token in tokens:
          if token in ext_table:
              ret.append(ext_table[token])
          else:
              if token >= 0:
                  w = self.decoder[token]
                  if w in self._special_tokens:
                      ret.append(w)
                  else:
                      ret.append(self.escape(w))
      return "".join(ret)
  
imports: import pkg_resources
  import io
  from typing import IO, Dict, List, Optional, Tuple
label_desc: Use image node_id 13 for calling the CPMBeeTokenizer obj's underlying member method code with example usage: obj.decode(tokens, ext_table) and returns: str