Conversation interaction method, device and equipment and storage medium
An interactive method and sentence technology, applied in semantic analysis, natural language translation, instruments, etc., can solve the problems of lack of dialogue context logic, low accuracy of multiple rounds of dialogue, high cost of training corpus, etc., to ensure diversity and ensure diversity performance, and the effect of improving accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0062] figure 1 It is a flow chart of a dialog interaction method according to the first embodiment of the present application. This embodiment is applicable to the situation of determining response sentences in multiple rounds of dialog between man and machine, and the method can be executed by a dialog interaction device. The device is realized by means of software and / or hardware, and is preferably configured in an electronic device, such as a smart speaker. Such as figure 1 As shown, the method specifically includes the following:
[0063] S110. Determine the first semantic code of the received user information according to the sentence tree.
[0064] In the specific embodiment of the present application, the user information refers to the dialog voice input by the user to the electronic device, which may be the initial voice initiated by the user to initiate a dialog to the electronic device after the user wakes up the electronic device, or may be the user's voice durin...
no. 2 example
[0082] figure 2 It is the training flowchart of the sentence tree and the dialogue tree according to the second embodiment of the present application. On the basis of the above-mentioned first embodiment, this embodiment further explains the training methods of the sentence tree and the dialogue tree, which can be based on the logical brain Sentence node information and / or word node information in graph samples are trained. Such as figure 2 As shown, the method specifically includes the following:
[0083] S210. According to the logical brain map sample, learn to obtain the nodes in the sentence tree and the dialogue tree.
[0084] In the specific embodiment of the present application, the logical brain map refers to expressing the words and / or sentences involved in the dialogue through the hierarchical relationship of mutual affiliation and correlation nodes. Logical brain maps can be constructed for different scenarios in advance to represent the dialogue logic in diffe...
no. 3 example
[0114] Image 6 It is a flow chart of a dialogue interaction method according to the third embodiment of the present application. On the basis of the above-mentioned first embodiment, this embodiment further explains the method of determining the target response sentence, and can use the words in the sentence tree Node traversal is used to identify the semantics of user information, and the response semantics are determined through the response relationship between sentence nodes in the dialogue tree, and finally the target response sentence is determined through the extraction of word nodes under the response semantics in the sentence tree. Such as Image 6 As shown, the method specifically includes the following:
[0115] S610. According to the word information of the user information, traverse from the word node to the sentence node of the sentence tree, and determine a target word node combination constituting the user information.
[0116] In the specific embodiment of ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com