code: def gen_toks(loc):
      sent_strs = open(str(loc)).read().strip().split("\n\n")
      token = None
      i = 0
      for sent_str in sent_strs:
          tokens = [
              Token(i, tok_str.split())
              for i, tok_str in enumerate(sent_str.split("\n"))
          ]
          for token in tokens:
              yield sent_str, token
  
file_path: vowpal_wabbit/demo/dependencyparsing/evaluate.py
imports: import os
  import sys
  from collections import defaultdict
label_desc: Use image node_id 3 for calling a global function with example usage: gen_toks(loc) without return types