Alfaridzi, Muhammad Ibnu and Syafaah, Lailis and Lestandy, Merinda (2022) Emotional Text Classification Using TF-IDF (Term Frequency-Inverse Document Frequency) And LSTM (Long Short-Term Memory). JUITA: Jurnal Informatika, 10 (2). ISSN 2579-8901
Alfarizi Syafaah Lestandy - Emotional text classification, TF-IDF, LSTM,.pdf
Download (901kB) | Preview
Similarity - Alfarizi Syafaah Lestandy - Emotional text classification TF-IDF LSTM.pdf
Download (2MB) | Preview
Abstract
Humans in carrying out communication
activities can express their feelings either verbally or nonverbally. Verbal communication can be in the form of oral
or written communication. A person's feelings or emotions
can usually be seen by their behavior, tone of voice, and
expression. Not everyone can see emotion only through
writing, whether in the form of words, sentences, or
paragraphs. Therefore, a classification system is needed to
help someone determine the emotions contained in a piece
of writing. The novelty of this study is a development of
previous research using a similar method, namely LSTM
but improved on the word weighting process using the TFIDF method as a further process of LSTM classification.
The method proposed in this research is called Natural
Language Processing (NLP). The purpose of this study was
to compare the classification method with the LSTM (Long
Short-Term Memory) model by adding the word weighting
TF-IDF (Term Frequency–Inverse Document Frequency)
and the LinearSVC model, as well to increase accuracy in
determining an emotion (sadness, anger, fear, love, joy,
and surprise) contained in the text. The dataset used is
18000, which is divided into 16000 training data and 2000
test data with 6 classifications of emotion classes, namely
sadness, anger, fear, love, joy, and surprise. The results of
the classification accuracy of emotions using the LSTM
method yielded a 97.50% accuracy while using the
LinearSVC method resulted in an accuracy value of 89%.
Item Type: | Article |
---|---|
Keywords: | Emotional text classification, TF-IDF, LSTM, LinearSVC |
Subjects: | T Technology > TK Electrical engineering. Electronics Nuclear engineering |
Divisions: | Faculty of Engineering > Department of Electrical Engineering (20201) |
Depositing User: | evalina Risqi Evalina ST. |
Date Deposited: | 15 Mar 2024 08:29 |
Last Modified: | 15 Mar 2024 08:29 |
URI: | https://eprints.umm.ac.id/id/eprint/4827 |