中圖分類號: TP391.1 文獻標識碼: A DOI: 10.19358/j.issn.2096-5133.2020.11.012 引用格式: 羅東霞,,卿粼波,吳曉紅. 基于Lucene的中文是非問答系統(tǒng)的設計與實現(xiàn)[J].信息技術與網(wǎng)絡安全,,2020,,39(11):74-78.
Design and implementation of Chinese yes-no question answering system based on Lucene
Luo Dongxia,Qing Linbo,,Wu Xiaohong
College of Electronic Information,,Sichuan University,Chengdu 610065,,China
Abstract: A Chinese yes-no question answering system based on Lucene around Chinese yes-no questions is designed and implemented,,and this system includes three parts:question preprocessing,index creation, and answer sorting. In the first part, introducing the syntactic component weights and named entity weights to improve the TextRank algorithm, a method for extracting the core words of the question sentence is obtained. In the second part, the document fusion is created for the multi-source data to reduce the complexity which is caused by data diversity. In the last section, the query index results are judged by the answer,,and then the answers with positive or negative meanings are output. The experimental results show that data fusion can effectively reduce the index creation time, and the accuracy rate of the improved TextRank core word extraction method is significantly higher than TextRank, which means the system has good performance.
Key words : yes-no question answering,;Lucene;TextRank,;core word extraction