code: def tag(self, tokens):
      # don't import at top since don't want to fail if not installed
      from pattern.en import tag
  
      # not tokenizing ensures that the number of tagged tokens returned is
      # the same as the number of input tokens
      return tag(" ".join(tokens), tokenize=False)
  
file_path: nltk-trainer/nltk_trainer/tagging/taggers.py
imports: from nltk.tag.sequential import SequentialBackoffTagger
  from nltk.probability import FreqDist
  from nltk.tag import ClassifierBasedPOSTagger, TaggerI, str2tuple
  from nltk_trainer import iteritems
  from nltk_trainer.featx import phonetics
  from nltk_trainer.featx.metaphone import dm
label_desc: Use image node_id 1 for calling the PatternTagger obj's underlying member method code with example usage: obj.tag(tokens) and returns: tag