class_docstr: Convert between text-label and text-index 
class_docstr_tok: ["Convert","between","text-label","and","text-index"]
docstr: convert text-index into text-label. 
docstr_tok: ["convert","text-index","into","text-label","."]
code: def decode_greedy(self, text_index, length):
      """convert text-index into text-label."""
      texts = []
      index = 0
      for l in length:
          t = text_index[index : index + l]
  
          char_list = []
          for i in range(l):
              if t[i] not in self.ignore_idx and (
                  not (i > 0 and t[i - 1] == t[i])
              ):  # removing repeated characters and blank (and separator).
                  # if (t[i] != 0) and (not (i > 0 and t[i - 1] == t[i])):  # removing repeated characters and blank (and separator).
                  char_list.append(self.character[t[i]])
          text = "".join(char_list)
  
          texts.append(text)
          index += l
      return texts
  
imports: import torch
  import pickle
  import numpy
label_desc: Use image node_id 3 for calling the CTCLabelConverter obj's underlying member method code with example usage: obj.decode_greedy(text_index, length) and returns: texts