The Best Malaysian Airline Companies Visualization through Bilingual Twitter Sentiment Analysis: A Machine Learning Classification

Khyrina Airin Fariza Abu Samah - Faculty of Computer and Mathematical Sciences, Universiti Teknologi MARA Cawangan Melaka Kampus Jasin, Melaka, Malaysia
Nur Farhanah Amirah Misdan - Faculty of Computer and Mathematical Sciences, Universiti Teknologi MARA Cawangan Melaka Kampus Jasin, Melaka, Malaysia
Mohd Nor Hajar Hasrol Jono - Faculty of Computer and Mathematical Sciences, Universiti Teknologi MARA Cawangan Melaka Kampus Jasin, Melaka, Malaysia
Lala Septem Riza - Department of Computer Science Education, Universitas Pendidikan Indonesia, Indonesia

Citation Format:



Online reviews are crucial for business growth and customer satisfaction. There is no exception for the airlines’ company, which places third as the biggest contributor to Malaysia’s Gross Domestic Product. Customer opinions play an important role in maintaining the reputation and improving the quality of service of the airlines. However, there is no specific platform for online review. Most online ratings obtain English, leading to inaccurate results as not all reviews regarding different languages are considered. Airlines currently have no specific platform for online reviews despite being critical for business growth, performance, and customer experience improvement. Hence, this paper proposed implementing a web-based dashboard to visualize the best Malaysian airline companies. The airline companies involved are AirAsia, Malaysia Airlines, and Malindo Air. We designed and developed the proposed study through the bilingual analysis of Twitter sentiment using the Naïve Bayes algorithm. Naïve Bayes algorithm is a machine learning approach to do classification. The tweets extracted were analyzed as metrics that advance airline companies’ online presence. Testing phases have shown that the classifier successfully classified tweets’ sentiment with 93% accuracy for English and 91% for Bahasa. Every feature in the web-based dashboard functions correctly and visualizes a detailed analysis of sentiment. We applied the System Usability Scale to test the study’s usability and managed to get a score of 94.7%. The acceptability score ‘acceptable’ result concluded that the study reflects a good solution and can assist anyone in understanding the public views on airline companies in Malaysia.


Bilingual model; classification; Naïve Bayes; Twitter sentiment analysis; web-based dashboard.

Full Text:



R. Hirschmann, “Travel and tourism in Malaysia – statistics and facts,†2020. (accessed Jul. 31, 2021).

M. U. Mahidin, “Tourism satellite account 2019,†2020.

D. R. Tobergte and S. Curtis, “Factors That Influence Customer Satisfaction and Behavioural Intentions in Airline Industry,†Journal of Chemical Information and Modeling, vol. 53, no. 9, pp. 1689–1699, 2013,

Y. Mamrina, D. M. H. Kee, A. Tursynbay, H. A. B. M. Athiyah, and R. Muhamach, “A case study on critical success factors of AirAsia,†International Journal of Tourism and Hospitality in Asia Pasific, vol. 3, no. 1, pp. 77–88, 2020.

N. Avogadro, P. Malighetti, R. Redondi, and A. Salanti, “A tale of airline competition: When full-service carriers undercut low-cost carriers fares,†Journal of Air Transport Management, vol. 92, pp. 1–10, 2021,

W. Messner, “Value or quality? Differences in airlines’ customer satisfaction strategies across national markets,†Services Marketing Quarterly, vol. 41, no. 3, pp. 205–235, 2020.

H. J. Ban and H. S. Kim, “Understanding customer experience and satisfaction through airline passengers’ online review,†Sustainability (Switzerland), vol. 11, no. 15, 2019.

H. J. Kwon, H. J. Ban, J. K. Jun, and H. S. Kim, “Topic modeling and sentiment analysis of online review for airlines,†Information (Switzerland), vol. 12, no. 2, pp. 1–14, 2021.

K. A. F. A. Samah, A. A. S. A. Sani, N. Sabri, S. Ibrahim, A. F. A. Fadzil, and L. S. Riza, “Visualizing communication of service providers reputation during COVID-19 pandemic: A conceptual model,†International Journal of Advanced Trends in Computer Science and Engineering, vol. 9, no. 1.4 Special Issue, pp. 558–568, 2020,

L. Neimann Rasmussen and P. Montgomery, “The prevalence of and factors associated with inclusion of non-English language studies in Campbell systematic reviews: A survey and meta-epidemiological study,†Systematic Reviews, vol. 7, no. 1, pp. 1–12, 2018.

B. M. Zaharias, “Analyzing Customer Satisfaction,†Review of Indonesian Economic and Business Studies, vol. 7, no. 1, pp. 1–12, 2016.

N. Murugan, “Influence of socio demographic factors in the choice of airline between air asia & malaysia airlines,†in Asean Tourism Research Conference, 2017, pp. 187–194.

C. Song, J. Guo, and J. Zhuang, “Analyzing passengers’ emotions following flight delays- a 2011–2019 case study on SKYTRAX comments,†Journal of Air Transport Management, vol. 89. pp. 1–7, 2020.

C. Raynes and K. W. H. Tsui, “Review of Airline-within-Airline strategy: Case studies of the Singapore Airlines Group and Qantas Group,†Case Studies on Transport Policy, vol. 7, no. 1, pp. 150–165, 2019,

S. Saibaba, “Bibliometric analysis and visualization of online consumer behavior – past, present and future,†Saudi Journal of Business and Management Studies, vol. 6, no. 8, pp. 268–291, 2021.

M. C. and M. Commission, “Internet user survey 2020,†2020.

M. V. Mäntylä, D. Graziotin, and M. Kuutila, “The evolution of sentiment analysis—A review of research topics, venues, and top cited papers,†Computer Science Review, vol. 27, pp. 16–32, 2018.

F. Hemmatian and M. K. Sohrabi, “A survey on classification techniques for opinion mining and sentiment analysis,†Artificial Intelligence Review, vol. 52, no. 3, pp. 1495–1545, 2019.

I. Portugal, P. Alencar, and D. Cowan, “The use of machine learning algorithms in recommender systems: A systematic review,†Expert Systems with Applications, vol. 97, pp. 205–227, 2018.

M. Granik and V. Mesyura, “Fake news detection using naive Bayes classifier,†in IEEE 1st Ukraine Conference on Electrical and Computer Engineering, UKRCON 2017 - Proceedings, 2017, pp. 900–903.

M. J. Sánchez-Franco, A. Navarro-García, and F. J. Rondán-Cataluña, “A naive Bayes strategy for classifying customer satisfaction: A study based on online reviews of hospitality services,†Journal of Business Research, vol. 101, pp. 499–506, 2019.

S. Qaiser and R. Ali, “Text mining: Use of tf-idf to examine the relevance of words to documents,†International Journal of Computer Applications, vol. 181, no. 1, pp. 25–29, 2018,

A. Holzer and J. Ondrus, “Mobile app development: Native or web?,†Tematics and Informatics, vol. 23, no. 1, pp. 22–31, 2011.

A. Kaya, R. Ozturk, and C. A. Gumussoy, “Usability neasurement of nobile applications with system usability scale (SUS),†in Lecture Notes in Management and Industrial Engineering, 2019, no. January, pp. 389–400.

A. Smyk, “The system usability scale & how it’s used in UX,†2020. (accessed Sep. 02, 2021).