{'fraction_non_alphanumeric': 0.02313624678663239, 'fraction_numerical': 0.0, 'mean_word_length': 5.45303867403315, '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}}
Toward A Real-Time Social Recommendation System

Recent research has investigated approaches and models to produce optimal results in social recommendation systems (SRSs) particularly in text-based form. The aim is to analyze the user generated-content (UGC) to suggest appropriate recommendations to interested users. However, users are often not satisfied with the initial recommendations because some models do not elicit their preferences at the beginning of the interaction nor do they understand their actual needs. In this paper, we propose a real-time SRSs called ChatWithRec that aims to improve the accuracy of recommendations by analyzing the user's contextual conversation dynamically, detect the topic, and then match it with a suitable advertisement. We used the Latent Dirichlet Allocation topic model (LDA) to analyze the user's conversation and perceive topics. We evaluated our system by applying several metrics like coherence, and F-score to evaluate the performance of ChatWithRec recommendation system. The results are encouraging, indicating that the system is fast, satisfies users by getting exactly what they seek in their conversation flow.