Classification of Emotions in Indonesian Texts Using K-NN Method
Keywords:
Basic emotions, K-Nearest Neighbor, TFIDF Indonesian language.Abstract
This paper aims to classify texts in Indonesianl anguage into emotion expression classes. The data were taken from 6 basic emotion classes whose training documents and test documents were obtained from articles in www.kompas.com, www.suaramerdeka.com, and www.detik.com. The text weighing was processed by using TFID method which is an integration of Term Frequency (TF) and Inverse Document Frequency (IDF). In the classification process, K-Nearest Neighbor (K-NN) was used to see how far this method could classify emotion expression of Indonesian language. The test shows that the classification of the Indonesian texts for the six basic emotion classes by using KNN method results in accurateness percentage of 71.26%, obtained at k=40 as the optimum value.
Downloads
Downloads
Published
Issue
Section
License
You are free to:
- Share — copy and redistribute the material in any medium or format for any purpose, even commercially.
- Adapt — remix, transform, and build upon the material for any purpose, even commercially.
- The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
- Attribution — You must give appropriate credit , provide a link to the license, and indicate if changes were made . You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
Notices:
You do not have to comply with the license for elements of the material in the public domain or where your use is permitted by an applicable exception or limitation .
No warranties are given. The license may not give you all of the permissions necessary for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.