Programming for Corpus Linguistics with Python and Dataframes (Elements in Corpus Linguistics)
Author: Daniel Keller (Author)
Publisher finelybook 出版社: Cambridge University Press
Publication Date 出版日期: 2024-07-31
Language 语言: English
Print Length 页数: 75 pages
ISBN-10: 1009486780
ISBN-13: 9781009486781
Book Description
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.