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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 recognition ...
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...
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