code: def tag_text(self, text):
      text = unicodify(text)
      doc = self.spacy_object(text)
      return {
          "pos": [token.tag_ for token in doc],
          "tokens": [token.text for token in doc],
      }
  
imports: from __future__ import print_function
  import os
  import re
  import sys
  from collections import Counter
label_desc: Use image node_id 2 for calling the SpacyTagger obj's underlying member method code with example usage: obj.tag_text(text) and returns: dict