class_docstr: Class that represents a function application category.
  Consists of argument and result categories, together with
  an application direction.
class_docstr_tok: ["Class","that","represents","a","function","application","category",".","Consists","of","argument","and","result","categories",",","together","with","an","application","direction","."]
code: def __init__(self, res, arg, dir):
      self._res = res
      self._arg = arg
      self._dir = dir
      self._comparison_key = (arg, dir, res)
  
imports: from abc import ABCMeta, abstractmethod
  from functools import total_ordering
  from nltk.internals import raise_unorderable_types
label_desc: Use image node_id 1 to create a new FunctionalCategory object from inherited base classes: AbstractCCGCategory with example: obj = FunctionalCategory(res, arg, dir)