Module semantics

Module semantics 

Source
Expand description

Semantic transformations for logical expressions.

This module provides post-parse semantic transformations:

These transformations enrich the logical representation with inferred content.

Functionsยง

apply_axioms
Apply axiom expansion to a logical expression.
apply_kripke_lowering
Apply Kripke lowering to transform modal operators into explicit world quantification.
is_privative_adjective
Check if an adjective is privative (e.g., fake, counterfeit).
lookup_noun_entailments
Get entailment predicates for a noun (e.g., bachelor -> [Unmarried, Male]).
lookup_noun_hypernyms
Get hypernym predicates for a noun (e.g., dog -> [Animal, Mammal]).
lookup_verb_entailment
Get verb entailment (e.g., murder -> (Kill, [Intentional])).