Lexical Uncertainty: Core Types #
The Lexicon type used by lexical uncertainty models in RSA.
For RSA models with lexical uncertainty, use RSAConfig with
Latent := YourLexiconType (see @cite{potts-etal-2016} and
@cite{potts-levy-2015} for examples). This file provides the
shared Lexicon type used by:
GrammarDist.lean(Construction Grammar as distribution over lexica)SDS/Marginalization.lean(SDS ↔ LU-RSA bidirectional translation)
A lexicon maps each utterance to a truth function over worlds.
In @cite{bergen-levy-goodman-2016} notation: L(u, w) = 1 if w ∈ ⟦u⟧_L, else 0
For graded semantics, we allow values in [0,1].
- meaning : Utterance → World → ℚ
The meaning function for this lexicon
Instances For
Notation: L' ≤ₗ L means L' refines (is more specific than) L
Equations
- Lexicon.«term_≤ₗ_» = Lean.ParserDescr.trailingNode `Lexicon.«term_≤ₗ_» 50 0 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ≤ₗ ") (Lean.ParserDescr.cat `term 0))