Document query method and device, storage medium and electronic equipment
Embodiments of the invention provide a document query method and device, a storage medium and electronic equipment. The method comprises the steps: obtaining a target phrase input by a user; obtainingsimilar phrases of the target phrase, and determining the similar phrases and the target phrase as t...
Saved in:
Main Authors | , , , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
02.04.2021
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | Embodiments of the invention provide a document query method and device, a storage medium and electronic equipment. The method comprises the steps: obtaining a target phrase input by a user; obtainingsimilar phrases of the target phrase, and determining the similar phrases and the target phrase as to-be-queried phrases; querying keyword nodes corresponding to the to-be-queried phrases in a pre-constructed knowledge graph, and when the keyword nodes corresponding to the to-be-queried phrases are queried, obtaining document nodes having a direct connection relationship with the queried keywordnodes; and determining the document corresponding to the at least one document node as a query result. Full-text query is not needed, and the query speed is high.
本发明实施例提供了一种文档查询方法、装置、存储介质及电子设备,可以获得用户输入的目标词组;获得所述目标词组的相似词组,将所述相似词组和所述目标词组确定为待查询词组;在预先构建的知识图谱中查询与所述待查询词组对应的关键词节点,当查询到与所述待查询词组对应的关键词节点时,获得与查询到的所述关键词节点具有直接连接关系的文档节点;将获得的至少一个文件节点对应的文档确定为查询结果。本发明无需进行全文查询,查询速度较快。 |
---|---|
Bibliography: | Application Number: CN202011570077 |