[go: up one dir, main page]

TWI629606B - Dialog method of dialog system - Google Patents

Dialog method of dialog system Download PDF

Info

Publication number
TWI629606B
TWI629606B TW106132867A TW106132867A TWI629606B TW I629606 B TWI629606 B TW I629606B TW 106132867 A TW106132867 A TW 106132867A TW 106132867 A TW106132867 A TW 106132867A TW I629606 B TWI629606 B TW I629606B
Authority
TW
Taiwan
Prior art keywords
answer
dialog
module
question
answer data
Prior art date
Application number
TW106132867A
Other languages
Chinese (zh)
Other versions
TW201915791A (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 TW106132867A priority Critical patent/TWI629606B/en
Application granted granted Critical
Publication of TWI629606B publication Critical patent/TWI629606B/en
Publication of TW201915791A publication Critical patent/TW201915791A/en

Links

Landscapes

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

Abstract

一種對話系統之對話方法將一輸入問句於社區問答服務中搜尋,而得到多個回答資料,接著計算各該回答資料的信心度,以輸出信心度最高之回答資料,由於各該回答資料的信心度是基於輸入問句及回答資料之間的關係進行計算,可確保該對話系統輸出之該回答資料的可信度。A dialog system dialogue method searches for an input question in a community question and answer service, and obtains a plurality of answer data, and then calculates the confidence of each answer data to output the answer data with the highest confidence, due to the answer data Confidence is calculated based on the relationship between the input question and the answer data, which ensures the credibility of the answer data output by the dialogue system.

Description

對話系統之對話方法Dialogue system dialogue method

本發明是關於一種對話系統,特別是關於一種對話系統之對話方法。The present invention relates to a dialog system, and more particularly to a dialog method for a dialog system.

對話系統為一種計算機系統(Computer system),其用以讓計算機與使用者進行對話,一般對話系統會儲存有多個訓練文本,訓練文本包含有預設之問句及對應之回答,在使用者輸入問句至對話系統時,對話系統會先辨識使用者語音所代表的文字為何,接著再計算使用者之問句與訓練文本之預測問句之間的相似度,並將相似度最高之預設問句所對應之回答答覆使用者,讓使用者能夠透過對話系統得到所需之答案。但由於訓練文本所能儲存的預設問句有限,使得對話系統通常僅能限制於單一領域中,且口語之問句的語法及用詞相當多變,在訓練文本為有限的情況下,常讓使用者重覆發問後才能得到所需之回答。The dialogue system is a computer system for causing a computer to talk to a user. The general dialogue system stores a plurality of training texts, and the training text includes preset questions and corresponding answers. When inputting a question to the dialogue system, the dialogue system first recognizes the text represented by the user's voice, and then calculates the similarity between the user's question and the predicted text of the training text, and compares the highest similarity. Set the answer to the answer to the user, so that the user can get the desired answer through the dialogue system. However, due to the limited number of presupposition questions that can be stored in the training text, the dialogue system can usually only be restricted to a single field, and the grammar and wording of the spoken words are quite variable. When the training text is limited, often Let the user repeat the question before getting the answer.

本發明的主要目的是將輸入問句於一社區問答服務(Community question answering)搜尋後得到多個回答資料,並計算各個回答資料之信心度,最後以信心度最高之回答資料進行答覆,由於是在開放資料庫中搜尋答案,能讓本發明之對話系統不侷限於單一領域中,此外,信心度是基於輸入問句與回答資料之間的關係進行計算,可確保回覆之答案的正確性,讓使用者能得到需要之回答。The main purpose of the present invention is to obtain a plurality of answer data after searching for a community question answering service, and calculate the confidence of each answer data, and finally reply with the answer data with the highest confidence, because Searching for answers in an open database allows the dialog system of the present invention to be not limited to a single field. In addition, confidence is calculated based on the relationship between the input question and the answer data, which ensures the correctness of the answer to the reply. Allow users to get the answers they need.

本發明之一種對話系統之對話方法包含:一對話模組接收一輸入問句,並將該輸入問句於一社區問答服務(Community question-answering service)中進行搜尋而得到複數個回答資料;一判定模組判定該些回答資料中是否包含有結構化資料(Structured data),若有則該判定模組控制該對話模組輸出為結構化資料之該回答資料,若否則該判定模組控制一計算模組計算各該回答資料之一信心度;該計算模組根據各該回答資料之一同意數、一回答排序、一相似性及一關鍵字密度計算各該回答資料之該信心度,該信心度之計算式為: 其中, 為該輸入問句, 為該回答資料, 為各該回答資料之該信心度, 為該輸入問句之該同意數, 為該回答資料之該回答排序, 為該輸入問句與各該回答資料的相似性, 為該輸入問句之關鍵字, 為各該回答問句之該關鍵字密度, 為各該回答資料中包含該輸入問句之關鍵字的數量, 為各該回答問句之字數量, 為可變變數;該對話模組輸出該信心度最高之該回答資料。 The dialog method of the dialog system of the present invention comprises: a dialog module receiving an input question, and searching the community question-answering service to obtain a plurality of answer materials; The determining module determines whether the answer data includes structured data, and if so, the determining module controls the dialog module to output the answer data of the structured data, if otherwise, the determining module controls one The calculation module calculates a confidence level of each of the answer data; the calculation module calculates the confidence of each of the answer data according to one of the answer data, an answer order, a similarity, and a keyword density. The calculation of confidence is: among them, For the input question, For the answer, The confidence level for each of the answers to the information, For the number of consents for the input question, Sort the answer to the answer data, For the similarity between the input question and each of the answer materials, For the keyword of the input question, The keyword density for each of the answer questions, For each of the answer data, the number of keywords that contain the input question, For each of the answers, the number of words, , , and It is a variable variable; the dialog module outputs the answer data with the highest confidence.

本發明藉由於該社區問答服務進行搜尋而得到該些回答資料,並以該計算模組計算各該回答資料的信心度,由於該計算模組是直接以該輸入問句與各該回答資料計算其信心度,而能給予使用者可靠且可信的答覆,且由於該社區問答服務屬於開放資料庫,讓該對話系統之答覆並不限於單一領域,而能進行廣泛之應用。The invention obtains the answer data by searching the community question and answer service, and calculates the confidence of each answer data by using the calculation module, because the calculation module directly calculates the input question and the answer data. The confidence level can give the user a reliable and credible reply, and since the community question and answer service is an open database, the response of the dialogue system is not limited to a single field, but can be widely applied.

請參閱第1及2圖,其為本發明之一實施例,一種對話系統之對話方法10的流程圖,該對話系統之對話方法10是用以讓一對話系統100能夠回覆使用者提問之問題,較佳的,本實施例之該對話系統之對話方法10是以元搜尋(Metasearch)的方式,也就是整合多個搜尋引擎搜尋最佳的回覆答案,請參閱第2圖,在本實施例中,該對話系統之對話方法10是整合一搜尋引擎SE及一社區問答服務CQA(Community question answering service)進行回覆答案的搜尋,但在其他實施例中,能以更多的搜尋引擎及社區問答服務或是僅以單一個該社區問答服務CQA進行回覆答案之搜尋,本發明不在此限。Please refer to FIG. 1 and FIG. 2, which are flowcharts of a dialog method 10 for a dialog system according to an embodiment of the present invention. The dialogue method 10 of the dialog system is used to enable a dialog system 100 to reply to a user's question. Preferably, the dialog method 10 of the dialog system of the embodiment is a Metasearch method, that is, integrating multiple search engines to search for the best reply answer, please refer to FIG. 2, in this embodiment. The dialogue method 10 of the dialogue system is to integrate a search engine SE and a community question answering service (CQA) to answer the answers, but in other embodiments, more search engines and community questions and answers can be used. The service or the search for the answer is only answered by a single community Q&A service CQA, and the present invention is not limited thereto.

請參閱第2圖,一使用者(圖未繪出)朝向一語音擷取裝置110提問,該提問被該語音擷取裝置110擷取為一語音訊號111,該語音訊號111經由一語音辨識模組120轉換為一輸入問句121,該輸入問句121為文字格式,以利後續之處理。在本實施例中,該語音擷取裝置110為一麥克風,而該語音辨識模組120是以Google自動語音辨識(Google ASR)將該語音訊號111轉換為該輸入問句121。Referring to FIG. 2, a user (not shown) asks a speech capture device 110, and the question is retrieved by the speech capture device 110 as a voice signal 111, and the voice signal 111 passes through a voice recognition module. The group 120 is converted into an input question 121, which is in a text format for subsequent processing. In this embodiment, the voice capture device 110 is a microphone, and the voice recognition module 120 converts the voice signal 111 into the input question 121 by Google Automatic Speech Recognition (Google ASR).

接著,請參閱第1及2圖,進行該對話系統之對話方法10之步驟11,該輸入問句121輸入至一剖析模組130進行剖析,在本實施例中,該剖析模組130是以中央研究院研發之CKIP中文剖析系統對該些輸入問句121進行剖析,以將該輸入問句121區分為複數個詞彙,其中,CKIP中文剖析系統會將該輸入問句121中至少一詞彙定義為該輸入問句121之中心語,而該剖析模組130將些詞彙之該中心語作為該輸入問句121的關鍵字。Then, referring to FIG. 1 and FIG. 2, step 11 of the dialogue method 10 of the dialog system is performed. The input question 121 is input to a parsing module 130 for analysis. In this embodiment, the parsing module 130 is The CKIP Chinese profiling system developed by the Academia Sinica analyzes the input questions 121 to distinguish the input question 121 into a plurality of vocabularies, wherein the CKIP Chinese profiling system defines at least one vocabulary in the input question 121. For the input phrase 121, the parsing module 130 uses the vocabulary of the vocabulary as the keyword of the input question 121.

接著,請參閱第1及2圖,進行該對話系統之對話方法10之步驟12,該對話模組140將該輸入問句121於一搜尋引擎SE進行搜尋,而可得到複數個搜尋結果SR,在本實施例中,該搜尋引擎SE為Google檢索系統,請參閱第3及4圖,分別為“台灣的長度”及“台灣專利”之該輸入問句121的搜尋結果SR,其中,請參閱第3圖,“台灣的長度”之搜尋結果SR中具有一精選摘要資料FS,該精選摘要資料FS為結構化資料(Structured data),通常為實用且可信之資料,但相對地,請參閱第4圖,“台灣專利”之搜尋結果SR中則不具有結構化之精選摘要資料,其搜尋結果為一般文章或是相關網站之連結,該些搜尋結果SR較難用以作為對話回覆。因此,該些搜尋結果SR傳送至該判定模組150進行步驟13,該判定模組150判定該些搜尋結果SR中是否包含有結構化資料,請參閱第1及3圖,若該些搜尋結果SR中包含有結構化資料,進行步驟14,該判定模組150控制該對話模組140直接輸出為結構化資料之該搜尋結果SR作為答覆,較佳的,結構化資料之該搜尋結果SR經由一語音合成模組(圖未繪出)轉換為語音,並經由一播放裝置(圖未繪出)播放,讓使用者能直接聆聽該對話系統100之回覆。請參閱第1及4圖,若該些搜尋結果SR中並未包含有結構化資料,進行步驟15,該對話模組140將該輸入問句121於該社區問答服務CQA進行搜尋。Next, referring to FIG. 1 and FIG. 2, step 12 of the dialog method 10 of the dialog system is performed. The dialog module 140 searches the input question 121 on a search engine SE to obtain a plurality of search results SR. In this embodiment, the search engine SE is a Google search system. Please refer to Figures 3 and 4, which are search results SR of the input question 121 of "Taiwan's length" and "Taiwan patent", respectively, Figure 3, "Taiwan's length" search results SR has a selected summary data FS, the selected summary data FS is structured data (usually structured and reliable data, but relatively, please refer to 4, "Taiwan Patent" search results SR does not have structured summary data, the search results are general articles or links to related websites, these search results SR is more difficult to use as a dialogue reply. Therefore, the search results SR are transmitted to the determination module 150 to perform step 13, and the determination module 150 determines whether the search results SR contain structured data. Please refer to the first and third figures, if the search results are obtained. The SR includes the structured data, and the determining module 150 controls the dialog module 140 to directly output the search result SR of the structured data as a reply. Preferably, the search result SR of the structured data is A speech synthesis module (not shown) is converted into speech and played through a playback device (not shown), allowing the user to directly listen to the response of the dialog system 100. Referring to FIGS. 1 and 4, if the search results SR do not include structured data, proceeding to step 15, the dialog module 140 searches the input question 121 for the community question and answer service CQA.

請參閱第1及2圖,於步驟15中,該對話模組140將該輸入問句121於一社區問答服務CQA中進行搜尋而得到複數個回答資料AD,在本實施例中,該社區問答服務CQA為百度知道,請參閱第5及6圖,分別為“北京的面積”及“阿里山日出時間”之該輸入問句121的回答資料AD,其中,請參閱第5圖,“北京的面積”之回答資料AD中具有一推薦答案RA,該推薦答案RA為結構化資料,通常為實用且可信之資料,但相對地,請參閱第6圖,“阿里山日出時間”之回答資料AD中則不具有結構化之推薦答案,而無法確定那一個回答資料AD為可靠之答覆,因此,該些回答資料AD傳送至該判定模組150進行步驟16,該判定模組150判定該些回答資料AD中是否包含有結構化資料,請參閱第1及5圖,若該些回答資料AD中包含有結構化資料,進行步驟17,該判定模組150控制該對話模組140直接輸出為結構化資料之該回答資料AD作為答覆,較佳的,結構化資料之該回答資料AD經由該語音合成模組(圖未繪出)轉換為語音,並經由該播放裝置(圖未繪出)播放,讓使用者能直接聆聽該對話系統100之回覆。請參閱第1及6圖,若該些回答資料AD中並未包含有結構化資料,進行步驟18,該判定模組150控制一計算模組160計算各該回答資料AD之一信心度。Referring to FIG. 1 and FIG. 2, in step 15, the dialog module 140 searches the input question 121 in a community question answering service CQA to obtain a plurality of answer data AD. In this embodiment, the community question and answer The service CQA is known to Baidu. Please refer to Figures 5 and 6 for the answer data of the input question 121 of “Area in Beijing” and “Alishan Sunrise Time”. Please refer to Figure 5, “Beijing The answer area AD has a recommended answer RA, which is structured data, usually practical and credible, but relatively, please refer to Figure 6, "Alishan Sunrise Time" answer The data AD does not have a structured recommendation answer, and it is not possible to determine which answer data AD is a reliable answer. Therefore, the answer data AD is transmitted to the determination module 150 to perform step 16, and the determination module 150 determines the If the answer data AD includes structured data, please refer to the first and fifth figures. If the answer data AD includes structured data, proceed to step 17, the decision module 150 controls the dialog module 140 to directly output. Structure The answer data AD of the data is used as a reply. Preferably, the answer data AD of the structured data is converted into a voice through the voice synthesis module (not shown), and is played through the playback device (not shown). , allowing the user to directly listen to the reply of the dialogue system 100. Referring to FIGS. 1 and 6, if the answer data AD does not include structured data, step 18 is performed. The determining module 150 controls a computing module 160 to calculate a confidence level of each of the answer data AD.

請參閱第1及2圖,該計算模組160根據各該回答資料AD之一同意數、一回答排序、一相似性及一關鍵字密度計算各該回答資料AD之該信心度,該信心度之計算式為: 其中, 為該輸入問句121, 為該回答資料AD, 為各該回答資料AD之該信心度, 為該回答資料AD之該同意數, 為該回答資料AD之該回答排序, 為該輸入問句121與各該回答資料AD的相似性,在本實施例中,該計算模組160是以全比對平面累加法(Whole-matching-plane-based, WMPB)進行各該回答資料AD之該相似度的計算, 為該輸入問句121之關鍵字, 為各該回答問句AD之該關鍵字密度, 為各該回答資料AD中包含該輸入問句121之關鍵字的數量, 為各該回答問句AD之字數量, 為可變變數,在本實施例中, 分別為0.2、0.2、0.2及0.4,以達到最佳的回覆正確率。 Referring to FIGS. 1 and 2, the calculation module 160 calculates the confidence of each of the answer data AD according to one of the answer data AD, an answer order, a similarity, and a keyword density. The calculation formula is: among them, For the input question 121, For the answer information AD, For this confidence in the answer data AD, For the consent number of the answer data AD, Sort the answer to the answer data AD, For the similarity between the input question 121 and each of the answer data AD, in the embodiment, the calculation module 160 performs each answer by using a Whole-matching-plane-based (WMPB) method. The calculation of the similarity of the data AD, For the keyword of the input question 121, Ask for the keyword density of AD for each of these answers, For each of the answer materials AD, the number of keywords including the input question 121, Ask each question the number of words in AD, , , and As a variable variable, in this embodiment, , , and They are 0.2, 0.2, 0.2 and 0.4 respectively to achieve the best response accuracy.

請參閱第1圖,完成該些回答資料AD之該信心度的計算後進行步驟19,該對話模組140輸出該信心度最高之該回答資料AD,較佳的,該信心度最高之該回答資料AD經由一語音合成模組(圖未繪出)轉換為語音,並經由一播放裝置(圖未繪出)播放,讓使用者能直接聆聽該對話系統100之回覆,而達到更佳的人機互動。Referring to FIG. 1 , after completing the calculation of the confidence level of the answer data AD, the process proceeds to step 19. The dialog module 140 outputs the answer data AD with the highest confidence. Preferably, the answer with the highest confidence is the answer. The data AD is converted into speech through a speech synthesis module (not shown) and played through a playback device (not shown), so that the user can directly listen to the response of the dialogue system 100 to achieve a better person. Machine interaction.

本發明藉由於該社區問答服務CQA進行搜尋而得到該些回答資料,並以該計算模組160計算各該回答資料AD的信心度,由於該計算模組160是直接以該輸入問句121與各該回答資料AD計算其信心度,而能給予使用者可靠且可信的答覆,且由於該社區問答服務CQA屬於開放資料庫,讓該對話系統100之答覆並不限於單一領域,而能進行廣泛之應用。The present invention obtains the answer data by searching the community Q&A service CQA, and calculates the confidence of each of the answer data AD by the calculation module 160, because the calculation module 160 directly uses the input question 121 and Each of the answer data AD calculates its confidence, and can give the user a reliable and credible reply, and since the community Q&A service CQA belongs to the open database, the response of the dialogue system 100 is not limited to a single field, but can be performed. A wide range of applications.

本發明之保護範圍當視後附之申請專利範圍所界定者為準,任何熟知此項技藝者,在不脫離本發明之精神和範圍內所作之任何變化與修改,均屬於本發明之保護範圍。The scope of the present invention is defined by the scope of the appended claims, and any changes and modifications made by those skilled in the art without departing from the spirit and scope of the invention are within the scope of the present invention. .

10‧‧‧對話系統之對話方法
11‧‧‧輸入問句之剖析
12‧‧‧將輸入問句於搜尋引擎進行搜尋
13‧‧‧判定搜尋結果是否有結構化資料
14‧‧‧輸出為結構化資料之搜尋結果
15‧‧‧將輸入問句於社區問答服務中進行搜尋
16‧‧‧判定回答資料是否有結構化資料
17‧‧‧輸出為結構化資料之回答資料
18‧‧‧計算回答資料之信心度
19‧‧‧輸出信心度為最高之回答資料
110‧‧‧語音擷取裝置
111‧‧‧語音訊號
120‧‧‧語音辨識模組
121‧‧‧輸入問句
130‧‧‧剖析模組
140‧‧‧對話模組
150‧‧‧判定模組
160‧‧‧計算模組
CQA‧‧‧社區問答服務
SE‧‧‧搜尋引擎
SR‧‧‧搜尋結果
FS‧‧‧精選摘要資料
AD‧‧‧回答資料
RA‧‧‧推薦答案
10‧‧‧ Dialogue system dialogue method
11‧‧‧Analysis of input questions
12‧‧‧Entering a question into a search engine
13‧‧‧Determining whether the search results have structured information
14‧‧‧ Output as search results for structured data
15‧‧‧Searching for questions in the community question and answer service
16‧‧‧Determining whether the answer data has structured information
17‧‧‧ Output as an answer to structured information
18‧‧‧ Calculate the confidence of the answer data
19‧‧‧Output data with the highest confidence
110‧‧‧Voice capture device
111‧‧‧ voice signal
120‧‧‧Voice recognition module
121‧‧‧Input question
130‧‧‧analysis module
140‧‧‧Dialog Module
150‧‧‧Decision module
160‧‧‧Computation Module
CQA‧‧‧Community Q&A Service
SE‧‧ Search Engine
SR‧‧ Search results
FS‧‧‧Selected summary information
AD‧‧‧answer information
RA‧‧‧Recommended answer

第1圖: 依據本發明之一實施例,一種對話系統之對話方法的流程圖。 第2圖: 依據本發明之一實施例,一種對話系統之功能方塊圖。 第3圖: 一輸入問句之具有結構化資料的搜尋結果的示意圖。 第4圖: 一輸入問句之未具有結構化資料的搜尋結果的示意圖。 第5圖: 一輸入問句於之具有結構化資料的回答資料的示意圖。 第6圖: 一輸入問句之未具有結構化資料的回答資料的示意圖。Figure 1 is a flow chart of a dialog method for a dialog system in accordance with an embodiment of the present invention. Figure 2: Functional block diagram of a dialog system in accordance with an embodiment of the present invention. Figure 3: Schematic diagram of a search result with structured data for an input question. Figure 4: Schematic diagram of a search result with no structured data for an input question. Figure 5: A schematic diagram of an answer message with structured information entered into it. Figure 6: Schematic diagram of an answer message with no structured information in an input question.

Claims (7)

一種對話系統之對話方法,其包含: 一對話模組接收一輸入問句,並將該輸入問句於一社區問答服務(Community question-answering service)中進行搜尋而得到複數個回答資料; 一判定模組判定該些回答資料中是否包含有結構化資料(Structured data),若有則該判定模組控制該對話模組輸出為結構化資料之該回答資料,若否則該判定模組控制一計算模組計算各該回答資料之一信心度; 該計算模組根據各該回答資料計算各該回答資料之該信心度;以及 該對話模組輸出該信心度最高之該回答資料。A dialogue method of a dialogue system, comprising: a dialog module receiving an input question, and searching the community question-answering service to obtain a plurality of answer data; The module determines whether the answer data includes structured data, and if so, the determining module controls the dialog module to output the answer data of the structured data, if otherwise, the determining module controls a calculation The module calculates a confidence level of each of the answer data; the calculation module calculates the confidence level of each of the answer data according to each of the answer data; and the dialog module outputs the answer data with the highest confidence. 如申請專利範圍第1項所述之對話系統之對話方法,其中該計算模組是根據各該回答資料之一同意數、一回答排序、一相似性及一關鍵字密度計算各該回答資料之該信心度,該信心度之計算式為: 其中, 為該輸入問句, 為該回答資料, 為各該回答資料之該信心度, 為該輸入問句之該同意數, 為該回答資料之該回答排序, 為該輸入問句與各該回答資料的相似性, 為該輸入問句之關鍵字, 為各該回答問句之該關鍵字密度, 為各該回答資料中包含該輸入問句之關鍵字的數量, 為各該回答問句之字數量, 為可變變數。 The dialog method of the dialog system of claim 1, wherein the calculation module calculates each of the answer data according to one of the answer data, one answer order, one similarity, and one keyword density. The confidence level, the calculation formula of the confidence degree is: among them, For the input question, For the answer, The confidence level for each of the answers to the information, For the number of consents for the input question, Sort the answer to the answer data, For the similarity between the input question and each of the answer materials, For the keyword of the input question, The keyword density for each of the answer questions, For each of the answer data, the number of keywords that contain the input question, For each of the answers, the number of words, , , and It is a variable variable. 如申請專利範圍第1項所述之對話系統之對話方法,其中該對話模組接收該輸入問句前另包含一剖析步驟,該剖析步驟為一剖析模組對該輸入問句進行剖析,以將該輸入問句區分為複數個詞彙,並將些詞彙中的至少一中心語作為該輸入問句的關鍵字。The dialog method of the dialog system of claim 1, wherein the dialog module further comprises a profiling step before the input query, the parsing step is a profiling module parsing the input question, The input question is divided into a plurality of words, and at least one of the words is used as the keyword of the input question. 如申請專利範圍第3項所述之對話系統之對話方法,其中該剖析模組是以中央研究院研發之CKIP中文剖析系統對該些輸入問句進行剖析。For example, the dialogue method of the dialogue system described in claim 3, wherein the analysis module analyzes the input questions by the CKIP Chinese profiling system developed by the Academia Sinica. 如申請專利範圍第1項所述之對話系統之對話方法,其中該對話模組將該輸入問句於該社區問答服務進行搜尋前,另包含該對話模組將該輸入問句於一搜尋引擎進行搜尋,而得到複數個搜尋結果,該判定模組判定該些搜尋結果中是否包含有結構化資料,若有則該判定模組控制該對話模組輸出為結構化資料之該搜尋結果,若否則該對話模組將該輸入問句於該社區問答服務進行搜尋。The dialog method of the dialog system described in claim 1, wherein the dialog module includes the dialog module to input the query question to a search engine before the input query is searched by the community question and answer service. Performing a search to obtain a plurality of search results, and the determining module determines whether the search results include structured data, and if so, the determining module controls the search result output by the dialog module as structured data, if Otherwise, the dialog module searches the input question in the community question and answer service. 如申請專利範圍第1項所述之對話系統之對話方法,其中該計算模組是以全比對平面累加法(Whole-matching-plane-based, WMPB)進行各該回答資料之該相似度的計算。For example, in the dialogue method of the dialogue system described in claim 1, wherein the calculation module performs the similarity of each of the answer data by using a whole-matching-plane-based (WMPB) method. Calculation. 如申請專利範圍第1項所述之對話系統之對話方法,其中該信心度計算式之 之大小比例為1:1:1:2。 For example, the dialogue method of the dialogue system described in claim 1 of the patent scope, wherein the confidence calculation formula , , and The size ratio is 1:1:1:2.
TW106132867A 2017-09-26 2017-09-26 Dialog method of dialog system TWI629606B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106132867A TWI629606B (en) 2017-09-26 2017-09-26 Dialog method of dialog system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106132867A TWI629606B (en) 2017-09-26 2017-09-26 Dialog method of dialog system

Publications (2)

Publication Number Publication Date
TWI629606B true TWI629606B (en) 2018-07-11
TW201915791A TW201915791A (en) 2019-04-16

Family

ID=63640670

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106132867A TWI629606B (en) 2017-09-26 2017-09-26 Dialog method of dialog system

Country Status (1)

Country Link
TW (1) TWI629606B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120253825A1 (en) * 2006-03-03 2012-10-04 At&T Intellectual Property Ii, L.P. Relevancy recognition for contextual question answering
TW201248437A (en) * 2011-04-21 2012-12-01 Palo Alto Res Ct Inc Incorporating lexicon knowledge into SVM learning to improve sentiment classification
CN107025283A (en) * 2017-04-05 2017-08-08 竹间智能科技(上海)有限公司 The answer method and system of candidate answers sequence are carried out based on subscriber data
CN107066556A (en) * 2017-03-27 2017-08-18 竹间智能科技(上海)有限公司 Alternative answer sort method and device for artificial intelligence conversational system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120253825A1 (en) * 2006-03-03 2012-10-04 At&T Intellectual Property Ii, L.P. Relevancy recognition for contextual question answering
TW201248437A (en) * 2011-04-21 2012-12-01 Palo Alto Res Ct Inc Incorporating lexicon knowledge into SVM learning to improve sentiment classification
CN107066556A (en) * 2017-03-27 2017-08-18 竹间智能科技(上海)有限公司 Alternative answer sort method and device for artificial intelligence conversational system
CN107025283A (en) * 2017-04-05 2017-08-08 竹间智能科技(上海)有限公司 The answer method and system of candidate answers sequence are carried out based on subscriber data

Also Published As

Publication number Publication date
TW201915791A (en) 2019-04-16

Similar Documents

Publication Publication Date Title
US20240069860A1 (en) Search and knowledge base question answering for a voice user interface
US12002452B2 (en) Background audio identification for speech disambiguation
US10431214B2 (en) System and method of determining a domain and/or an action related to a natural language input
US10672391B2 (en) Improving automatic speech recognition of multilingual named entities
US20210406260A1 (en) Combining parameters of multiple search queries that share a line of inquiry
US9454957B1 (en) Named entity resolution in spoken language processing
JP2021182168A (en) Speech recognition system
US11526512B1 (en) Rewriting queries
WO2022252636A1 (en) Artificial intelligence-based answer generation method and apparatus, device, and storage medium
CN105334743A (en) Intelligent home control method and system based on emotion recognition
US11289075B1 (en) Routing of natural language inputs to speech processing applications
CN101404035A (en) Information search method based on text or voice
US12164562B1 (en) Background audio identification for query disambiguation
CN108846063A (en) Method, apparatus, apparatus and computer readable medium for determining an answer to a question
US20250036621A1 (en) Generating query answers from a user's history
TW202018529A (en) System for inquiry service and method thereof
US11380308B1 (en) Natural language processing
US11893994B1 (en) Processing optimization using machine learning
CN118035473A (en) Multi-mode file retrieval method, system and medium based on large language model
TW201409462A (en) A method of semantic recognition
US12204866B1 (en) Voice based searching and dialog management system
TWI629606B (en) Dialog method of dialog system
CN109684357B (en) Information processing method and device, storage medium, and terminal
US11450325B1 (en) Natural language processing
CN121303125A (en) College voice consultation data processing method, device, equipment and medium

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees