Method for parsing query, electronic device and readable storage medium
AssigneeBaidu Online Network Technology (Beijing) Co., Ltd.
InventorsXiaonan HE, Qiang JU, Jian XIE
Life of this patent
Estimating the term…
Loading patent…
AssigneeBaidu Online Network Technology (Beijing) Co., Ltd.
InventorsXiaonan HE, Qiang JU, Jian XIE
Estimating the term…
A method for parsing a query, an electronic device and a readable storage medium, which relate to the field of natural language processing technologies, are disclosed. According to some embodiments, the method includes: acquiring the query input by a user; constructing a syntactic dependency tree of the query; matching the syntactic dependency tree of the query with syntactic dependency trees of preset templates, and determining a target template according to the matching result; and marking a slot operator of a slot in the query using the target template, and the marked slot operator represents a logical relationship applied to the slot in the query. With the technical solution, the logical relationship applied to the slot in the query may be acquired, and the accuracy of query parse may be improved.
A method for parsing a query, comprising:
An electronic device, comprising:
A non-transitory computer readable storage medium with computer instructions stored thereon, wherein the computer instructions are used for causing a computer to perform a method for parsing a query, which comprises:
Dependencies are inferred from the claim text.