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
September 2024Adobe eBook Reader
9781108910958
0 pages
This ISBN is for an eBook version which is distributed on our behalf by a third party.
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.