Categorical Tools for Natural Language Processing

12/13/2022
by   Giovanni de Felice, et al.
0

This thesis develops the translation between category theory and computational linguistics as a foundation for natural language processing. The three chapters deal with syntax, semantics and pragmatics. First, string diagrams provide a unified model of syntactic structures in formal grammars. Second, functors compute semantics by turning diagrams into logical, tensor, neural or quantum computation. Third, the resulting functorial models can be composed to form games where equilibria are the solutions of language processing tasks. This framework is implemented as part of DisCoPy, the Python library for computing with string diagrams. We describe the correspondence between categorical, linguistic and computational structures, and demonstrate their applications in compositional natural language processing.

READ FULL TEXT
research
08/26/2020

Understanding scholarly Natural Language Processing system diagrams through application of the Richards-Engelhardt framework

We utilise Richards-Engelhardt framework as a tool for understanding Nat...
research
10/08/2021

lambeq: An Efficient High-Level Python Library for Quantum NLP

We present lambeq, the first high-level Python library for Quantum Natur...
research
05/07/2021

Lambek pregroups are Frobenius spiders in preorders

"Spider" is a nickname of *special Frobenius algebras*, a fundamental st...
research
09/24/2020

Novel Keyword Extraction and Language Detection Approaches

Fuzzy string matching and language classification are important tools in...
research
12/13/2022

Category Theory for Quantum Natural Language Processing

This thesis introduces quantum natural language processing (QNLP) models...
research
10/10/2022

Self-move and Other-move: Quantum Categorical Foundations of Japanese

The purpose of this work is to contribute toward the larger goal of crea...
research
05/01/2022

Categorical Semantics for Feynman Diagrams

We introduce a novel compositional description of Feynman diagrams, with...

Please sign up or login with your details

Forgot password? Click here to reset