class_docstr: token for token passing algorithm. Each token contains a score and a history of visited words.
class_docstr_tok: ["token","for","token","passing","algorithm",".","Each","token","contains","a","score","and","a","history","of","visited","words","."]
code: def __str__(self):
      res = "class Token: " + str(self.score) + "; "
      for w in self.history:
          res += str(w) + "; "
      return res
  
file_path: calamari/calamari_ocr/ocr/model/ctcdecoder/token_passing_ctc_decoder.py
imports: import math
  import numpy
  from calamari_ocr.ocr.model.ctcdecoder.ctc_decoder import CTCDecoder
label_desc: Use image node_id 2 for calling the Token obj's underlying member method code with example usage: obj.__str__() and returns: res