TWI650719B - 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
TWI650719B
TWI650719B TW107104993A TW107104993A TWI650719B TW I650719 B TWI650719 B TW I650719B TW 107104993 A TW107104993 A TW 107104993A TW 107104993 A TW107104993 A TW 107104993A TW I650719 B TWI650719 B TW I650719B
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
TW201935370A (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

本發明揭露一種從文字內容評核客戶服務品質之系統及方法,該方法包括:將客戶與客服之對話語音資料進行語音斷句、語音轉文字及文字剖析以得到客戶與客服之對話詞彙;將對話詞彙進行詞向量轉換以得到詞向量,進而從詞向量中取得客戶情緒分析值而得到客戶滿意度分析結果;將對話詞彙進行意圖及關鍵詞分析以取得對話詞彙之意圖及關鍵詞,進而依據意圖及關鍵詞從任務表及知識庫中查詢出客戶之問題之標準答案,以比對客服之答覆內容與知識庫之標準答案兩者之相似度而得到客服專業程度;以及依據客戶滿意度分析結果或客服專業程度優化服務內容評核。 The invention discloses a system and method for evaluating customer service quality from text content, the method comprising: performing voice sentence segmentation, voice-to-text and text analysis on the dialogue voice data of the customer and the customer service to obtain a dialogue vocabulary between the customer and the customer service; The vocabulary performs word vector conversion to obtain the word vector, and then obtains the customer sentiment analysis value from the word vector to obtain the customer satisfaction analysis result; the dialogue vocabulary carries out the intention and keyword analysis to obtain the dialogue vocabulary intention and keywords, and then according to the intention And the keyword to query the standard answer of the customer's question from the task table and the knowledge base, and obtain the customer service professional degree by comparing the similarity between the customer service reply content and the standard answer of the knowledge base; and analyzing the result according to the customer satisfaction Or customer service professional level to optimize service content assessment.

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 more particularly to a system and method for evaluating customer service quality from text content.

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

再者,由評分員進行評比會有標準不一的現象,因評分員會依照自己的主觀意識來做評分而產生不穩定或不可控制的因素,故需再定期為所有的評分員進行評分校準作業。 In addition, the rating by the scorer will have different standards. Because the scorer will score according to his subjective consciousness and cause unstable or uncontrollable factors, it is necessary to regularly calibrate all the scorers. operation.

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

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

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

本發明中從文字內容評核客戶服務品質之系統包括:一語音轉語意模組,其將客戶與客服之對話語音資料依序進行語音斷句、語音轉文字及文字剖析,以得到客戶與客服之對話詞彙;一客戶滿意度分析模組,其將語音轉語意模組之對話詞彙進行詞向量轉換以得到詞向量,進而從詞向量中求得對話詞彙之段落之語意向量,再將語意向量輸入至情緒分析模型以得到客戶情緒分析值,俾依據客戶情緒分析值預測客戶滿意度分析結果;一專業程度分析模組,其將語音轉語意模組之對話詞彙進行意圖及關鍵詞分析,以取得對話詞彙之意圖及關鍵詞,進而依據意圖及關鍵詞從任務表及知識庫中查詢出客戶之問題之標準答案,以比對客服之答覆內容與知識庫之標準答案兩者之相似度而得到客服專業程度;以及一優化服務內容評核模組,其從客戶滿意度分析結果或客服專業程度中挑選出與人工評分的分數差異超過門檻值者,以據之優化該任務表、該知識庫、詞向量模型與情緒分析模型其中至少一者。 The system for evaluating customer service quality from text content includes: a voice-to-speech module, which sequentially performs voice-sentence, voice-to-text and text analysis on the voice data of the customer and the customer service to obtain the customer and the customer service. Dialogue vocabulary; a customer satisfaction analysis module, which converts the dialogue vocabulary of the phonetic semantic module into a word vector to obtain a word vector, and then obtains the semantic vector of the paragraph of the dialogue vocabulary from the word vector, and then the semantic intention The quantity is input to the sentiment analysis model to obtain the customer sentiment analysis value, and the customer satisfaction analysis result is predicted according to the customer sentiment analysis value; a professional level analysis module, which performs the intent and keyword analysis of the dialogue vocabulary of the speech transfer semantic module. In order to obtain the intent 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 intent and keywords, to compare the similarity between the customer service reply content and the standard answer of the knowledge base. And get the customer service professional level; and an optimization service content evaluation module, which results from the 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 evaluating the customer service quality from the text content in the invention comprises: sequentially synchronizing the voice data of the customer and the customer service into a speech sentence, a voice text and a text analysis to obtain a dialogue vocabulary between the customer and the customer service; Convert to get the word vector, and then obtain the semantic vector of the paragraph of the dialogue vocabulary from the word vector, and then input the semantic vector into the emotion score The model is analyzed to obtain the customer sentiment analysis value, and the customer satisfaction analysis result is predicted according to the customer sentiment analysis value; the dialogue vocabulary is subjected to the intention and keyword analysis to obtain the dialogue vocabulary intention and keywords, and then the task is based on the intention and the keyword. The standard answers to the customer's questions are queried in the table and the knowledge base, and the customer service professional level is obtained by comparing the similarity between the customer service reply content and the standard answer of the knowledge base; and from the customer satisfaction analysis result or the customer service professional level The scores that differ from the scores of the manual scores exceed the threshold value are selected to optimize at least one of the task table, the knowledge base, the word vector model, and the sentiment analysis model.

為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明。在以下描述內容中將部分闡述本發明之額外特徵及優點,且此等特徵及優點將部分自所述描述內容顯而易見,或可藉由對本發明之實踐習得。本發明之特徵及優點借助於在申請專利範圍中特別指出的元件及組合來認識到並達到。應理解,前文一般描述與以下詳細描述兩者均僅為例示性及解釋性的,且不欲約束本發明所主張之範圍。 The above described features and advantages of the invention will be apparent from the description and appended claims. The additional features and advantages of the invention will be set forth in part in the description in the description. The features and advantages of the present invention are realized and attained by the <RTIgt; It is to be understood that both the foregoing general description

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

10‧‧‧語音轉語意模組 10‧‧‧Voice to semantic module

11‧‧‧語音斷句單元 11‧‧‧Speech sentence unit

12‧‧‧語音轉文字單元 12‧‧‧Voice 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 Analysis Module

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

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

33‧‧‧任務表 33‧‧‧Task Schedule

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‧‧‧Adjusting the professional analysis model

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

43‧‧‧詞向量模型 43‧‧‧word vector model

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

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

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

C‧‧‧客服人工評分結果輸入 C‧‧‧Customer service manual score entry

D‧‧‧客戶客服文字語意紀錄 D‧‧‧ customer service text semantic record

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

F‧‧‧客服端對話紀錄 F‧‧‧Customer dialogue record

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

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

S1至S4‧‧‧步驟 S1 to S4‧‧‧ steps

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

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

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

如第1圖所示,從文字內容評核客戶服務品質之系統1包括一語音轉語意模組10、一具有客戶滿意度分析模組20與專業程度分析模組30之語意分析模組2、以及一優化 服務內容評核模組40。 As shown in FIG. 1, the system 1 for evaluating customer service quality from text content includes a voice transfer semantic module 10, a semantic analysis module having 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 of 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 of 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 level analysis module 30 of FIG. 1 is composed of an intent and keyword analysis unit 31, a query reply 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 of. As shown in FIG. 2D, the optimization service content evaluation module 40 of FIG. 1 is composed of an adjustment professional analysis model 41, an adjusted customer satisfaction analysis model 42, a word vector model 43, and an emotion analysis model 44, and may also be added. Or connect the task table 33 of FIG. 2C with the knowledge base 35.

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

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

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

申言之,客戶滿意度分析模組20之詞向量轉換單元21可將語音轉語意模組10之對話詞彙(如客戶端對話紀錄E)進行詞向量轉換以得到詞向量,再從詞向量中求得該對話詞彙之段落之語意向量。而客戶滿意度分析模組20之滿意度軌跡變化預測單元22可將該對話詞彙之段落之語意向量輸入情緒分析模型得到客戶情緒分析值,從數筆客戶情緒分析值求得滿意度變化趨勢線,呈現客戶滿意度分析結果,其滿意度變化趨勢線可採用公式Y=βX+ε計算之(見第5B圖)。 In other words, the word vector conversion unit 21 of the customer satisfaction analysis module 20 can perform a word vector conversion on the conversation vocabulary of the speech transfer semantic module 10 (such as the client conversation record E) to obtain a word vector, and then 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 conversation vocabulary into the sentiment analysis model to obtain the customer sentiment analysis value, and obtain the satisfaction change trend from the plurality of customer sentiment analysis values. Line, the results of customer satisfaction analysis are presented, and the trend line of satisfaction variation 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 sufficient to represent the customer and the customer service interaction information, all the client dialogue records E to the word vector conversion unit 21 in a segment of the dialogue are taken out, first The segment performs filtering to process vocabulary that is not related to emotion, and then performs word vector The conversion, word vector conversion unit 21 can be collocated with the word vector model 43 to convert words (such as vocabulary combinations) into word vectors (such as numerical values). Then, each vocabulary can obtain a fixed-length multi-dimensional word vector, and arithmetically average the several multi-dimensional word vectors in the paragraph to obtain the semantic vector of the paragraph (such as the output of FIG. 4B), and then input The pre-trained sentiment analysis model 44 can calculate the sentiment analysis values in units of paragraphs, calculate the emotional values of the clients in all the dialogue paragraphs, and then find the trend line of the change in customer satisfaction in the telephone through linear regression. This trend line is the result of customer satisfaction analysis.

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

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

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

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

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

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

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

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

然後,由第2A圖之文字剖析單元13將獲得的文字資料透過斷詞、實體辨識取得以詞為單位的文字內容及代表特定實體的關鍵詞彙,即如第3圖之語意剖析結果的「NCC」 與「爛服務」等詞彙後,方附帶實體辨識產生的「公司行號」標籤與「抱怨語」標籤。 Then, the text parsing unit 13 of FIG. 2A obtains the text content in units of words and the key words representing the specific entity through the word segmentation and entity identification, that is, the NCC of the semantic analysis result as shown in FIG. " After the words "bad service", the "company line number" label and the "grievance language" label generated by the entity identification are attached.

在進行第2B圖之客戶滿意度分析模組20前,必須事先訓練好過程中會使用到的情緒分析模型44,訓練情緒分析模型44之目的為得到客戶情緒分析值,而情緒分析模型之訓練之輸入部分則為該段落之語意向量,輸出部分為人工標註之情緒分析值,故須將整段文字資料轉換成該段落之語意向量。 Before performing the customer satisfaction analysis module 20 of FIG. 2B, the emotion analysis model 44 used in the process must be trained in advance, and the purpose of training the emotion analysis model 44 is to obtain the customer sentiment analysis value, and the emotion analysis model is trained. The input part is the semantic vector of the paragraph, and the output part is the artificially annotated emotional analysis value, so 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 showing semantic vector conversion of the word vector conversion unit in the present invention. As shown in Figure 4A, the text training materials from the customer service line recording and processed by word segmentation are collected first, and are in units of paragraphs. As shown in Figure 4A, the customer said, "Miss I want to complain to NCC about your bad service." Set a text box that can hold 5 words in size. The text box will move from the left to the right of the clause to the end of the sentence. And the words in the middle (the third word from the left) are input words, and the words in other text boxes are 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 input word vector of Figure 4A and the dimension length (N) of the adjacent word vector, so the hypothesis dictionary There are 1000 vocabulary words, and the word "you" is number 2, so the input word vector I 1XN with a length of 1000 is 1 , and the 1xN vector has only the second dimension is 1, and the other dimensions are 0. Similarly, the adjacent word vector O 1xN consists of four words "complaint", "NCC", "this", "bad service" (because the text box is only 5 words long), so the vector is only the first and the first 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), and in the case of the known input word vector and adjacent word vector, the word vector representing the semantic information is obtained by the Chinese word vector conversion (Word2vec) method. Dimensions can be reduced from high dimensions to low dimensions.

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

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

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

情緒分析模型44之應用如第5A圖之右半部分所示,輸入整段平均情緒詞向量,即可以計算出一客戶情緒分析值,客戶情緒分析值之數值範圍為0~1之間,越接近0表 示客戶處在負面情緒下,越接近1表示客戶處在正面情緒下。 The application of the sentiment analysis model 44 is as shown in the right half of Figure 5A. By inputting the entire average emotional word vector, a customer sentiment analysis value can be calculated. The value range of the customer sentiment analysis value is between 0 and 1. Close to 0 table Show that the customer is in a negative mood, the 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 values of each paragraph in the dialogue can be combined into Y, and each paragraph is combined into X according to time series, and is brought into the formula Y=βX+ε by linear regression. The slope β of the satisfaction trajectory change line (such as a slash) is calculated, where ε represents the initial value of the customer's emotion. The slope β represents the change in customer satisfaction with the timing, and the customer satisfaction can be divided into one or more steps to judge whether the customer service properly comforts the customer's mood. If the slope β of the satisfaction trajectory change line represents the customer's satisfaction with the customer's appropriate explanation, the slope indicates that the customer service does not properly appease the customer's sentiment. This satisfaction trend line is the output of the customer satisfaction analysis.

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

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

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

如第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 the 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 learning the intent and the keyword information, the query reply task unit 32 can query the task table 33 to obtain a corresponding task response that the customer service should do, and determine whether the intent category of the paragraph needs to be professionally analyzed. Define it. For example, the slang language does not need to carry out follow-up professional analysis. After querying the task table 33, the task content of the customer service can be obtained as “certification”.

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

又,如第2D圖所示,為了拉近自動分析結果與人工評分結果H之間的差異,可透過優化服務內容評核模組40達成,將相似度分數(客服專業程度的評比結果)、客戶滿意度變化趨勢線(客戶滿意度分析結果)、及人工填寫之評分員的評分結果(包含客戶滿意度分析與客服專業程度)進行自動化差異比對,藉此比對結果找出差異較大的案例進行更新。 Moreover, as shown in FIG. 2D, in order to narrow the difference between the automatic analysis result and the manual rating result H, the optimization service content evaluation module 40 can achieve the similarity score (the customer service professional rating result), The customer satisfaction change trend line (customer satisfaction analysis results), and the manually filled scorer's score results (including customer satisfaction analysis and customer service professional level) are automatically compared to compare the results to find out the difference The case is updated.

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

接著,進行第2D圖之調整客戶滿意度分析模型42,找出客戶滿意度分析的評比結果差異較大者,如果滿意度變化趨勢線的斜率值的差異超過第三門檻值(預設值為5),將測試資料中分數差異大於第三門檻值的案例重新訓練詞 向量,如因為出現新詞彙無法進行詞向量轉換因而導致分數差異大於第三門檻值時,將整段話加入訓練資料集再重新訓練詞向量模型43。接著調整情緒分析模型44,情緒分析模型44之訓練方式如上述第5A圖之詳細說明,在輸入層資料不變的情況下,只調整輸出層之情緒程度,重新訓練得到優化後之情緒分析模型44),上述步驟可讓該段之情緒分析趨近於人工標註的結果。上述第一門檻值、第二門檻值與第三門檻值可為相同或相異之門檻值。 Next, the adjustment customer satisfaction analysis model 42 of the 2D map is performed to find out that the difference in the satisfaction result of the customer satisfaction analysis is larger, and if the difference in the slope value of the satisfaction trend trend line exceeds the third threshold value (the preset value is 5) Retraining the case in the case where the score difference in the test data is greater than the third threshold The vector, if the score difference is greater than the third threshold because the new word cannot be converted, the whole paragraph is added to the training data set and the word vector model 43 is retrained. Then, the emotion analysis model 44 is adjusted. The training method of the emotion analysis model 44 is as described in detail in FIG. 5A above. When the input layer data is unchanged, only the emotional level of the output layer is adjusted, and the optimized emotion analysis model is retrained. 44) The above steps allow the sentiment analysis of the paragraph to be closer to the result of manual labeling. 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 flow chart showing a method for evaluating customer service quality from text content in the present invention, and the main technical contents of FIG. 7 are as follows, and the remaining technical contents are as shown in FIG. 1 to FIG. This is not repeated.

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

在上述步驟S1中,亦可先行擷取客戶與客服之對話語音資料或錄音對話內容之語音訊號,以依據語音訊號之語音能量大小作為判斷條件,將語音訊號切割成以段落為單位。同時,可將已切割成以段落為單位之語音訊號送入一語音轉文字解碼器以取得語音訊號之候選詞詞圖,再從候選詞詞圖中挑選出一筆分數最佳之路徑作為辨識結果以代表語音訊號之語音內容之文字資料。 In the above step S1, the voice signal of the conversation voice data of the customer and the customer service or the content of the voice recording conversation may be firstly retrieved, and the voice signal is cut into the paragraph unit according to the voice energy of the voice signal. At the same time, the voice signal that has been cut into paragraphs can be sent to a speech-to-text decoder to obtain a candidate word map of the voice signal, and then a path with the best score is selected from the candidate word map as the identification result. A textual representation of the voice content representing 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. The meaning vector of the falling language is input into the sentiment analysis model to obtain the customer sentiment analysis value, and the customer satisfaction analysis result is predicted based on the customer sentiment analysis value.

在上述步驟S2中,亦更可從客戶與客服之對話詞彙中過濾無關詞,再將已過濾無關詞之對話詞彙進行詞向量轉換以得到對話詞彙中相應段落之詞向量,進而從該詞向量中求得該對話詞彙之段落之語意向量。或者,依據分類演算法將詞向量進行數學運算以得到客戶情緒分析值,再統計對話詞彙中所有的客戶情緒分析值以計算出作為客戶滿意度分析結果之滿意度變化趨勢線。 In the above step S2, it is also possible to filter the irrelevant words from the dialogue vocabulary between the customer and the customer service, and then convert the vocabulary of the filtered irrelevant words into a word vector to obtain the word vector of the corresponding paragraph in the dialogue vocabulary, and then from the word vector. Find the semantic vector of the paragraph of the dialogue vocabulary. Alternatively, the word vector is mathematically operated according to the classification algorithm to obtain the customer sentiment analysis value, and then all the customer sentiment analysis values in the dialogue 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 subjected to intent and keyword analysis to obtain the intent and keywords of the dialogue vocabulary, and then the standard answer of the customer's question is queried from the knowledge base according to the intention and the keyword, Customer service professionalism is obtained from the similarity between the customer service reply content and the standard answer of the knowledge base.

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

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

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

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

此外,本發明從該次服務的對話內容著手,搭配偵測客戶反映與客服專業度,以即時發生的情況來評斷客服臨場處置是否恰當作為評分標準,藉此克服習知技術用客戶與公司的數據化歷史資料進行分析,以此評斷客服能力,但因當下客戶不同的狀況而造成該次評比之失真。 In addition, the present invention starts from the dialogue content of the service, and cooperates with the detection of customer feedback and customer service professionalism, and judges whether the customer service on-site disposal is appropriate as a scoring standard in the case of an immediate occurrence, thereby overcoming the conventional technology with customers and companies. Data historical data is analyzed to judge customer service capabilities, but the current situation is different due to the different conditions of the customer.

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

Claims (10)

一種從文字內容評核客戶服務品質之系統,包括:一語音轉語意模組,其將客戶與客服之對話語音資料進行語音斷句、語音轉文字及文字剖析,以得到該客戶與該客服之對話詞彙;一客戶滿意度分析模組,其將該語音轉語意模組之該對話詞彙進行詞向量轉換以得到詞向量,進而從該詞向量中求得該對話詞彙之段落之語意向量,再將該語意向量輸入至情緒分析模型以得到客戶情緒分析值,俾依據該客戶情緒分析值預測客戶滿意度分析結果;一專業度分析模組,其將該語音轉語意模組之該對話詞彙進行意圖及關鍵詞分析,以取得該對話詞彙之意圖及關鍵詞,進而依據該意圖及關鍵詞從任務表及知識庫中查詢出該客戶之問題之標準答案,以比對該客服之答覆內容與該知識庫之標準答案兩者之相似度而得到客服專業度;以及一優化服務內容評核模組,其從該客戶滿意度分析結果或該客服專業度中挑選出與人工評分的分數差異超過門檻值者,以據之優化該任務表、該知識庫、詞向量模型與該情緒分析模型其中至少一者。 A system for evaluating customer service quality from text content, comprising: a voice-to-speech module, which performs voice-sentence, voice-to-text and text analysis on the voice data of the customer and the customer service to obtain a dialogue between the customer and the customer service. Vocabulary; a customer satisfaction analysis module, which converts the dialogue vocabulary of the phonetic semantic module into a word vector to obtain a word vector, and then obtains a semantic vector of the paragraph of the dialogue vocabulary from the word vector, and then The semantic vector is input to the sentiment analysis model to obtain the customer sentiment analysis value, and the customer satisfaction analysis result is predicted according to the customer sentiment analysis value; and a professional degree analysis module, the speech conversion semantic module of the dialogue vocabulary Intent and keyword analysis to obtain the intent and keywords of the dialogue vocabulary, and then query the standard answer of the customer's question from the task list and the knowledge base according to the intention and the keyword, to compare the content of the customer service Customer service expertise with the similarity of the standard answer to the knowledge base; and an optimization service content assessment module Customer satisfaction analysis results or the degree of customer service professionals sort out the differences with the artificial score score exceeds the threshold value were to optimize the task, according to the table, the knowledge base, the word vector model and the mood in which at least one model analysis. 如申請專利範圍第1項所述之系統,其中,該客戶滿意度分析模組更透過深度學習演算法訓練出代表該情緒分析模型的深度類神經網路模型。 The system of claim 1, wherein the customer satisfaction analysis module further trains a deep class neural network model representing the sentiment analysis model through a deep learning algorithm. 如申請專利範圍第1項所述之系統,其中,該客戶滿意度分析結果以滿意度變化趨勢線呈現之。 For example, the system described in claim 1 is characterized in that the result of the customer satisfaction analysis is presented in a trend line of satisfaction change. 如申請專利範圍第1項所述之系統,其中,該專業度分析模組更透過意圖及關鍵詞分析模型搭配機器學習演算法取得該對話詞彙中每一段落之意圖及關鍵詞,再透過該意圖及關鍵詞取得該知識庫之標準答案,然後比對該客服之回覆內容與該知識庫之標準答案兩者之相似度,以得到該客服專業度之結果。 The system of claim 1, wherein the professional analysis module obtains the intention and keyword of each paragraph in the dialogue vocabulary through the intention and keyword analysis model and the machine learning algorithm, and then uses the intention And the keyword obtains the standard answer of the knowledge base, and then compares the content of the reply to the customer service with the standard answer of the knowledge base to obtain the result of the customer service professional degree. 如申請專利範圍第1項所述之系統,其中,該優化服務內容評核模組更將該客服專業度與該人工評分之評分結果進行比對,以找出該分數差異超過該門檻值者進行分析,再透過一調整專業度分析模型更新該任務表或該知識庫來調整該分數差異。 The system of claim 1, wherein the optimization service content evaluation module compares the customer service professional degree with the score of the manual rating to find out that the score difference exceeds the threshold value. The analysis is performed, and the score difference is adjusted by updating the task table or the knowledge base through an adjustment professional analysis model. 如申請專利範圍第1項所述之系統,其中,該優化服務內容評核模組更將該客戶滿意度分析結果與該人工評分之評分結果進行比對以找出該分數差異超過該門檻值者進行分析,再透過更新該詞向量模型及該情緒分析模型來調整該分數差異。 The system of claim 1, wherein the optimization service content evaluation module compares the customer satisfaction analysis result with the score of the manual rating to find that the score difference exceeds the threshold value. The analysis is performed, and the score difference is adjusted by updating the word vector model and the sentiment analysis model. 一種從文字內容評核客戶服務品質之方法,包括:將客戶與客服之對話語音資料進行語音斷句、語音轉文字及文字剖析以得到該客戶與該客服之對話詞彙;將該對話詞彙進行詞向量轉換以得到詞向量,進而從該詞向量中求得該對話詞彙之段落之語意向量, 再將該語意向量輸入至情緒分析模型以得到客戶情緒分析值,俾依據該客戶情緒分析值預測客戶滿意度分析結果;將該對話詞彙進行意圖及關鍵詞分析以取得該對話詞彙之意圖及關鍵詞,進而依據該意圖及關鍵詞從任務表及知識庫中查詢出該客戶之問題之標準答案,以比對該客服之答覆內容與該知識庫之標準答案兩者之相似度而得到客服專業度;以及由一優化服務內容評核模組從該客戶滿意度分析結果或該客服專業度中挑選出與人工評分的分數差異超過門檻值者,以據之優化該任務表、該知識庫、詞向量模型與該情緒分析模型其中至少一者。 A method for evaluating customer service quality from text content, comprising: performing a speech segmentation, a voice-to-text and a text analysis of a conversational voice data between a customer and a customer service to obtain a dialogue vocabulary between the client and the customer service; Converting to obtain a word vector, and then obtaining a semantic vector of the paragraph of the dialogue word from the word vector, And inputting the semantic vector into the sentiment analysis model to obtain the customer sentiment analysis value, predicting the customer satisfaction analysis result according to the customer sentiment analysis value; performing the intent and keyword analysis on the dialogue vocabulary to obtain the intention of the dialogue vocabulary and Keyword, and then querying the standard answer of the customer's question from the task table and the knowledge base according to the intention and the keyword, and obtaining the customer service by comparing the content of the customer service reply with the standard answer of the knowledge base. Professional degree; and an optimization service content evaluation module selects a score that differs from the manual score by the customer satisfaction analysis result or the customer service professional level to exceed the threshold value, thereby optimizing the task table and the knowledge base according to the optimization At least one of a word vector model and the sentiment analysis model. 如申請專利範圍第7項所述之方法,更包括從該客戶與該客服之該對話詞彙中過濾無關詞,並將已過濾該無關詞之該對話詞彙進行該詞向量轉換以得到該對話詞彙之該詞向量,進而從該詞向量中求得該對話詞彙之段落之語意向量。 The method of claim 7, further comprising filtering the irrelevant word from the conversation vocabulary of the customer and the customer service, and performing the word vector conversion on the conversation vocabulary that has filtered the irrelevant word to obtain the conversation vocabulary The word vector, and then the semantic vector of the paragraph of the dialogue vocabulary is obtained from the word vector. 如申請專利範圍第7項所述之方法,更包括透過深度學習演算法訓練出代表該情緒分析模型的深度類神經網路模型。 For example, the method described in claim 7 includes training a deep class neural network model representing the sentiment analysis model through a deep learning algorithm. 如申請專利範圍第7項所述之方法,更包括依據分類演算法將該詞向量進行運算以得到該客戶情緒分析值,進而統計該對話詞彙中所有的客戶情緒分析值以計算出作為該客戶滿意度分析結果之滿意度變化趨勢線。 The method of claim 7, further comprising: calculating the word vector according to the 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. The satisfaction trend trend line of satisfaction analysis results.
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 true TWI650719B (en) 2019-02-11
TW201935370A 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 (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111178982A (en) * 2020-01-02 2020-05-19 珠海格力电器股份有限公司 Customer satisfaction analysis method, storage medium and computer device
CN111523317A (en) * 2020-03-09 2020-08-11 平安科技(深圳)有限公司 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
TWI759785B (en) * 2019-07-22 2022-04-01 王其宏 System and method for recommending audit criteria based on integration of qualitative data and quantitative data
US20220351266A1 (en) * 2019-09-25 2022-11-03 Ai Speech Co., Ltd. Customization platform and method for service quality evaluation product

Families Citing this family (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
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

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101548314A (en) * 2006-05-18 2009-09-30 Ex音频技术公司 System and method for determining a personal shg profile by voice analysis
TW201140559A (en) * 2010-05-10 2011-11-16 Univ Nat Cheng Kung Method and system for identifying emotional voices
TW201546735A (en) * 2014-02-23 2015-12-16 Interdigital Patent Holdings Cognitive and affective human machine interface

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101548314A (en) * 2006-05-18 2009-09-30 Ex音频技术公司 System and method for determining a personal shg profile by voice analysis
TW201140559A (en) * 2010-05-10 2011-11-16 Univ Nat Cheng Kung Method and system for identifying emotional voices
TW201546735A (en) * 2014-02-23 2015-12-16 Interdigital Patent Holdings Cognitive and affective human machine interface

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI759785B (en) * 2019-07-22 2022-04-01 王其宏 System and method for recommending audit criteria based on integration of qualitative data and quantitative data
US20220351266A1 (en) * 2019-09-25 2022-11-03 Ai Speech Co., Ltd. Customization platform and method for service quality evaluation product
CN111178982A (en) * 2020-01-02 2020-05-19 珠海格力电器股份有限公司 Customer satisfaction analysis method, storage medium and computer device
CN111523317A (en) * 2020-03-09 2020-08-11 平安科技(深圳)有限公司 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

Also Published As

Publication number Publication date
TW201935370A (en) 2019-09-01

Similar Documents

Publication Publication Date Title
TWI650719B (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
CN109767791B (en) Voice emotion recognition and application system for call center calls
US8676586B2 (en) Method and apparatus for interaction or discourse analytics
WO2021031383A1 (en) Intelligent auxiliary judgment method and apparatus, and computer device and storage medium
WO2021068843A1 (en) Emotion recognition method and apparatus, electronic device, and readable storage medium
CN110942229A (en) Service quality evaluation method and device, electronic equipment and storage medium
CN109299865B (en) Psychological evaluation system and method based on semantic analysis and information data processing terminal
CN113094578B (en) Deep learning-based content recommendation method, device, equipment and storage medium
CN110096577A (en) From the intention of abnormal profile data prediction user
CN110704571B (en) Court trial auxiliary processing method, trial auxiliary processing device, equipment and medium
Jacob Modelling speech emotion recognition using logistic regression and decision trees
JPH08512148A (en) Topic discriminator
CN105808721A (en) Data mining based customer service content analysis method and system
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
WO2021010744A1 (en) Method and device for analyzing sales conversation based on speech recognition
US9805740B2 (en) Language analysis based on word-selection, and language analysis apparatus
Bockhorst et al. Predicting self-reported customer satisfaction of interactions with a corporate call center
CN106708827A (en) Quality testing method and apparatus
KR102407055B1 (en) Apparatus and method for measuring dialogue quality index through natural language processing after speech recognition
CN116663890A (en) Power supply customer satisfaction evaluation method and system based on machine learning model
CN116071032A (en) Human resource interview recognition method and device based on deep learning and storage medium
CN111178982B (en) Customer satisfaction analysis method, storage medium and computer device
Hacine-Gharbi et al. Automatic Classification of French Spontaneous Oral Speech into Injunction and No-injunction Classes.