{'fraction_non_alphanumeric': 0.02277227722772277, 'fraction_numerical': 0.005940594059405941, 'mean_word_length': 5.2407407407407405, '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}}
Entity-Dependent Long-Short Time Memory Network for Semantic Relation Extraction

Semantic relatedness between context information of two different entities, which are one of the most easily accessible features, have been shown to be very useful for detecting the semantic relations held in the text segments. However, these semantic relatedness information is often ignored by some researcher in the study of the problem of relation extraction. In this work, we propose a novel neural network for semantic relation extraction called entity-dependent long short-term memory network (ED-LSTM). This network can extract the relatedness of entity with the context, and select the relevant parts of contexts to infer the semantic relation towards the entity. We do some experiments on the SemEval-2010 Task 8 dataset. Extensive experiment and the results demonstrate that the proposed methods are effective for relation extraction, which can obtain state-of-the-art F1 result just with minimal feature engineering.