{'fraction_non_alphanumeric': 0.016057091882247992, 'fraction_numerical': 0.0, 'mean_word_length': 5.759036144578313, '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}}
Multi-language emotional data processing and classifying method and system based on key sentences

The invention discloses a multi-language emotional data processing and classifying method and system based on key sentences. The method includes the steps that first, an emotional dictionary data packet is automatically extracted from an unlabelled emotional data set, and the polarity of emotional words is finally judged through a K nearest neighbor algorithm and a voting rule; second, the extracted emotional dictionary data packet is used for calculating the score of the emotion attribute, then, the position attribute and the key word attribute are comprehensively considered, and a plurality of emotional key sentences are extracted for each text; third, the extracted emotional key sentences are directly applied to supervised emotional data classification and unsupervised emotional data classification. Therefore, the double-difficulty problem caused by language migration and emotional data analysis in the multi-language translation process can be solved, and emotional data analysis accuracy can be improved.