class_docstr: Interface for categories in combinatory grammars.
class_docstr_tok: ["Interface","for","categories","in","combinatory","grammars","."]
docstr: Takes a set of (var, category) substitutions, and replaces every
  occurrence of the variable with the corresponding category.
docstr_tok: ["Takes","a","set","of","(","var",",","category",")","substitutions",",","and","replaces","every","occurrence","of","the","variable","with","the","corresponding","category","."]
code: def substitute(self, substitutions):
      """
      Takes a set of (var, category) substitutions, and replaces every
      occurrence of the variable with the corresponding category.
      """
  
imports: from abc import ABCMeta, abstractmethod
  from functools import total_ordering
  from nltk.internals import raise_unorderable_types
label_desc: Use image node_id 4 for calling the AbstractCCGCategory obj's underlying member method code with example usage: obj.substitute(substitutions) without return types