×

Intention acquisition method, electronic device and computer-readable storage medium

  • US 10,423,725 B2
  • Filed: 08/31/2017
  • Issued: 09/24/2019
  • Est. Priority Date: 08/04/2017
  • Status: Active Grant
First Claim
Patent Images

1. An electronic device, comprising a memory, a processor and an intention acquisition system stored on the memory and capable of running on the processor, the intention acquisition system being executed by the processor to implement the following steps of:

  • acquiring a text sentence of a present dialog of a user and segmenting the text sentence into multiple words through a preset word segmentation algorithm;

    mapping the multiple words obtained by segmentation to preset keywords according to a synonym mode and parts of speech of the words to obtain mapped words of the text sentence;

    determining an intention node most semantically approximate to the mapped words in a preset knowledge graph;

    performing semantic supplementing on the most semantically approximate intention node according to a preset supplementing manner to obtain a supplemented intention node;

    if the supplemented intention node is an egress node of an intention node layer in the knowledge graph, acquiring detailed intention information associated with the supplemented intention node in a specified range in a detailed intention layer of the knowledge graph according to intention information corresponding to the supplemented intention node, and determining an intention of the user according to the acquired detailed intention information; and

    if the supplemented intention node is not the egress node of the intention node layer, determining the intention of the user according to a preset query mode.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×