[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-120588-en":3,"doc-seo-120588-105":30,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":4,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":27,"seo_description":14,"update_tm":28,"read_time":29},120588,1099514068365,"Aurelia","https://ap-avatar.wpscdn.com/avatar/10000253d8d9f28188e?_k=1776742907772140068",8,"Research & Report","Sentiment Analysis of Libyan Tweets Using Machine Learning Algorithms - Decision Tree vs SVM vs Naive Bayes","Sentiment analysis, also known as opinion mining, extracts positive or negative judgments from textual data and supports decision-making using social media as a rich information source. This study builds on the gap in Libyan dialect research by training three machine-learning algorithms on a dataset of Libyan tweets. Model performance is assessed for accuracy, precision, and recall, while annotation quality is evaluated using Cohen’s Kappa reliability with 89.1% observed agreement. Results show the decision tree performs best (72%) compared with SVM (69%) and Naive Bayes (65%).","MJIT 2024 Malaysian Journal of Industrial Technology  \nSENTIMENT ANALYSIS OF LIBYAN TWEETS USING MACHINE  \nLEARNING ALGORITHMS  \nRamadan Alsayed Alfared.  \nUniversity of Zawia, Zawia, Libya.  \n[Ramadan.Alfared@zu.edu.ly](Ramadan.Alfared@zu.edu.ly)  \n[Hanan Mohamed Aljarm.](Hanan Mohamed Aljarm.)  \nUniversity of Zawia, Zawia, Libya.  \n[Pg01401068@zu.edu.ly](Pg01401068@zu.edu.ly)  \n*Corresponding author’s [email: Ramadan.Alfared@zu.edu.ly](email: Ramadan.Alfared@zu.edu.ly)  \n\n| ARTICLE INFO | ABSTRACT |\n| --- | --- |\n| Handling Editor: Rahimah Mahat\u003Cbr>Article History:\u003Cbr>Received 25 December 2023 Received in revised form 12 January 2024\u003Cbr>Accepted 5 February 2024 Available online 15 March 2024\u003Cbr>Keywords:\u003Cbr>Sentiment Analysis; Text classification; machine learning; Twitter; social media; Libyan dialect | Sentiment analysis is a highly active field of study in natural language processing, also known as opinion mining. Social media is a communication tool between internet users. Thus, these platforms become valuable data resources that can be exploited and used efficiently to support decision-making. Many researchers are still working on improving the processing of sentiment analysis in textual data (positive or negative comments) . Although there are several studies in Arabic dialects using the machine learning approach, no prior work has been conducted on the Libyan dialect.\u003Cbr>In this paper, a training dataset of Libyan tweets for sentiment analysis is used to train three machine-learning algorithms. The aim is to determine which algorithm has the best accuracy for our dataset. We use Cohen’s Kappa measure to evaluate the quality and measure the reliability of the sentiment annotations which observed agreement is 89.1% . The experiments of the three algorithms showed that the decision tree algorithm achieved better results compared to the other algorithms in terms of accuracy. The results are (72%, 69% and 65%) in (Decision Tree, Support Vector Machine and Naive Bayes) respectively. |\n\n1.0 Introduction  \nNatural language processing (NLP) is a very active domain in Artificial Intelligence (AI)  \n[1] that exploits the most advanced algorithms to allow understanding of human language. NLP is a branch of AI and has several applications including sentiment Analysis [2], Machine Translation [3] and Information Retrieval [4] .  \nIn recent years, many users have been interested in social networking platforms like Twitter, Facebook, and Instagram. Social media is a communication tool between internet users, it is considered a good free resource for any NLP applications. The majority use social sites to express their emotions, beliefs or opinions about products, some issues, services, and life, to  \ngain valuable information for decision-making. A machine learning algorithm (MLA) is used to analyse the huge collection of data. There are several works on Arabic sentiment analysis (Dialects) which have gained considerable interest in the research community such as Jordanin [5], Morocan [6], Saudia [7] and Tunisian [8] .  \nRecently Libyan dialect had the one of the attention dialects that is building a dataset for use in many NLP applications such as [9] . In the NLP field, there are three principal approaches such as machine-learning [10], Lexicon-based [11] and hybrid [12] .  \nIn this paper, we apply three ML models for the Libyan dialect sentiment analysis (SA) including Naive Bayes, SVM and Decision Tree to evaluate each model and compare between them in terms of accuracy of recall and precision. This comparison determines which model is appropriate for the Libyan dialect. The study includes a dataset of 2296 Libyan dialect tweets randomly retrieved over the period from the 20th of March to the 23rd of July 2023.  \nThe remainder of this paper is structured as follows: Section 2 surveys the literature on sentiment analysis. In Section 3, we explore the different types of machine learning algorithmsand sentiment analysis. We present t","cbCaip7uJ1tPnp8l","https://ap.wps.com/l/cbCaip7uJ1tPnp8l","pdf",515917,1,12,"English","en",105,"# Introduction\n## Social media and NLP for sentiment analysis\n## Approaches to sentiment analysis\n## Study objective and paper structure\n# Previous Work\n## Challenges in Arabic dialect sentiment analysis\n## Machine learning and transformer-based methods\n# Methodology\n## Data collection and dataset description\n## Annotation quality and reliability measurement\n## Proposed machine learning models and evaluation","[{\"question\":\"What is the main goal of the study on Libyan tweets?\",\"answer\":\"To determine which of three machine-learning algorithms achieves the best accuracy for sentiment analysis of Libyan dialect tweets.\"},{\"question\":\"Which algorithms are compared in the experiments?\",\"answer\":\"Naive Bayes, Support Vector Machine (SVM), and Decision Tree are compared using accuracy, precision, and recall.\"},{\"question\":\"How is the quality and reliability of sentiment annotations evaluated?\",\"answer\":\"Cohen’s Kappa is used to measure reliability, with observed agreement reported as 89.1%.\"}]","Sentiment Analysis of Libyan Tweets Using Machine Learning Algorithms - Decision Tree vs SVM vs Naive Bayes | PDF",1785730783,30,{"code":4,"msg":31,"data":32},"ok",{"site_id":24,"language":23,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":28},"sentiment-analysis-of-libyan-tweets-using-machine-learning-algorithms-decision-tree-vs-svm-vs-naive-bayes","",{"@graph":36,"@context":85},[37,54,68],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/research-report/",3,{"item":52,"name":13,"@type":43,"position":53},"https://docshare.wps.com/document/sentiment-analysis-of-libyan-tweets-using-machine-learning-algorithms-decision-tree-vs-svm-vs-naive-bayes/120588/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":23,"description":14,"dateModified":62,"datePublished":62,"encodingFormat":61,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":41,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-08-03",true,{"@type":65,"interactionType":66,"userInteractionCount":4},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"What is the main goal of the study on Libyan tweets?","Question",{"text":75,"@type":76},"To determine which of three machine-learning algorithms achieves the best accuracy for sentiment analysis of Libyan dialect tweets.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"Which algorithms are compared in the experiments?",{"text":80,"@type":76},"Naive Bayes, Support Vector Machine (SVM), and Decision Tree are compared using accuracy, precision, and recall.",{"name":82,"@type":73,"acceptedAnswer":83},"How is the quality and reliability of sentiment annotations evaluated?",{"text":84,"@type":76},"Cohen’s Kappa is used to measure reliability, with observed agreement reported as 89.1%.","https://schema.org",{"og:url":52,"og:type":87,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":89,"canonical":52},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":92},[93,97,101,105,110,115,120,122,127,130,134],{"id":20,"doc_module":4,"doc_module_name":46,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":46,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":46,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":111,"doc_module":4,"doc_module_name":46,"category_name":112,"show_sort_weight":113,"slug":114},6,"Technology",50,"technology",{"id":116,"doc_module":4,"doc_module_name":46,"category_name":117,"show_sort_weight":118,"slug":119},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":29,"slug":121},"research-report",{"id":123,"doc_module":4,"doc_module_name":46,"category_name":124,"show_sort_weight":125,"slug":126},9,"Religion & Spirituality",20,"religion-spirituality",{"id":125,"doc_module":4,"doc_module_name":46,"category_name":128,"show_sort_weight":125,"slug":129},"World Cup","world-cup",{"id":131,"doc_module":4,"doc_module_name":46,"category_name":132,"show_sort_weight":131,"slug":133},10,"Lifestyle","lifestyle",{"id":135,"doc_module":4,"doc_module_name":46,"category_name":136,"show_sort_weight":106,"slug":137},19,"General","general"]