code: def to_categorial(pos: int) -> "MorphosyntacticFeatureBundle":
      """Maps UD parts of speech to binary categorial feature bundles.
      In some cases these are underspecified, including empty bundles for interjections.
      >>> to_categorial(POS.adjective)
      {F: [neg], N: [pos], V: [pos]}
      >>> to_categorial(POS.particle)
      {F: [pos]}
      >>> to_categorial(POS.interjection)
      {}
      """
  
      if pos == POS.adjective or pos == POS.adverb:
          return f(F.neg, N.pos, V.pos)
      elif pos == POS.adposition:
          return f(F.pos, N.neg, V.neg)
      elif pos == POS.auxiliary:
          return f(F.pos, N.neg, V.pos)
      elif (
          pos == POS.coordinating_conjunction
          or pos == POS.subordinating_conjunction
          or pos == POS.particle
      ):
          return f(F.pos)
      elif (
          pos == POS.determiner
          or pos == POS.pronoun
          or pos == POS.numeral
      ):
          return f(F.pos, N.pos, V.neg)
      elif pos == POS.noun or pos == POS.proper_noun:
          return f(F.neg, N.pos, V.neg)
      elif pos == POS.verb:
          return f(F.neg, N.neg, V.pos)
      else:
          return f()
  
file_path: cltk/src/cltk/morphology/morphosyntax.py
imports: from typing import Dict, List, Optional, Tuple, Type, Union
  from cltk.core.exceptions import CLTKException
  from cltk.morphology.universal_dependencies_features import *
label_desc: Use image node_id 1 for calling a global function with example usage: to_categorial(pos) and returns: f, f, f, f, f, f, f, f