LinPP: a Python-friendly algorithm for Linear Pregroup Parsing
Irene
Rizzo
author
2021-06
text
Proceedings of the 2021 Workshop on Semantic Spaces at the Intersection of NLP, Physics, and Cognitive Science (SemSpace)
Association for Computational Linguistics
Groningen, The Netherlands
conference publication
We define a linear pregroup parser, by applying some key modifications to the minimal parser defined in (Preller, 2007). These include handling words as separate blocks, and thus respecting their syntactic role in the sentence. We prove correctness of our algorithm with respect to parsing sentences in a subclass of pregroup grammars. The algorithm was specifically designed for a seamless implementation in Python. This facilitates its integration within the DisCopy module for QNLP and vastly increases the applicability of pregroup grammars to parsing real-world text data.
rizzo-2021-linpp
https://aclanthology.org/2021.semspace-1.2
2021-06
12
19