Text Analysis in Python for Social Scientists
Author | : Dirk Hovy |
Publisher | : Cambridge University Press |
Total Pages | : 102 |
Release | : 2022-03-17 |
ISBN-10 | : 9781108963091 |
ISBN-13 | : 1108963099 |
Rating | : 4/5 (91 Downloads) |
Book excerpt: Text contains a wealth of information about about a wide variety of sociocultural constructs. Automated prediction methods can infer these quantities (sentiment analysis is probably the most well-known application). However, there is virtually no limit to the kinds of things we can predict from text: power, trust, misogyny, are all signaled in language. These algorithms easily scale to corpus sizes infeasible for manual analysis. Prediction algorithms have become steadily more powerful, especially with the advent of neural network methods. However, applying these techniques usually requires profound programming knowledge and machine learning expertise. As a result, many social scientists do not apply them. This Element provides the working social scientist with an overview of the most common methods for text classification, an intuition of their applicability, and Python code to execute them. It covers both the ethical foundations of such work as well as the emerging potential of neural network methods.