code: def separate_punctuation(line):
      words = line.strip().split()
      tokenized = []
      for w in words:
          if len(w) == 1:
              tokenized.append(w)
          else:
              lastChar = w[-1]
              firstChar = w[0]
              if lastChar in string.punctuation:
                  tokenized += [w[:-1], lastChar]
              elif firstChar in string.punctuation:
                  tokenized += [firstChar, w[1:]]
              else:
                  tokenized.append(w)
  
      return tokenized
  
file_path: TextBox/textbox/evaluator/utils/chrf.py
imports: import sys
  import math
  import unicodedata
  import argparse
  from collections import defaultdict
  import time
  import string
label_desc: Use image node_id 2 for calling a global function with example usage: separate_punctuation(line) and returns: tokenized