{'fraction_non_alphanumeric': 0.020298507462686566, 'fraction_numerical': 0.001791044776119403, 'mean_word_length': 4.700680272108843, '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}}
Correlation analysis of law-related news combining bidirectional attention flow of news title and body

Correlation analysis of law-related news is a task to of dividing news into law-related or law-unrelated news, which is the basis of public opinion analysis. Public opinion news consists of the title and the body. The title describes the theme of the news, and the body describes the content of the news. They are equally important and interdependent in the analysis of lawrelated news. Therefore, we make full use of the dependence between the title and the body and propose a learning method that combines the bidirectional attention flow of the title and the body. This method encodes the title and the body respectively by using a bidirectional gated recurrent unit (BiGRU) to obtain the word-level feature matrix of the title and the word-level feature matrix of the body. Then it further extracts the law relevant key features from the body feature matrix, to obtain the word-level feature representation of the body. Finally, we combine the word-level feature representation of the title and the body to build bidirectional attention flow. In this way, the information of the two is fully integrated and interacted to improve the accuracy of the legal correlation analysis of news. To verify the validity of the method in this paper, we conducted experiments on the analysis of law-related news. The results show that our method has achieved good results. Compared with the baseline method, the F1 values of our method is increased by 2.2%, which strongly proves that the interaction between title and body has a good supporting effect on news text classification.