Package nltk_lite :: Package semantics
[hide private]
[frames] | no frames]

Package semantics

source code

This package contains classes for representing semantic structure in formulas of first-order logic and for evaluating such formulas in set-theoretic models.

Submodules [hide private]
  • nltk_lite.semantics.evaluate: This module provides data structures for representing first-order models.
  • nltk_lite.semantics.logic: A version of first order logic, built on top of the untyped lambda calculus.
  • nltk_lite.semantics.utilities: Utility functions for batch-processing sentences: parsing and extraction of the semantic representation of the root node of the the syntax tree, followed by evaluation of the semantic representation in a first-order model.