Data preprocessing

View at publisher
Authors: Christian Schneijderberg, Oliver Wieczorek, Isabel Steinhardt
Cited by: 0

Abstract

This chapter introduces you to preprocessing procedures. These must be applied prior to applying machine learning algorithms for topic extraction and sentiment analysis. They ensure the accuracy of the analysis, reduce biases inherent in the data, and helps us to focus on relevant aspects of the data. In the following, we start with an outline of relevant preprocessing techniques. We then demonstrate basic data cleaning procedures, for example how to remove missing values or drop duplicate entries in a data frame. We then proceed with feature extraction techniques on corpus, document, and token level, for example how to create a weighted and unweighted document term-matrix, how to tokenize text documents and filter tokens by their parts of speech or how to perform named entity recognition.

Fields of Study & Subjects

Computational and Text Analysis Methods Sentiment Analysis and Opinion Mining Topic Modeling

Publication details

Journal / source
Routledge eBooks
Pages
356–384
Publication date
15 January 2026
Language
EN
Document type
Book chapter