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.
By:
Daniel Keller (Western Kentucky University) Imprint: Cambridge University Press Country of Publication: United Kingdom Dimensions:
Height: 229mm,
Width: 152mm,
Spine: 8mm
Weight: 306g ISBN:9781009486781 ISBN 10: 1009486780 Series:Elements in Corpus Linguistics Pages: 114 Publication Date:20 June 2024 Audience:
Professional and scholarly
,
Undergraduate
Format:Hardback Publisher's Status: Active
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.