code: def extract_sentences(dataset_files):
      sentences = []
      for text_file, token_file, sentence_file in dataset_files:
          print(
              "Extracting sentences from %s and tokens from %s from the text file %s"
              % (sentence_file, token_file, text_file)
          )
          sentences.extend(
              process_raw_file(text_file, token_file, sentence_file)
          )
      return sentences
  
file_path: stanza/stanza/utils/datasets/tokenization/convert_text_files.py
imports: import argparse
  import os
  import random
  from stanza.models.tokenization.utils import match_tokens_with_text
  import stanza.utils.datasets.common
label_desc: Use image node_id 4 for calling a global function with example usage: extract_sentences(dataset_files) and returns: sentences