code: def get_split(text, maxlen=200, overlap=50):
      """Segment text data with overlapped window of len maxlen"""
      l_total = []
      l_partial = []
      den = maxlen - overlap
      if len(text.split()) // den > 0:
          n = len(text.split()) // den
      else:
          n = 1
      for w in range(n):
          if w == 0:
              l_partial = text.split()[:maxlen]
              l_total.append(" ".join(l_partial))
          else:
              l_partial = text.split()[w * den : w * den + maxlen]
              l_total.append(" ".join(l_partial))
      return l_total
  
imports: import argparse
  import pandas
label_desc: Use image node_id 2 for calling a global function with example usage: get_split(text, maxlen, overlap) and returns: l_total