code: def redo_time_tags(sentences):
      """
      Replace all TIM, TIM with B-TIM, I-TIM
  
      A brief use of Google Translate suggests the time phrases are
      generally one phrase, so we don't want to turn this into B-TIM, B-TIM
      """
      new_sentences = []
  
      for sentence in sentences:
          new_sentence = []
          prev_time = False
          for word, tag in sentence:
              if tag == "TIM":
                  if prev_time:
                      new_sentence.append((word, "I-TIM"))
                  else:
                      prev_time = True
                      new_sentence.append((word, "B-TIM"))
              else:
                  prev_time = False
                  new_sentence.append((word, tag))
          new_sentences.append(new_sentence)
  
      return new_sentences
  
file_path: stanza/stanza/utils/datasets/ner/convert_bn_daffodil.py
imports: import argparse
  import os
  import random
  import tempfile
  from stanza.utils.datasets.ner.utils import read_tsv, write_dataset
label_desc: Use image node_id 1 for calling a global function with example usage: redo_time_tags(sentences) and returns: new_sentences