Agent-Driven Corpus Linguistics: A Framework for Autonomous Linguistic Discovery
Organizations: Zhejiang International Studies University, Hangzhou, China · Tianjin University, Tianjin, China
Abstract
Corpus linguistics has traditionally relied on human researchers to formulate hypotheses, construct queries, and interpret results - a process demanding specialized technical skills and considerable time. We propose Agent-Driven Corpus Linguistics, an approach in which a large language model (LLM), connected to a corpus query engine via a structured tool-use interface, takes over the investigative cycle: generating hypotheses, querying the corpus, interpreting results, and refining analysis across multiple rounds. The human researcher sets direction and evaluates final output. Unlike unconstrained LLM generation, every finding is anchored in verifiable corpus evidence. We treat this not as a replacement for the corpus-based/corpus-driven distinction but as a complementary dimension: it concerns who conducts the inquiry, not the epistemological relationship between theory and data. We demonstrate the framework by linking an LLM agent to a CQP-indexed Gutenberg corpus (5 million tokens) via the Model Context Protocol (MCP). Given only "investigate English intensifiers," the agent identified a diachronic relay chain (so+ADJ > very > really), three pathways of semantic change (delexicalization, polarity fixation, metaphorical constraint), and register-sensitive distributions. A controlled baseline experiment shows that corpus grounding contributes quantification and falsifiability that the model cannot produce from training data alone. To test external validity, the agent replicated two published studies on the CLMET corpus (40 million tokens) - Claridge (2025) and De Smet (2013) - with close quantitative agreement. Agent-driven corpus research can thus produce empirically grounded findings at machine speed, lowering the technical barrier for a broader range of researchers.
Figures & tables
| System | Corpus access | Hyp. gen. | Query | Interpret | Iterate |
|---|---|---|---|---|---|
| UDagent | UD treebanks (Python) | — | ✓ | — | — |
| AntConc+ChatAI | User-uploaded | — | ✓ | partial | — |
| CorpusChat | User-uploaded | — | ✓ | partial | — |
| AI Scientist | ML benchmarks (code) | ✓ | ✓ | ✓ | ✓ |
| Ours | CQP corpora (tool-use) | ✓ | ✓ | ✓ | ✓ |
| Dimension | Human-Driven | Agent-Driven |
|---|---|---|
| Cognitive agent | Human researcher | AI (LLM) |
| Epistemological mode | Corpus-based, corpus-driven, or hybrid | Same (determined by task design) |
| Hypothesis source | Researcher’s domain knowledge | Agent’s parametric knowledge + data |
| Query construction | Manual | Autonomous |
| Result interpretation | Human analysis | AI analysis, human review |
| Iteration speed | Human-paced | Machine-paced |
| anc. | med. | e.mod. | 18C | e.19C | l.19C | e.20C | l.20C | |
|---|---|---|---|---|---|---|---|---|
| very | 472 | 576 | 631 | 1,804 | 1,287 | 1,281 | 959 | 964 |
| so +ADJ | 459 | 966 | 1,017 | 712 | 823 | 705 | 629 | 418 |
| quite | 179 | 76 | 159 | 225 | 222 | 265 | 211 | 431 |
| really | 77 | 54 | 40 | 151 | 42 | 199 | 190 | 185 |
| truly | 0 | 54 | 99 | 170 | 84 | 106 | 64 | 50 |
| utterly | 13 | 101 | 20 | 18 | 74 | 31 | 29 | 48 |
| Drama | Poetry | Journalism | Cooking | |
|---|---|---|---|---|
| very | 657 | 635 | 1,619 | 2,160 |
| really | 352 | 17 | 162 | 119 |
| so +ADJ | 800 | 919 | 742 | 340 |
| quite | 219 | 146 | 289 | 85 |
| exceedingly | — | 8 | 38 | — |
| Capability | Without corpus (recall) | With corpus (agent-driven) |
|---|---|---|
| Hypothesis generation | 6 well-formed hypotheses, consistent with literature | 5 hypotheses, including 1 data-prompted (H5) |
| Frequency hierarchy | Correct rank ordering, no numbers | Precise pmw for 22 intensifiers |
| Diachronic trends | Correct directional predictions | 8-period quantified data; very peak at 1,804 pmw in 18C |
| Register sensitivity | Predicted informal formal | Quantified: really 352 vs. 17 pmw (20 ) |
| Delexicalization | Described general multi-stage pathway | Three-pathway comparative framework with quantified polarity profiles |
| Collocate lists | Impressionistic examples only | 807 types for very ; 67 for utterly ; full classification |
| 1710–1780 | 1780–1850 | 1850–1920 | |
|---|---|---|---|
| Agent result | 105.6 | 90.7 | 53.3 |
| Claridge (2025) | 120 | 99 | 52.5 |
| 1710–1780 | 1780–1850 | 1850–1920 | |
| remember +VBG | 4 | 61 | 162 |
| remember +to-inf | 71 | 74 | 48 |
| Gerund share | 5.3% | 45.2% | 77.1% |
| Finding | Description | Run 1 | Run 2 | Run 3 |
| Frequency hierarchy | very so +ADJ most +ADJ | ✓ | ✓ | ✓ |
| Diachronic relay | so +ADJ very really | ✓ | ✓ | ✓ |
| Register sensitivity | really concentrated in drama | ✓ | ✓ | ✓ |
| Delexicalization pathways | Multiple pathways identified | 3 | 3 | 2 |
| Semantic prosody of utterly | Negative/privative dominance | 80% | 78% | 82% |