class documentation
class ModelBuilder: (source)
Known subclasses: nltk.inference.api.ParallelProverBuilder
, nltk.inference.mace.Mace
Interface for trying to build a model of set of formulas. Open formulas are assumed to be universally quantified. Both the goal and the assumptions are constrained to be formulas of logic.Expression.
Method | build |
Perform the actual model building. :return: Whether a model was generated :rtype: bool |
Method | _build |
Perform the actual model building. :return: Whether a model was generated, and the model itself :rtype: tuple(bool, sem.Valuation) |
overridden in
nltk.inference.api.ParallelProverBuilder
, nltk.inference.mace.Mace
Perform the actual model building. :return: Whether a model was generated, and the model itself :rtype: tuple(bool, sem.Valuation)