TWI869149B - Knowledge recommendation system and knowledge recommendation method - Google Patents
Knowledge recommendation system and knowledge recommendation method Download PDFInfo
- Publication number
- TWI869149B TWI869149B TW113100095A TW113100095A TWI869149B TW I869149 B TWI869149 B TW I869149B TW 113100095 A TW113100095 A TW 113100095A TW 113100095 A TW113100095 A TW 113100095A TW I869149 B TWI869149 B TW I869149B
- Authority
- TW
- Taiwan
- Prior art keywords
- knowledge
- keyword
- numbers
- recommended
- weight
- Prior art date
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本發明是有關於一種推薦技術,且特別是有關於一種基於上下文情境的知識推薦系統以及知識推薦方法。 The present invention relates to a recommendation technology, and in particular to a context-based knowledge recommendation system and a knowledge recommendation method.
電信業者、銀行業者、其他服務業或者是公家機關的臨櫃人員每天均會面臨大量客戶詢問或要求提供產業相關服務,而產業相關服務的複雜程度則會造成臨櫃人員處理客戶需求的服務時間,倘若臨櫃人員是仍在培訓中的新進人員,可能會無法即時提供最恰當的產業相關服務給客戶,並且也會讓臨櫃人員的培訓時間變長。因此,針對客戶臨櫃談話內容,進行即時的服務知識推薦供臨櫃人員挑選,協助臨櫃人員回憶服務流程,提升客戶滿意度,除了可減少培訓時間,減輕企業培訓成本,實為亟欲解決的問題。 Telecom operators, banks, other service industries or counter staff in government agencies face a large number of customer inquiries or requests for industry-related services every day. The complexity of industry-related services will increase the service time for counter staff to handle customer needs. If the counter staff is a new employee who is still in training, they may not be able to provide the most appropriate industry-related services to customers in a timely manner, and the training time of counter staff will also be prolonged. Therefore, according to the content of customer counter conversations, real-time service knowledge recommendations are provided for counter personnel to choose from, helping counter personnel to recall service processes and improve customer satisfaction. In addition to reducing training time and reducing corporate training costs, this is an issue that needs to be solved urgently.
本發明提供一種知識推薦系統,包括記憶體以及處理器。記憶體儲存多個模組;處理器耦接記憶體,用以讀取並執行多個模 組以產生知識推薦排序結果,其中多個模組包括知識資料模組、語音相似度計算模組、關鍵字識別模組、關鍵字期限模組、關鍵字比對模組、關鍵字權重模組以及知識推薦排序模組。知識資料模組用以儲存多個知識編號、對應每一知識編號的知識名稱以及多個知識關鍵字群組,其中每一知識關鍵字群組具有對應的權重並且包含至少一知識關鍵字。語音相似度計算模組用以計算語音資料與每一知識編號對應的知識名稱的相似度,並根據相似度自知識編號中篩選出多個候選知識編號。關鍵字識別模組用以基於每一知識編號對應的關鍵字群組識別並標註語音資料中的多個語音關鍵字。關鍵字期限模組用以於語音關鍵字加上時間標籤以成為多個期限關鍵字。關鍵字比對模組用以比對至少一知識關鍵字與期限關鍵字,並基於符合知識關鍵字的期限關鍵字自候選知識編號中篩選出待推薦知識編號。關鍵字權重模組用以根據每一知識關鍵字群組所對應的權重計算對應每一待推薦知識編號的關鍵字權重分數。知識推薦排序模組用以根據每一待推薦知識編號的關鍵字權重分數以及相似度由高至低排序待推薦知識編號以產生知識推薦排序結果。 The present invention provides a knowledge recommendation system, including a memory and a processor. The memory stores multiple modules; the processor is coupled to the memory to read and execute multiple modules to generate knowledge recommendation ranking results, wherein the multiple modules include a knowledge data module, a voice similarity calculation module, a keyword recognition module, a keyword deadline module, a keyword comparison module, a keyword weight module and a knowledge recommendation ranking module. The knowledge data module is used to store a plurality of knowledge numbers, a knowledge name corresponding to each knowledge number, and a plurality of knowledge keyword groups, wherein each knowledge keyword group has a corresponding weight and includes at least one knowledge keyword. The voice similarity calculation module is used to calculate the similarity between the voice data and the knowledge name corresponding to each knowledge number, and select a plurality of candidate knowledge numbers from the knowledge numbers according to the similarity. The keyword recognition module is used to recognize and annotate a plurality of voice keywords in the voice data based on the keyword group corresponding to each knowledge number. The keyword expiration module is used to add a time tag to the voice keyword to form a plurality of expiration keywords. The keyword matching module is used to match at least one knowledge keyword with an expiration keyword, and to filter out a knowledge number to be recommended from candidate knowledge numbers based on the expiration keyword that matches the knowledge keyword. The keyword weight module is used to calculate a keyword weight score corresponding to each knowledge number to be recommended according to the weight corresponding to each knowledge keyword group. The knowledge recommendation ranking module is used to sort the knowledge numbers to be recommended from high to low according to the keyword weight score and similarity of each knowledge number to be recommended to generate the knowledge recommendation ranking results.
於一實施例中,模組更包括對話儲存模組,用以儲存語音資料。 In one embodiment, the module further includes a dialogue storage module for storing voice data.
於一實施例中,語音資料是透過兩收音裝置所接收的多個聲音訊號所組成。 In one embodiment, the voice data is composed of multiple sound signals received by two receiving devices.
於一實施例中,知識關鍵字群組包括類別關鍵字群組、子 類別關鍵字群組以及一般關鍵字群組。 In one embodiment, the knowledge keyword group includes a category keyword group, a subcategory keyword group, and a general keyword group.
於一實施例中,類別關鍵字群組對應第一權重,子類別關鍵字群組對應第二權重,一般關鍵字群組對應第三權重,其中第一權重大於第二權重,第二權重大於第三權重。 In one embodiment, the category keyword group corresponds to the first weight, the subcategory keyword group corresponds to the second weight, and the general keyword group corresponds to the third weight, wherein the first weight is greater than the second weight, and the second weight is greater than the third weight.
於一實施例中,語音相似度計算模組更用以透過字串比對的演算法計算語音資料與每一知識編號對應的知識名稱的相似度。 In one embodiment, the voice similarity calculation module is further used to calculate the similarity between the voice data and the knowledge name corresponding to each knowledge number through a string matching algorithm.
於一實施例中,關鍵字權重模組根據每一知識關鍵字群組所對應的權重計算對應每一待推薦知識編號的關鍵字權重分數之前,關鍵字期限模組更用以擷取時間標籤在一設定時段內的部分期限關鍵字所對應的部分待推薦知識編號。 In one embodiment, before the keyword weight module calculates the keyword weight score corresponding to each knowledge number to be recommended according to the weight corresponding to each knowledge keyword group, the keyword deadline module is further used to capture part of the knowledge numbers to be recommended corresponding to part of the deadline keywords with time tags within a set time period.
於一實施例中,知識資料模組更用以接收對應於知識關鍵字群組中至少一者的至少一新增知識關鍵字。 In one embodiment, the knowledge data module is further used to receive at least one newly added knowledge keyword corresponding to at least one of the knowledge keyword groups.
於一實施例中,知識推薦排序結果包括該些待推薦知識編號中排序在前的部分推薦知識編號。 In one embodiment, the knowledge recommendation ranking result includes some recommended knowledge numbers ranked first among the knowledge numbers to be recommended.
於一實施例中,知識推薦系統更包括顯示器,顯示器耦接處理器,用以顯示每一該些推薦知識編號所對應的推薦知識描述。 In one embodiment, the knowledge recommendation system further includes a display, which is coupled to the processor to display the recommended knowledge description corresponding to each of the recommended knowledge numbers.
本發明還提供一種知識推薦方法,包括:自知識資料模組中讀取多個知識編號、及對應每一知識編號的知識名稱以及多個知識關鍵字群組,其中每一知識關鍵字群組具有對應的權重並且包含至少一知識關鍵字;計算語音資料與每一知識編號對應的知識名稱的相似度,並根據相似度自知識編號中篩選出多個候選知 識編號;基於每一知識編號對應的關鍵字群組識別並標註語音資料中的多個語音關鍵字;於語音關鍵字加上時間標籤以成為多個期限關鍵字;比對至少一知識關鍵字與期限關鍵字,並基於符合知識關鍵字的期限關鍵字自候選知識編號中篩選出待推薦知識編號;根據每一知識關鍵字群組所對應的權重計算對應每一待推薦知識編號的關鍵字權重分數;以及根據每一待推薦知識編號的關鍵字權重分數以及相似度由高至低排序待推薦知識編號以產生知識推薦排序結果。 The present invention also provides a knowledge recommendation method, comprising: reading a plurality of knowledge numbers, a knowledge name corresponding to each knowledge number, and a plurality of knowledge keyword groups from a knowledge data module, wherein each knowledge keyword group has a corresponding weight and includes at least one knowledge keyword; calculating the similarity between the voice data and the knowledge name corresponding to each knowledge number, and selecting a plurality of candidate knowledge numbers from the knowledge numbers according to the similarity; identifying and annotating a plurality of candidate knowledge numbers in the voice data based on the keyword group corresponding to each knowledge number; Voice keywords; adding time tags to the voice keywords to form multiple time-limit keywords; comparing at least one knowledge keyword with the time-limit keyword, and screening the knowledge number to be recommended from the candidate knowledge numbers based on the time-limit keywords that match the knowledge keyword; calculating the keyword weight score corresponding to each knowledge number to be recommended according to the weight corresponding to each knowledge keyword group; and sorting the knowledge numbers to be recommended from high to low according to the keyword weight score and similarity of each knowledge number to be recommended to generate a knowledge recommendation sorting result.
基於上述,本發明所提供的知識推薦系統以及知識推薦方法可提供針對客戶臨櫃談話內容,進行即時的服務知識推薦供臨櫃人員挑選,協助臨櫃人員回憶服務流程,提升客戶滿意度,除了可減少培訓時間,減輕企業培訓成本。 Based on the above, the knowledge recommendation system and knowledge recommendation method provided by the present invention can provide real-time service knowledge recommendations for counter personnel to select based on the content of customer counter conversations, assist counter personnel to recall service processes, and improve customer satisfaction. In addition to reducing training time, it can also reduce corporate training costs.
1:知識推薦系統 1: Knowledge recommendation system
11:記憶體 11: Memory
111:對話儲存模組 111: Dialogue storage module
112:知識資料模組 112: Knowledge data module
113:語音相似度計算模組 113: Voice similarity calculation module
114:關鍵字識別模組 114:Keyword recognition module
115:關鍵字期限模組 115:Keyword deadline module
116:關鍵字比對模組 116:Keyword matching module
117:關鍵字權重模組 117:Keyword weight module
118:知識推薦排序模組 118: Knowledge recommendation sorting module
12:處理器 12: Processor
13:顯示器 13: Display
3:知識推薦方法 3: Knowledge recommendation method
S310~S380:步驟 S310~S380: Steps
圖1是依照本發明一實施例的一種知識推薦系統的架構圖。 Figure 1 is a diagram of the architecture of a knowledge recommendation system according to an embodiment of the present invention.
圖2是依照本發明一實施例所繪示的一種知識推薦系統執行知識推薦方法的示意圖。 Figure 2 is a schematic diagram of a knowledge recommendation system executing a knowledge recommendation method according to an embodiment of the present invention.
圖3是依照本發明一實施例所繪示的一種知識推薦方法的流程圖。 Figure 3 is a flow chart of a knowledge recommendation method according to an embodiment of the present invention.
圖1是依照本發明一實施例的一種知識推薦系統1的架構圖。請參考圖1,知識推薦系統1包括記憶體11、處理器12以及顯示器13,其中處理器12耦接記憶體11和顯示器13。實務上來說,知識推薦系統1可由電腦裝置來實作,例如是桌上型電腦、筆記型電腦、平板電腦、工作站等具有運算功能、顯示功能以及連網功能的電腦裝置,本發明並不加以限制。
FIG1 is a structural diagram of a
記憶體11儲存多個模組,其中多個模組包括對話儲存模組111、知識資料模組112、語音相似度計算模組113、關鍵字識別模組114、關鍵字期限模組115、關鍵字比對模組116、關鍵字權重模組117以及知識推薦排序模組118。實務上來說,記憶體11例如是靜態隨機存取記憶體(Static Random-Access Memory,SRAM)、動態隨機存取記憶體(Dynamic Random Access Memory,DRAM)或其他記憶體,本發明並不加以限制。
The
處理器12用以讀取記憶體11中儲存的多個模組,並執行該多個模組以產生知識推薦排序結果。實務上來說,處理器12可以是實作知識推薦系統1的電腦裝置上內建的中央處理器(CPU)、微處理器(micro-processor)或嵌入式控制器(embedded controller),本發明並不加以限制。
The
圖2是依照本發明一實施例所繪示的一種知識推薦系統1執行知識推薦方法的示意圖,即知識推薦系統1的處理器12讀取記憶體11中的多個模組之後透過多個模組以執行知識推薦方法的示意圖。接下來請同時參照圖1~圖2。
FIG2 is a schematic diagram of a
對話儲存模組111用以儲存語音資料。知識推薦系統1外接收音裝置(圖中未示出),透過收音裝置接收聲音訊號並以語音資料的形式儲存於對話儲存模組111。知識推薦系統1可外接兩個收音裝置(例如麥克風),一者接收第一發話者(例如臨櫃辦理業務的客戶)的聲音訊號,另一者接收第二發話者的(例如臨櫃業務人員)聲音訊號,語音資料是透過兩收音裝置所接收的多個聲音訊號所組成。當雙方對話時,雙方的對話紀錄將以語音資料的形式儲存於對話儲存模組111。對話儲存模組111還可根據不同收音裝置所接收的聲音訊號附上標籤。舉例來說,雙方對話的內容如下:
The
臨櫃辦理業務的客戶:「我想詢問商品售後服務。」 Customers who come to the counter to do business: "I would like to inquire about the after-sales service of the product."
臨櫃業務人員:「請問是哪個商品呢?」 Counter clerk: "What product is this?"
臨櫃辦理業務的客戶:「我想詢問東亞漫遊的價格。」 Customers who come to the counter to conduct business: "I would like to inquire about the price of East Asia roaming."
臨櫃業務人員:「請問要詢問哪一個國家呢?」 Counter clerk: "Which country do you want to inquire about?"
對話儲存模組111會將「我想詢問商品售後服務。」以及「我想詢問東亞漫遊的價格。」附上第一標籤,並將「請問是哪個商品呢?」以及「請問要詢問哪一個國家呢?」附上第二標籤,以區分不同收音裝置所接收的聲音訊號。
The
知識資料模組112用以儲存多個知識編號、對應每一知識編號的知識名稱、知識描述以及多個知識關鍵字群組,其中每一知識關鍵字群組具有對應的權重並且包含至少一知識關鍵字。多個知識關鍵字群組包括類別關鍵字群組、子類別關鍵字群組以及一般關鍵字群組。表1為知識資料模組112中所儲存的知識編號、
對應每一知識編號的知識名稱、知識描述以及多個知識關鍵字群組的範例。
The
於一實施例中,類別關鍵字群組對應第一權重,子類別關 鍵字群組對應第二權重,一般關鍵字群組對應第三權重,其中第一權重大於第二權重,第二權重大於第三權重。 In one embodiment, the category keyword group corresponds to the first weight, the subcategory keyword group corresponds to the second weight, and the general keyword group corresponds to the third weight, wherein the first weight is greater than the second weight, and the second weight is greater than the third weight.
知識資料模組112更用以接收對應於該些知識關鍵字群組中至少一者的至少一新增知識關鍵字。例如,使用者想在知識編號4的子類別關鍵字群組中新增關鍵字「河內」,則可透過連接至處理器12的輸入裝置(例如鍵盤)輸入「河內」,處理器12將關鍵字「河內」儲存在記憶體11中的知識資料模組112中。
The
語音相似度計算模組113用以計算語音資料與每一知識編號對應的知識名稱的相似度,並根據相似度自知識編號中篩選出多個候選知識編號。語音相似度計算模組113更用以透過字串比對的演算法計算該語音資料與每一該些知識編號對應的該知識名稱的該相似度。
The voice
於一實施例中,語音相似度計算模組113可透過字串比對的演算法計算語音資料與每一知識編號對應的知識名稱的該相似度。字串比對的演算法例如像是萊文斯坦距離(Levenshtein distance)、餘弦相似度(Cosine Similarity)、皮爾森相似度(Pearson Similiarity)等等,只要是字串比對的演算法均在本發明的保護範圍內。例如,萊文斯坦距離會依據新增、刪除、修改(置換)成另一字串的次數並除以兩個比較字串的總和來做為相似度,公式為(A-B)/A,其中A為SUM(String 1 ,String 2),B為MinimumEditDistance(String 1 ,String 2)。
In one embodiment, the voice
關鍵字識別模組114用以基於知識資料模組112中所儲存的每一知識編號對應的關鍵字群組中的所有知識關鍵字使用命名實體識別即時識別語音資料,並標註語音資料中的多個語音關鍵字。
The
關鍵字期限模組115用以於語音關鍵字加上時間標籤以成為多個期限關鍵字,換言之,每一個期限關鍵字即對應每一個語音關鍵字以及該語音關鍵字出現在語音資料中的時間。
The
關鍵字比對模組116用以比對知識資料模組112中的知識關鍵字與關鍵字期限模組115所產生的期限關鍵字,並基於符合知識關鍵字的期限關鍵字自多個候選知識編號中篩選出多個待推薦知識編號。
The
關鍵字權重模組117用以根據每一知識關鍵字群組所對應的權重計算對應關鍵字比對模組116所篩選出的每一待推薦知識編號的關鍵字權重分數。舉例來說,類別關鍵字群組對應第一權重(例如2),子類別關鍵字群組對應第二權重(例如1),一般關鍵字群組對應第三權重(例如0.5),則待推薦知識編號N的關鍵字權重分數W(k N )計算如下:W(k N )=X N ×2+Y N ×1+Z N ×0.5;
其中X N 為關鍵字期限模組115所產生的每一期限關鍵字符合待推薦知識編號N所對應的類別關鍵字的次數,Y N 為關鍵字期限模組115所產生的每一期限關鍵字符合待推薦知識編號N所對應的子類別關鍵字的次數,而Z N 為關鍵字期限模組115所產生
的每一期限關鍵字符合待推薦知識編號N所對應的子類別關鍵字的次數。
The
於一實施例中,知識推薦系統1可提供使用者對語音資料進行過濾,以針對語音資料中的一設定時段(例如:0:08:00~0:11:00,三分鐘)內對擷取語音資料,這設定時段內的期限關鍵字將可用於後續的處理,設定時段以外的期限關鍵字將會被忽略,以使得知識推薦系統1在處理上更有效率。因此,關鍵字權重模組117在根據每一知識關鍵字群組所對應的權重計算對應每一待推薦知識編號的關鍵字權重分數之前,關鍵字期限模組115更用以擷取時間標籤在一設定時段內的部分期限關鍵字所對應的部分待推薦知識編號。
In one embodiment, the
知識推薦排序模組118用以根據待推薦知識編號的關鍵字權重分數以及相似度由高至低排序待推薦知識編號以產生知識推薦排序結果。於一實施例中,知識推薦排序結果可以僅包括待推薦知識編號中排序在前的部分推薦知識編號。
The knowledge
當知識推薦排序模組118產生知識推薦排序結果之後,顯示器13用以顯示知識推薦排序結果中每一推薦知識編號所對應的推薦知識描述。
After the knowledge
圖3是依照本發明一實施例所繪示的一種知識推薦方法3的流程圖,即對應圖2所示知識推薦系統1的處理器12透過多個模組以執行知識推薦方法3的流程圖。知識推薦方法3包括步驟S310~S380。接下來請同時參照圖2~圖3。
FIG. 3 is a flow chart of a
於步驟S310中,自知識資料模組112中讀取多個知識編號、對應每一知識編號的知識名稱以及多個知識關鍵字群組,其中每一知識關鍵字群組具有對應的權重並且包含至少一知識關鍵字。
In step S310, a plurality of knowledge numbers, a knowledge name corresponding to each knowledge number, and a plurality of knowledge keyword groups are read from the
於步驟S320中,計算語音資料與每一知識編號對應的該知識名稱的相似度,並根據相似度自知識編號中篩選出多個候選知識編號。 In step S320, the similarity between the voice data and the knowledge name corresponding to each knowledge number is calculated, and multiple candidate knowledge numbers are selected from the knowledge numbers according to the similarity.
於步驟S330中,基於每一知識編號對應的關鍵字群組識別並標註語音資料中的多個語音關鍵字。 In step S330, multiple voice keywords in the voice data are identified and labeled based on the keyword group corresponding to each knowledge number.
於步驟S340中,於語音關鍵字加上時間標籤以成為多個期限關鍵字。 In step S340, a time tag is added to the voice keyword to form a plurality of time-limited keywords.
於步驟S350中,比對至少一知識關鍵字與期限關鍵字,並自候選知識編號中篩選出多個待推薦知識編號。 In step S350, at least one knowledge keyword is compared with a deadline keyword, and a plurality of knowledge numbers to be recommended are screened from the candidate knowledge numbers.
於步驟S360中,根據每一知識關鍵字群組所對應的權重計算對應每一待推薦知識編號的關鍵字權重分數。 In step S360, the keyword weight score corresponding to each knowledge number to be recommended is calculated according to the weight corresponding to each knowledge keyword group.
於步驟S370中,根據每一待推薦知識編號的該關鍵字權重分數以及相似度由高至低排序待推薦知識編號以產生知識推薦排序結果。 In step S370, the knowledge numbers to be recommended are sorted from high to low according to the keyword weight score and similarity of each knowledge number to be recommended to generate a knowledge recommendation sorting result.
於步驟S380中,顯示每一推薦知識編號所對應的推薦知識描述。 In step S380, the recommended knowledge description corresponding to each recommended knowledge number is displayed.
接下來,將舉例說明知識推薦系統1的處理器12透過多個模組以執行知識推薦方法3的實施例。
Next, an example will be given to illustrate the implementation of the
實施例一為語音資料中的上下文只有當下的資料並且關
鍵字權重相等的知識推薦的範例。假設消費者A至某電信門市的櫃台詢問電信業務,抽號碼牌後,至某櫃台詢問,其對話內容如表2:
櫃台人員可手動觸發知識推薦系統1進行知識推薦。這段對話首先會進行音轉字的程序,並且儲存至對話儲存模組111。之後透過語音相似度計算模組113與知識資料模組112中所儲存的對應每一知識編號的知識名稱進行比對,請參表1。
The counter staff can manually trigger the
以萊文斯坦比例距離為例,語音相似度計算模組113基於這段對話與知識編號1~6所分別對應的知識名稱計算出六個相似度,依序為0.25、0.375、0.375、0.25、0.2353與0.2353。於一實施例中,使用者事先設定保留相似度大於等於門檻值0.25的知識編號,語音相似度計算模組113會將六個相似度中大於等於門檻值0.25的知識編號篩選出以產生多個候選知識編號。
Taking Levenshtein proportional distance as an example, the speech
由於知識編號2所對應的知識名稱「韓國漫遊」與知識編號3所對應的知識名稱「泰國漫遊」對應的相似度均為0.375,因此知識編號2、3均被列入候選知識編號。另外,知識編號1所對應的知識名稱「日本漫遊」與知識編號4所對應的知識名稱「越南漫遊」對應的相似度均為0.25,因此知識編號1、4也均被列入候選知識編號。當候選知識編號超過3個時,不再取用相似度低
於0.25的知識編號,因此,語音相似度計算模組113自知識編號1~6中篩選出候選知識編號1、2、3與4。
Since the similarity between the knowledge name "Korea Roaming" corresponding to knowledge number 2 and the knowledge name "Thailand Roaming" corresponding to
接著,關鍵字識別模組114基於知識資料模組112中所儲存的知識編號1~6對應的關鍵字群組中的所有知識關鍵字使用命名實體識別即時識別對話儲存模組111所儲存的語音資料,並標註語音資料中的多個語音關鍵字,即「漫遊」、「價格」。
Next, the
關鍵字期限模組115於語音關鍵字「漫遊」、「價格」加上時間標籤以成為多個期限關鍵字。另外,關鍵字期限模組115也會擷取時間標籤在櫃台人員設定的設定時段(例如:0:08:00~0:11:00,五分鐘)內的語音資料進行過濾。由於語音資料中的對話是在0:08:05擷取的,所以這段對話的相關關鍵字「漫遊」、「價格」會被留下。
The
關鍵字比對模組116比對知識資料模組112中的知識關鍵字與關鍵字期限模組115所產生的期限關鍵字「漫遊」、「價格」,並基於符合知識關鍵字的期限關鍵字「漫遊」、「價格」自候選知識編號1、2、3與4中篩選出待推薦知識編號1、2、3與4。
The
關鍵字權重模組117根據類別關鍵字群組、子類別關鍵字群組以及一般關鍵字群組所分別對應的權重2、1以及0.5計算對應關鍵字比對模組116所篩選出的待推薦知識編號1、2、3與4的關鍵字權重分數W(k 1 )、W(k 2 )、W(k 3 )與W(k 4 )。
The
由於關鍵字期限模組115所產生的期限關鍵字「漫遊」、「價格」符合待推薦知識編號1所對應的類別關鍵字的次數X N 為
0,關鍵字期限模組115所產生的期限關鍵字「漫遊」、「價格」符合待推薦知識編號1所對應的子類別關鍵字的次數Y N 為1,而Z N 為關鍵字期限模組115所產生的期限關鍵字「漫遊」、「價格」符合待推薦知識編號1所對應的子類別關鍵字的次數Z N 為1。因此,關鍵字權重分數W(k 1 )計算如下:W(k 1)=0×2+1×1+1×0.5=1.5
Since the number of times X N that the term keywords "roaming" and "price" generated by the
以此類推,關鍵字權重分數W(k 2 )、W(k 3 )以及W(k 4 )分別計算如下:W(k 2)=0×2+1×1+1×0.5=1.5 By analogy, the keyword weight scores W(k 2 ), W(k 3 ) and W(k 4 ) are calculated as follows: W ( k 2 )=0×2+1×1+1×0.5=1.5
W(k 3)=0×2+1×1+1×0.5=1.5 W ( k 3 )=0×2+1×1+1×0.5=1.5
W(k 4)=0×2+1×1+1×0.5=1.5 W ( k 4 )=0×2+1×1+1×0.5=1.5
接下來,知識推薦排序模組118根據待推薦知識編號1、2、3與4的關鍵字權重分數W(k 1 )、W(k 2 )、W(k 3 )與W(k 4 )由高至低排序待推薦知識編號1、2、3與4以產生知識推薦排序結果。由於關鍵字權重模組117針對待推薦知識編號1、2、3與4所計算出的關鍵字權重分數W(k 1 )、W(k 2 )、W(k 3 )與W(k 4 )均相同,櫃台人員可設定僅針對排序在前的三筆待推薦知識編號進行推薦。
Next, the knowledge
知識推薦排序模組118根據待推薦知識編號1、2、3與4的關鍵字權重分數W(k 1 )、W(k 2 )、W(k 3 )與W(k 4 )以及相似度0.25、0.375、0.375、0.25由高至低排序待推薦知識編號以產生包含推薦知識編號的知識推薦排序結果。
The knowledge
詳細來說,由於待推薦知識編號1、2、3與4的關鍵字
權重分數均相同,但按照待推薦知識編號1、2、3與4的相似度由高至低排序後,可以得到知識推薦排序結果為推薦知識編號2、推薦知識編號3、推薦知識編號1、推薦知識編號4。但由於推薦知識編號1的編號順序在推薦知識編號4之前,因此,最後的知識推薦排序結果僅包括推薦知識編號2、推薦知識編號3、推薦知識編號1。
In detail, since the keyword weight scores of the recommended
當知識推薦排序模組118產生知識推薦排序結果之後,顯示器13顯示知識推薦排序結果中推薦知識編號2、推薦知識編號3、推薦知識編號1所分別對應的推薦知識描述。櫃台人員即可從顯示器13中根據推薦知識編號2、推薦知識編號3、推薦知識編號1所分別對應的推薦知識描述傳達給消費者A。
After the knowledge
實施例二為透過本發明所述的知識推薦系統1和知識推薦方法3依據上下文關鍵字進行正確知識推薦的範例。假設消費者B至某電信門市的櫃台詢問電信業務,抽號碼牌後,至某櫃台詢問,其對話內容如表3:
櫃台人員可手動觸發知識推薦系統1進行知識推薦。這
段對話首先會進行音轉字的程序,並且儲存至對話儲存模組111。之後透過語音相似度計算模組113與知識資料模組112中所儲存的對應每一知識編號的知識名稱進行比對,請參表1。
The counter staff can manually trigger the
以萊文斯坦比例距離為例,語音相似度計算模組113基於這幾段對話與知識編號1~6所分別對應的知識名稱計算出每段對話的六個相似度,如表4所述。
Taking the Levenshtein proportional distance as an example, the speech
於一實施例中,使用者事先設定保留相似度大於等於門檻值0.25的知識編號,語音相似度計算模組113會依照對話時間的先後順利依序將每段對話的六個相似度中大於等於門檻值0.25的知識編號篩選出以產生多個候選知識編號。
In one embodiment, the user sets in advance to retain knowledge numbers with similarities greater than or equal to the threshold value of 0.25, and the voice
詳細來說,語音相似度計算模組113基於0:08:05的對話與知識編號1~6所分別對應的知識名稱計算出的六個相似度均大於等於門檻值,故全取出。語音相似度計算模組113基於0:08:06與0:08:08的對話與知識編號1~6所分別對應的知識名稱計算出的六個相似度均無超過門檻值0.25,故捨去。語音相似度計算模
組113基於0:08:07的對話與知識編號1~6所分別對應的知識名稱計算出的相似度中僅有與知識編號1的相似度高於門檻值0.25,故取出知識編號1。最後,語音相似度計算模組113取所有對話的相似度的聯集篩選出候選知識編號1~6。
Specifically, the six similarities calculated by the voice
接著,關鍵字識別模組114基於知識資料模組112中所儲存的知識編號1~6對應的關鍵字群組中的所有知識關鍵字使用命名實體識別即時識別對話儲存模組111所儲存的語音資料,並標註語音資料中的多個語音關鍵字,即「漫遊」、「價格」、「日本」。
Next, the
關鍵字期限模組115於語音關鍵字「漫遊」、「價格」、「日本」加上時間標籤以成為多個期限關鍵字。另外,關鍵字期限模組115也會擷取時間標籤在櫃台人員設定的設定時段(例如:0:08:00~0:11:00,五分鐘)內的語音資料進行過濾。由於語音資料中的對話是在0:08:05擷取的,所以這段對話的相關關鍵字「漫遊」、「價格」、「日本」會被留下。
The
關鍵字比對模組116比對知識資料模組112中的知識關鍵字與關鍵字期限模組115所產生的期限關鍵字「漫遊」、「價格」、「日本」,並基於符合知識關鍵字的期限關鍵字「漫遊」、「價格」、「日本」自候選知識編號1~6中篩選出待推薦知識編號1~6。
The
關鍵字權重模組117根據類別關鍵字群組、子類別關鍵字群組以及一般關鍵字群組所分別對應的權重2、1以及0.5計算對應關鍵字比對模組116所篩選出的待推薦知識編號1~6的關鍵字權重分數W(k 1 )、W(k 2 )、W(k 3 )、W(k 4 )、W(k 5 )、W(k 6 )。
The
由於關鍵字期限模組115所產生的期限關鍵字「漫遊」、「價格」、「日本」符合待推薦知識編號1所對應的類別關鍵字的次數X N 為1,關鍵字期限模組115所產生的期限關鍵字「漫遊」、「價格」、「日本」符合待推薦知識編號1所對應的子類別關鍵字的次數Y N 為1,而Z N 為關鍵字期限模組115所產生的期限關鍵字「漫遊」、「價格」、「日本」符合待推薦知識編號1所對應的子類別關鍵字的次數Z N 為1。因此,關鍵字權重分數W(k 1 )計算如下:W(k 1)=1×2+1×1+1×0.5=3.5
Since the number of times X N that the term keywords "roaming", "price", and "Japan" generated by the
以此類推,關鍵字權重分數W(k 2 )、W(k 3 )、W(k 4 )、W(k 5 )、W(k 6 )分別計算如下:W(k 2)=0×2+1×1+1×0.5=1.5 By analogy, the keyword weight scores W(k 2 ), W(k 3 ), W(k 4 ), W(k 5 ), and W(k 6 ) are calculated as follows: W ( k 2 )=0×2+1×1+1×0.5=1.5
W(k 3)=0×2+1×1+1×0.5=1.5 W ( k 3 )=0×2+1×1+1×0.5=1.5
W(k 4)=0×2+1×1+1×0.5=1.5 W ( k 4 )=0×2+1×1+1×0.5=1.5
W(k 5)=0×2+1×1+1×0.5=1.5 W ( k 5 )=0×2+1×1+1×0.5=1.5
W(k 6)=0×2+1×1+1×0.5=1.5 W ( k 6 )=0×2+1×1+1×0.5=1.5
接下來,知識推薦排序模組118根據待推薦知識編號1~6的關鍵字權重分數W(k 1 )~W(k 6 )由高至低排序待推薦知識編號1~6以產生知識推薦排序結果。
Next, the knowledge
櫃台人員設定僅針對排序在前的三筆待推薦知識編號進行推薦,待推薦知識編號1的關鍵字權重分數W(k 1 )是分數最高的,因此,知識推薦排序模組118產生的知識推薦排序結果中,推薦知識編號1為最優先。由於待推薦知識編號2~6的關鍵字權重分
數均相同,知識推薦排序模組118根據待推薦知識編號2~6的關鍵字權重分數W(k 2 )~W(k 6 )以及相似度由高至低排序待推薦知識編號,故留下推薦知識編號2、3。
The counter staff sets the recommendation to be made only for the top three recommended knowledge numbers. The keyword weight score W(k 1 ) of recommended
當知識推薦排序模組118產生知識推薦排序結果之後,顯示器13顯示知識推薦排序結果中推薦知識編號1、推薦知識編號2、推薦知識編號3所分別對應的推薦知識描述。櫃台人員即可從顯示器13中根據推薦知識編號1、推薦知識編號2、推薦知識編號3所分別對應的推薦知識描述傳達給消費者B。
After the knowledge
綜上所述,本發明所提供的知識推薦系統以及知識推薦方法可提供針對客戶臨櫃談話內容,進行即時的服務知識推薦供臨櫃人員挑選,協助臨櫃人員回憶服務流程,提升客戶滿意度,除了可減少培訓時間,減輕企業培訓成本。 In summary, the knowledge recommendation system and knowledge recommendation method provided by the present invention can provide real-time service knowledge recommendations for counter personnel to select based on the content of customer counter conversations, assist counter personnel in recalling service processes, and improve customer satisfaction. In addition to reducing training time, it can also reduce corporate training costs.
3:知識推薦方法 3: Knowledge recommendation method
S310~S380:步驟 S310~S380: Steps
Claims (14)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW113100095A TWI869149B (en) | 2024-01-02 | 2024-01-02 | Knowledge recommendation system and knowledge recommendation method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW113100095A TWI869149B (en) | 2024-01-02 | 2024-01-02 | Knowledge recommendation system and knowledge recommendation method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TWI869149B true TWI869149B (en) | 2025-01-01 |
| TW202528951A TW202528951A (en) | 2025-07-16 |
Family
ID=95152202
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW113100095A TWI869149B (en) | 2024-01-02 | 2024-01-02 | Knowledge recommendation system and knowledge recommendation method |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI869149B (en) |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8612866B2 (en) * | 2007-12-04 | 2013-12-17 | Sony Corporation | Information processing apparatus, information processing method, and information processing program |
| CN106796578A (en) * | 2014-08-06 | 2017-05-31 | 凯巴士有限公司 | Autoknowledge system |
| CN109313649A (en) * | 2017-03-24 | 2019-02-05 | 微软技术许可有限责任公司 | Voice-based knowledge sharing application for chatbots |
| CN115119066A (en) * | 2022-06-30 | 2022-09-27 | 武汉美和易思数字科技有限公司 | Teaching video interaction method and system based on dynamic weight |
| TW202316415A (en) * | 2021-10-04 | 2023-04-16 | 中華電信股份有限公司 | Customized intent evaluation system, method and computer-readable medium |
| CN116523225A (en) * | 2023-04-18 | 2023-08-01 | 泸州职业技术学院 | Data mining-based overturning classroom hybrid teaching method |
| CN116894085A (en) * | 2023-07-21 | 2023-10-17 | 湖北星纪魅族科技有限公司 | Dialog generation method and device, electronic equipment and storage medium |
-
2024
- 2024-01-02 TW TW113100095A patent/TWI869149B/en active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8612866B2 (en) * | 2007-12-04 | 2013-12-17 | Sony Corporation | Information processing apparatus, information processing method, and information processing program |
| CN106796578A (en) * | 2014-08-06 | 2017-05-31 | 凯巴士有限公司 | Autoknowledge system |
| CN109313649A (en) * | 2017-03-24 | 2019-02-05 | 微软技术许可有限责任公司 | Voice-based knowledge sharing application for chatbots |
| TW202316415A (en) * | 2021-10-04 | 2023-04-16 | 中華電信股份有限公司 | Customized intent evaluation system, method and computer-readable medium |
| CN115119066A (en) * | 2022-06-30 | 2022-09-27 | 武汉美和易思数字科技有限公司 | Teaching video interaction method and system based on dynamic weight |
| CN116523225A (en) * | 2023-04-18 | 2023-08-01 | 泸州职业技术学院 | Data mining-based overturning classroom hybrid teaching method |
| CN116894085A (en) * | 2023-07-21 | 2023-10-17 | 湖北星纪魅族科技有限公司 | Dialog generation method and device, electronic equipment and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| TW202528951A (en) | 2025-07-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110298028B (en) | A method and device for extracting key sentences from text paragraphs | |
| WO2021082982A1 (en) | Graphic knowledge base-based question and answer method and device, storage medium, and apparatus | |
| CN110472027B (en) | Intent recognition method, apparatus, and computer-readable storage medium | |
| WO2022095380A1 (en) | Ai-based virtual interaction model generation method and apparatus, computer device and storage medium | |
| CN106683688B (en) | Emotion detection method and device | |
| US20040163035A1 (en) | Method for automatic and semi-automatic classification and clustering of non-deterministic texts | |
| CN111460170B (en) | Word recognition method, device, terminal equipment and storage medium | |
| CN107833059B (en) | Customer Service Quality Evaluation Method and System | |
| CN111538828A (en) | Text emotion analysis method and device, computer device and readable storage medium | |
| CN112699645A (en) | Corpus labeling method, apparatus and device | |
| CN112507133A (en) | Method, device, processor and storage medium for realizing association search based on financial product knowledge graph | |
| CN112131348B (en) | Method for preventing repeated declaration of project based on similarity of text and image | |
| CN110046648A (en) | The method and device of business classification is carried out based at least one business disaggregated model | |
| TWI869149B (en) | Knowledge recommendation system and knowledge recommendation method | |
| CN110851560B (en) | Information retrieval method, device and equipment | |
| CN107609921A (en) | A kind of data processing method and server | |
| CN111160699A (en) | Expert recommendation method and system | |
| CN113177116B (en) | Information display method and device, electronic equipment, storage medium and program product | |
| CN111524503A (en) | Audio data processing method, device, audio recognition device and storage medium | |
| CN114360497A (en) | Speech recognition method, speech recognition device, computer equipment and storage medium | |
| CN113177151A (en) | Potential customer screening method | |
| Irianto et al. | Sentiment Analysis of Livin'by Mandiri Application Reviews Using Word2Vec Feature Extraction and KNN Method | |
| CN111080355B (en) | User set display method and device and electronic equipment | |
| CN115393024A (en) | Product data pushing method and device, computer equipment and storage medium | |
| CN116055671B (en) | Conference opinion display method, device and storage medium |