Sparse Logistic Regression with High-order Features for Automatic Grammar Rule Extraction from Treebanks

Santiago Herrera, Caio Corro, Sylvain Kahane
3/26/2024
8 citations
cs.CL

Official code: FilippoC/grex-lrec-coling-2024 (6 stars, Python, last commit 2024-04-08).

Abstract

Descriptive grammars are highly valuable, but writing them is time-consuming and difficult. Furthermore, while linguists typically use corpora to create them, grammar descriptions often lack quantitative data.

Show full abstract

As for formal grammars, they can be challenging to interpret. In this paper, we propose a new method to extract and explore significant fine-grained grammar patterns and potential syntactic grammar rules from treebanks, in order to create an easy-to-understand corpus-based grammar. More specifically, we extract descriptions and rules across different languages for two linguistic phenomena, agreement and word order, using a large search space and paying special attention to the ranking order of the extracted rules. For that, we use a linear classifier to extract the most salient features that predict the linguistic phenomena under study. We associate statistical information to each rule, and we compare the ranking of the model's results to those of other quantitative and statistical measures. Our method captures both well-known and less well-known significant grammar rules in Spanish, French, and Wolof.

View on arXivView PDF

Code Implementations(1)

61Python, HTMLMar 25, 20242 years ago

Similar Papers

Cite this paper

@article{herrera2024sparse,
  title  = {Sparse Logistic Regression with High-order Features for Automatic Grammar Rule Extraction from Treebanks},
  author = {Santiago Herrera and Caio Corro and Sylvain Kahane},
  year   = {2024},
  eprint = {2403.17534},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.17534v1}
}

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

Discussion