摘要
Forestry work has long been weak in data integration;its initial state will inevitably affect the forestry project development and decision-quality.Knowledge Graph(KG)can provide better abilities to organize,manage,and understand forestry knowledge.Relation Extraction(RE)is a crucial task of KG construction and information retrieval.Previous researches on relation extraction have proved the performance of using the attention mechanism.However,these methods focused on the representation of the entire sentence and ignored the loss of information.The lack of analysis of words and syntactic features contributes to sentences,especially in Chinese relation extraction,resulting in poor performance.Based on the above observations,we proposed an end-to-end relation extraction method that used Bi-directional Gated Recurrent Unit(BiGRU)neural network and dual attention mechanism in forestry KG construction.The dual attention includes sentence-level and word-level,capturing relational semantic words and direction words.To enhance the performance,we used the pre-training model FastText to provide word vectors,and dynamically adjusted the word vectors according to the context.We used forestry entities and relationships to build forestry KG and used Neo4j to store forestry KG.Our method can achieve better results than previous public models in the SemEval-2010 Task 8 dataset.By training the model on forestry dataset,results showed that the accuracy and precision of FastText-BiGRU-Dual Attention exceeded 0.8,which outperformed the comparison methods,thus the experiment confirmed the validity and accuracy of our model.In the future,we plan to apply forestry KG to question and answer system and achieve a recommendations system for forestry knowledge.
基金
This work is supported by Heilongjiang Provincial Natural Science Foundation of China(Grant No.LH2019G001)
Q.Yue would like to thank the foundation for financial support.