code: def load_genia_corpus(genia_raw_dir):
      txtfiles = Path(genia_raw_dir).glob("**/*.txt")
      txtfiles = list(txtfiles)
      all_docs = []
      for ind, txtfile in enumerate(txtfiles, start=1):
          with open(txtfile) as f:
              geniatext = f.read().strip()
          expected = geniatext.split("\n")
          all_docs.append((geniatext, expected))
  
      return all_docs
  
file_path: pySBD/benchmarks/genia_benchmark.py
imports: import blingfire
  import nltk
  import pysbd
  import spacy
  import stanza
  from syntok.tokenizer import Tokenizer
  import syntok.segmenter
  from pathlib import Path
label_desc: Use image node_id 9 for calling a global function with example usage: load_genia_corpus(genia_raw_dir) and returns: all_docs