{'fraction_non_alphanumeric': 0.02459016393442623, 'fraction_numerical': 0.0, 'mean_word_length': 5.86875, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Understanding Customer Sentiment: Lexical Analysis of Restaurant Reviews

Understanding customer's sentiment (satisfaction or dissatisfaction) is considered as valuable information for both the potential customers and restaurant authority. However, analyzing customer reviews (unstructured texts) one by one is a difficult task and also practically impossible when the number of reviews is enormous. Therefore, it seems conceivable to have a mechanism to analyze customer reviews automatically and provide the necessary information in a precise way. Here, we introduce a Natural Language Processing (NLP) based opinion mining methodology to analyze the customer opinion automatically. For that, first, a captive portal is used to collect customer's reviews. Then, the opinion mining technique is applied to analyze the reviews to explore customer sentiment about food quality, service, environment, etc. A data-driven experiment is conducted to evaluate the proposed methodology. The experiment result showed the effectiveness of the proposed method for retrieving and analyzing customer sentiment.