{'fraction_non_alphanumeric': 0.014423076923076924, 'fraction_numerical': 0.0, 'mean_word_length': 5.74537037037037, '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 Relation Extraction in Equipment Maintenance Support Based on Dual Attention Mechanism

Aiming at the lack of labeled training data in the field of equipment maintenance support, a training instance set of entity relation extraction of equipment maintenance support is constructed by distant supervision method. Furthermore, aiming at the problem of noise data in the training instance set automatically constructed, an entity relation extraction model based on dual attention mechanism is proposed in this paper. The model adds character-level attention mechanism and instance-level attention mechanism after bidirectional gated recurrent unit (BI-GRU) network, which enables the model to obtain the bidirectional context semantic information of training instances through BI-GRU network, and focus on the key semantic information in each training instance through character-level attention mechanism. At the same time, the instance-level attention mechanism is introduced to calculate the correlation between the instance and the corresponding relation among multiple instances to dynamically reduce the weight of wrong label instances, so as to reduce the impact of noise data. The experiments on Chinese equipment maintenance support training instance set show that the model can effectively utilize the semantic information contained in instances, reduce the impact of the wrong label instances and improve the precision of relation extraction.