Sentiment Analysis of Product Customer Reviews on Tunisian Online Sale Sites | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Research Article Sentiment Analysis of Product Customer Reviews on Tunisian Online Sale Sites Afef SLIMAN I, Ali SALEM Author This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-5945484/v1 This work is licensed under a CC BY 4.0 License Status: Posted Version 1 posted You are reading this latest preprint version Abstract In this paper, the Customer Reviews Analysis of Products, collected from Tunisian online retail platforms, is performed by collecting the data with the help of the web scraping method. Approaches comprise a language detection process that will handle the reviews in any language, followed by sentiment analysis, which in turn forms the polarity of comments: positive, negative, or neutral. The classification of opinions has been done using some machine learning algorithms: Support Vector Machines, Decision Trees, Random Forests, and Naive Bayes. Besides, in this paper, the Tf-Idf method is applied to represent and classify the texts. This research will give some effective insights into improving customer satisfaction and optimizing business strategy regarding the context of Tunisian e-commerce. Data Extraction Web Scraping Opinions Sentiment Analysis Dataset Machine Learning Supervised Learning Unsupervised Learning SVM Decision Trees Random Forests Naive Bayes Tf-Idf Classification. Full Text Additional Declarations No competing interests reported. Cite Share Download PDF Status: Posted Version 1 posted You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-5945484","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":410607078,"identity":"ea49cb91-e9d7-4a34-981a-49dd6673f42e","order_by":0,"name":"Afef SLIMAN I","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA80lEQVRIie3PsYrCMBjA8S8U4hLoGkH0CYTKQXUo+CpfOXCqd29QMvUWH8DH8BFagpkU1wyCdxw4OcStg8OlHgcHEqqbQ/5TEvjlSwB8vmcsKMEATFizLk1yD6FIlgD8SqrlDLi9xS6xnfxOZPeQsAgqARfeG35sK5lgngN/X69IvXcSrmgqSMFZvHlDmaHkwF+pBjy6xxwW408iLCmzSM7r8o9Ipxio8Nw8jMW7UyQnmLeTSDEigFqi7RTAoJ2MFB2JtPmLPkXVAmW3YN+xxpmb9FXwJcwlmca77MXUmIdhJz1qk7jJNfy/oTcnPp/P53u4Hxo7Uuss3jOkAAAAAElFTkSuQmCC","orcid":"","institution":"Faculty of Sciences of Tunis, University Campus","correspondingAuthor":true,"prefix":"","firstName":"Afef","middleName":"SLIMAN","lastName":"I","suffix":""},{"id":410607079,"identity":"6f4b271e-15d8-41b6-b7ba-5b5e9cbd5695","order_by":1,"name":"Ali SALEM Author","email":"","orcid":"","institution":"Faculty of Sciences of Sfax","correspondingAuthor":false,"prefix":"","firstName":"Ali","middleName":"SALEM","lastName":"Author","suffix":""}],"badges":[],"createdAt":"2025-02-02 11:08:13","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-5945484/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-5945484/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":75792831,"identity":"c04a1701-afce-4bc4-a260-7ab24b7b9169","added_by":"auto","created_at":"2025-02-08 12:46:44","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":549071,"visible":true,"origin":"","legend":"","description":"","filename":"SentimentAnalysisofProductCustomerReviewsonTunisianOnlineSaleSites.pdf","url":"https://assets-eu.researchsquare.com/files/rs-5945484/v1_covered_7f1d28fe-5d26-47d1-b8b6-4d870e9f3216.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"Sentiment Analysis of Product Customer Reviews on Tunisian Online Sale Sites","fulltext":[],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":false,"hideJournal":true,"highlight":"","institution":"","isAcceptedByJournal":false,"isAuthorSuppliedPdf":true,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":true,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true},"keywords":"Data Extraction, Web Scraping, Opinions, Sentiment Analysis, Dataset, Machine Learning, Supervised Learning, Unsupervised Learning, SVM, Decision Trees, Random Forests, Naive Bayes, Tf-Idf, Classification.","lastPublishedDoi":"10.21203/rs.3.rs-5945484/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-5945484/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"In this paper, the Customer Reviews Analysis of Products, collected from Tunisian online retail platforms, is performed by collecting the data with the help of the web scraping method. Approaches comprise a language detection process that will handle the reviews in any language, followed by sentiment analysis, which in turn forms the polarity of comments: positive, negative, or neutral. The classification of opinions has been done using some machine learning algorithms: Support Vector Machines, Decision Trees, Random Forests, and Naive Bayes. Besides, in this paper, the Tf-Idf method is applied to represent and classify the texts. This research will give some effective insights into improving customer satisfaction and optimizing business strategy regarding the context of Tunisian e-commerce.","manuscriptTitle":"Sentiment Analysis of Product Customer Reviews on Tunisian Online Sale Sites","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2025-02-05 17:09:44","doi":"10.21203/rs.3.rs-5945484/v1","editorialEvents":[{"type":"communityComments","content":0}],"status":"published","journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"5497a192-d4ab-4498-a927-8a1240b5b2ef","owner":[],"postedDate":"February 5th, 2025","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[],"tags":[],"updatedAt":"2025-02-08T12:38:37+00:00","versionOfRecord":[],"versionCreatedAt":"2025-02-05 17:09:44","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-5945484","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-5945484","identity":"rs-5945484","version":["v1"]},"buildId":"8U1c8b4HqxoKbykW_rLl7","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.