code: def ner_tags(pipe, sentence):
      doc = pipe([sentence])
      tags = [
          token.ner
          for sentence in doc.sentences
          for token in sentence.tokens
      ]
      return tags
  
imports: import os
  from tqdm import tqdm
  import stanza
  from stanza.utils.datasets.ner.utils import read_tsv
  from stanza.utils.default_paths import get_default_paths
label_desc: Use image node_id 1 for calling a global function with example usage: ner_tags(pipe, sentence) and returns: tags