code: def _get_pos_tag(tok):
      pos = "WORD"
      if tok.strip() == "":
          pos = "SPACE"
      elif ord(tok[0]) in VALID_EMOJIS:
          pos = "EMJOI"
      elif PUNCT_MATCHER.match(tok):
          pos = "PUNCT"
      return pos
  
file_path: scattertext/scattertext/WhitespaceNLP.py
imports: import re
  from scattertext.emojis.ProcessedEmojiStructure import VALID_EMOJIS
label_desc: Use image node_id 6 for calling a global function with example usage: _get_pos_tag(tok) and returns: pos