Sentiment classification of social media posts is among the most challenging and time-consuming tasks for analysts. This is particularly true when applied to languages that employ scriptio continua, such as the Thai language, in which there are no spaces between written words and where there is no end of sentence punctuation. Thai is considered a scarce-resource language as few datasets are available to researchers. Although machine-learning (ML) and deep-learning (DL) algorithms can identify sentiment classification polarity, the performance of the existing classification models are still inadequate. This study proposes a novel stacking ensemble learning technique for identifying sentiment classification polarity in the Thai language, SETAR. Our stacking ensemble strategy utilized the pre-trained Thai language model (WangChanBERTa), based on a Robustly Optimized BERT Pretraining Approach (RoBERTa) architecture to form a feature vector. This feature was combined with three distinct feature vectors obtained from three well-known categories, namely Word2Vec, TF-IDF, and bag-of-words, as a new hybrid sentence representation. The base learners were trained using seven chosen complex heterogeneous ML algorithms, including support vector machine (SVM), random forest (RF), extremely randomized trees (ET), light gradient boosting machine (LGBM), multi-layer perceptron (MLP), partial least squares (PLS), and logistic regression (LR) to enable the development of the final meta-learners. The results revealed that our proposed stacking ensemble model outperformed the baseline models of all classification metrics among the training and test sets, as was determined by extensive benchmarking, carried out on the four datasets, which included our developed sentiment corpus that domain experts annotated.
Choosing a tourist destination from the information that is available on the Internet and through other sources is one of the most complex tasks for tourists when planning travel, both before and during travel. Previous Travel Recommendation Systems (TRSs) have attempted to solve this problem. However, some of the technical aspects such as system accuracy and the practical aspects such as usability and satisfaction have been neglected. To address this issue, it requires a full understanding of the tourists' decision-making and novel models for their information search process. This paper proposes a novel human-centric TRS that recommends destinations to tourists in an unfamiliar city. It considers both technical and practical aspects using a real world data set we collected. The system is developed using a two-steps feature selection method to reduce number of inputs to the system and recommendations are provided by decision tree C4.5. The experimental results show that the proposed TRS can provide personalized recommendation on tourist destinations that satisfy the tourists.
Sentiment analysis is a task in natural language processing that focuses on identifying and categorizing emotions expressed in text. Despite the remarkable predictive performance achieved by deep learning models in this domain, their limited interpretability posed a significant challenge. Furthermore, the development of interpretable sentiment analysis models for the Thai language had received inadequate attention. To address this gap, this study proposed a Zero-shot Interpretable Sentiment Analysis Framework, integrating sentiment polarity extraction and leveraging the zero-shot learning with the powerful WangchanBERTa model. Our framework utilized the word selection method from the feeling wheel to represent six primary feelings as sentiment polarities, effectively capturing the subtle emotions expressed in the text. These sentiment polarities played a crucial role as features in training our model, enhancing its interpretability for sentiment analysis tasks. Through the evaluation of three Thai sentiment analysis datasets, we compared the sentiment polarity extraction with two traditional feature extraction methods and ten classification algorithms. The results showed the superiority of the sentiment polarity extraction over Bag of words and its competitive performance compared to TF-IDF in terms of accuracy. To gain insights into the model’s decision-making process, SHAP (SHapley Additive exPlanations) was employed to analyze feature importance. Our findings highlighted the alignment of influential features with the sentiment polarities of the text, providing a crucial understanding of the model’s functionality. Notably, we uncovered a clear relationship between specific feeling features and their corresponding sentiment classes, deepening our comprehension of the model’s performance in sentiment analysis. This study not only contributed to the advancement of sentiment analysis in the Thai language but also bridged the gap between predictive performance and model transparency, yielding a novel and interpretable approach for sentiment analysis.