TW201935370A - System and method for evaluating customer service quality from text content - Google Patents

System and method for evaluating customer service quality from text content Download PDF

Info

Publication number
TW201935370A
TW201935370A TW107104993A TW107104993A TW201935370A TW 201935370 A TW201935370 A TW 201935370A TW 107104993 A TW107104993 A TW 107104993A TW 107104993 A TW107104993 A TW 107104993A TW 201935370 A TW201935370 A TW 201935370A
Authority
TW
Taiwan
Prior art keywords
customer
analysis
customer service
vocabulary
word vector
Prior art date
Application number
TW107104993A
Other languages
Chinese (zh)
Other versions
TWI650719B (en
Inventor
陳奕丞
陳俊勳
李天序
Original Assignee
中華電信股份有限公司
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 中華電信股份有限公司 filed Critical 中華電信股份有限公司
Priority to TW107104993A priority Critical patent/TWI650719B/en
Application granted granted Critical
Publication of TWI650719B publication Critical patent/TWI650719B/en
Publication of TW201935370A publication Critical patent/TW201935370A/en

Links

Landscapes

  • Machine Translation (AREA)

Abstract

A system and method for evaluating customer service quality from text content are disclosed. The method comprises: performing speech segmentation, speech-to-text and text parsing for dialogue voice records between a customer and a customer service staff to obtain a dialogue vocabulary therebetween; performing word vector conversion for the dialog vocabulary to obtain the word vector, and getting a customer emotion analysis value from the word vector to obtain a result of customer satisfaction; performing intent and keyword analysis for the dialog vocabulary to obtain the intent and the keyword of the dialog vocabulary, finding out a model answer of a customer question from a task list and a knowledge database according to the intent and the keyword, and comparing similarity between answer content of the customer service staff and the model answer of the knowledge database to obtain professional degree of the customer service staff; and optimizing service content evaluation according to the result of the customer satisfaction or the professional degree of the customer service staff.

Description

從文字內容評核客戶服務品質之系統及方法 System and method for evaluating customer service quality from text content

本發明係關於一種評核客戶服務品質之技術,特別是指一種從文字內容評核客戶服務品質之系統及方法。 The present invention relates to a technology for evaluating customer service quality, and particularly to a system and method for evaluating customer service quality from text content.

現有的客服品質檢測大多是透過人工抽聽的方式來完成,再加上評分員有限的緣故,每位客服人員每月僅會被抽出少量(如個位數通)的電話進行評分。 Most of the existing customer service quality testing is done by manual listening. In addition, due to the limited raters, each customer service staff will only be drawn out a small number of calls (such as single-digit communication) each month to score.

再者,由評分員進行評比會有標準不一的現象,因評分員會依照自己的主觀意識來做評分而產生不穩定或不可控制的因素,故需再定期為所有的評分員進行評分校準作業。 In addition, there will be different standards in the evaluation performed by the raters. Because the raters will make scores in accordance with their own subjective consciousness, there will be unstable or uncontrollable factors. Therefore, it is necessary to calibrate the scores for all the raters on a regular basis. operation.

另外,某些習知技術用客戶與公司的數據化歷史資料進行分析,藉此評比客服的能力,但容易因當下客戶不同的狀況而造成該次的評比失真。 In addition, some conventional technologies use the historical data of customers and companies for analysis to evaluate the ability of customer service, but it is easy to cause the distortion of the evaluation due to the current situation of customers.

因此,如何解決上述習知技術之缺點,實已成為本領域技術人員之一大課題。 Therefore, how to solve the shortcomings of the conventional techniques has become a major issue for those skilled in the art.

本發明提供一種從文字內容評核客戶服務品質之系統及方法,其可取代評分員以自動評核客戶服務品質,以提供較為精準且快速的評核技術。 The present invention provides a system and method for evaluating customer service quality from text content, which can replace a rater to automatically evaluate customer service quality, so as to provide a more accurate and rapid evaluation technology.

本發明中從文字內容評核客戶服務品質之系統包括:一語音轉語意模組,其將客戶與客服之對話語音資料依序進行語音斷句、語音轉文字及文字剖析,以得到客戶與客服之對話詞彙;一客戶滿意度分析模組,其將語音轉語意模組之對話詞彙進行詞向量轉換以得到詞向量,進而從詞向量中求得對話詞彙之段落之語意向量,再將語意向量輸入至情緒分析模型以得到客戶情緒分析值,俾依據客戶情緒分析值預測客戶滿意度分析結果;一專業程度分析模組,其將語音轉語意模組之對話詞彙進行意圖及關鍵詞分析,以取得對話詞彙之意圖及關鍵詞,進而依據意圖及關鍵詞從任務表及知識庫中查詢出客戶之問題之標準答案,以比對客服之答覆內容與知識庫之標準答案兩者之相似度而得到客服專業程度;以及一優化服務內容評核模組,其從客戶滿意度分析結果或客服專業程度中挑選出與人工評分的分數差異超過門檻值者,以據之優化該任務表、該知識庫、詞向量模型與情緒分析模型其中至少一者。 The system for assessing customer service quality from text content in the present invention includes: a voice-to-speech module that sequentially analyzes the voice data of the dialogue between the customer and the customer service, and performs speech segmentation, speech-to-text, and text analysis in order to obtain the customer and customer service Dialogue vocabulary; a customer satisfaction analysis module that converts the dialogue vocabulary of the speech-to-speech module into word vectors to obtain the word vector, and then obtains the semantic vector of the paragraph of the dialogue vocabulary from the word vector, and then converts the semantic meaning Input the sentiment analysis model to obtain the sentiment analysis value of the customer, and predict the customer satisfaction analysis result based on the sentiment analysis value of the customer; a professional degree analysis module, which analyzes the vocabulary of the speech-to-semantic module for intent and keyword analysis, In order to obtain the intention and keywords of the dialogue vocabulary, and then query the standard answers of the customer's questions from the task list and the knowledge base according to the intents and keywords, to compare the similarity between the response content of the customer service and the standard answers of the knowledge base To obtain customer service professionalism; and an optimized service content evaluation module, which is based on the results of customer satisfaction analysis or Degree in professional clothes and pick out the differences in scores artificial score exceeds the threshold value were to optimize the task, according to the table, the knowledge base, the word vector model and sentiment analysis model in which at least one.

本發明中從文字內容評核客戶服務品質之方法包括:將客戶與客服之對話語音資料依序進行語音斷句、語音轉文字及文字剖析以得到客戶與客服之對話詞彙;將對話詞彙進行詞向量轉換以得到詞向量,進而從詞向量中求得對話詞彙之段落之語意向量,再將語意向量輸入至情緒分 析模型以得到客戶情緒分析值,俾依據客戶情緒分析值預測客戶滿意度分析結果;將對話詞彙進行意圖及關鍵詞分析,以取得對話詞彙之意圖及關鍵詞,進而依據意圖及關鍵詞從任務表及知識庫中查詢出客戶之問題之標準答案,以比對客服之答覆內容與知識庫之標準答案兩者之相似度而得到客服專業程度;以及從客戶滿意度分析結果或客服專業程度中挑選出與人工評分的分數差異超過門檻值者,以據之優化任務表、知識庫、詞向量模型與情緒分析模型其中至少一者。 The method for assessing the quality of customer service from text content in the present invention includes: sequentially performing speech segmentation, speech-to-text, and text analysis on the speech data of the dialogue between the customer and the customer service to obtain the dialogue vocabulary between the customer and the customer service; and performing the conversation vector on the word vector Convert to get the word vector, and then get the semantic vector of the paragraph of the dialogue vocabulary from the word vector, and then input the semantic vector to the emotional score Analyze the model to obtain the customer sentiment analysis value, and predict the customer satisfaction analysis result based on the customer sentiment analysis value; analyze the dialogue vocabulary for intent and keywords to obtain the dialogue vocabulary intention and keywords, and then use the intent and keywords to get the task The standard answers to customer questions are queried in tables and knowledge bases, and the professional level of customer service is obtained by comparing the similarity between the response content of customer service and the standard answers in the knowledge base; and from the analysis results of customer satisfaction or professional level of customer service Pick out those who differ from the artificial scores by more than a threshold, and use them to optimize at least one of the task list, knowledge base, word vector model, and sentiment analysis model.

為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明。在以下描述內容中將部分闡述本發明之額外特徵及優點,且此等特徵及優點將部分自所述描述內容顯而易見,或可藉由對本發明之實踐習得。本發明之特徵及優點借助於在申請專利範圍中特別指出的元件及組合來認識到並達到。應理解,前文一般描述與以下詳細描述兩者均僅為例示性及解釋性的,且不欲約束本發明所主張之範圍。 In order to make the above features and advantages of the present invention more comprehensible, embodiments are described below in detail with reference to the accompanying drawings. Additional features and advantages of the present invention will be partially explained in the following description, and these features and advantages will be partially obvious from the description, or may be learned through practice of the present invention. The features and advantages of the invention are realized and achieved by means of elements and combinations specifically pointed out in the scope of the patent application. It should be understood that both the foregoing general description and the following detailed description are merely exemplary and explanatory and are not intended to limit the scope of the invention as claimed.

1‧‧‧從文字內容評核客戶服務品質之系統 1‧‧‧ System for evaluating customer service quality from text content

10‧‧‧語音轉語意模組 10‧‧‧Voice-to-speech module

11‧‧‧語音斷句單元 11‧‧‧ Phonetic Sentence Unit

12‧‧‧語音轉文字單元 12‧‧‧ Speech-to-text unit

13‧‧‧文字剖析單元 13‧‧‧Text Analysis Unit

2‧‧‧語意分析模組 2‧‧‧ Semantic Analysis Module

20‧‧‧客戶滿意度分析模組 20‧‧‧Customer Satisfaction Analysis Module

21‧‧‧詞向量轉換單元 21‧‧‧Word Vector Conversion Unit

22‧‧‧滿意度軌跡變化預測單元 22‧‧‧Satisfaction trajectory change prediction unit

30‧‧‧專業程度分析模組 30‧‧‧Professional Level Analysis Module

31‧‧‧意圖及關鍵詞分析單元 31‧‧‧ Intent and Keyword Analysis Unit

32‧‧‧查詢回覆任務單元 32‧‧‧ Inquiry for reply task unit

33‧‧‧任務表 33‧‧‧Task List

34‧‧‧查詢制式標準答案單元 34‧‧‧Query Standard Answer Unit

35‧‧‧知識庫 35‧‧‧ Knowledge Base

36‧‧‧內容相似度比對單元 36‧‧‧Content Similarity Comparison Unit

40‧‧‧優化服務內容評核模組 40‧‧‧Optimized service content evaluation module

41‧‧‧調整專業度分析模型 41‧‧‧Adjust professional analysis model

42‧‧‧調整客戶滿意度分析模型 42‧‧‧Adjust customer satisfaction analysis model

43‧‧‧詞向量模型 43‧‧‧Word Vector Model

44‧‧‧情緒分析模型 44‧‧‧ sentiment analysis model

A‧‧‧客戶客服語音輸入 A‧‧‧Customer service voice input

B‧‧‧客戶服務品質評分 B‧‧‧ Customer Service Quality Score

C‧‧‧客服人工評分結果輸入 C‧‧‧ Customer service manual scoring result input

D‧‧‧客戶客服文字語意紀錄 D‧‧‧ Customer Service Text Semantic Record

E‧‧‧客戶端對話紀錄 E‧‧‧Client conversation record

F‧‧‧客服端對話紀錄 F‧‧‧Conversation record of client

G‧‧‧相似度 G‧‧‧similarity

H‧‧‧自動分析結果與人工評分結果 H‧‧‧Automatic analysis results and manual scoring results

S1至S4‧‧‧步驟 Steps S1 to S4‧‧‧‧

第1圖繪示本發明中從文字內容評核客戶服務品質之系統之示意方塊圖;第2A圖至第2D圖分別繪示本發明第1圖中語音轉語意模組、客戶滿意度分析模組、專業程度分析模組與優化服務內容評核模組之示意方塊圖;第3圖繪示本發明中客服端與客戶端語音輸入之示意 圖;第4A圖與第4B圖繪示本發明中詞向量轉換單元之語意向量轉換之示意圖;第5A圖繪示本發明中情緒分析模型之訓練與情緒分析模型之應用之示意圖;第5B圖繪示本發明中由客戶情緒分析值與客戶詢問語句所構成之滿意度軌跡變化線之示意圖;第6圖繪示本發明第2C圖中專業程度分析模組之實施例示意圖;以及第7圖繪示本發明中從文字內容評核客戶服務品質之方法之示意流程圖。 Figure 1 shows a schematic block diagram of the system for evaluating customer service quality from text content in the present invention; Figures 2A to 2D show the speech-to-speech module and customer satisfaction analysis module in Figure 1 of the present invention, respectively. Schematic block diagram of group, professional level analysis module and optimization service content evaluation module; Figure 3 shows the schematic diagram of the voice input of the client and the client in the present invention 4A and 4B are schematic diagrams of semantic vector conversion of a word vector conversion unit in the present invention; FIG. 5A is a schematic diagram of training and application of an emotional analysis model in the present invention; FIG. 5B FIG. 6 is a schematic diagram of a change line of a satisfaction trajectory composed of a customer sentiment analysis value and a customer inquiry sentence in the present invention; FIG. 6 is a schematic diagram of an embodiment of the professional degree analysis module in FIG. 2C of the present invention; The figure shows a schematic flowchart of a method for evaluating customer service quality from text content in the present invention.

以下藉由特定的具體實施形態說明本發明之實施方式,熟悉此技術之人士可由本說明書所揭示之內容輕易地了解本發明之其他優點與功效,亦可藉由其他不同的具體實施形態加以施行或應用。 The following describes the embodiments of the present invention with specific specific implementation forms. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this description, and can also be implemented by other different specific implementation forms. Or apply.

第1圖係繪示本發明中從文字內容評核客戶服務品質之系統1之示意方塊圖,第2A圖至第2D圖分別繪示本發明第1圖中語音轉語意模組10、客戶滿意度分析模組20、專業程度分析模組30與優化服務內容評核模組40之示意方塊圖。 FIG. 1 is a schematic block diagram showing the system 1 for evaluating customer service quality from text content in the present invention. FIGS. 2A to 2D show the speech-to-speech module 10 in the first aspect of the present invention and customer satisfaction. Schematic block diagrams of degree analysis module 20, professional degree analysis module 30, and optimized service content evaluation module 40.

如第1圖所示,從文字內容評核客戶服務品質之系統1包括一語音轉語意模組10、一具有客戶滿意度分析模組20與專業程度分析模組30之語意分析模組2、以及一優化 服務內容評核模組40。 As shown in Figure 1, the system 1 for evaluating customer service quality from text content includes a voice-to-speech module 10, a semantic analysis module 2 with a customer satisfaction analysis module 20 and a professional level analysis module 30. And an optimization Service content evaluation module 40.

如第2A圖所示,第1圖之語音轉語意模組10由語音斷句單元11、語音轉文字單元12與文字剖析單元13所組成。如第2B圖所示,第1圖之客戶滿意度分析模組20由詞向量轉換單元21與滿意度軌跡變化預測單元22所組成。如第2C圖所示,第1圖之專業程度分析模組30由意圖及關鍵詞分析單元31、查詢回覆任務單元32、任務表33、查詢制式標準答案單元34、知識庫35與內容相似度比對單元36所組成。如第2D圖所示,第1圖之優化服務內容評核模組40由調整專業度分析模型41、調整客戶滿意度分析模型42、詞向量模型43與情緒分析模型44所組成,亦可加入或連接第2C圖之任務表33與知識庫35。 As shown in FIG. 2A, the speech-to-speech module 10 in FIG. 1 is composed of a speech segmentation unit 11, a speech-to-text unit 12, and a text analysis unit 13. As shown in FIG. 2B, the customer satisfaction analysis module 20 in FIG. 1 is composed of a word vector conversion unit 21 and a satisfaction trajectory change prediction unit 22. As shown in FIG. 2C, the professional degree analysis module 30 in FIG. 1 includes an intention and keyword analysis unit 31, a query response task unit 32, a task table 33, a query standard answer unit 34, a knowledge base 35, and content similarity. The comparison unit 36 is composed. As shown in FIG. 2D, the optimization service content evaluation module 40 in FIG. 1 is composed of an adjustment professional analysis model 41, an adjustment customer satisfaction analysis model 42, a word vector model 43 and an emotion analysis model 44. Or connect task table 33 and knowledge base 35 in FIG. 2C.

如第1圖與第2A圖所示,語音轉語意模組10可將客戶與客服之對話語音資料(如客戶客服語音輸入A),依序由語音斷句單元11、語音轉文字單元12、文字剖析單元13分別進行語音斷句、語音轉文字及文字剖析,以得到客戶與客服之對話詞彙(如客戶客服文字語意紀錄D)。 As shown in Fig. 1 and Fig. 2A, the voice-to-speech module 10 can convert the voice data of the conversation between the customer and the customer service (such as customer service voice input A), in order from the speech segmentation unit 11, speech to text unit 12, The analysis unit 13 performs speech segmentation, speech-to-text, and text analysis, respectively, to obtain the dialogue vocabulary of the customer and the customer service (such as the customer service customer text semantic record D).

具體而言,在第1圖與第2A圖之語音轉語意模組10中,可先輸入客服端和客戶端的連續語音訊號(如客戶客服語音輸入A)至語音轉語意模組10,以由語音斷句單元11擷取客戶與客服之間的整段錄音對話內容的語音訊號,再依據語音訊號之能量大小當作判斷條件,將語音訊號切割成以一段對話(可能為一或多句組成)為單位的訊號。接著,將已經切割成以段落為單位的語音訊號送入語音轉文字單 元12(如語音轉文字解碼器)以取得候選詞詞圖,再從候選詞詞圖中挑選出一筆分數最佳的路徑作為辨識結果,此辨識結果即為代表語意內容的文字資料。然後,將文字資料透過斷詞、實體辨識取得以詞為單位之文字內容及代表特定實體之關鍵詞彙的詞彙組合。 Specifically, in the voice-to-speech module 10 in FIG. 1 and FIG. 2A, the continuous voice signals of the customer service and the client (such as customer service voice input A) can be input to the voice-to-speech module 10 so that The voice segmentation unit 11 captures the voice signal of the entire recorded conversation between the customer and the customer service, and then uses the energy of the voice signal as a judgment condition to cut the voice signal into a conversation (may consist of one or more sentences) The signal for the unit. Then, send the voice signal that has been cut into paragraphs into a voice-to-text list Element 12 (such as a speech-to-text decoder) obtains a candidate word map, and then selects a path with the best score from the candidate word map as the recognition result. This recognition result is the text data representing the semantic content. Then, the word data is used to obtain the word content in terms of words and the vocabulary of key words representing a specific entity through word segmentation and entity recognition.

在第1圖與第2B圖之客戶滿意度分析模組20中,其可將語音轉語意模組10之對話詞彙進行詞向量轉換以得到詞向量,進而從詞向量中求得對話詞彙之段落之語意向量,再將語意向量輸入至情緒分析模型44以得到客戶情緒分析值,俾依據該客戶情緒分析值預測客戶滿意度分析結果。 In the customer satisfaction analysis module 20 shown in FIG. 1 and FIG. 2B, the conversation vocabulary of the speech-to-speech module 10 can be converted into a word vector to obtain a word vector, and the paragraph of the conversation vocabulary can be obtained from the word vector. The semantic vector is then input to the sentiment analysis model 44 to obtain a customer sentiment analysis value, and a customer satisfaction analysis result is predicted based on the customer sentiment analysis value.

申言之,客戶滿意度分析模組20之詞向量轉換單元21可將語音轉語意模組10之對話詞彙(如客戶端對話紀錄E)進行詞向量轉換以得到詞向量,再從詞向量中求得該對話詞彙之段落之語意向量。而客戶滿意度分析模組20之滿意度軌跡變化預測單元22可將該對話詞彙之段落之語意向量輸入情緒分析模型得到客戶情緒分析值,從數筆客戶情緒分析值求得滿意度變化趨勢線,呈現客戶滿意度分析結果,其滿意度變化趨勢線可採用公式Y=βX+ε計算之(見第5B圖)。 In summary, the word vector conversion unit 21 of the customer satisfaction analysis module 20 can convert the word vocabulary of the speech to semantic module 10 (such as the client conversation record E) to obtain a word vector, and then extract the word vector from the word vector. Find the semantic vector of the paragraph of the dialogue vocabulary. The satisfaction trajectory change prediction unit 22 of the customer satisfaction analysis module 20 can input the semantic vector of the paragraph of the dialogue vocabulary into the sentiment analysis model to obtain the sentiment analysis value of the customer, and obtain the change trend of the satisfaction from several sentiment analysis values of the customer. Line, showing the analysis results of customer satisfaction, and the trend line of satisfaction change can be calculated by the formula Y = βX + ε (see Figure 5B).

具體而言,在第2B圖中,從足以表示代表客戶與客服互動資訊之客戶客服文字語意紀錄D中,取出以一段對話為單位之所有客戶端對話紀錄E予詞向量轉換單元21,先逐段進行過濾處理與情緒無關的詞彙,再進行詞向量的 轉換,詞向量轉換單元21可搭配詞向量模型43,以將文字(如語彙組合)轉換為詞向量(如數值)。接著,每一個詞彙可以得到一固定長度的多維度詞向量,透過將此段話中的數個多維度詞向量進行算術平均得到該段落之語意向量(如第4B圖輸出結果),再輸入事先訓練好的情緒分析模型44可計算出以段落為單位的情緒分析值,統計完成所有對話段落中客戶的情緒值後,再透過線性回歸找出整通電話中客戶滿意度變化的趨勢線,此趨勢線即為客戶滿意度分析結果。 Specifically, in FIG. 2B, from the customer service text semantic record D, which is sufficient to represent the interaction information between the customer and the customer service, all client conversation records E in a conversation unit E to the word vector conversion unit 21 are taken out, Segments to filter vocabulary that has nothing to do with emotion, and then perform word vector For conversion, the word vector conversion unit 21 can be combined with the word vector model 43 to convert words (such as vocabulary combinations) into word vectors (such as numerical values). Next, each word can get a fixed-length multi-dimensional word vector. By arithmetically averaging several multi-dimensional word vectors in this paragraph, the semantic vector of the paragraph (such as the output result in Figure 4B) is input, and then input The sentiment analysis model 44 trained in advance can calculate the sentiment analysis value in units of paragraphs, and after statistically completing the sentiment values of customers in all the dialogue paragraphs, then use linear regression to find out the trend line of customer satisfaction changes in the phone call. This trend line is the result of customer satisfaction analysis.

在第1圖與第2C圖之專業程度分析模組30中,意圖及關鍵詞分析單元31可將語音轉語意模組10之對話詞彙(如客戶端對話紀錄E)進行意圖及關鍵詞分析,以取得對話詞彙中每一段落之意圖及關鍵詞。申言之,意圖及關鍵詞分析單元31可搭配機器學習演算法取得對話詞彙(如客戶端對話紀錄E)中每一段落之意圖及關鍵詞。 In the professional degree analysis module 30 in FIG. 1 and FIG. 2C, the intent and keyword analysis unit 31 may perform intent and keyword analysis on the conversation vocabulary (such as the client conversation record E) of the speech to semantic module 10, To get the intent and keywords of each paragraph in the conversation vocabulary. In summary, the intent and keyword analysis unit 31 can obtain the intent and keywords of each paragraph in the dialogue vocabulary (such as the client dialogue record E) with a machine learning algorithm.

同時,查詢回覆任務單元32可查詢任務表33以取得客服需從事相關問題之任務,再由一查詢制式標準答案單元34依據意圖及關鍵詞從知識庫35中查詢出客戶之問題之標準答案,以由內容相似度比對單元36比對客服之答覆內容(客服端對話紀錄F)與知識庫35取得之標準答案兩者之相似度G,進而依據相似度G結果作為客服專業程度。 At the same time, the query response task unit 32 can query the task table 33 to obtain the tasks that the customer service needs to engage in, and then a query system standard answer unit 34 queries the standard answer of the customer's question from the knowledge base 35 based on the intent and keywords. The similarity G between the response content of the customer service (the customer service conversation record F) and the standard answer obtained by the knowledge base 35 is compared by the content similarity comparison unit 36, and the result of the similarity G is used as the professional level of customer service.

在第1圖與第2D圖之優化服務內容評核模組40中,可從自動分析結果與人工評分結果H挑出分數差異較大(如超過第一門檻值)的案例,以據之調整任務表33及知識 庫35,再透過調整客戶滿意度分析模型42來調整詞向量模型43及情緒分析模型44,然後將任務表33、知識庫35、詞向量模型43及情緒分析模型44更新至第2B圖和第2C圖對應模型即達成優化服務內容評核之效果。 In the optimized service content evaluation module 40 in Fig. 1 and Fig. 2D, cases with large score differences (such as exceeding the first threshold) can be selected from the automatic analysis result and the manual scoring result H, and adjusted accordingly. Task list 33 and knowledge Library 35, and then adjust the word vector model 43 and sentiment analysis model 44 by adjusting the customer satisfaction analysis model 42, and then update the task list 33, knowledge base 35, word vector model 43, and sentiment analysis model 44 to Figure 2B and The corresponding model of the 2C chart achieves the effect of optimizing the evaluation of service content.

例如,優化服務內容評核模組40可將客服專業程度與評分員之評分結果(人工評分的分數)進行比對,以找出分數差異較大(如超過第一門檻值)之案例進行分析,再透過一調整專業度分析模型41更新任務表33或知識庫35來調整兩者分數差異。或者,優化服務內容評核模組40可將客戶滿意度分析結果與評分員之評分結果(人工評分的分數)進行比對,以找出分數差異較大(如超過第一門檻值)之案例進行分析,再更新詞向量模型43及情緒分析模型44來調整兩者分數差異。 For example, the optimized service content assessment module 40 can compare the professionalism of customer service with the scorer's score results (scores of manual scores) to find cases with large score differences (such as exceeding the first threshold) for analysis. Then, the adjustment of the score difference between the two by updating the task table 33 or the knowledge base 35 through an adjustment professional analysis model 41. Alternatively, the optimized service content evaluation module 40 may compare the customer satisfaction analysis result with the scorer's score result (a score manually scored) to find cases with large score differences (such as exceeding the first threshold). Perform analysis, and then update the word vector model 43 and the sentiment analysis model 44 to adjust the score difference between the two.

具體而言,在第2D圖中,優化服務內容評核模組40可以取得系統自動分析之客戶滿意度變化趨勢線(來自客戶滿意度分析結果)、客服問題回覆相似度分數(來自客服專業程度的評比結果),並搭配事先以人工填寫之評分員的評分結果,藉以優化客戶滿意度分析模組20與專業程度分析模組30。由於已經取得自動評分與人工評分兩者的結果,透過分數差距比對找出兩者差距較大的案例進行更新。如果是客戶滿意度變化趨勢線之斜率差距較大的段落,可透過重新訓練詞向量及機器學習的分類方法,重新訓練該段落之詞向量模型43及情緒分析模型44,讓情緒分析結果趨近於人工標註的結果。如果是客服專業程度的評比結果 差異較大,可能是任務表33或知識庫35的內容因政策或時間等因素必須做出對應的調整(如新增或刪除任務表、因應新的促銷方案更新知識庫)。 Specifically, in FIG. 2D, the optimized service content evaluation module 40 can obtain the customer satisfaction change trend line (from the result of customer satisfaction analysis) and the similarity score (from the professionalism of customer service) (Compared with the results of the evaluation), and combined with the results of the scorers who manually filled out in advance to optimize the customer satisfaction analysis module 20 and professional level analysis module 30. Since the results of both automatic scoring and manual scoring have been obtained, the cases with large gaps between the two are updated through the score gap comparison. If it is a paragraph with a large slope gap in the trend line of customer satisfaction, you can retrain the word vector model 43 and sentiment analysis model 44 by retraining the word vector and the classification method of machine learning to bring the sentiment analysis results closer. Results for manual annotation. If it is the result of the professional evaluation of customer service The difference is large, and it may be that the content of the task list 33 or the knowledge base 35 must be adjusted accordingly due to factors such as policies or time (such as adding or deleting task lists, and updating the knowledge base in accordance with the new promotion plan).

第3圖係繪示本發明中客服端與客戶端語音輸入之示意圖。如第3圖所示,第2A圖之語音轉語意模組10從客服專線之錄音設備中分別取出一通客戶及客服兩端之音檔,兩端之音檔是指分開且不互相混和或干擾的語音訊號,透過音檔之左聲道與右聲道區別出客戶端與客服端之語音訊號(如客戶客服語音輸入A)。 FIG. 3 is a schematic diagram showing voice input of a client and a client in the present invention. As shown in FIG. 3, the voice-to-speech module 10 in FIG. 2A takes out the audio files on both sides of the customer and customer service from the recording equipment of the customer service line. The audio files on both ends are separated and do not mix or interfere with each other. The voice signals of the client and the client are distinguished by the left and right channels of the audio file (such as the voice input A of the customer service).

同時,由第2A圖之語音斷句單元11擷取客戶與客服完整對話內容之語音訊號,再依據語音訊號之能量大小為判斷條件,將語音訊號切割成以段落為單位,並將每一段落之語音訊號依時間先後順序進行排序。 At the same time, the voice segmentation unit 11 in Figure 2A captures the voice signal of the complete conversation between the customer and the customer service, and then cuts the voice signal into paragraphs based on the energy level of the voice signal as a judgment condition, and the voice of each paragraph The signals are sorted in chronological order.

接著,由第2A圖之語音轉文字單元12將已經切割成以段落為單位的語音訊號送入語音轉文字解碼器而取得候選詞詞圖,再從候選詞詞圖中挑選出一筆分數最佳的路徑作為辨識結果,此辨識結果即為代表語音內容的文字資料。如第3圖所示,段落一為客服說:「中華電信午安您好敝姓鍾很榮幸為您服務您好」,段落二為:「小姐我要投訴NCC你們這種爛服務」,段落三:「真的不好意思請問我們有什麼能幫上忙」。 Next, the speech-to-text unit 12 in FIG. 2A sends the speech signal that has been cut into paragraphs to the speech-to-text decoder to obtain a candidate word map, and then selects a best score from the candidate word map. The path is used as the recognition result, and this recognition result is the text data representing the speech content. As shown in Figure 3, paragraph one for the customer service said: "China Telecom Good Afternoon, and the surname Zhong is honored to serve you." Section two is: "Miss, I want to complain to you NCC for this bad service." Three: "I'm really sorry, what can we do for you?"

然後,由第2A圖之文字剖析單元13將獲得的文字資料透過斷詞、實體辨識取得以詞為單位的文字內容及代表特定實體的關鍵詞彙,即如第3圖之語意剖析結果的「NCC」 與「爛服務」等詞彙後,方附帶實體辨識產生的「公司行號」標籤與「抱怨語」標籤。 Then, the text analysis unit 13 in FIG. 2A obtains the text data obtained by word segmentation and entity recognition through the word segmentation unit 13 and the keyword collection representing the specific entity, that is, the “NCC” of the semantic analysis result in FIG. 3 " And "Bad Services" and other terms, only with the "company line number" label and "complaint" label generated by the entity identification.

在進行第2B圖之客戶滿意度分析模組20前,必須事先訓練好過程中會使用到的情緒分析模型44,訓練情緒分析模型44之目的為得到客戶情緒分析值,而情緒分析模型之訓練之輸入部分則為該段落之語意向量,輸出部分為人工標註之情緒分析值,故須將整段文字資料轉換成該段落之語意向量。 Before performing the customer satisfaction analysis module 20 in FIG. 2B, the sentiment analysis model 44 used in the process must be trained in advance. The purpose of training the sentiment analysis model 44 is to obtain the sentiment analysis value of the customer, and the sentiment analysis model is trained. The input part is the semantic vector of the paragraph, and the output part is the manually analyzed sentiment analysis value. Therefore, the entire text data must be converted into the semantic vector of the paragraph.

第4A圖與第4B圖係繪示本發明中詞向量轉換單元之語意向量轉換之示意圖。如第4A圖所示,先收集來自客服專線錄音且經過斷詞處理之文字訓練資料,並以段落為單位。如第4A圖之客戶說:「小姐 我 要 投訴 NCC 你們 這種 爛服務」,設定一個大小可存放5個詞彙的文字框,文字框將會由左往右的從句首移動到句尾,且設定正中間(由左邊數來第3個詞彙)之詞為輸入詞,其他文字框內之詞為相鄰詞。 4A and 4B are schematic diagrams illustrating semantic vector conversion of a word vector conversion unit in the present invention. As shown in Figure 4A, first collect the text training data recorded by the customer service line and processed by word segmentation, and use paragraphs as the unit. For example, the client in Figure 4A said, "Miss, I want to complain to you NCC for your bad service." Set a text box with a size of 5 words. The text box will move from the left to the right of the sentence to the end of the sentence. And set the word in the middle (the third word from the left) as the input word, and the words in other text boxes as adjacent words.

文字訓練資料中每一個詞都會在辭典中對應一個編號,而文字訓練資料中總共的詞彙數會等同於第4A圖之輸入詞向量及相鄰詞向量的維度長度(N),因此假設辭典中有1000筆詞彙,而「你們」這個詞的編號是2號,故這筆維度長度為1000的輸入詞向量I1XN,1xN向量只有第二個維度是1,其他維度皆為0。同理,相鄰詞向量O1xN由「投訴」、「NCC」、「這種」、「爛服務」這4個詞彙(因為文字框長度只有5個詞彙)組成,故此向量只有第1、第3、第4 及第5個維度是1,其他維度皆為0。在此,本發明採用之方法為中文詞向量轉換(Word2vec),在已知輸入之詞向量及相鄰之詞向量的情況下,透過中文詞向量轉換(Word2vec)方式讓代表語意資訊之詞向量維度能從高維度縮小成低維度。 Each word in the text training data will correspond to a number in the dictionary, and the total number of words in the text training data will be equal to the dimensional length (N) of the input word vector and the adjacent word vector in Figure 4A. Therefore, it is assumed in the dictionary There are 1000 vocabularies, and the number of the word "you" is 2. Therefore, the input word vector I 1XN with a dimension length of 1000 is only 1 in the second dimension and 0 in the other dimensions. Similarly, the adjacent word vector O 1xN is composed of 4 words (complaint), NCC, this kind, and bad service (because the text box length is only 5 words), so this vector has only the first and the first words. 3. The 4th and 5th dimensions are 1 and the other dimensions are 0. Here, the method adopted by the present invention is Chinese word vector conversion (Word2vec). When the input word vector and the adjacent word vector are known, the word vector representing semantic information is obtained through the Chinese word vector conversion (Word2vec). Dimensions can be reduced from high to low.

如第4B圖所示,第2B圖之詞向量轉換單元21可將每一個詞彙經過詞向量轉換得到一個相對應的詞向量(維度數為M),並將所有的詞向量每一個維度做算術平均以得到該段落之語意向量(維度數為M)。 As shown in FIG. 4B, the word vector conversion unit 21 in FIG. 2B can convert each word through the word vector to obtain a corresponding word vector (the number of dimensions is M), and perform arithmetic on each dimension of all the word vectors. Average to get the semantic vector of this paragraph (the number of dimensions is M).

第5A圖係繪示本發明中情緒分析模型之訓練與情緒分析模型之應用之示意圖,第5B圖係繪示本發明中由客戶情緒分析值與客戶詢問語句所構成之滿意度軌跡變化線之示意圖。 FIG. 5A is a schematic diagram showing the training of the emotion analysis model and the application of the emotion analysis model in the present invention, and FIG. 5B is a diagram showing the change line of the satisfaction trajectory formed by the customer's emotion analysis value and the customer's query in the present invention. schematic diagram.

在第5A圖中,第2B圖之滿意度軌跡變化預測單元22透過情緒分析模型44可將該段落的語意向量輸入以求得客戶情緒分析值,情緒分析模型44之訓練如第5A圖之左半部分所示。在已知輸入層輸入整段詞向量及輸出層填入客戶情緒分析值的條件下(在此實施例中,此部分是透過人工標註的方式,先對訓練資料中每一段落的語意進行客戶情緒分析值之人工評分),透過深度學習演算法訓練出代表情緒分析模型44的深度類神經網路模型。 In FIG. 5A, the satisfaction trajectory change prediction unit 22 in FIG. 2B can input the semantic vector of the paragraph through the sentiment analysis model 44 to obtain the customer sentiment analysis value. The training of the sentiment analysis model 44 is as shown in FIG. 5A. Shown in the left half. Under the condition that the input layer of the entire word vector is input and the output layer is filled with the customer sentiment analysis value (in this embodiment, this part is manually labeled, and the customer sentiment of each paragraph in the training data is first analyzed. Artificial scoring of analysis values), a deep neural network model representing the sentiment analysis model 44 is trained through a deep learning algorithm.

情緒分析模型44之應用如第5A圖之右半部分所示,輸入整段平均情緒詞向量,即可以計算出一客戶情緒分析值,客戶情緒分析值之數值範圍為0~1之間,越接近0表 示客戶處在負面情緒下,越接近1表示客戶處在正面情緒下。 The application of sentiment analysis model 44 is shown in the right half of Figure 5A. Enter the entire average sentiment word vector to calculate a customer sentiment analysis value. The value range of customer sentiment analysis value is between 0 and 1. Close to 0 table Indicates that the customer is in a negative mood, and closer to 1 indicates that the customer is in a positive mood.

如第5B圖所示,可將對話中每一段話的客戶情緒分析值組合成Y,再將每一段話依時序組合成X,以線性回歸方式帶入公式Y=βX+ε中,據此計算出滿意度軌跡變化線(如斜線)之斜率β,其中ε表示客戶情緒的初始值。透過斜率β即代表客戶滿意度隨著時序的變化,且客戶滿意度可分成一或多個級距以供判斷客服是否妥善安撫客戶之情緒。如果滿意度軌跡變化線之斜率β向上代表客戶因為客服適當的說明而滿意度提升,斜率向下表示客服並無妥善安撫客戶之情緒,此滿意度趨勢線即為客戶滿意度分析之輸出結果。 As shown in Figure 5B, the customer sentiment analysis value of each passage in the conversation can be combined into Y, and each passage can be combined into X in accordance with the time sequence, which is brought into the formula Y = βX + ε by linear regression, and accordingly Calculate the slope β of the satisfaction trajectory change line (such as a diagonal line), where ε represents the initial value of the customer's emotions. The slope β represents the change of customer satisfaction with time series, and customer satisfaction can be divided into one or more levels for judging whether the customer service properly appeases the customer's mood. If the slope β of the change line of the satisfaction trajectory indicates that the customer's satisfaction has increased due to the appropriate explanation of the customer service, the downward slope indicates that the customer service has not properly comforted the customer's emotions. This satisfaction trend line is the output of the customer satisfaction analysis.

第6圖係繪示本發明第2C圖中專業程度分析模組30之實施例示意圖。 FIG. 6 is a schematic diagram illustrating an embodiment of the professional degree analysis module 30 in FIG. 2C of the present invention.

第6圖與第2C圖之專業程度分析模組30是輸入客戶端對話紀錄E(文字形式),透過意圖及關鍵詞分析單元31以段落為單位偵測出客戶每一次提問的意圖及關鍵詞,客戶意圖的類別可從客服專線常提到的問題中經由人工定義完成,這些客戶意圖的類別除與業務相關的意圖類別外,亦包含一些問候寒暄語及確認個人資料的確認語,區分每一段落之客戶問句的意圖才能事先過濾與客服專業度無關的問題。 The professional degree analysis module 30 in FIG. 6 and FIG. 2C is to input the client conversation record E (text form), and the intention and keyword analysis unit 31 is used to detect the customer's intention and keywords for each question in paragraphs. The categories of customer intents can be manually defined from the questions often mentioned in customer service lines. In addition to the categories of intents related to business, these customer intent categories also contain greeting greetings and confirmations to confirm personal information. The intention of a paragraph of customer questions is to filter in advance questions that are not related to customer service professionalism.

關鍵詞分析為找出搭配意圖的其他必要資訊,如果意圖類別是查帳單資訊,必須搭配的關鍵詞是設備號碼或是 帳單月份,如此才能進行後續的查詢。意圖及關鍵詞分析單元31可採用關鍵詞比對(pattern matching)的方法來預測意圖及關鍵詞。 Keyword analysis In order to find other necessary information for matching intents, if the intent category is billing information, the keywords that must be matched are device numbers or Billing month so that subsequent inquiries can be made. The intent and keyword analysis unit 31 can predict the intent and keywords using a pattern matching method.

如第6圖所示,客戶說:「我的手機號碼0912345678需要SIM卡解鎖」,經過意圖及關鍵詞分析單元31進行分析後找出意圖為「解鎖」,關鍵詞為「設備號碼(0912345678)」。 As shown in Figure 6, the customer said: "My mobile phone number 0912345678 requires a SIM card to unlock." After analysis by the intent and keyword analysis unit 31, the intent is "unlocked" and the keyword is "device number (0912345678)" ".

在得知意圖及關鍵詞兩項資訊後,可由查詢回覆任務單元32查詢任務表33以取得客服應該做什麼樣對應的任務回應,決定該段落的意圖類別是否需要做專業度分析可由任務表33定義之。例如:寒暄語就不需進行後續專業度分析,查詢完任務表33可得到客服的任務內容為「核證」。 After knowing the information of the intent and keywords, the query response task unit 32 can query the task table 33 to obtain what kind of corresponding task response the customer service should do. To determine whether the intent category of this paragraph needs professional analysis, the task table 33 can be used. Define it. For example, greetings do not require follow-up professional analysis. After querying the task list 33, the customer service task content is "certified".

接著,由第6圖之查詢制式標準答案單元34查詢事先建立完成的知識庫35以取得標準答案,取得的標準答案為「請問是否是本人?請問設備持有人姓名?」。然後,由內容相似度比對單元36將客服端對話紀錄F與知識庫35之標準答案兩者進行內容相似度比對,相似度比對之方式可將客服端對話紀錄F與知識庫35之標準答案每個段落的詞彙轉換成該段落的語意向量,亦即將該段落之詞彙去掉個資的內容後,將詞彙轉換成詞向量,再將不同詞彙的相同維度加總及平均,以得到兩個代表該段落的語意向量V(客服回覆)及語意向量V(標準答案),再將語意向量V(客服回覆)及語意向量V(標準答案)代入下方公式一中以計算出餘弦相似度(cosine similarity),相似度較高表示客服專業程 度高,而相似度低表示客服無法精確掌握客戶問題。 Next, the standard answer unit 34 of the query system in FIG. 6 queries the knowledge base 35 that has been established in advance to obtain the standard answer. The standard answer obtained is "Is this the person? The name of the device holder?" Then, the content similarity comparison unit 36 compares the content of the customer service conversation record F with the standard answer of the knowledge base 35. The similarity comparison method can compare the customer service conversation record F with the knowledge base 35. The vocabulary of each paragraph of the standard answer is converted into the semantic vector of the paragraph. That is, after removing the content of the vocabulary of the paragraph, the vocabulary is converted into a word vector, and the same dimensions of different words are added up and averaged to obtain Two semantic vectors V (customer service response) and semantic vector V (standard answer) representing the paragraph, and then substitute the semantic vector V (customer service response) and the semantic vector V (standard answer) into formula 1 below to calculate Cosine similarity, a higher similarity indicates a professional customer service process High degree and low similarity means customer service cannot accurately grasp customer issues.

又,如第2D圖所示,為了拉近自動分析結果與人工評分結果H之間的差異,可透過優化服務內容評核模組40達成,將相似度分數(客服專業程度的評比結果)、客戶滿意度變化趨勢線(客戶滿意度分析結果)、及人工填寫之評分員的評分結果(包含客戶滿意度分析與客服專業程度)進行自動化差異比對,藉此比對結果找出差異較大的案例進行更新。 In addition, as shown in FIG. 2D, in order to narrow the difference between the automatic analysis result and the manual scoring result H, it can be achieved through the optimized service content evaluation module 40, and the similarity score (the evaluation result of the professionalism of the customer service), Customer satisfaction change trend line (customer satisfaction analysis result), and manual fill-in of the scorer's evaluation results (including customer satisfaction analysis and customer service professionalism) are automatically compared with each other to find the difference. Update.

再者,進行第2D圖之調整專業度分析模型41,倘若判斷專業程度的評比結果的差異超過第二門檻值(因採用餘弦相似度距離,故第二門檻值預設為0.5)表示是專業程度的評比結果差異大的案例,可能是任務表或知識庫的內容因政策或時間因素必須做出對應的任務表33及知識庫35的調整。例如,重新檢討是否要新增或修改任務表33之內容,如刪除任務表33其中一項意圖類別對應的任務來通知知識庫35該段話不需要進行專業度分析。或是,調整知識庫35的知識,如修改標準答案的內容,讓相似度結果更接近。 Furthermore, the professional degree analysis model 41 of the 2D graph is adjusted. If the difference in the judgment result of professional degree exceeds the second threshold value (because the cosine similarity distance is used, the second threshold value is preset to 0.5) to indicate that it is professional. In cases where the results of the evaluation differ greatly, the content of the task list or the knowledge base must be adjusted due to policy or time factors. For example, re-examine whether to add or modify the content of the task table 33, such as deleting one of the tasks corresponding to one of the intent categories in the task table 33 to notify the knowledge base 35 that the professional analysis is not required in this paragraph. Or, adjust the knowledge of the knowledge base 35, such as modifying the content of the standard answer, to make the similarity result closer.

接著,進行第2D圖之調整客戶滿意度分析模型42,找出客戶滿意度分析的評比結果差異較大者,如果滿意度變化趨勢線的斜率值的差異超過第三門檻值(預設值為5),將測試資料中分數差異大於第三門檻值的案例重新訓練詞 向量,如因為出現新詞彙無法進行詞向量轉換因而導致分數差異大於第三門檻值時,將整段話加入訓練資料集再重新訓練詞向量模型43。接著調整情緒分析模型44,情緒分析模型44之訓練方式如上述第5A圖之詳細說明,在輸入層資料不變的情況下,只調整輸出層之情緒程度,重新訓練得到優化後之情緒分析模型44),上述步驟可讓該段之情緒分析趨近於人工標註的結果。上述第一門檻值、第二門檻值與第三門檻值可為相同或相異之門檻值。 Next, carry out the adjustment of the customer satisfaction analysis model 42 in the 2D diagram to find out those who have greater differences in the evaluation results of the customer satisfaction analysis. If the difference in the slope value of the satisfaction change trend line exceeds the third threshold value (the default value is 5) Retrain the words in cases where the score difference in the test data is greater than the third threshold For vectors, if a new vocabulary cannot be used for word vector conversion and the score difference is greater than the third threshold, add the entire paragraph to the training data set and retrain the word vector model 43. Then adjust the sentiment analysis model 44. The training method of the sentiment analysis model 44 is as described in detail in Figure 5A above. When the input layer data is unchanged, only the sentiment level of the output layer is adjusted, and the optimized sentiment analysis model is retrained. 44), the above steps can bring the sentiment analysis of this paragraph closer to the result of manual annotation. The first threshold value, the second threshold value, and the third threshold value may be the same or different threshold values.

第7圖係繪示本發明中從文字內容評核客戶服務品質之方法之示意流程圖,且第7圖之主要技術內容如下,其餘技術內容如同上述第1圖至第6圖所載,於此不再重覆敘述。 FIG. 7 is a schematic flowchart showing a method for evaluating customer service quality from text content in the present invention. The main technical content of FIG. 7 is as follows, and the remaining technical content is as described in FIGS. 1 to 6 above. This is no longer repeated.

在第7圖之步驟S1中,將客戶與客服之對話語音資料依序進行語音斷句、語音轉文字及文字剖析,以得到客戶與客服之對話詞彙。 In step S1 in FIG. 7, the speech data of the dialogue between the customer and the customer service is sequentially analyzed by voice segmentation, speech-to-text, and text analysis to obtain the dialogue vocabulary of the customer and the customer service.

在上述步驟S1中,亦可先行擷取客戶與客服之對話語音資料或錄音對話內容之語音訊號,以依據語音訊號之語音能量大小作為判斷條件,將語音訊號切割成以段落為單位。同時,可將已切割成以段落為單位之語音訊號送入一語音轉文字解碼器以取得語音訊號之候選詞詞圖,再從候選詞詞圖中挑選出一筆分數最佳之路徑作為辨識結果以代表語音訊號之語音內容之文字資料。 In the above step S1, the voice data of the conversation between the customer and the customer service or the voice signal of the recorded conversation content can also be retrieved first, and the voice signal is cut into units of paragraphs based on the magnitude of the voice energy of the voice signal. At the same time, the speech signal that has been cut into paragraphs can be sent to a speech-to-text decoder to obtain a candidate word map of the speech signal, and then a path with the best score can be selected from the candidate word map as the recognition result. Text data representing the voice content of the voice signal.

在第7圖之步驟S2中,將對話詞彙進行詞向量轉換以得到詞向量,進而從詞向量中求得對話詞彙之段 落之語意向量,再將語意向量輸入至情緒分析模型以得到客戶情緒分析值,俾依據客戶情緒分析值預測客戶滿意度分析結果。 In step S2 of FIG. 7, the dialogue vocabulary is converted into a word vector to obtain a word vector, and then a segment of the dialogue vocabulary is obtained from the word vector. Fall in the semantic vector, and then input the semantic vector into the sentiment analysis model to get the customer sentiment analysis value, and then predict the customer satisfaction analysis result based on the sentiment analysis value.

在上述步驟S2中,亦更可從客戶與客服之對話詞彙中過濾無關詞,再將已過濾無關詞之對話詞彙進行詞向量轉換以得到對話詞彙中相應段落之詞向量,進而從該詞向量中求得該對話詞彙之段落之語意向量。或者,依據分類演算法將詞向量進行數學運算以得到客戶情緒分析值,再統計對話詞彙中所有的客戶情緒分析值以計算出作為客戶滿意度分析結果之滿意度變化趨勢線。 In the above step S2, it is also possible to filter irrelevant words from the conversation vocabulary of the customer and customer service, and then perform word vector conversion on the conversation vocabulary of the filtered irrelevant words to obtain the word vector of the corresponding paragraph in the conversation vocabulary, and then from the word vector Find the semantic vector of the paragraph of the dialogue vocabulary in. Alternatively, the word vector is mathematically calculated according to the classification algorithm to obtain the customer sentiment analysis value, and then all the customer sentiment analysis values in the conversation vocabulary are counted to calculate the satisfaction change trend line as the result of the customer satisfaction analysis.

在第7圖之步驟S3中,將對話詞彙進行意圖及關鍵詞分析,以取得對話詞彙之意圖及關鍵詞,進而依據意圖及關鍵詞從知識庫中查詢出客戶之問題之標準答案,以比對客服之答覆內容與知識庫之標準答案兩者之相似度而得到客服專業程度。 In step S3 of FIG. 7, the dialogue vocabulary is analyzed for intent and keywords to obtain the intention and keywords of the dialogue vocabulary, and then the standard answer of the customer's question is queried from the knowledge base based on the intent and keywords. The similarity between the response content of the customer service and the standard answer of the knowledge base gives the professional level of customer service.

在上述步驟S3中,亦可透過意圖及關鍵詞分析模型搭配機器學習演算法取得該對話詞彙中每一段落之意圖及關鍵詞。 In the above step S3, the intent and keywords of each paragraph in the dialogue vocabulary can also be obtained through an intent and keyword analysis model and a machine learning algorithm.

在第7圖之步驟S4中,從客戶滿意度分析結果或客服專業程度中挑選出與人工評分的分數差異較大(如超過第一門檻值)的案例,以據之優化任務表、知識庫、詞向量模型與情緒分析模型其中至少一者。例如,將客服專業程度與評分員之評分結果(人工評分的分數)進行比對,以找出分數差異較大(如超過第一門檻值)之案例進行分析,再 透過一調整專業度分析模型更新任務表或知識庫來調整分數差異。或者,將客戶滿意度分析結果與評分員之評分結果(人工評分的分數)進行比對,以找出分數差異較大(如超過第一門檻值)之案例進行分析,再透過更新詞向量模型及情緒分析模型來調整分數差異。 In step S4 of FIG. 7, from the customer satisfaction analysis result or the professionalism of customer service, select a case that is significantly different from the manual score (such as exceeding the first threshold) to optimize the task list and knowledge base. At least one of a word vector model and a sentiment analysis model. For example, compare the professionalism of customer service with the scorer ’s score (the score of manual scores) to find out cases where the scores are significantly different (such as exceeding the first threshold) for analysis, and then The score difference is adjusted by updating the task list or knowledge base through an adjustment specialty analysis model. Or, compare the customer satisfaction analysis result with the scorer's score result (the score manually scored) to find out the cases with large score differences (such as exceeding the first threshold) for analysis, and then update the word vector model And sentiment analysis models to adjust score differences.

由上可知,本發明從文字內容評核客戶服務品質之系統及方法中,可自動評核客戶服務品質以取代評分員。而且,採用語音轉語意技術讓客服品質檢測不再受限於僅能抽樣完成,可以逐通進行評分,對於評比的方式也更為公平客觀。同時,使用客戶的滿意度變化來判斷服務品質,以依據客服之回覆內容與知識庫之標準答案來判斷客服專業程度,解決以往由評分員評比會有標準不一的現象。 As can be seen from the above, in the system and method for evaluating customer service quality from text content, the present invention can automatically evaluate customer service quality to replace the rater. In addition, the use of speech-to-speech technology makes customer service quality detection no longer limited to only sampling and can be scored one by one, and the evaluation method is more fair and objective. At the same time, the change in customer satisfaction is used to determine the service quality, and the professional level of customer service is determined based on the response content of the customer service and the standard answers in the knowledge base to resolve the phenomenon that the standardizers have different standards in the past.

再者,自動評分完全依照客戶反饋的意見(客戶滿意度分析)及預設好的客服服務規範(知識庫)做一致性評比,故自動評分方式更為可信,也不必再定期為所有評分員進行評分校準作業。另外,倘若自動評比與評分員評比之結果差距太大時,可透過優化客戶滿意度分析模型與增加知識庫之內容,以降低自動評分與人工評分的差距。 Furthermore, the automatic scoring is based on customer feedback (customer satisfaction analysis) and preset customer service specifications (knowledge base) for consistency evaluation, so the automatic scoring method is more credible, and it is no longer necessary to periodically score all Perform calibration work. In addition, if the difference between the results of the automatic evaluation and the rater's evaluation is too large, the gap between the automatic evaluation and the manual evaluation can be reduced by optimizing the customer satisfaction analysis model and increasing the content of the knowledge base.

此外,本發明從該次服務的對話內容著手,搭配偵測客戶反映與客服專業度,以即時發生的情況來評斷客服臨場處置是否恰當作為評分標準,藉此克服習知技術用客戶與公司的數據化歷史資料進行分析,以此評斷客服能力,但因當下客戶不同的狀況而造成該次評比之失真。 In addition, the present invention starts with the content of the service conversation, and detects the customer's feedback and professionalism of the customer service by using the real-time situation to judge whether the customer service is properly handled as a scoring standard, thereby overcoming the conventional technology using the customer and the company. The historical data was analyzed to evaluate the customer service ability, but the evaluation was distorted due to the current situation of customers.

上述實施形態僅例示性說明本發明之原理、特點及其 功效,並非用以限制本發明之可實施範疇,任何熟習此項技藝之人士均可在不違背本發明之精神及範疇下,對上述實施形態進行修飾與改變。任何運用本發明所揭示內容而完成之等效改變及修飾,均仍應為申請專利範圍所涵蓋。因此,本發明之權利保護範圍應如申請專利範圍所列。 The above-mentioned embodiment merely exemplarily illustrates the principle, characteristics and The effect is not intended to limit the implementable scope of the present invention, and anyone skilled in the art can modify and change the above implementation form without departing from the spirit and scope of the present invention. Any equivalent changes and modifications made by using the disclosure of the present invention should still be covered by the scope of patent application. Therefore, the scope of protection of the rights of the present invention should be as listed in the scope of patent application.

Claims (10)

一種從文字內容評核客戶服務品質之系統,包括:一語音轉語意模組,其將客戶與客服之對話語音資料進行語音斷句、語音轉文字及文字剖析,以得到該客戶與該客服之對話詞彙;一客戶滿意度分析模組,其將該語音轉語意模組之該對話詞彙進行詞向量轉換以得到詞向量,進而從該詞向量中求得該對話詞彙之段落之語意向量,再將該語意向量輸入至情緒分析模型以得到客戶情緒分析值,俾依據該客戶情緒分析值預測客戶滿意度分析結果;一專業程度分析模組,其將該語音轉語意模組之該對話詞彙進行意圖及關鍵詞分析,以取得該對話詞彙之意圖及關鍵詞,進而依據該意圖及關鍵詞從任務表及知識庫中查詢出該客戶之問題之標準答案,以比對該客服之答覆內容與該知識庫之標準答案兩者之相似度而得到客服專業程度;以及一優化服務內容評核模組,其從該客戶滿意度分析結果或該客服專業程度中挑選出與人工評分的分數差異超過門檻值者,以據之優化該任務表、該知識庫、詞向量模型與該情緒分析模型其中至少一者。 A system for evaluating customer service quality from text content, including: a voice-to-speech module, which performs voice segmentation, voice-to-text, and text analysis of the voice data of the dialogue between the customer and the customer service to obtain the customer's dialogue with the customer service Vocabulary; a customer satisfaction analysis module that performs word vector conversion of the dialogue vocabulary of the voice-to-speech module to obtain the word vector, and then obtains the semantic vector of the paragraph of the dialogue vocabulary from the word vector, and The semantic vector is input to a sentiment analysis model to obtain a customer sentiment analysis value, and a customer satisfaction analysis result is predicted based on the customer sentiment analysis value; a professional level analysis module that converts the speech to the semantic word of the conversation module Perform intent and keyword analysis to obtain the intent and keywords of the dialogue vocabulary, and then query the standard answer to the customer ’s question from the task list and knowledge base based on the intent and keywords to compare the content of the response to the customer service The degree of similarity with the standard answer of the knowledge base to obtain the professional level of customer service; and an evaluation module for optimizing service content, Select from the customer satisfaction analysis result or the customer service professional level the difference between the scores from the manual score and the threshold to optimize at least one of the task list, the knowledge base, the word vector model, and the sentiment analysis model . 如申請專利範圍第1項所述之系統,其中,該客戶滿意度分析模組更透過深度學習演算法訓練出代表該情緒分析模型的深度類神經網路模型。 The system described in item 1 of the scope of patent application, wherein the customer satisfaction analysis module further trains a deep neural network model representing the sentiment analysis model through a deep learning algorithm. 如申請專利範圍第1項所述之系統,其中,該客戶滿意度分析結果以滿意度變化趨勢線呈現之。 The system described in item 1 of the scope of patent application, wherein the result of the customer satisfaction analysis is presented as a trend line of the satisfaction change. 如申請專利範圍第1項所述之系統,其中,該專業程度分析模組更透過意圖及關鍵詞分析模型搭配機器學習演算法取得該對話詞彙中每一段落之意圖及關鍵詞,再透過該意圖及關鍵詞取得該知識庫之標準答案,然後比對該客服之回覆內容與該知識庫之標準答案兩者之相似度,以得到該客服專業程度之結果。 The system described in item 1 of the scope of patent application, wherein the professional degree analysis module obtains the intent and keywords of each paragraph in the dialogue vocabulary through intent and keyword analysis models combined with machine learning algorithms, and then through the intent And keywords to obtain the standard answer of the knowledge base, and then compare the similarity between the response content of the customer service and the standard answer of the knowledge base to obtain the result of the professionalism of the customer service. 如申請專利範圍第1項所述之系統,其中,該優化服務內容評核模組更將該客服專業程度與該人工評分之評分結果進行比對,以找出該分數差異超過該門檻值者進行分析,再透過一調整專業度分析模型更新該任務表或該知識庫來調整該分數差異。 The system described in item 1 of the scope of patent application, wherein the optimized service content evaluation module further compares the professionalism of the customer service with the score result of the manual score to find out the difference in scores that exceeds the threshold Perform the analysis, and then adjust the score difference by updating the task list or the knowledge base through an adjustment specialty analysis model. 如申請專利範圍第1項所述之系統,其中,該優化服務內容評核模組更將該客戶滿意度分析結果與該人工評分之評分結果進行比對以找出該分數差異超過該門檻值者進行分析,再透過更新該詞向量模型及該情緒分析模型來調整該分數差異。 The system as described in item 1 of the scope of patent application, wherein the optimized service content evaluation module further compares the customer satisfaction analysis result with the manual scoring result to find that the difference between the scores exceeds the threshold value The analyst performs analysis, and then adjusts the score difference by updating the word vector model and the sentiment analysis model. 一種從文字內容評核客戶服務品質之方法,包括:將客戶與客服之對話語音資料進行語音斷句、語音轉文字及文字剖析以得到該客戶與該客服之對話詞彙;將該對話詞彙進行詞向量轉換以得到詞向量,進而從該詞向量中求得該對話詞彙之段落之語意向量, 再將該語意向量輸入至情緒分析模型以得到客戶情緒分析值,俾依據該客戶情緒分析值預測客戶滿意度分析結果;將該對話詞彙進行意圖及關鍵詞分析以取得該對話詞彙之意圖及關鍵詞,進而依據該意圖及關鍵詞從任務表及知識庫中查詢出該客戶之問題之標準答案,以比對該客服之答覆內容與該知識庫之標準答案兩者之相似度而得到客服專業程度;以及從該客戶滿意度分析結果或該客服專業程度中挑選出與人工評分的分數差異超過門檻值者,以據之優化該任務表、該知識庫、詞向量模型與該情緒分析模型其中至少一者。 A method for assessing the quality of customer service from text content includes: performing speech segmentation, speech-to-text, and text analysis on the speech data of the conversation between the customer and the customer service to obtain the dialog vocabulary of the customer and the customer service; and performing the word vector of the dialog vocabulary Transform to get the word vector, and then get the semantic vector of the paragraph of the dialogue vocabulary from the word vector, Then input the semantic vector into the sentiment analysis model to obtain the customer sentiment analysis value, and then predict the customer satisfaction analysis result based on the customer sentiment analysis value; perform the intention and keyword analysis on the dialogue vocabulary to obtain the intention and Keywords, and then based on the intent and keywords, query the standard answer of the customer ’s question from the task list and the knowledge base, and get the customer service by comparing the similarity between the response content of the customer service and the standard answer of the knowledge base Professionalism; and selecting from the customer satisfaction analysis results or the professionalism of customer service the scores that differ from the manual scores by more than a threshold to optimize the task list, the knowledge base, the word vector model, and the sentiment analysis model At least one of them. 如申請專利範圍第7項所述之方法,更包括從該客戶與該客服之該對話詞彙中過濾無關詞,並將已過濾該無關詞之該對話詞彙進行該詞向量轉換以得到該對話詞彙之該詞向量,進而從該詞向量中求得該對話詞彙之段落之語意向量。 The method as described in item 7 of the scope of patent application, further comprising filtering irrelevant words from the conversation vocabulary of the customer and the customer service, and performing the word vector conversion of the conversation vocabulary that has filtered the irrelevant words to obtain the conversation vocabulary. The word vector, and further obtain the semantic vector of the paragraph of the dialogue vocabulary from the word vector. 如申請專利範圍第7項所述之方法,更包括透過深度學習演算法訓練出代表該情緒分析模型的深度類神經網路模型。 The method described in item 7 of the scope of patent application further includes training a deep neural network model representing the sentiment analysis model through a deep learning algorithm. 如申請專利範圍第7項所述之方法,更包括依據分類演算法將該詞向量進行運算以得到該客戶情緒分析值,進而統計該對話詞彙中所有的客戶情緒分析值以計算出作為該客戶滿意度分析結果之滿意度變化趨勢 線。 The method described in item 7 of the scope of patent application, further includes operating the word vector according to a classification algorithm to obtain the customer sentiment analysis value, and then counting all the customer sentiment analysis values in the conversation vocabulary to calculate as the customer Satisfaction Trend of Satisfaction Analysis Results line.
TW107104993A 2018-02-12 2018-02-12 System and method for evaluating customer service quality from text content TWI650719B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107104993A TWI650719B (en) 2018-02-12 2018-02-12 System and method for evaluating customer service quality from text content

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107104993A TWI650719B (en) 2018-02-12 2018-02-12 System and method for evaluating customer service quality from text content

Publications (2)

Publication Number Publication Date
TWI650719B TWI650719B (en) 2019-02-11
TW201935370A true TW201935370A (en) 2019-09-01

Family

ID=66213986

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107104993A TWI650719B (en) 2018-02-12 2018-02-12 System and method for evaluating customer service quality from text content

Country Status (1)

Country Link
TW (1) TWI650719B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111461543A (en) * 2020-03-31 2020-07-28 广东奥园奥买家电子商务有限公司 Customer service quality evaluation method and system based on e-commerce platform
CN112329437A (en) * 2020-10-21 2021-02-05 交通银行股份有限公司 Intelligent customer service voice quality inspection scoring method, equipment and storage medium
TWI776589B (en) * 2021-07-13 2022-09-01 國立臺灣師範大學 Emotional Reply System

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256740A (en) * 2019-07-22 2021-01-22 王其宏 System and method for integrating qualitative data and quantitative data to recommend auditing criteria
CN110689261A (en) * 2019-09-25 2020-01-14 苏州思必驰信息科技有限公司 Service quality evaluation product customization platform and method
CN111178982B (en) * 2020-01-02 2023-07-21 珠海格力电器股份有限公司 Customer satisfaction analysis method, storage medium and computer device
CN111523317B (en) * 2020-03-09 2023-04-07 平安科技(深圳)有限公司 Voice quality inspection method and device, electronic equipment and medium
CN113240436A (en) * 2021-04-22 2021-08-10 北京沃东天骏信息技术有限公司 Method and device for online customer service call technical quality inspection
CN113506585A (en) * 2021-09-09 2021-10-15 深圳市一号互联科技有限公司 Quality evaluation method and system for voice call
CN114240110A (en) * 2021-12-07 2022-03-25 山东远联信息科技有限公司 Satisfaction investigation method, platform and equipment based on semantic analysis

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7917366B1 (en) * 2000-03-24 2011-03-29 Exaudios Technologies System and method for determining a personal SHG profile by voice analysis
TWI395201B (en) * 2010-05-10 2013-05-01 Univ Nat Cheng Kung Method and system for identifying emotional voices
WO2015127361A1 (en) * 2014-02-23 2015-08-27 Interdigital Patent Holdings, Inc. Cognitive and affective human machine interface

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111461543A (en) * 2020-03-31 2020-07-28 广东奥园奥买家电子商务有限公司 Customer service quality evaluation method and system based on e-commerce platform
CN112329437A (en) * 2020-10-21 2021-02-05 交通银行股份有限公司 Intelligent customer service voice quality inspection scoring method, equipment and storage medium
CN112329437B (en) * 2020-10-21 2024-05-28 交通银行股份有限公司 Intelligent customer service voice quality inspection scoring method, equipment and storage medium
TWI776589B (en) * 2021-07-13 2022-09-01 國立臺灣師範大學 Emotional Reply System

Also Published As

Publication number Publication date
TWI650719B (en) 2019-02-11

Similar Documents

Publication Publication Date Title
TW201935370A (en) System and method for evaluating customer service quality from text content
CN112804400B (en) Customer service call voice quality inspection method and device, electronic equipment and storage medium
WO2021031383A1 (en) Intelligent auxiliary judgment method and apparatus, and computer device and storage medium
US8676586B2 (en) Method and apparatus for interaction or discourse analytics
CN107992633B (en) Automatic electronic document classification method and system based on keyword features
WO2021068843A1 (en) Emotion recognition method and apparatus, electronic device, and readable storage medium
US20220122628A1 (en) Method and system for confidential sentiment analysis
CN113094578B (en) Deep learning-based content recommendation method, device, equipment and storage medium
US20090292541A1 (en) Methods and apparatus for enhancing speech analytics
CN109710766B (en) Complaint tendency analysis early warning method and device for work order data
CN110826320A (en) Sensitive data discovery method and system based on text recognition
US12033163B2 (en) Systems and methods for detecting complaint interactions
CN110135879A (en) Customer service quality automatic scoring method based on natural language processing
US20150066549A1 (en) System, Method and Apparatus for Voice Analytics of Recorded Audio
CN105808721A (en) Data mining based customer service content analysis method and system
KR20180120488A (en) Classification and prediction method of customer complaints using text mining techniques
Galanis et al. Classification of emotional speech units in call centre interactions
CN107767881A (en) A kind of acquisition methods and device of the satisfaction of voice messaging
Li et al. Development of an intelligent NLP-based audit plan knowledge discovery system
Bockhorst et al. Predicting self-reported customer satisfaction of interactions with a corporate call center
CN114418327A (en) Automatic order recording and intelligent order dispatching method for customer service system
CN114722191A (en) Automatic call clustering method and system based on semantic understanding processing
CN107480126B (en) Intelligent identification method for engineering material category
CN111178982B (en) Customer satisfaction analysis method, storage medium and computer device
CN116663890A (en) Power supply customer satisfaction evaluation method and system based on machine learning model