การเปรียบเทียบประสิทธิภาพของอัลกอริทึมตัดคำภาษาไทยในการวิเคราะห์ความรู้สึกของผู้ใช้แอปพลิเคชันติ๊กต๊อก บทความวิจัย

Main Article Content

ปฏิวัติ พินิจสุวรรณ
ศรันย์ นาคถนอม

บทคัดย่อ

การวิจัยครั้งนี้มีวัตถุประสงค์เพื่อ 1) เปรียบเทียบประสิทธิภาพของอัลกอริทึมการตัดคำภาษาไทยของไลบรารี        ไพไทยเอ็นแอลพี (PyThaiNLP) ได้แก่ แม็กซิมัมแมตชิง (MM), นิวแม็กซิมัมแมตชิง (NewMM) และลองเกสต์แมตชิง (Longest) ร่วมกับการลบคำหยุด (Stopword) จาก PyThaiNLP และคำหยุดของผู้วิจัย และ 2) ประเมินประสิทธิภาพของแบบจำลอง ได้แก่ นาอีฟเบย์ (NB), รีเกรสชันโลจิสติก (LR), ซัพพอร์ตเวกเตอร์แมชชีน (SVM) และหน่วยความจำระยะยาว-ระยะสั้น (LSTM) ในการจำแนกความคิดเห็นของผู้ใช้แอปพลิเคชันติ๊กต็อก สถิติที่ใช้ในการวิเคราะห์ได้แก่ ความถูกต้อง (Accuracy), ความแม่นยำ (Precision), ความไว (Recall), คะแนนเอฟวัน (F1-score) และเวลา (Training Time) กลุ่มตัวอย่างได้แก่ข้อมูลความคิดเห็นจำนวน 5,519 รายการที่จาก Google Play Store  ผลการวิจัยพบว่า 1) อัลกอริทึมการตัดคำแบบ NewMM ให้ผลลัพธ์ดีที่สุด โดยมีค่า Accuracy 83.52% และ ค่า F1-score 83.06% 2) แบบจำลอง NB ให้ผลลัพธ์สูงสุดในทุกด้าน โดยมีค่า Accuracy 83.73% และ F1-score 83.43% 3) การไม่ลบคำหยุด (Stopword) ให้ผลลัพธ์ที่ดีที่สุดในทุกกรณี แสดงให้เห็นว่าอัลกอริทึมตัดคำและการลบคำหยุดมีผลต่อประสิทธิภาพของการวิเคราะห์ความคิดเห็นอย่างมีนัยสำคัญ

Article Details

รูปแบบการอ้างอิง
[1]
พินิจสุวรรณ ป. . และ นาคถนอม ศ. ., “การเปรียบเทียบประสิทธิภาพของอัลกอริทึมตัดคำภาษาไทยในการวิเคราะห์ความรู้สึกของผู้ใช้แอปพลิเคชันติ๊กต๊อก: บทความวิจัย”, JSCI-SBU, ปี 5, ฉบับที่ 2, น. 30–41, ธ.ค. 2025.
ประเภทบทความ
บทความวิจัย

เอกสารอ้างอิง

N. Phonphong, “Usage behavior and satisfaction of TikTok application of generation Y users in Bangkok,” M. S. thesis, Thammasat Univ., Bangkok, 2019, doi: 10.14457/TU.the.2019.1132. (in Thai)

Spring News, “TikTok usage statistics in 2024: Top countries ranked – Thailand ranks 9th,” Jan. 5, 2024. [Online]. Available: https://www.springnews.co.th/digital-business/digital-marketing/848802. [Accessed: Feb. 10, 2025]. (in Thai)

Predictive, “The key to building a successful application,” Feb. 15, 2024. [Online]. Available: https://

predictive.co.th/blog/mobile-development-with-data-strategy. [Accessed: Feb. 2, 2025]. (in Thai)

M. Chali, “Analysis and visualization of tourist behavior of hospitality service in Chiang Mai Province using sentiment analysis method,” M.S. thesis, Chiang Mai Univ., Chiang Mai, 2023. [Online]. Available: https://tdc.thailis.or.th/tdc/browse.php?option=show&browse_type=title&titleid=644515. [Accessed: Feb. 10, 2025]. (in Thai)

T. Polsawat, “Sentiment classification methodology for online consumer reviews using ontology based,” M.S. thesis, Khon Kaen Univ., Khon Kaen, 2020. [Online]. Available: https://tdc.thailis.or.th/

tdc/browse.php?option=show&browse_type=title&titleid=584241. [Accessed: Feb. 15, 2025]. (in Thai)

W. Sukcharoen and W. Jitsakul, “The comparison of Thai word segmentation for basic first aid with Deepcut algorithm and Newmm algorithm,” presented at NCCIT 2021, King Mongkut’s Univ. of Technology North Bangkok, Bangkok, pp. 264–269, 2021. (in Thai)

N. Lertchanvuth, “Analysis of tourist attractions using machine learning techniques: A case study of Yaowarat road, Thailand,” M.S. thesis, King Mongkut’s Inst. of Technology Ladkrabang, Bangkok, 2021. [Online]. Available: https://tdc.thailis.or.th/tdc/browse.php?option=show&browse_type=title&titleid=

[Accessed: Feb. 10, 2025]. (in Thai)

M. Manhem, S. Dolah, S. Chunkaew, and S. Mak-on, “Model for classifying review sentiments using decision tree techniques: A case study of a hotel reservation website,” Academic Journal of Science and Technology, vol. 1, no. 2, pp. 69–79, 2020, doi: 10.53845/ajst.v1i2.244056. (in Thai)

W. Romsaiyud, Machine Learning for Predictive Data Analysis and Applications. Nonthaburi, Thailand: Sukhothai Thammathirat Open Univ. Press, 2023.

JoMingyu, google-play-scraper (version unknown). Python package. Jun. 7, 2024. [Online]. Available:

https://github.com/JoMingyu/google-play-scraper. [Accessed: Feb. 5, 2025]. (in Thai)

P. Bowornlertsutee and W. Paireekreng, “The model of sentiment analysis for classifying the online shopping reviews,” Thai-Nichi Institute of Technology Journal of Applied Science and Technology, vol. 10, no. 1, pp. 71–79, 2021, doi: 10.61284/tni-jast.2021.246375. (in Thai)

A. Jitpittayaporn, “KMSM: Towards more efficient sampling technique for imbalanced classification,” M.S. thesis, Dhurakij Pundit Univ., Bangkok, 2021. [Online]. Available: https://tdc.thailis.or.th/tdc/browse.php?option=show&browse_type=title&titleid=656328. [Accessed: Feb. 10, 2025]. (in Thai)

T. Vichitsrikamol, “Complaint category recommendation system of state agencies using deep learning model,” M.S. thesis, King Mongkut’s Inst. of Technology Ladkrabang, Bangkok, Thailand, 2024. [Online]. Available: https://tdc.thailis.or.th/tdc/dccheck.php?Int_code=101&RecId=9400&obj_id=64822. [Accessed: Feb. 15, 2025]. (in Thai)

S. Sukkasem, “Analysis of sentiment for hotel data using the hybrid word wrap technique,” M.S. thesis, Thai-Nichi Inst. of Technology, 2020. [Online]. Available: https://tdc.thailis.or.th/tdc/browse.php?option=show&browse_type=title&titleid=534599. [Accessed: Feb. 10, 2025]. (in Thai)

W. Arjamnuaikitja, “Sentiment analysis model for digital marketing marketplace,” M.S. thesis, Thammasat Univ., Bangkok, 2024, doi: 10.14457/TU.the.2023.328. (in Thai)