Large corpora and large language models: a replicable method for automating grammatical annotation

Cameron Morin, Matti Marttinen Larsson
11/18/2024
cs.CL

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Much linguistic research relies on annotated datasets of features extracted from text corpora, but the rapid quantitative growth of these corpora has created practical difficulties for linguists to manually annotate large data samples. In this paper, we present a replicable, supervised method that leverages large language models for assisting the linguist in grammatical annotation through prompt engineering, training, and evaluation. We introduce a methodological pipeline applied to the case study of formal variation in the English evaluative verb construction 'consider X (as) (to be) Y', based on the large language model Claude 3.5 Sonnet and corpus data from Davies' NOW and EnTenTen21 (SketchEngine). Overall, we reach a model accuracy of over 90% on our held-out test samples with only a small amount of training data, validating the method for the annotation of very large quantities of tokens of the construction in the future. We discuss the generalisability of our results for a wider range of case studies of grammatical constructions and grammatical variation and change, underlining the value of AI copilots as tools for future linguistic research, notwithstanding some important caveats.

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. 2 weaker matches are hidden by default — 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{morin2024large,
  title  = {Large corpora and large language models: a replicable method for automating grammatical annotation},
  author = {Cameron Morin and Matti Marttinen Larsson},
  year   = {2024},
  eprint = {2411.11260},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.11260v2}
}

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

Discussion