{'fraction_non_alphanumeric': 0.01973164956590371, 'fraction_numerical': 0.0, 'mean_word_length': 5.404040404040404, '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}}
Method for the analysis of the preferences of network users

At present, research on users’ preferences is becoming increasingly widespread. Traditional research used a simple cosine similarity algorithm to calculate the similarity between users and just focused on one factor. So, a more complete method is described for researching preferences by considering more factors of the network to analyse data. Two personalisation recommendation algorithms are given based on users’ preferences. These two algorithms mainly work on two aspects: one is the content-based recommendation algorithm. It uses a cosine similarity algorithm to calculate the similarity between users, uses LDA to obtain improvement and uses screens according to a user impact factor. The other is a relation-based recommendation algorithm. It uses the PersonalRank algorithm to calculate the similarity, and uses the weight of users’ communication behaviours to improve the algorithm. Finally, micro-blog users’ data are analysed in detail, and the consequences of the two recommendation methods are fused based on the content of the results and recommendations. As a result, we obtained more accurate recommendation results and verified the feasibility of the algorithm by experimental analysis.