Human-computer interaction-based natural language processing method, device, apparatus and medium

A natural language processing and natural language technology, applied in the computer field, can solve the problems of poor system reusability and expansibility, and high development cost of human-computer dialogue system, and achieve the effect of improving system reusability and expansibility and reducing development cost.

Inactive Publication Date: 2018-12-28
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF4 Cites 36 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a natural language processing method, device, electronic device and medium based on human-computer...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Human-computer interaction-based natural language processing method, device, apparatus and medium
  • Human-computer interaction-based natural language processing method, device, apparatus and medium
  • Human-computer interaction-based natural language processing method, device, apparatus and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] figure 1 It is a flow chart of the human-computer interaction-based natural language processing method provided in Embodiment 1 of the present invention. This embodiment is applicable to the case of processing human-computer interaction-based natural language. language processing device, which can be implemented in the form of software and / or hardware, and can be integrated on an electronic device, which can be a robot or the like. Such as figure 1 As shown, the method specifically includes:

[0030] S110. Perform intent recognition on the target natural language text to obtain the target intent and target slot.

[0031] When the user interacts with the electronic device, the electronic device collects the user's voice, uses its own processor to convert the user's voice into natural language text and performs intent recognition, and at the same time, the electronic device can also send the collected user's voice to the back-end server , the user's intent recognitio...

Embodiment 2

[0054] figure 2 It is a flow chart of the human-computer interaction-based natural language processing method provided by Embodiment 2 of the present invention. This embodiment is further optimized on the basis of the above-mentioned embodiments. Such as figure 2 As shown, the method specifically includes:

[0055] S210. Acquire the natural language text in the human-computer interaction process in real time.

[0056] In the process of obtaining the user's natural language text in real time, the electronic device simultaneously obtains the user ID, and there is a one-to-one correspondence between the user ID and the natural language text. The user ID may be a user identification generated according to the characteristics of the user's voice, such as audio and timbre. The voice content of the user can be queried according to the user ID, and vice versa.

[0057] S220. Filter the user according to the user ID and the preset blacklist.

[0058] The developer can pre-set a ...

Embodiment 3

[0081] image 3 It is a flow chart of the human-computer interaction-based natural language processing method provided by Embodiment 3 of the present invention. This embodiment is further optimized on the basis of the above-mentioned embodiments. Such as image 3 As shown, the method specifically includes:

[0082] S310. Perform intent recognition on the target natural language text to obtain the target intent and target slot.

[0083] S320. Select a target resource set from the resource pool according to a pre-configured resource policy, where the resource policy is a pre-configured policy based on the current application scenario.

[0084] Specifically, resource policies can also exist in the form of encapsulated code programs. Developers can configure resource policies by setting resource parameters according to the current application scenario without modifying specific codes. According to the pre-configured resource policy, the target resource set can be selected direc...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a natural language processing method, a device, an apparatus and a medium based on human-computer interaction, wherein, the method comprises the following steps of: identifying the intention of the target natural language text to obtain the target intention and the target slot; matching a target resource list according to a target intent and a pre-established resource pool, wherein the resource pool includes a plurality of resources having different capabilities, and the target resource list includes at least one target resource having capabilities related to the target intent; acquiring a result set recalled from at least one target resource according to the target intent and the target slot; the target response speech corresponding to the targetnatural language text being determined from the result set. The embodiment of the invention can solve the problems of high development cost and poor system reusability and scalability of the existingman-machine conversation system, reduce the development cost of the man-machine conversation system, and improve the system reusability and scalability.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular to a natural language processing method, device, device and medium based on human-computer interaction. Background technique [0002] Human-computer interaction refers to the process of using specific natural language to interact and complete information exchange between humans and computers. With the rapid development of artificial intelligence technology, the application of human-computer interaction is becoming more and more extensive. For example, applications involving human-computer interaction in the fields of commerce, home furnishing, education, technology and services, etc., specific application products include independent intelligent interaction Electronic equipment, such as knowledge quiz electronic equipment and intelligent customer service electronic equipment, also includes intelligent interactive systems integrated on various terminal...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/30G06F17/27
CPCG06F40/30
Inventor 谢泽颖凌光纪友升陈炳金
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products