code: def parse_hypothesis(hyp, char_list):
      """Parse hypothesis.
  
      :param list hyp: recognition hypothesis
      :param list char_list: list of characters
      :return: recognition text string
      :return: recognition token string
      :return: recognition tokenid string
      """
      # remove sos and get results
      tokenid_as_list = list(map(int, hyp["yseq"][1:]))
      token_as_list = [char_list[idx] for idx in tokenid_as_list]
      score = float(hyp["score"])
  
      # convert to string
      tokenid = " ".join([str(idx) for idx in tokenid_as_list])
      token = " ".join(token_as_list)
      text = "".join(token_as_list).replace("<space>", " ")
  
      return text, token, tokenid, score
  
label_desc: Use image node_id 1 for calling a global function with example usage: parse_hypothesis(hyp, char_list) and returns: text,  token,  tokenid,  score