code: def get_pos(word: Optional[Word]) -> Optional[str]:
      """Take word, return structured info."""
      if not word:
          return None
      # Note: SpaCy word.pos.name for stanza, word.pos for spacy
      # TODO: Write this properly upstream!
      if hasattr(word.pos, "name"):
          return word.pos.name
      else:
          return word.pos
  
imports: from typing import List, Optional, Tuple, Union
  from cltk.core.data_types import Word
  from cltk.core.exceptions import CLTKException
  from cltk.morphology.universal_dependencies_features import NOMINAL_FEATURES, VERBAL_FEATURES, MorphosyntacticFeature
label_desc: Use image node_id 1 for calling a global function with example usage: get_pos(word) and returns: None, word, word