Method and apparatus for information query and storage medium
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorWanshun Chen
Life of this patent
Estimating the term…
Loading patent…
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorWanshun Chen
Estimating the term…
The present application discloses a method and an apparatus for information query, and an electronic device, which relates to a field of deep learning (DL), natural language processing (NLP) and artificial intelligence (AI) technology. The method includes: receiving a query sentence, segmenting the query sentence to obtain word segments, and obtaining a dependency relationship between two word segments and part of speech of the word segments; obtaining a coding sequence of the query sentence according to the dependency relationship and the part of speech of the word segments; matching the coding sequence with a generalized template to obtain a core corpus of the query sentence, wherein the generalized template comprises part of speech to be extracted and a dependency relationship to be extracted; and obtaining a query result corresponding to the query sentence based on the core corpus. The application no longer relies on the accumulation of massive business scenario data to enhance a generalization ability, which ensures accurate and efficient information query, and improves the efficiency and reliability of the information query process. At the same time, it may support information query in different business scenarios, with strong expansion capability and high universality.
A method for information query, comprising:
An apparatus for information query, comprising:
A non-transitory computer-readable storage medium storing computer instructions, wherein when the computer instructions are executed by a computer, the computer is caused to perform a method for information query, and the method comprises:
Dependencies are inferred from the claim text.