code: def _normalize_tags(chunk):
      """Normalize the corpus tags.
      ("NN", "NN-PL", "NNS") -> "NN"
      """
      ret = []
      for word, tag in chunk:
          if tag == "NP-TL" or tag == "NP":
              ret.append((word, "NNP"))
              continue
          if tag.endswith("-TL"):
              ret.append((word, tag[:-3]))
              continue
          if tag.endswith("S"):
              ret.append((word, tag[:-1]))
              continue
          ret.append((word, tag))
      return ret
  
imports: from __future__ import unicode_literals, absolute_import
  import nltk
  from textblob.taggers import PatternTagger
  from textblob.decorators import requires_nltk_corpus
  from textblob.utils import tree2str, filter_insignificant
  from textblob.base import BaseNPExtractor
label_desc: Use image node_id 1 for calling a global function with example usage: _normalize_tags(chunk) and returns: ret