Discontinuous Grammar as a Foreign Language

Daniel Fernández-González, Carlos Gómez-Rodríguez
10/20/2021
cs.CL

Official code: danifg/Disco-Seq2seq-Parser (3 stars, Python, Apache-2.0, last commit 2023-07-11).

Abstract

In order to achieve deep natural language understanding, syntactic constituent parsing is a vital step, highly demanded by many artificial intelligence systems to process both text and speech. One of the most recent proposals is the use of standard sequence-to-sequence models to perform constituent parsing as a machine translation task, instead of applying task-specific parsers.

Show full abstract

While they show a competitive performance, these text-to-parse transducers are still lagging behind classic techniques in terms of accuracy, coverage and speed. To close the gap, we here extend the framework of sequence-to-sequence models for constituent parsing, not only by providing a more powerful neural architecture for improving their performance, but also by enlarging their coverage to handle the most complex syntactic phenomena: discontinuous structures. To that end, we design several novel linearizations that can fully produce discontinuities and, for the first time, we test a sequence-to-sequence model on the main discontinuous benchmarks, obtaining competitive results on par with task-specific discontinuous constituent parsers and achieving state-of-the-art scores on the (discontinuous) English Penn Treebank.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
30Python, C++Oct 22, 20213 years agoApache-2.0

Similar Papers

Cite this paper

@article{fernndezgonzlez2021discontinuous,
  title  = {Discontinuous Grammar as a Foreign Language},
  author = {Daniel Fernández-González and Carlos Gómez-Rodríguez},
  year   = {2021},
  eprint = {2110.10431},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.10431}
}

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/2110.10431.svg)](https://codeofpaper.com/paper/2110.10431)

Discussion