{'fraction_non_alphanumeric': 0.013688760806916427, 'fraction_numerical': 0.0, 'mean_word_length': 5.7101449275362315, '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}}
Research on Pattern Representation Based on Keyword and Word Embedding in Chinese Entity Relation Extraction

With the rapid development of the Internet, it is becoming more and more important to extract the relationship between the entity from the massive network text and then to build the knowledge graph or the knowledge base. In this paper, we focus on the research of the pattern representation in relation extraction, and extract the high accuracy Chinese entity pairs from large scale web texts. Past relation patterns only consider shallow lexical and syntax, not accurately and deeply express pattern context information, and do not consider keywords information. According to the new entity relation extraction technology and the characteristics of Chinese corpora, we define pattern representation based on keywords and word embedding information, extract deep semantic feature of context information, and strengthen keywords information effect for relation extraction. In addition, we propose a method for obtaining sentence keyword based on word embedding. In the experiment, we use ChineseHudongEncyclopedia corpus to implement the character relation extraction system, and test the character relation extraction effect. The experimental results show that this method effectively improves the quality of the pattern, and obtains a favorable relation extraction performance.