code: def read_ner(filename):
      words = []
      for line in open(filename).readlines():
          line = line.strip()
          if not line:
              continue
          if line.split("\t")[1] == "O":
              continue
          words.append(line.split("\t")[0])
      return words
  
imports: from stanza.models.common import pretrain
  import argparse
label_desc: Use image node_id 2 for calling a global function with example usage: read_ner(filename) and returns: words