code: def get_europarl(input_dir, ssplit_pipe):
      """
      Read the Europarl dataset
  
      This dataset needs to be tokenized and split into lines
      """
      input_file = os.path.join(
          input_dir, "europarl/europarl-v7.it-en.it"
      )
      with open(input_file) as fin:
          # the first line is a header line
          lines = fin.readlines()[1:]
      lines = [x.strip() for x in lines]
      lines = [x for x in lines if x]
      logger.info("Read %d docs from %s", len(lines), input_file)
      lines = selftrain.split_docs(lines, ssplit_pipe)
      return lines
  
file_path: stanza/stanza/utils/datasets/constituency/selftrain_it.py
imports: import argparse
  import logging
  import os
  import random
  import stanza
  from stanza.models.common.foundation_cache import FoundationCache
  from stanza.utils.datasets.constituency import selftrain
  from stanza.utils.get_tqdm import get_tqdm
label_desc: Use image node_id 3 for calling a global function with example usage: get_europarl(input_dir, ssplit_pipe) and returns: lines