Programming for Corpus Linguistics with Python and Dataframes
This Element offers intermediate or experienced programmers algorithms for Corpus Linguistic (CL) programming in the Python language using dataframes that provide a fast, efficient, intuitive set of methods for working with large, complex datasets such as corpora. This Element demonstrates principles of dataframe programming applied to CL analyses, as well as complete algorithms for creating concordances; producing lists of collocates, keywords, and lexical bundles; and performing key feature analysis. An additional algorithm for creating dataframe corpora is presented including methods for tokenizing, part-of-speech tagging, and lemmatizing using spaCy. This Element provides a set of core skills that can be applied to a range of CL research questions, as well as to original analyses not possible with existing corpus software.
Product details
June 2024Hardback
9781009486781
114 pages
229 × 152 × 8 mm
0.306kg
Available
Table of Contents
- 1. Data frame corpora
- 2. Python basics for corpus linguistics
- 3. Working with data frames
- 4. Algorithms for common corpus linguistic tasks
- 5. Creating data frame corpora
- 6. Conclusion
- References.