Introducing a Calculus of Effects and Handlers for Natural Language Semantics
Jirka Mar\v{s}\'ik (SEMAGRAMME), Maxime Amblard (MSH Lorraine,, SEMAGRAMME)

TL;DR
This paper introduces a new calculus for natural language semantics that uses effect handlers to modularly combine different semantic phenomena, extending lambda calculus with formal guarantees.
Contribution
It presents an extended simply-typed lambda calculus leveraging effect handlers to model multiple semantic effects in a compositional and modular manner.
Findings
The calculus maintains key formal properties of lambda calculus.
It enables modular semantics for complex linguistic phenomena.
Demonstrates the approach on a small semantic fragment.
Abstract
In compositional model-theoretic semantics, researchers assemble truth-conditions or other kinds of denotations using the lambda calculus. It was previously observed that the lambda terms and/or the denotations studied tend to follow the same pattern: they are instances of a monad. In this paper, we present an extension of the simply-typed lambda calculus that exploits this uniformity using the recently discovered technique of effect handlers. We prove that our calculus exhibits some of the key formal properties of the lambda calculus and we use it to construct a modular semantics for a small fragment that involves multiple distinct semantic phenomena.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
