Higher-Order DisCoCat (Peirce-Lambek-Montague semantics)

Alexis Toumi, Giovanni de Felice
11/29/2023
cs.CLmath.CT

No confident code implementation found for this paper.

Abstract

We propose a new definition of higher-order DisCoCat (categorical compositional distributional) models where the meaning of a word is not a diagram, but a diagram-valued higher-order function. Our models can be seen as a variant of Montague semantics based on a lambda calculus where the primitives act on string diagrams rather than logical formulae. As a special case, we show how to translate from the Lambek calculus into Peirce's system beta for first-order logic. This allows us to give a purely diagrammatic treatment of higher-order and non-linear processes in natural language semantics: adverbs, prepositions, negation and quantifiers. The definition presented in this article comes with a proof-of-concept implementation in DisCoPy, the Python library for string diagrams.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{toumi2023higherorder,
  title  = {Higher-Order DisCoCat (Peirce-Lambek-Montague semantics)},
  author = {Alexis Toumi and Giovanni de Felice},
  year   = {2023},
  eprint = {2311.17813},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.17813v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.17813.svg)](https://codeofpaper.com/paper/2311.17813)

Discussion