code: def convert_text_to_index(text):
      index, type = text.split("-#-")
      index = [int(x) for x in index.split("-")]
      return index, int(type)
  
file_path: DeepKE/src/deepke/name_entity_re/standard/w2ner/utils.py
imports: import logging
  import pickle
  import time
  from collections import defaultdict, deque
label_desc: Use image node_id 5 for calling a global function with example usage: convert_text_to_index(text) and returns: index,  int