Text Analysis with R for Students of LiteratureText Analysis with R for Students of Literature is written with students and scholars of literature in mind but will be applicable to other humanists and social scientists wishing to extend their methodological tool kit to include quantitative and computational approaches to the study of text. Computation provides access to information in text that we simply cannot gather using traditional qualitative methods of close reading and human synthesis. Text Analysis with R for Students of Literature provides a practical introduction to computational text analysis using the open source programming language R. R is extremely popular throughout the sciences and because of its accessibility, R is now used increasingly in other research areas. Readers begin working with text right away and each chapter works through a new technique or process such that readers gain a broad exposure to core R procedures and a basic understanding of the possibilities of computational text analysis at both the micro and macro scale. Each chapter builds on the previous as readers move from small scale “microanalysis” of single texts to large scale “macroanalysis” of text corpora, and each chapter concludes with a set of practice exercises that reinforce and expand upon the chapter lessons. The book’s focus is on making the technical palatable and making the technical useful and immediately gratifying. |
Other editions - View all
Common terms and phrases
ahab anonymous argument book.freqs.1 calculate called Carpet-Bag cetology Chap chap.positions.v chapter chapter.freqs.1 chapter.raws.1 chapter.word.v chunk chunks.1 clustering colnames column console contains contents cor.data.df$ahab corpus create cross tabulate data frame do.call(rbind doc.object document end.v enter example file names files.v for(i Freq freqs.1 function grep gutenberg hapax Hemingway hits.v input.dir inside International Publishing Switzerland iterate keepers.v keyword KWIC Kyne lapply length length function list item list object loop M.L. Jockers mallet matrix object metadata Moby Dick moby.word.v novel novel.lines.v number of word occurrences of whale package pane plot position Project Gutenberg Publishing Switzerland 2014 rbind readline regular expression relative frequency result RStudio script Sense and Sensibility show.files smaller.df Springer International Publishing start.v stored string strsplit Students of Literature Text Analysis text.v tolower topic modeling total number unlist values variable word frequency word types word vector word.v words.lower XML files XPath Zipf's law