Enhancing Python-Based Sentiment Analysis: Empowering Industrial Engineers and Managers in the Service Industry
摘要
Python, a versatile programming language, holds vast potential for Sentiment Analysis (SA). Leveraging the Requests and TextBlob libraries, we have crafted a user-friendly code that enables Industrial Engineers (IE) and managers, particularly those new to Python, to extract and analyze sentiment efficiently. We aim to provide IE/managers in service companies requiring SA capabilities with a simple yet effective Python solution. While machine learning resources like PyTorch/TensorFlow are commonly utilized in SA, offering pre-built algorithms and tools for training, and implementing machine learning models, we sought to exploit Python's versatility by integrating additional web-scraping libraries. Thus, using a lexicon-based approach, we intend to deliver an informative and practical article. The code in this article is twofold; firstly, it can be easily adapted by IE/managers possessing basic Python skills; secondly, we aim to inspire junior IE/managers to develop their own customized coding solutions tailored to specific organizational needs.