Saved in:
Bibliographic Details
Main Authors: Morin, Cameron, Larsson, Matti Marttinen
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2411.11260
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912318925832192
author Morin, Cameron
Larsson, Matti Marttinen
author_facet Morin, Cameron
Larsson, Matti Marttinen
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2411_11260
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Large corpora and large language models: a replicable method for automating grammatical annotation
Morin, Cameron
Larsson, Matti Marttinen
Computation and Language
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.
title Large corpora and large language models: a replicable method for automating grammatical annotation
topic Computation and Language
url https://arxiv.org/abs/2411.11260