Defining text classification tasks:
Text classification is one of the most fundamental tasks in Natural Language Processing (NLP). The goal is to automatically assign one or more predefined labels (categories) to a piece of text. Among numerous text classification NLP tasks, sentiment analysis, hate speech classification, emotion classification, and topic classification are the most common. In this guidebook, we will discuss details about these common NLP tasks. While there is no single agreed-upon definition of the following NLP tasks, we use the most widely agreed-upon definitions.