Large corpora and large language models: a replicable method for automating grammatical annotation
Morin, Cameron, Larsson, Matti Marttinen
–arXiv.org Artificial Intelligence
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. Keywords: corpus linguistics; grammar; artificial intelligence; large language models; annotation 1. Introduction Corpus linguistic research typically manoeuvres vast quantities of data, which appear to have only kept growing since the 1990s and the early 2000s in the context of the'quantitative turn' undergone by the field (Kortmann 2021).
arXiv.org Artificial Intelligence
Nov-17-2024
- Country:
- Oceania
- New Zealand (0.04)
- Australia > Queensland (0.04)
- North America > United States
- Florida > Duval County > Jacksonville (0.04)
- Europe
- United Kingdom > England
- Cambridgeshire > Cambridge (0.14)
- Sweden > Vaestra Goetaland
- Gothenburg (0.04)
- United Kingdom > England
- Asia
- Oceania
- Genre:
- Research Report > New Finding (0.88)
- Technology: