Method and apparatus for analyzing intention based on artificial intelligence
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsZhen GUO, Wenquan WU, Zhanyi LIU
Life of this patent
Estimating the term…
Abstract
The present disclosure provides a method and an apparatus for analyzing an intention based on artificial intelligence. The method includes: receiving a query; acquiring a keyword of an intention of the query according to a preset strategy; acquiring a qualifier of the intention of the query according to the keyword based on a syntax tree; and determining the intention of the query according to the keyword and the qualifier.
Claims20
A method for analyzing an intention based on artificial intelligence, comprising:
- receiving a query;
- acquiring a keyword of an intention of the query according to a preset strategy;
- acquiring a qualifier of the intention of the query according to the keyword based on a syntax tree;
- and
- determining the intention of the query according to the keyword and the qualifier.
An apparatus for analyzing an intention based on artificial intelligence, comprising:
- one or more processors,
- a memory,
- one or more software modules, stored in the memory, executable by the one or more processors, and comprising:
- a receiving module, configured to receive a query;
- a first acquiring module, configured to acquire a keyword of an intention of the query according to a preset strategy;
- a second acquiring module, configured to acquire a qualifier of the intention of the query according to the keyword based on a syntax tree;
- and
- a determining module, configured to determine the intention of the query according to the keyword and the qualifier.
A non-transitory computer readable storage medium comprising instructions, wherein when the instructions are executed by a processor of a device to perform acts of:
- receiving a query;
- acquiring a keyword of an intention of the query according to a preset strategy;
- acquiring a qualifier of the intention of the query according to the keyword based on a syntax tree;
- and
- determining the intention of the query according to the keyword and the qualifier.
Dependencies are inferred from the claim text.