CN110874533A - Intention identification method based on keyword matching and response path after voice identification - Google Patents

Intention identification method based on keyword matching and response path after voice identification Download PDF

Info

Publication number
CN110874533A
CN110874533A CN201810923724.1A CN201810923724A CN110874533A CN 110874533 A CN110874533 A CN 110874533A CN 201810923724 A CN201810923724 A CN 201810923724A CN 110874533 A CN110874533 A CN 110874533A
Authority
CN
China
Prior art keywords
sub
response path
scene
intention
word segmentation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810923724.1A
Other languages
Chinese (zh)
Other versions
CN110874533B (en
Inventor
吕韶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Zhiyu Network Technology Co Ltd
Original Assignee
Hangzhou Zhiyu Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Zhiyu Network Technology Co Ltd filed Critical Hangzhou Zhiyu Network Technology Co Ltd
Priority to CN201810923724.1A priority Critical patent/CN110874533B/en
Publication of CN110874533A publication Critical patent/CN110874533A/en
Application granted granted Critical
Publication of CN110874533B publication Critical patent/CN110874533B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses an intention identification method based on keyword matching and response path after voice identification, which uses keyword matching to promote the progress of a conversation, forms a client response path through sub-scenes of question and answer of clients in multiple rounds of conversations, and comprehensively evaluates the intention of the clients after the conversation is finished according to the intention value of each round of answer of the clients. The method of the invention realizes more accurate identification of the client intention, reduces the labor cost and the time cost of service promotion, has simple and convenient realization method and flexible means, and obviously improves the conversation quality and the evaluation capability.

Description

Intention identification method based on keyword matching and response path after voice identification
Technical Field
The invention relates to the field of computer artificial intelligent natural language processing, in particular to an intention identification method based on keyword matching and response path after voice identification.
Background
In the field of human-computer interaction, the recognition of intent for each sentence of a user has been regarded as an important consideration, while the recognition of the final intent of the user has not received much attention.
The existing methods are too complex, the accuracy and the rationality are not guaranteed too much, the pertinence to the fields and the industries is too strong, but various industries and fields are endless at present, the trend of continuous growth is presented under the drive of the rapid development of computers, the demand of intention identification is also increasing, and a method which is strong in generalization and integrates the rationality, the accuracy and the simplicity into a whole is urgently needed to be found.
Disclosure of Invention
The invention aims to provide an intention identification method based on keyword matching and a response path after voice identification aiming at the defects of the prior art. The purpose of the invention is realized by the following technical scheme:
an intention recognition method based on keyword matching and a response path after voice recognition is characterized by comprising the following steps of:
s1: segmenting the Chinese text information after the voice recognition through a Chinese word segmentation algorithm or a Chinese word segmentation tool to obtain a plurality of words;
s2: searching keywords related to the words obtained in the S1 in a database corresponding to the application scene of the voice, wherein the database comprises a plurality of sub scenes, each sub scene comprises a plurality of keywords and a plurality of responses corresponding to the sub scenes, each sub scene is provided with a preset score, matching the words obtained in the S1 with the keywords in the sub scenes, and when the matching of the words obtained in the S1 and at least one of all the keywords in the sub scenes is successful, entering S3, otherwise entering unidentified processing;
s3: randomly recording the name of a sub-scene corresponding to a successfully matched keyword and the preset score Di of the sub-scene, and randomly switching to a certain response corresponding to the sub-scene;
s4: repeating S1 to S3 until the conversation is ended, traversing the recorded response path, and calculating the total intention value D of the user according to the following formula: and D is equal to Σ Di, the response path is recorded, and the total intention value D of the user and the corresponding response path are used as the intention identification result of the user together.
Further, the Chinese word segmentation algorithm is preferably a word segmentation algorithm based on character string matching.
Furthermore, the Chinese word segmentation tool is an NLPIR Chinese word segmentation system.
Further, in S4, after traversing the recorded response path, if the ith sub-scene appears N times in the response path, where N is greater than or equal to 2, when the intention value D of the user is calculated, the score of the sub-scene is k times of the original score, and k is greater than 1.
The invention has the beneficial effects that: the method simplifies the intention identification of the customers, screens out various types of customers, provides the required customer intention values for the users and enterprises, and adapts the customer labels set by the users or the enterprises according to the intention values so as to be convenient for subsequent decision making. The method has high generalization, can be suitable for various industries, does not have too high technical barrier, has strong applicability and can be used quickly.
Drawings
FIG. 1 is a flow chart of an intent recognition method based on keyword matching and response paths after speech recognition.
Detailed Description
The present invention will be described in detail below with reference to the accompanying drawings and preferred embodiments, and the objects and effects of the present invention will become more apparent, and the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, an intention recognition method based on keyword matching and a response path after speech recognition is characterized by comprising the following steps:
s1: segmenting the Chinese text information after the voice recognition through a Chinese word segmentation algorithm or a Chinese word segmentation tool to obtain a plurality of words;
s2: searching keywords related to the words obtained in the S1 in a database corresponding to the application scene of the voice, wherein the database comprises a plurality of sub scenes, each sub scene comprises a plurality of keywords and a plurality of responses corresponding to the sub scenes, each sub scene is provided with a preset score, matching the words obtained in the S1 with the keywords in the sub scenes, and when the matching of the words obtained in the S1 and at least one of all the keywords in the sub scenes is successful, entering S3, otherwise entering unidentified processing;
s3: randomly recording the name of a sub-scene corresponding to a successfully matched keyword and the preset score Di of the sub-scene, and randomly switching to a certain response corresponding to the sub-scene;
s4: repeating S1 to S3 until the conversation is ended, traversing the recorded response path, and calculating the total intention value D of the user according to the following formula: and D is equal to Σ Di, the response path is recorded, and the total intention value D of the user and the corresponding response path are used as the intention identification result of the user together.
Preferably, the chinese word segmentation algorithm is a word segmentation algorithm based on character string matching.
Preferably, the Chinese word segmentation tool is an NLPIR Chinese word segmentation system.
Preferably, in S4, after traversing the recorded response path, if the ith sub-scene appears N times in the response path, where N is greater than or equal to 2, when the intention value D of the user is calculated, the score of the sub-scene is k times of the original score, and k is greater than 1.
The present invention will be described in detail below with reference to a representative embodiment selected in the context of real estate marketing, where the database includes several sub-scenarios "initial scenario", "price", "location", "rejection", where,
the 'price' sub-scene corresponds to keywords of 'average price', 'price' and 'price', and a preset scene score d is 20;
the sub-scene of the position corresponds to the keywords of the position, the position and the section, and the preset score d of the scene is 20;
the 'refusal' sub-scene corresponds to keywords of 'don't use 'and' don't use', and the preset score d of the scene is-100;
for simplifying the description, the scenes are all set to be matched successfully as long as one keyword can be matched successfully.
Example (b):
the robot comprises: "hello, your home in Shanghai's essence, will be interested in knowing about? "
The user: "is the location? "
The robot comprises: "in the west subway entrance, locate at XX way and XX way intersection of XX district, only the distance of about 500 meters from Wanda square, just in the north of XX overhead, the position is very good. "
The user: "how much is the price? "
The robot comprises: "Thanks, our house is one side with one price, all around thirty thousand, with elaborate decorations. The parking space is about one in twenty thousand. "
The user: "too expensive, not! "
The session is ended.
S1: segmenting the Chinese text information after the voice recognition through a Chinese word segmentation algorithm or a Chinese word segmentation tool to obtain the segmentation of the position, the position and the where;
s2: searching keywords related to the words obtained in the S1 in a database corresponding to the application scene of the voice, wherein the database comprises a plurality of sub scenes, each sub scene comprises a plurality of keywords and a plurality of responses corresponding to the sub scenes, each sub scene is provided with a preset score, matching the words obtained in the S1 with the keywords in the sub scenes, and when the matching of the words obtained in the S1 and at least one of all the keywords in the sub scenes is successful, entering S3, otherwise entering unidentified processing; here the keyword "location" is successfully matched;
s3: randomly recording the name of a sub-scene corresponding to a successfully matched keyword and the preset score Di of the sub-scene, and randomly switching to a certain response corresponding to the sub-scene; here, "location" and the round of scene scores D1 are recorded as 20;
s4: repeating S1 to S3 until the conversation is ended, traversing the recorded response path, and calculating the total intention value D of the user according to the following formula: and D is equal to Σ Di, the response path is recorded, and the total intention value D of the user and the corresponding response path are used as the intention identification result of the user together. The dialog of this embodiment forms a response path consisting of sub-scenarios "location", "price", "reject". Traversing the recorded response path, and calculating the total intention value D of the user, wherein the calculation formula is as follows: d ═ Di ═ D1+ D2+ D3 ═ 20+20+ (-100) — -60, and the intention value and the response path are used as the intention recognition result of the user.
It will be understood by those skilled in the art that the foregoing is only a preferred embodiment of the present invention, and is not intended to limit the invention, and although the invention has been described in detail with reference to the foregoing examples, it will be apparent to those skilled in the art that various changes in the form and details of the embodiments may be made and equivalents may be substituted for elements thereof. All modifications, equivalents and the like which come within the spirit and principle of the invention are intended to be included within the scope of the invention.

Claims (4)

1. An intention recognition method based on keyword matching and a response path after voice recognition is characterized by comprising the following steps of:
s1: and segmenting the Chinese text information after the voice recognition through a Chinese word segmentation algorithm or a Chinese word segmentation tool to obtain a plurality of words.
S2: searching keywords related to the words obtained in the S1 in a database corresponding to the application scene of the voice, wherein the database comprises a plurality of sub scenes, each sub scene comprises a plurality of keywords and a plurality of responses corresponding to the sub scenes, each sub scene is provided with a preset score, matching the words obtained in the S1 with the keywords in the sub scenes, and when the matching of the words obtained in the S1 and at least one of all the keywords in the sub scenes is successful, entering S3, otherwise entering unidentified processing.
S3: randomly recording the name of a sub-scene corresponding to a successfully matched keyword and the preset score Di of the sub-scene, and randomly switching to a certain response corresponding to the sub-scene;
s4: repeating S1 to S3 until the conversation is ended, traversing the recorded response path, and calculating the total intention value D of the user according to the following formula: and D is equal to Σ Di, the response path is recorded, and the total intention value D of the user and the corresponding response path are used as the intention identification result of the user together.
2. The method for identifying an intention based on keyword matching and response path according to claim 1, wherein the Chinese word segmentation algorithm is preferably a word segmentation algorithm based on character string matching.
3. The intent recognition method based on keyword matching and response path according to claim 1, wherein the chinese word segmentation tool is NLPIR chinese word segmentation system.
4. The method for identifying an intention based on keyword matching and a response path according to claim 1, wherein in S4, after traversing the recorded response path, if the ith sub-scene appears N times in the response path, where N is greater than or equal to 2, then when calculating the intention value D of the user, the score of the sub-scene becomes k times of the original, where k is greater than 1.
CN201810923724.1A 2018-08-14 2018-08-14 Intention identification method based on keyword matching and response path after voice identification Active CN110874533B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810923724.1A CN110874533B (en) 2018-08-14 2018-08-14 Intention identification method based on keyword matching and response path after voice identification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810923724.1A CN110874533B (en) 2018-08-14 2018-08-14 Intention identification method based on keyword matching and response path after voice identification

Publications (2)

Publication Number Publication Date
CN110874533A true CN110874533A (en) 2020-03-10
CN110874533B CN110874533B (en) 2020-06-30

Family

ID=69714250

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810923724.1A Active CN110874533B (en) 2018-08-14 2018-08-14 Intention identification method based on keyword matching and response path after voice identification

Country Status (1)

Country Link
CN (1) CN110874533B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116303978A (en) * 2023-05-17 2023-06-23 福建博士通信息股份有限公司 Potential user mining method based on voice analysis

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004145541A (en) * 2002-10-23 2004-05-20 Inosu:Kk Chat system
CN105760362A (en) * 2016-02-04 2016-07-13 北京光年无限科技有限公司 Question and answer evaluating method and device for intelligent robot
CN106599196A (en) * 2016-12-14 2017-04-26 竹间智能科技(上海)有限公司 Artificial intelligence conversation method and system
CN106997342A (en) * 2017-03-27 2017-08-01 上海奔影网络科技有限公司 Intension recognizing method and device based on many wheel interactions
CN107885726A (en) * 2017-11-06 2018-04-06 广州杰赛科技股份有限公司 Customer service quality evaluating method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004145541A (en) * 2002-10-23 2004-05-20 Inosu:Kk Chat system
CN105760362A (en) * 2016-02-04 2016-07-13 北京光年无限科技有限公司 Question and answer evaluating method and device for intelligent robot
CN106599196A (en) * 2016-12-14 2017-04-26 竹间智能科技(上海)有限公司 Artificial intelligence conversation method and system
CN106997342A (en) * 2017-03-27 2017-08-01 上海奔影网络科技有限公司 Intension recognizing method and device based on many wheel interactions
CN107885726A (en) * 2017-11-06 2018-04-06 广州杰赛科技股份有限公司 Customer service quality evaluating method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116303978A (en) * 2023-05-17 2023-06-23 福建博士通信息股份有限公司 Potential user mining method based on voice analysis
CN116303978B (en) * 2023-05-17 2023-08-15 福建博士通信息股份有限公司 Potential user mining method based on voice analysis

Also Published As

Publication number Publication date
CN110874533B (en) 2020-06-30

Similar Documents

Publication Publication Date Title
Grauman et al. Ego4d: Around the world in 3,000 hours of egocentric video
CN104598445B (en) Automatically request-answering system and method
US10657985B2 (en) Systems and methods for manipulating electronic content based on speech recognition
WO2018006727A1 (en) Method and apparatus for transferring from robot customer service to human customer service
CN110266899B (en) Client intention identification method and customer service system
CN107870896B (en) Conversation analysis method and device
CN111400607B (en) Search content output method and device, computer equipment and readable storage medium
CN112365894B (en) AI-based composite voice interaction method and device and computer equipment
CN109065052B (en) Voice robot
CN109543020B (en) Query processing method and system
Eyben et al. Affect recognition in real-life acoustic conditions-a new perspective on feature selection
CN107633380A (en) The task measures and procedures for the examination and approval and system of a kind of anti-data-leakage system
CN110825860B (en) Knowledge base question and answer extraction method and system, mobile terminal and storage medium
CN106649410B (en) Method and device for obtaining chat reply content
CN110121033A (en) Video categorization and device
CN111597821B (en) Method and device for determining response probability
CN109684444A (en) A kind of intelligent customer service method and system
CN113505606B (en) Training information acquisition method and device, electronic equipment and storage medium
CN110874533B (en) Intention identification method based on keyword matching and response path after voice identification
KR102196167B1 (en) Method for evaluating social intelligence and apparatus using the same
CN113936236A (en) Video entity relationship and interaction identification method based on multi-modal characteristics
JP5258056B2 (en) Question sentence candidate presentation device
WO2020199590A1 (en) Mood detection analysis method and related device
Inaba et al. Collection and analysis of travel agency task dialogues with age-diverse speakers
CN116303951A (en) Dialogue processing method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Intention recognition method based on keyword matching and response path after speech recognition

Effective date of registration: 20210416

Granted publication date: 20200630

Pledgee: Hangzhou High-tech Financing Guarantee Co.,Ltd.

Pledgor: HANGZHOU ZHIYU NETWORK TECHNOLOGY Co.,Ltd.

Registration number: Y2021330000305

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20220510

Granted publication date: 20200630

Pledgee: Hangzhou High-tech Financing Guarantee Co.,Ltd.

Pledgor: HANGZHOU ZHIYU NETWORK TECHNOLOGY Co.,Ltd.

Registration number: Y2021330000305

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Intention recognition method based on keyword matching and response path after speech recognition

Effective date of registration: 20220511

Granted publication date: 20200630

Pledgee: Hangzhou High-tech Financing Guarantee Co.,Ltd.

Pledgor: HANGZHOU ZHIYU NETWORK TECHNOLOGY Co.,Ltd.

Registration number: Y2022330000683