Text analysis is a field of study in data science that analyses human-generated textual data generated through books, articles, reviews, social media posts and discussions among other sources. Text is initially converted to numerical data using the well-known "term frequency-inverse document frequency" (TFIDF) technique. TFIDF measures the importance of each word in a document relative to other words in the document and the whole data corpus. Data generated from social media has a unique nature: In addition to the text itself, a post on social media can have different types of engagement such as likes, replies, and reposts.