{'fraction_non_alphanumeric': 0.026459143968871595, 'fraction_numerical': 0.0, 'mean_word_length': 5.768421052631579, '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}}
SocialRec: A Context-Aware Recommendation Framework With Explicit Sentiment Analysis

In recent years, recommendation systems have seen significant evolution in the field of knowledge engineering. Usually, the recommendation systems match users’ preferences based on the star ratings provided by the users for various products. However, simply relying on users’ ratings about an item can produce biased opinions, as a user’s textual feedback may differ from the item rating provided by the user. In this paper, we propose SocialRec, a hybrid context-aware recommendation framework that utilizes a rating inference approach to incorporate users’ textual reviews into traditional collaborative filtering methods for personalized recommendations of various items. We apply text-mining algorithms on a large-scale user-item feedback dataset to compute the sentiment scores. We propose a greedy heuristic to produce ranking of items based on users’ social similarities and matching preferences. To address challenges resulting from cold start and data sparseness, SocialRec introduces pre-computation models based on Hub-Average (HA) inference. Rigorous evaluations of SocialRec (on large-scale datasets) demonstrate high accuracy, especially in comparison with previous related frameworks.