KR20180116104A - Method and apparatus of dialog scenario database constructing for dialog system - Google Patents

Method and apparatus of dialog scenario database constructing for dialog system Download PDF

Info

Publication number
KR20180116104A
KR20180116104A KR1020170168352A KR20170168352A KR20180116104A KR 20180116104 A KR20180116104 A KR 20180116104A KR 1020170168352 A KR1020170168352 A KR 1020170168352A KR 20170168352 A KR20170168352 A KR 20170168352A KR 20180116104 A KR20180116104 A KR 20180116104A
Authority
KR
South Korea
Prior art keywords
scenario
conversation
sentence
dialog
dialogue
Prior art date
Application number
KR1020170168352A
Other languages
Korean (ko)
Other versions
KR102117287B1 (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 얄리주식회사
Publication of KR20180116104A publication Critical patent/KR20180116104A/en
Application granted granted Critical
Publication of KR102117287B1 publication Critical patent/KR102117287B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • G06F16/3329Natural language query formulation or dialogue systems
    • G06F17/30654
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/334Query execution
    • G06F16/3347Query execution using vector based model
    • G06F17/3069
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking

Abstract

The present invention relates to a method for constructing a dialogue scenario database, and more specifically, to a method for constructing a dialogue scenario database for a dialogue system applied to an ontology dialogue network that automatically searches, collects, refines, and learns conversation scenarios from SNS, radio, and broadcasting to expand a conversation area automatically or improve conversation quality. To this end, the method for constructing a dialogue scenario database for a dialogue system applied to an ontology dialogue network comprises: a step (a) of extracting sentences by ID or name from a conversation-type voice file or a conversation-type article or comment; a step (b) of expressing a conversation sentence in tree form by ID or name according to conversation development of the article or a the comment from the sentence extracted in the step (a); a step (c) of extracting a dialog scenario from each tree of the step (b); a step (d) of expressing each sentence of the dialogue scenario generated in the step (c) as a semantic vector; a step (e) of expressing each sentence of the dialogue scenario generated in the step (d) by an intent pattern; a step (f) of constructing a database of the conversation scenario by the intent pattern and the semantic vector; and a step (g) of creating a new intention pattern with respect to an existing sentence having no intention pattern in the step (e).

Description

대화 시스템을 위한 대화 시나리오 데이터베이스 구축 방법 및 장치{Method and apparatus of dialog scenario database constructing for dialog system}FIELD OF THE INVENTION [0001] The present invention relates to a method and apparatus for constructing a dialogue scenario database for a dialogue system,

본 발명은 대화 시나리오 데이터베이스 구축에 관한 것으로서, 보다 상세하게는 대화 시나리오를 SNS, 라디오, 방송에서 자동으로 검색, 수집, 정제, 학습하여 자동으로 대화 영역을 확장하거나 대화 품질을 개선시키고자 하는 온톨로지 대화 관계망에 적용되는 대화 시스템을 위한 대화 시나리오 데이터베이스 구축 방법에 관한 것이다. The present invention relates to the construction of a dialogue scenario database, and more particularly, to an ontology dialogue service in which dialogue scenarios are automatically searched, collected, refined, and learned in SNS, radio, And a dialogue scenario database construction method for an interactive system applied to a network.

인간은 인간 이외의 대상과 자연스럽게 대화를 주고받는 오랜 꿈을 가지고 왔다. 현재 인공지능(AI)과 빅데이터가 몰고 온 제4차 산업혁명이 진행되고 있으며, 인공지능의 핵심은 인간과 사물과의 자연스러운 대화 커뮤니케이션이다.Humans have long dreamed to communicate naturally with people other than humans. Artificial Intelligence (AI) and Big Data are driving the fourth industrial revolution, and at the core of artificial intelligence is the natural dialog communication between humans and objects.

그러나 현재까지 대화 시나리오는 사람이 직접 시나리오를 정제해서 구축하므로, 많은 비용과 시간, 인력이 소요되었다. 이렇게 사람이 직접 시나리오를 수집하고 정제해서 구축하므로 상대적으로 많은 시간이 필요로 하게 되며, 이로써 과거의 대화를 할 수 밖에 없어 현재 발생하고 있는 사건이나 사고, 각종 트랜드나 이슈에 대한 즉각적인 대화가 가능하지 못하였다. However, until now, the dialogue scenarios have been costly, time-consuming, and labor-intensive, since people manually build the scenarios by refining them. This allows people to collect and refine their own scenarios, which will require a relatively long time, which will allow them to engage in conversations in the past, allowing immediate conversations about current incidents or accidents, trends or issues. I did not.

즉 제한된 영역에서 제한된 대화만 구사하게 되므로 대화 영역을 확장하거나 대화품질을 개선하지 못하는 한계가 있었다. That is, since only a limited dialogue is used in a limited area, there is a limitation in expanding the dialog area or improving the conversation quality.

KR 10-0444568KR 10-0444568 KR 0326931KR 0326931 KR 10-2012-0146174KR 10-2012-0146174

본 발명은 이와 같은 문제점을 해결하기 위하여 창안된 것으로서, 대화 시나리오를 SNS, 라디오, 방송에서 자동으로 검색, 수집, 정제, 학습하여 자동으로 대화 영역을 확장하거나 대화 품질을 개선시키고자 하는 온톨로지 대화 관계망에 적용되는 대화 시스템을 위한 대화 시나리오 데이터베이스 구축 방법을 제공하는데 목적이 있다. It is an object of the present invention to provide an ontology dialogue network in which dialogue scenarios are automatically searched, collected, refined, and learned in SNS, radio, and broadcasting, The present invention provides a method for constructing a dialogue scenario database for an interactive system applied to a dialogue scenario.

이와 같은 목적을 달성하기 위한 본 발명에 따른 특징은 온톨로지 대화 관계망에 적용되는 대화 시스템을 위한 대화 시나리오 데이터베이스 구축 방법으로서, (a) 대화 형식의 음성 파일 또는 대화 형식의 게시글, 댓글로부터 아이디 또는 이름별로 문장을 추출하는 단계; (b) 상기 단계 (a)에서 추출된 문장으로부터 게시글, 댓글의 대화 전개에 따라 아이디 또는 이름별로 대화 문장을 트리 형태로 표현하는 단계; (c) 상기 단계 (b)의 각 트리에서 대화 시나리오를 추출하는 단계; (d) 상기 단계 (c)에서 생성된 대화 시나리오의 각 문장을 의미벡터로 표현하는 단계; (e) 상기 단계 (d)에서 생성된 대화 시나리오의 각 문장을 의도패턴으로 표현하는 단계; (f) 상기 대화 시나리오를 의도패턴과 의미벡터로 데이터베이스화 시키는 단계; 및 (g) 상기 단계 (e)에서 기존 의도패턴이 없는 문장을 새로운 의도패턴을 만드는 단계를 포함한다. According to another aspect of the present invention, there is provided a method for constructing a dialog scenario database for an interactive system applied to an ontology dialog network, the method comprising the steps of: (a) Extracting a sentence; (b) expressing a conversation sentence in tree form by ID or name according to conversation development of a comment or a comment from the sentence extracted in the step (a); (c) extracting a dialog scenario from each tree of step (b); (d) expressing each sentence of the dialog scenario generated in the step (c) as a semantic vector; (e) expressing each sentence of the dialogue scenario generated in the step (d) in an intent pattern; (f) databaseing the conversation scenario into an intent pattern and a semantic vector; And (g) creating a new intention pattern in the sentence without the existing intention pattern in the step (e).

바람직하게는 상기 단계 (e) 이후, 상기 온톨로지 다차원 공간상에 상기 데이터베이스화 시킨 연속적의 의미벡터를 의미단어 또는 의미노드 그리고 의미큐브 중 하나로 표시하는 단계를 더 포함한다. Preferably, the step (e) further comprises the step of displaying the continuous semantic vector converted into the database on the ontology multidimensional space as one of a semantic word, a semantic node and a semantic cube.

바람직하게는 상기 단계 (a)의 대화 형식의 음성 파일은 음성인식을 통하여 텍스트로 변경한 후 추출되는 것이다. Preferably, the interactive speech file of step (a) is extracted after being converted into text through speech recognition.

바람직하게는 상기 단계 (a)의 대화 형식의 게시글로부터의 추출은, 특정 단어(word)를 검색어로 지정하며, 이 지정된 검색어로 검색된 게시글 및 댓글을 데이터 파싱하여 추출하는 것이다. Preferably, the step (a) extracts a specific word (word) from a conversation-type article, and parses and extracts the posts and comments retrieved with the specified search term.

바람직하게는 상기 단계 (a)에서 추출된 문장은 의미벡터로 자동 변환되는 것이다. Preferably, the sentence extracted in step (a) is automatically converted into a semantic vector.

이와 같은 목적을 달성하기 위한 본 발명의 다른 특징은 대화 시나리오를 추출하는 대화 시나리오 추출부; 상기 대화 시나리오 추출부에 의하여 생성된 대화 시나리오의 각 문장을 학습하는 대화 시나리오 학습부; 상기 대화 시나리오 학습부에 의해서 생성된 의미벡터를 이용하여 대화 시나리오 각 문장의 의도패턴을 분류하는 대화 시나리오 의도패턴 분류부; 상기 대화 시나리오 의도패턴 분류부에 의해서 분류되지 않은 의도패턴에 대해서 새로운 의도패턴을 만드는 의도패턴 생성부; 상기 대화 시나리오 의도패턴과 의미벡터를 저장하는 대화 시나리오 데이터베이스; 및 상기 대화 시나리오 데이터베이스에 저장된 상기 대화 시나리오의 연속적인 의미벡터와 의도패턴을 온톨로지 다차원 공간상에 표시하는 온톨로지 관계 매핑부를 포함한다. According to another aspect of the present invention, there is provided a communication system including a dialog scenario extracting unit for extracting a dialog scenario; A dialogue scenario learning unit for learning each sentence of the dialogue scenario generated by the dialogue scenario extracting unit; A dialogue scenario intention pattern classifying unit for classifying intention patterns of each sentence of the dialogue scenario by using the semantic vector generated by the dialogue scenario learning unit; An intention pattern generator for generating a new intention pattern for an intention pattern not classified by the intention pattern classifier of the dialog scenario; A dialog scenario database storing the dialog pattern intention patterns and the semantic vectors; And an ontology relationship mapping unit for displaying a continuous semantic vector and an intent pattern of the conversation scenario stored in the conversation scenario database on an ontology multidimensional space.

본 발명에 의하면, 대화 시나리오 수집, 정제, 구축을 자동화하므로 대화 시나리오 구축비용을 절감할 수 있는 효과가 있다. According to the present invention, it is possible to reduce the construction cost of the dialogue scenario by automating the dialogue scenario collection, refinement, and construction.

또한 사람이 직접 시나리오를 수집하면, 정제해서 구축하는데 많은 시간이 필요하므로 과거의 대화를 하게 되지만, 대화 시나리오를 자동으로 수집해서 대화에 반영하기 때문에 현재 발생하고 있는 사건이나 사고, 각종 트랜드나 이슈에 대한 즉각적인 대화가 가능해서 대화 품질을 높이는 효과가 있다.In addition, if a person directly collects scenarios, it takes a lot of time to refine and construct them, so that conversations are made in the past. However, since conversation scenarios are automatically collected and reflected in conversations, So that the conversation quality can be improved.

또한 다양한 주제에 대해서 끊임없이 대화 시나리오를 수집하기 때문에 다양한 관점이 반영된 주제에 대한 대화가 가능한 효과가 있다.In addition, since conversation scenarios are constantly collected on various topics, it is possible to have conversations on topics reflecting various perspectives.

도 1은 본 발명에 따른 대화 시스템을 위한 대화 시나리오 데이터베이스 구축 방법을 설명하기 위한 순서도.
도 2는 본 발명에 따른 대화 시스템을 위한 대화 시나리오의 데이터베이스 구축 장치를 개략적으로 도시한 도면.
도 3은 도 2에 따른 대화 시스템을 위한 대화 시나리오의 데이터베이스 구축 장치를 세부적으로 도시한 도면.
도 4 내지 도 5는 본 발명에 따른 대화 시스템을 위한 대화 시나리오 데이터베이스 구축 중 문장 추출의 일예를 나타낸 화면.
도 6은 본 발명에 따른 대화 시스템을 위한 대화 시나리오 데이터베이스의 구축 중 문장 분석의 일예를 나타낸 화면.
도 7은 본 발명에 따른 대화 시스템을 위한 대화 시나리오 데이터베이스 구축 중 대화 시나리오 학습의 일예를 나타낸 화면.
도 8는 본 발명에 따라 구축된 대화 시스템을 위한 대화 시나리오 데이터베이스가 온톨로지 대화 관계망에 표시된 일예를 나타낸 도면.
도 9는 본 발명에 따른 대화 시나리오 데이터베이스에 저장된 대화 시나리오가 표현된 일예.
도 10은 본 발명에 따른 대화 시나리오 데이터페이스에 저장된 대화 시나리오가 3차원 저작도구로 표현된 화면.
도 11는 본 발명에 따른 대화 시나리오 데이터베이스에 저장된 대화 시나리오가 3차원 저작도구로 표현된 시나리오 입력 화면의 일예.
도 12은 본 발명에 따른 대화 시나리오 데이터베이스에 저장된 대화 시나리오가 3차원 저작도구로 표현된 시나리오 수정 화면의 일예.
도 13는 본 발명에 따른 대화 시나리오 데이터베이스에 저장된 대화 시나리오가 3차원 저작도구로 표현된 시나리오 삭제 화면의 일예.
도 14는 본 발명에 따른 대화 시나리오 자동 수집 및 온톨로지 대화 관계망을 이용한 연속 대화가 이루어지는 시퀀스를 블럭 다이어그램으로 도시한 도면.
도 15는 본 발명에 따른 대화 시나리오 자동 수집 및 온톨로지 대화 관계망을 이용한 연속 대화가 이루어지는 시퀀스를 순서도로써 도시한 도면.
도 16은 본 발명에 따른 온톨로지 대화 관계망을 이용한 연속 대화 중, 신규 대화문장이 입력되었을 경우, 온톨로지 대화 관계망으로 매핑하는 방법을 수행하는 순서도.
도 17은 본 발명에 따른 온톨로지 대화 관계망을 이용한 연속 대화를 이용하여 대화 품질 개선을 구현하기 위한 시퀀스를 블럭 다이어그램으로 도시한 도면.
도 18은 본 발명에 따른 온톨로지 대화 관계망을 이용한 연속 대화 시스템의 구성을 나타내는 도면.
도 19는 본 발명에 따른 온톨로지 대화 관계망 구조의 일 실시예를 도시한 도면.
도 20은 본 발명에 따른 온톨로지 대화 관계망에서 일반대화 분류 구조의 일 실시예를 도시한 도면.
도 21은 본 발명에 따른 온톨로지 대화 관계망에서 전문대화 분류 구조의 일 실시예를 도시한 도면.
도 22는 본 발명에 따른 온톨로지 대화 관계망에서 전문대화 중 병원 콜센터에서 상담원과 주고받는 대화 분류 구조의 일 실시예를 도시한 도면.
도 23은 본 발명에 따른 온톨로지 대화 관계망에서 일상대화와 감성대화 및 전문대화가 연결되는 분류 구조의 일 실시예를 도시한 도면.
1 is a flowchart for explaining a method of constructing a dialogue scenario database for an interactive system according to the present invention;
Figure 2 schematically illustrates a database building apparatus for a dialog scenario for an interactive system according to the present invention;
3 is a detailed view of a database construction apparatus of a dialogue scenario for the dialog system according to FIG.
FIG. 4 to FIG. 5 are views illustrating an example of sentence extraction during the construction of a dialogue scenario database for the dialog system according to the present invention;
6 is a screen showing an example of sentence analysis during construction of a dialogue scenario database for the dialog system according to the present invention;
7 is a screen showing an example of conversation scenario learning during construction of a conversation scenario database for the conversation system according to the present invention;
8 illustrates an example of a dialog scenario database for an interactive system constructed in accordance with the present invention displayed on an ontology dialogue network;
9 is an example of a dialog scenario stored in a dialogue scenario database according to the present invention;
10 is a screen in which the dialog scenario stored in the dialog scenario data face according to the present invention is expressed by a three-dimensional authoring tool.
11 is an example of a scenario input screen in which a dialog scenario stored in the dialog scenario database according to the present invention is expressed by a three-dimensional authoring tool.
12 is an example of a scenario modification screen in which a dialog scenario stored in the dialog scenario database according to the present invention is expressed by a three-dimensional authoring tool.
13 is an example of a screen for deleting a scenario in which a dialog scenario stored in the dialog scenario database according to the present invention is represented by a 3D authoring tool.
FIG. 14 is a block diagram showing a sequence in which continuous conversation is performed using the conversation scenario automatic collection and ontology conversation network according to the present invention; FIG.
15 is a flowchart showing a sequence in which continuous conversation is performed using the conversation scenario automatic collection and the ontology conversation network according to the present invention.
FIG. 16 is a flow chart illustrating a method of mapping a new conversation sentence into an ontology conversation network when a new conversation sentence is input, in a continuous conversation using the ontology conversation network according to the present invention.
FIG. 17 is a block diagram illustrating a sequence for implementing conversation quality improvement using continuous conversation using an ontology conversation network according to the present invention; FIG.
18 is a diagram showing a configuration of a continuous conversation system using an ontology conversation network according to the present invention;
19 illustrates an embodiment of an ontology talk network structure according to the present invention.
20 illustrates an embodiment of a general conversation classification structure in an ontology conversation network according to the present invention;
FIG. 21 illustrates an embodiment of a professional conversation classification structure in an ontology conversation network according to the present invention; FIG.
22 is a diagram illustrating an example of a conversation classification structure to be exchanged with an agent in a hospital call center during a professional conversation in an ontology conversation network according to the present invention;
23 illustrates an example of a classification structure in which a daily conversation, an emotional conversation, and a professional conversation are connected in an ontology conversation network according to the present invention.

이하 첨부된 도면을 참조로 본 발명의 바람직한 실시예를 상세히 설명하기로 한다. 이에 앞서, 본 명세서 및 청구범위에 사용된 용어나 단어는 통상적이거나 사전적인 의미로 한정해서 해석되어서는 아니되며, 발명자는 그 자신의 발명을 가장 최선의 방법으로 설명하기 위해 용어의 개념을 적절하게 정의할 수 있다는 원칙에 입각하여 본 발명의 기술적 사상에 부합하는 의미와 개념으로 해석되어야만 한다. 따라서, 본 명세서에 기재된 실시예와 도면에 도시된 구성은 본 발명의 가장 바람직한 일 실시예에 불과할 뿐이고 본 발명의 기술적 사상을 모두 대변하는 것은 아니므로, 본 출원시점에 있어서 이들을 대체할 수 있는 다양한 균등물과 변형예들이 있을 수 있음을 이해하여야 한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. Prior to this, terms and words used in the present specification and claims should not be construed as limited to ordinary or dictionary terms, and the inventor should appropriately interpret the concepts of the terms appropriately It should be interpreted in accordance with the meaning and concept consistent with the technical idea of the present invention based on the principle that it can be defined. Therefore, the embodiments described in this specification and the configurations shown in the drawings are merely the most preferred embodiments of the present invention and do not represent all the technical ideas of the present invention. Therefore, It is to be understood that equivalents and modifications are possible.

도 1은 본 발명에 다른 대화 시스템을 위한 대화 시나리오 데이터베이스 구축 방법을 설명하기 위한 순서도이다. 1 is a flowchart illustrating a method for constructing a dialogue scenario database for a dialog system according to the present invention.

도 1에 따른 대화 시스템을 위한 대화 시나리오 데이터베이스 구축 방법은, 먼저 문장을 추출한다(S110). 문장의 추출은 대화 형식의 음성 파일 또는 대화 형식의 게시글, 댓글로부터 아이디 또는 이름별로 문장을 추출한다. In the dialogue scenario database building method for the dialog system according to FIG. 1, a sentence is extracted first (S110). Extraction of a sentence extracts a sentence by ID or name from conversation type voice file or conversation type comment, comment.

단계 (S110)에서 문장이 추출되면, 추출된 문장으로부터 게시글, 댓글의 대화 전개에 따라 아이디 또는 이름별로 대화 문장을 트리 형태로 표현한다(S120).If a sentence is extracted in step S110, the dialogue sentence is expressed in tree form by ID or name according to the conversation development of the comment or comment from the extracted sentence (S120).

그리고 단계 (S120)에서 표현된 각 트리에서 대화 시나리오를 추출하고(S130), 생성된 대화 시나리오의 각 문장을 의미벡터로 표현한다(S140).Then, a dialog scenario is extracted from each tree expressed in step S120 (S130), and each sentence in the generated dialog scenario is represented by a semantic vector (S140).

이어서, 생성된 대화 시나리오의 각 문장을 의도패턴으로 표현하고(S150), 상기 대화 시나리오를 의도패턴과 의미벡터로 데이터베이스화 시킨다(S160).Subsequently, each sentence of the generated dialog scenario is expressed as an intention pattern (S150), and the dialog scenario is converted into a database by using the intention pattern and the semantic vector (S160).

여기서, 기존 의도패턴이 없는 문장은 새로운 의도패턴을 만든다(S170)Here, the sentence without the existing intention pattern creates a new intention pattern (S170)

이렇게 데이터베이스화 된 시나리오의 연속적의 의미벡터과 의미벡터를 온톨로지 다차원 공간상에 연속적으로 표시한다(S160). Continuous semantic vectors and semantic vectors of the scenario thus database are continuously displayed on the ontology multidimensional space (S160).

도 1에 따른 본 발명의 대화 시스템을 위한 대화 시나리오 데이터베이스 구축 방법을 도 2 내지 도 3의 대화 시스템을 위한 대화 시나리오 데이터베이스 구축 장치를 통하여 설명하면 다음과 같다. The method for constructing a dialog scenario database for the dialog system of the present invention shown in FIG. 1 will be described with reference to a dialogue scenario database establishing apparatus for the dialog system of FIGS.

도 2는 본 발명에 따른 대화 시스템을 위한 대화 시나리오 데이터베이스 구축 장치를 개략적으로 도시한 도면이며, 도 3은 도 2에 따른 대화 시스템을 위한 대화 시나리오 데이터베이스 구축 장치를 세부적으로 도시한 도면이다. FIG. 2 is a view schematically showing an apparatus for constructing a dialogue scenario database for an interactive system according to the present invention, and FIG. 3 is a detailed view illustrating an apparatus for constructing a dialogue scenario database for the interactive system according to FIG.

도 2 내지 도 3에 도시된 바와 같이, 본 발명에 따른 대화 시스템을 위한 대화 시나리오 데이터베이스 구축 장치(100)는 문장을 추출하는 문장추출부(110)와, 문장추출부(110)에 의하여 추출된 문장으로부터 대화 시나리오를 추출하는 시나리오추출부(120)와, 시나리오추출부(120)에 의하여 추출된 각 문장에서 의미벡터를 추출하는 의미벡터추출부(130)와, 의미벡터추출부(130)에 의하여 각 문장의 의도를 분류하는 의도패턴분류부 (140)와, 의도패턴분류부(140)에서 분류하지 못한 의도패턴을 생성하는 의도패턴생성부(150), 대화 시나리오를 의도패턴과 의미벡터로 저장하는 대화 시나리오 데이터베이스(160)와, 대화 시나리오 데이터베이스(160)에 저장된 대화 시나리오의 연속적인 의도패턴, 의미벡터를 온톨로지 다차원 공간상에 표시하는 온톨로지 관계 매핑부(170)을 포함한다. 2 to 3, an apparatus 100 for constructing a dialogue scenario database for an interactive system according to the present invention includes a sentence extraction unit 110 for extracting a sentence, a sentence extraction unit 110 for extracting a sentence extracted by the sentence extraction unit 110, A semantic vector extracting unit 130 for extracting a semantic vector from each sentence extracted by the scenario extracting unit 120, a semantic vector extracting unit 130 for extracting a semantic vector from the sentence extracted by the scenario extracting unit 120, An intention pattern generating unit 150 for generating an intention pattern that can not be classified by the intention pattern classifying unit 140, an intention pattern generating unit 150 for converting a conversation scenario into an intention pattern and a semantic vector, An ontology relationship mapping unit 17 for displaying successive intention patterns and semantic vectors of the dialog scenario stored in the dialog scenario database 160 on the ontology multidimensional space, 0).

문장추출부(110)와, 문장추출부(110)에 의하여 추출된 문장으로부터 대화 시나리오를 추출하는 시나리오추출부(120)와, 시나리오추출부(120)에 의하여 추출된 각 문장에서 의미벡터를 추출하는 의미벡터추출부(130)와, 의미벡터추출부(130)에 의하여 각 문장의 의도를 분류하는 의도패턴분류부 (140)와, 의도패턴분류부(140)에서 분류하지 못한 의도패턴을 생성하는 의도패턴생성부(150), 대화 시나리오를 의도패턴과 의미벡터로 저장하는 대화 시나리오 데이터베이스(160)와, 대화 시나리오 데이터베이스(160)에 저장된 대화 시나리오의 연속적인 의도패턴, 의미벡터를 온톨로지 다차원 공간상에 표시하는 온톨로지 관계 매핑부(170)을 포함한다. A scenario extracting unit 120 for extracting a dialogue scenario from a sentence extracted by the sentence extracting unit 110, a sentence extracting unit 110 for extracting a semantic vector from each sentence extracted by the scenario extracting unit 120, An intention pattern classifying unit 140 for classifying the intent of each sentence by the semantic vector extracting unit 130 and an intention pattern generating unit 140 for generating an intention pattern that is not classified by the intention pattern classifying unit 140 A dialogue scenario database 160 for storing the dialogue scenario as an intention pattern and a semantic vector, a continuous intention pattern and a semantic vector of the dialogue scenario stored in the dialogue scenario database 160 as an ontology multidimensional space And an ontology relationship mapping unit 170 for displaying the ontology relationship mapping unit 170.

문장추출부(110))은 대화 형식의 음성 파일 또는 대화 형식의 게시글, 댓글로부터 아이디 또는 이름별로 문장을 추출하는데, 이 문장추출부(110)은 대화 형식의 음성 파일을 추출하는 음성 파일 추출모듈(111)과, 대화 형식의 게시글, 댓글로부터 문장을 추출하는 게시글 추출모듈(112)을 포함하는데, 도 3에 도시된 바와 같이 콜센터 및 라디오 그리고 TV 방송 등의 대화 형식의 음성 파일은 음성 파일 추출모듈(111)을 통하여 문장이 추출되며, SNS 등에 게시된 대화 형식의 문장은 검색어 생성기(113)에 검색어가 선택되면 게시글 추출모듈(112)에 의하여 아이디 또는 이름별로 게시글, 댓글을 검색하고 게시글, 댓글을 파싱하여 문장을 추출한다. 예를 들면, 콜센터에서 제공되는 기존 음성녹취 파일을 음성 인식 후, 텍스트로부터 문장을 추출하거나, 또한 콜센터에서 고객과 상담원 간의 상담 내용을 실시간으로 음성 인식 후, 텍스트로부터 문장을 추출 할 수도 있다. 한편 SNS는 트위터나 페이스 북 등에서 다양한 주제에 대해서 대화를 나눈 게시글로부터 문장을 추출하는데, 먼저 준비된 검색어로 SNS를 검색하고, 이 검색어(특정 단어)로 검색된 게시글 링크의 각각을 추출한 뒤에, 각 링크의 게시글이 가르키는 최초로 입력된 게시글의 처음부터 그 게시글로부터 시작된 토론에 대한 마지막 게시글(댓글) 까지를 하나의 대화 주제로 생각하여 해당 대화 주제에 대한 게시글(댓글)을 모두 추출한다.The sentence extracting unit 110 extracts a sentence by an ID or a name from a conversation type voice file, a conversation type post, and a comment. The sentence extracting unit 110 extracts a voice file, 3, a conversation format voice file, such as a call center, a radio, and a TV broadcast, is extracted from a voice file extraction A sentence is extracted through the module 111. When a search word is selected in the search word generator 113, the conversation type sentence posted on the SNS or the like is searched by the postexpression module 112 to search for posts or comments by ID or name, Parses comments to extract sentences. For example, it is possible to extract a sentence from a text after speech recognition of an existing voice recording file provided by a call center, or extract a sentence from text after speech recognition of a consultation content between a customer and an agent in a call center in real time. On the other hand, SNS extracts sentences from posts that talk about various subjects on Twitter or Facebook, searches for SNS with the prepared search words, extracts each of the searched search links (specific words) From the beginning of the first entry pointed to by the posting to the last posting (comment) of the discussion started from that posting as a single conversation topic, all the posts (comments) on the conversation topic are extracted.

시나리오추출부(120)는 문장추출부(110)에 의하여 대화 형식의 음성 파일 또는 대화 형식의 게시글, 댓글로부터 아이디 또는 이름별로 대화 문장을 추출한다. The scenario extracting unit 120 extracts a dialogue sentence by a sentence extracting unit 110 by a dialogue type voice file, a conversation type post, a comment, or an ID or name.

예를 들어, 트위터의 경우, 하나의 게시글에는 하나 이상의 댓글이 달릴 수 있으며, 이 댓글에 대해서 또 다른 댓글이 나무의 줄기처럼 하위에 연속적으로 파생해서 달린다. 이렇게 게시글, 댓글의 대화 전개에 따라 트리 모양으로 아이디 또는 이름별로 대화 문장이 연속적으로 표시되며, 하나의 게시글로 시작되는 하나의 트리에서는 댓글 수 만큼, 시나리오가 생기며, 다 다음 댓글 수 만큼 시나리오가 가지를 치면서 많아진다. For example, in the case of Twitter, a post may have one or more comments, and another comment about the comment runs continuously in descendents, like a tree trunk. In this way, conversation sentences are displayed consecutively by ID or name in the form of a tree based on the conversation of posts and comments. In one tree starting with one post, there are as many scenarios as the number of comments, .

즉, 하나의 게시글에 처음 댓글이 3개 달렸으며, 이중 하나의 댓글에 댓글이 2개 달렸다면 총 대화 시나리오는 4개가 된다.In other words, if there are three first comments on a single post, and two comments on one comment, then there are four total conversation scenarios.

의미벡터추출부(130)는 대화 시나리오를 구성하는 각 문장을 의미벡터로 표현한다. 기존에 word2vec, sentence2vec 알고리즘에 의해서 단어 또는 문장을 의미벡터로 표현하는 기술은 공지된 기술이다. 이 기술을 활용하여 대화 시나리오를 구성하는 각 문장을 의미벡터로 표현할 수 있다.The semantic vector extracting unit 130 expresses each sentence constituting the dialog scenario as a semantic vector. Conventionally, a technique of expressing a word or a sentence as a semantic vector by a word2vec or sentence2vec algorithm is a known technique. Using this technique, each sentence constituting a dialogue scenario can be expressed as a semantic vector.

의도패턴분류부(140)는 대화 시나리오를 구성하는 각 문장의 의도패턴을 분류한다. 의도 패턴 분류하는 방법은 DNN, CNN, SVM 등 알고리즘을 이용하여 정답으로 분류한 의도패턴을 학습하여, 학습모델을 생성하고, 이 학습 모델에 의해서 새롭게 입력되는 문장에 대해서 의도패턴을 분류할 수 있다.The intention pattern classifying unit 140 classifies intent patterns of each sentence constituting the dialogue scenario. The intention pattern classification method can classify the intention patterns into sentences that are newly input by the learning model by learning the intention patterns classified as correct by using algorithms such as DNN, CNN, SVM, etc. .

의도패턴생성부(150)는 의도패턴분류부(140)에 의해서 분류하지 못한 의도패턴을 새롭게 생성하는 역할을 수행한다. 이때 의도패턴을 분류하지 못한 경우는 특정 의도패턴으로 분류했을 때, 특정 의도패턴으로 분류한 확률값(예: 0.5 이하)이 예상치(예: 0.8)보다 너무 낮을 경우도 포함한다. 이때, 예상치는 학습문장으로 학습한 알고리즘을 테스트문장으로 테스트했을 때, 정답으로 분류한 확률값 평균(0.95)보다 10~20% 정도 낮은 수이다.The intention pattern generator 150 newly generates an intention pattern that is not classified by the intention pattern classifier 140. In this case, when the intention pattern can not be classified, it also includes a case where a probability value (for example, 0.5 or less) classified as a specific intention pattern is too lower than an expectation value (for example, 0.8) when classified into a specific intention pattern. In this case, the predicted value is 10 ~ 20% lower than the probability value average (0.95) classified as the correct answer when the learning algorithm is tested with the test sentence.

의도패턴생성부(150)에서는 하나의 문장으로부터 영역 후보 단어, 동작(엑션) 후보 단어를 추출하고 워드넷 등을 이용하여 상위어, 하위어 정보를 이용해서, 상위어로 구성된 영역단어와 동작단어 조합으로 의도패턴을 생성한다. The intention pattern generation unit 150 extracts an area candidate word and an action candidate word from one sentence and generates a combination of a domain word and an action word composed of a parent word using the parent word and the child word information by using WordNet And generates an intention pattern.

대화 시나리오 데이터베이스(160)는 대화 시나리오가 의도패턴과 의미벡터로 데이터베이스화 되어있다. 이때 대화 시나리오는 문장단위 질문과 답변으로 구성된 의도패턴과 의미벡터가 연속적으로 저장된다. 문장, 시나리오의 의미벡터는 인간이 직관적으로 파악하는데 도움을 주기 위해서 의도패턴으로도 표현한다.The conversation scenario database 160 is a database in which the conversation scenario is composed of an intention pattern and a semantic vector. At this time, the dialogue scenario stores consecutive intention patterns and semantic vectors composed of sentence unit questions and answers. The semantic vector of sentences and scenarios is also expressed as an intentional pattern in order to help human be intuitively grasped.

온톨로지 관계 매핑부(170)는 앞서 대화 시나리오의 연속적인 의도패턴, 의미벡터가 저장된 대화 시나리오 데이터베이스(160)가 구축되면, 온톨로지 대화 관계망에 이 저장된 연속적인 의도패턴, 의미벡터의 대화 시나리오를 매핑 및 표시하는 기능을 수행한다. 온톨로지 대화 관계망은 300~600개의 벡터로 구성된 다차원공간이지만, 다차원 벡터를 물리적으로 표현할 수 없기 때문에 3차원으로 공간압축해서 표시한다. 온톨로지 대화 관계망은 3차원 공간상의 하나의 점을 노드로 표현하는데, 각 노드는 데이터베이스(160)에 저장된 의도패턴, 의미벡터로부터 나타낼 수 있다. The ontology relationship mapping unit 170 maps the continuous scenarios of the intention pattern and semantic vector stored in the ontology dialog network to the dialog scenario database 160 in which the successive intention patterns and semantic vectors of the conversation scenario are stored, Display function. The ontology dialogue network is a multidimensional space composed of 300 to 600 vectors, but since the multidimensional vectors can not be represented physically, they are compressed in three dimensions and displayed. The ontology dialogue network expresses one point on the three-dimensional space as a node, and each node can be represented from an intention pattern and a semantic vector stored in the database 160.

온톨로지 대화 관계망에는 온톨로지 관계 매핑부(170)을 통하여 대화 시나리오 데이터베이스(160)에 저장된 대화 시나리오의 연속적 의도패턴, 의미벡터를 업로드 할 수 있고, 시나리오 자체를 하나의 의미벡터로 만들어서 업로드 할 수 있으며, 유사 문장, 유사 시나리오를 검색할 때에는 입력한 시나리오와 가장 가까운 시나리오를 의미벡터 공간상에서 거리 계산에 의해서 매핑 할 수 있다. 이때 의미벡터 공간상에 문장, 시나리오를 표현할 수 있지만, 문장, 시나리오는 각각 별개의 의미공간을 가진다. 그리고 문장, 시나리오의 의미공간을 하나의 의미공간에 사상하여 동시에 문장, 시나리오를 공간상에 표현할 수도 있다. 사상하는 방법 중 문장은 단어 벡터의 합이나 곱 등으로 표현하고, 시나리오는 문장벡터의 합이나 곱 등으로 표현하는 방법 등을 이용하며, 문장 시나리오의 의미벡터는 인간이 직관적으로 파악하는데 도움을 주기 위해서 하나 이상의 의도패턴으로 표시된다. The ontology dialogue network can upload a continuous intention pattern and a semantic vector of the dialogue scenario stored in the dialogue scenario database 160 via the ontology relationship mapping unit 170 and upload the scenario itself as a semantic vector, Similar sentences, and similar scenarios, the scenario closest to the input scenario can be mapped by distance calculation in the semantic vector space. At this time, sentences and scenarios can be expressed on the semantic vector space, but the sentences and scenarios each have a separate semantic space. Then, the semantic space of sentences and scenarios can be mapped to a single semantic space, and sentences and scenarios can be expressed in space. In the method of mapping, the sentence is expressed as the sum or product of word vectors, and the scenario is expressed as the sum or product of the sentence vectors. The semantic vector of the sentence scenario is used to help the intuitive understanding of the human being One or more intent patterns.

한편, 대화 시나리오 데이터베이스(160)에 저장된 대화 시나리오는 온톨로지 관계 매핑부(170)를 통하여 온톨로지 대화 관계망에서 관리자가 대화 시나리오를 직접 입력할 수 있으며, 시나리오를 구성하는 문장의 관계를 다음의 [실시예 1]과 같이 의미패턴의 연속성(sequence)으로 표시한다. On the other hand, the conversation scenario stored in the conversation scenario database 160 can directly input the conversation scenario in the ontology conversation network through the ontology relationship mapping unit 170, and the relationship of the sentences constituting the scenario is described in the following [Embodiment 1] as a sequence of semantic patterns.

[실시예 1][Example 1]

시나리오1 = (질문1) - (답변1) - (질문2) - (답변2) .... (질문N) - (답변N)Scenario 1 = (Question 1) - (Answer 1) - (Question 2) - (Answer 2) .... (Question N) - (Answer N)

시나리오1 = (어디서 봤더라?) - (제 이름이 궁금하세요?) - (아니 너를 봤던 장소 말이야) - (우리가 마지막 만났던 장소 말이죠?) .... (그래) - (아마도, 제 생각에는 우리가 지난 얄리 주체 세미나에서 마지막으로 봤던 것 같아요.)Scenario 1 = (Where did you see?) - (Are you curious about my name?) - (Not where I saw you) - (Where did we last meet? I think we saw it last time in the last Yalujee seminar.)

시나리오1 = (이름+모호) - (이름+확인) - (장소+모호) - (장소+확인) .... (별명+승낙) - (별명+답변)Scenario 1 = (name + ambiguous) - (name + confirmation) - (place + ambiguous) - (place + confirmation) .... (alias + accept) - (alias + answer)

여기서 의도패턴 "이름모호"는 영역단어 "이름"과 동작단어 "모호"가 결합된 것이며, "어디서 봤더라?"와 같은 문장을 대표하는 의도패턴이다. Here, the intention pattern "name ambiguity" is a combination of the domain word "name" and the action word "ambiguous", and is an intention pattern representing a sentence such as "Where did you see?"

하나의 의도패턴은 하나 이상의 문장을 의미적으로 표현하며, 같은 뜻을 가진 수많은 문장을 대표하는 대표단어 라고도 할 수 있다.An intention pattern represents one or more sentences semantically, and can also be called a representative word representing many sentences with the same meaning.

그리고, "의미모호", "이름확인" 등의 의미패턴은 "(질문1)", "(답변1)"처럼 하나의 시나리오를 구성하는 각각의 질문, 답변의 연속성을 대표하기도 한다.The semantic patterns such as "semantic ambiguity" and "name resolution" also represent the continuity of each question and answer constituting one scenario, such as "(Question 1)" and "(Answer 1)".

도 4 내지 도 5는 본 발명에 따른 대화 시스템을 위한 대화 시나리오의 데이터베이스 구축 중 문장 추출의 일예를 나타낸 화면이다. 4 to 5 are views showing examples of sentence extraction during database construction of a dialogue scenario for the dialog system according to the present invention.

도 4에 도시된 바와 같이 문장 추출은 디비피디아(DBpedia)나 워드넷(WordNet)으로부터 단어(Word)를 추출하여, 이 단어를 검색어로 활용하며, 검색어에 의하여 크롤링 방식 등으로 SNS 게시글 및 댓글 데이터를 웹을 통해서 파싱한다. 이는 트위터에서 게시물이 올라오면 리트윗하면서 특정 주제에 대해서 대화를 주고받는 형식과 비슷하게 댓글이 달리므로 가능하다. As shown in FIG. 4, the sentence extraction extracts a word from a DBpedia or a WordNet, uses the word as a search word, searches the SNS post and the comment data Is parsed through the web. This is possible because when a post is posted on Twitter, the comment is similar to the format in which you are retweeting and exchanging conversations about a specific topic.

도 5는 처음 게시물을 올린 사용자의 글에 대해서 리트윗하면서 다른 사용자가 계속 댓글을 달게 되며, 이때 대화 전개가 트리형태와 유사하다. 여기서 각각의 트리를 모두 대화 시나리오로 보며 이해를 돕기 위하여 댓글 아이디 별로 대화 시나리오를 표현하면 다음 [실시예 2]와 같다.FIG. 5 retweets the article of the user who originally posted the article, and the other user continues to comment. At this time, the conversation development is similar to the tree form. Here, each tree is viewed as a dialog scenario, and a dialog scenario is expressed for each comment ID in order to facilitate understanding, as in the following [second embodiment].

[실시예 2] [Example 2]

시나리오1 : ffebreze - hatter365 - fffebrezeScenario 1: ffebreze - hatter365 - fffebreze

시나리오2 : ffebreze - ffebreze - Teahya - ffebreze - TeahyaScenario 2: ffebreze - ffebreze - Teahya - ffebreze - Teahya

도 6은 본 발명에 따른 대화 시스템을 위한 대화 시나리오 데이터베이스 구축 중 의도패턴 분석의 일예를 나타낸 화면으로, 도시된 바와 같이 게시글을 파싱한 뒤에는 해당 게시글이 대화 시나리오에서 어떤 의도를 내포하는지 머신러닝의 지도 학습에 의하여 대화 의도패턴을 분류한다.FIG. 6 is a screen showing an example of an intention pattern analysis during construction of a dialogue scenario database for an interactive system according to the present invention. As shown in FIG. 6, after parsing a post, Classify conversation intent patterns by learning.

도 7은 본 발명에 따른 대화 시스템을 위한 대화 시나리오 데이터베이스 구축 중 대화 시나리오 학습의 일예를 나타낸 화면이다. 하나의 주제에 대해서 질문, 답변이 번갈아가면서 나타나지 않고, 질문과 답변이 중복되어서 발생할 수도 있어서(예; 질문1, 답변1, 질문2, 질문2, 답변2, 질문3, 답변3, 답변3, 답변3 등) 이러한 질문, 답변 중에 시나리오에 적합한 질문과 답변을 선별하고, 도 7에 도시된 바와 같이 선별된 대화 시나리오가 하나의 질문과 그 질문에 대한 하나의 답변의 반복 학습을 보여주고 있다. 7 is a screen showing an example of conversation scenario learning during construction of a dialogue scenario database for the dialog system according to the present invention. Question 1, Answer 1, Question 2, Question 2, Answer 2, Question 3, Answer 3, Answer 3, Question 3, Answer 3, etc. may occur because the question and answer do not appear alternately on one topic, Answer 3, etc.) Among these questions and answers, questions and answers suitable for the scenario are selected, and the selected dialogue scenario as shown in FIG. 7 shows one question and an iterative learning of one answer to the question.

도 8는 본 발명에 따라 구축된 대화 시스템을 위한 대화 시나리오 데이터베이스가 온톨로지 대화 관계망에 매핑 된 일예를 나타낸 화면이다. FIG. 8 is a screen showing an example in which a dialogue scenario database for an interactive system constructed according to the present invention is mapped to an ontology dialogue network.

시나리오는 문장단위 질문과 답변으로 구성된 의미벡터의 시퀀스로 표시된다. 하나의 시나리오를 구성하는 각각의 질문과 답변은 다차원 의미벡터를 가지고 있으며, 각각 질문과 답변 문장이 하나의 의도패턴으로 자동적으로 각각 매핑된다.The scenario is represented by a sequence of semantic vectors consisting of sentence-level questions and answers. Each question and answer constituting a scenario has a multidimensional semantic vector, and each question and answer sentence is automatically mapped to a single intention pattern.

대량의 시나리오가 다차원 의미벡터값으로 입력되면, 이 입력된 의미벡터값과 기존 의도패턴 사이의 벡터 거리를 비교하고, 일정한 값 안에 들어왔을 때, 입력된 의미벡터값에 기존 의도패턴을 부여할 수도 있다.When a large number of scenarios are input as multidimensional semantic vector values, the vector distance between the input semantic vector value and the existing intention pattern is compared, and when the input value is within a certain value, an existing intention pattern may be assigned to the input semantic vector value have.

대량의 시나리오가 다차원 의미벡터값 뿐만 아니라, 의도패턴과 대화문장이 동시에 입력되어 들어올 때에는 각각의 의도패턴 공간으로 대화 시나리오(각각의 질문 문장, 답변 문장)를 매핑하면 된다. 이때, 의도패턴은 시나리오의 "대화문장"을 자동으로 분석해서 의도패턴을 추출할 수도 있고, 사람이 직접 "대화문장"에 어울리는 의도패턴을 부착할 수도 있다.When a large number of scenarios input not only a multidimensional semantic vector value but also an intention pattern and a dialogue sentence, the dialogue scenario (each question sentence and answer sentence) is mapped to each intention pattern space. At this time, the intention pattern may automatically analyze the "conversation sentence" of the scenario to extract the intention pattern, or the person may directly attach the intention pattern matching the "conversation sentence".

[실시예 3][Example 3]

시나리오1 = [의도패턴][대화문장][의미벡터], [의도패턴][대화문장][의미벡터] ....Scenario 1 = [Intent Pattern] [Conversation Sentence] [Meaning Vector], [Intent Pattern] [Conversation Sentence] [Meaning Vector] ....

시나리오1 = [이름모호][어디서 본 것 같아요][2.382, 6.108, ...], [이름확인][제이 이름이 궁금하세요?][8.730, 1,383, ....] ....Scenario 1 = [name ambiguity] [Where do you think] [2.382, 6.108, ...], [Name resolution] [Are you curious about Jay's name?] [8.730, 1,383, ....] ....

[의도패턴]를 자동으로 분류하는 방법은 자연어처리 방법 중, 규칙기반, 통계기반, 머신러닝 기반으로 분석할 수 있으며, 머신러닝 기반의 경우, 지도학습에 의한 학습모델을 바탕으로 입력된 문장의 의도패턴을 분류하게 된다.The method of automatically classifying [Intentional Patterns] can be analyzed based on natural language processing methods, rule based, statistical based, and machine learning based. In the case of machine learning based, Intent patterns are classified.

도 9은 본 발명에 따른 대화 시나리오 데이터베이스에 저장된 대화 시나리오가 표현된 일예로서, 대화 시나리오는 보통 2turn(질문1-답변1-질문2-답변2 관계) 이상으로 표시되고, 평면적으로 하나의 공간에 표시할 수 있는 시나리오 개수도 제한 적이며, 현재 시나리오와 공간적으로 가까운 시나리오도 알 수 없는 문제가 발생한다. 또한, 시나리오를 입력하거나 수정하더라도, 다른 시나리오와의 의미 공간상의 상관관계를 전혀 알 수 없는 문제점이 있다.FIG. 9 shows an example of a dialog scenario stored in the dialogue scenario database according to the present invention. The dialogue scenario is usually displayed above 2turn (relation of question 1-answer 1-question 2-answer 2) The number of scenarios that can be displayed is also limited, and scenarios that are spatially close to the current scenario are also unknown. In addition, even if a scenario is input or modified, there is a problem that the correlation in the semantic space with other scenarios can not be known at all.

대화 시나리오는 의도패턴의 연속적인 나열로써 표시하며, 그림 상단 첫 번째 시나리오처럼, "이름모호", "C이름확인", "C승낙", "KE이름아이유"처럼 중복을 방지하기 위해서 특정 문자와 결합하여 표시할 수도 있다.Dialogue scenarios with specific characters in order to avoid duplication as intended and displayed as a continuous sequence of pattern, illustration, like the first scenario, the top, "the name is ambiguous", "C Check Names", "C yes", "KE name of IU" It can also be combined and displayed.

도 10은 본 발명에 따른 대화 시나리오 데이터베이스에 저장된 대화 시나리오가 3차원 시나리오 저작도구로 표현된 화면으로, 도 10과 같이 시나리오는 3차원 공간상에 표시할 수 있다. 시나리오의 각 질문과 답변은 하나의 의도패턴으로 표시된다. 각 시나리오에 소속된 의도패턴 사이의 의미적인 밀접성에 따라 가까운 공간상에 표시되기도 하고 멀리 공간상에 표시되기도 하기 때문에, 시나리오를 구성하는 의도패턴 사이의 의미관계 파악이 훨씬 쉽다. FIG. 10 is a screen in which a dialog scenario stored in the dialog scenario database according to the present invention is expressed by a three-dimensional scenario authoring tool, and the scenario can be displayed in a three-dimensional space as shown in FIG. Each question and answer in the scenario is represented by a single intent pattern. It is much easier to grasp the semantic relationship between the intention patterns that make up the scenario because it is displayed in the near space and displayed in the far space depending on the semantic closeness between the intention patterns belonging to each scenario.

도 11는 본 발명에 따른 대화 시나리오 데이터베이스에 저장된 대화 시나리오가 3차원 시나리오 저작도구로 표현된 시나리오 입력 화면의 일예로서, 도 11에 도시된 바와 같이 시나리오는 우측 의도패턴을 좌측 여백 공간으로 드래그해서 의도패턴의 시퀀스(예: 주말일정-일정답변-취미질의-취미답변)로 하나의 시나리오를 표현하고, 이렇게 시나리오 입력이 완료되면 3차원 대화 관계망 속에 시나리오가 자동으로 매핑된다. 그리고 우측 의도패턴은 모두 다차원 의미벡터 값을 가지고 있으며, 영역단어를 추출해서 조합(주말+일정)해서 만들거나, 해당 의도패턴을 구성하는 많은 문장의 의미벡터합이나 곱으로 만들 수도 있다. 11 is an example of a scenario input screen in which a dialog scenario stored in the dialog scenario database according to the present invention is expressed by a three-dimensional scenario authoring tool. In the scenario, as shown in FIG. 11, the right intention pattern is dragged to the left margin space, A scenario is represented by a sequence of patterns (for example, a weekend schedule - a schedule answer - a hobby question - a hobby answer). When the scenario input is completed, the scenario is automatically mapped in the three-dimensional dialog network. The right intention patterns all have multidimensional semantic vector values. They can be made by extracting domain words and combining them (weekend + schedule), or by summing or multiplying semantic vectors of many sentences constituting the intention pattern.

우측 의도패턴(예:주말일정확인)는 다양한 문장을 대표하며, "주말일정확인"을 함의하는 아래의 [표 1]과 같은 다양한 문장구성을 가진다.The right intent pattern (eg, confirming the weekend schedule) represents various sentences and has various sentence structures such as [Table 1] below, which implies "Weekend schedule confirmation".

의도패턴Intention pattern 문장 예Sentence example 주말일정확인Check your weekend schedule 주말 일정이 어떻게 되세요?What is your weekend schedule? 주말 일정을 알려주세요.Please let me know your weekend schedule. 주말 일정이 궁금해요.I am curious about the weekend schedule. 주말 일정을 말해줘요.Tell me your weekend schedule. 주말 일정이 있나요?Do you have a weekend schedule?

도 12은 본 발명에 따른 대화 시나리오 데이터베이스에 저장된 대화 시나리오가 3차원 시나리오 저작도구로 표현된 시나리오 수정 화면의 일예로서, 검색 기능에 의해서 시나리오를 검색할 수 있으며, 검색된 시나리오를 수정하는 기능을 제공한다. 시나리오가 수정되면 3차원 공간상에서 즉시 수정된 시나리오가 반영된다. FIG. 12 is an example of a scenario modification screen in which a dialog scenario stored in the dialog scenario database according to the present invention is expressed by a three-dimensional scenario authoring tool. The scenario modification screen can search a scenario by a search function and provides a function of modifying a searched scenario . When the scenario is modified, the modified scenario immediately reflects in the 3D space.

도 13는 본 발명에 따른 대화 시나리오 데이터베이스에 저장된 대화 시나리오가 3차원 시나리오 저작도구로 표현된 시나리오 삭제 화면의 일예로서, 시나리오는 삭제할 수 있으며, 삭제된 시나리오는 3차원 공간상에서도 완전히 삭제되어서 더 이상 볼 수 없게 된다.FIG. 13 is an example of a scenario deletion screen in which a dialog scenario stored in the dialog scenario database according to the present invention is represented by a three-dimensional scenario authoring tool. The scenario can be deleted. The deleted scenario is completely deleted in the three- Can not.

도 14는 본 발명에 따른 대화 시나리오 자동 수집 및 온톨로지 대화 관계망을 이용한 연속 대화가 이루어지는 시퀀스를 블럭 다이어그램으로 도시한 도면이고, 도 15는 본 발명에 따른 대화 시나리오 자동 수집 및 온톨로지 대화 관계망을 이용한 연속 대화가 이루어지는 시퀀스를 순서도로써 도시한 도면이다.FIG. 14 is a block diagram showing a sequence in which continuous conversation is performed using the conversation scenario automatic collecting and ontology conversation network according to the present invention. FIG. 15 is a diagram illustrating a sequential conversation sequence using automatic conversation scenario collection and on- As a sequence diagram.

앞서 전술한 바와 같이, 온톨로지 대화 관계망은 300~600개의 벡터로 구성된 다차원벡터공간이지만, 다차원 벡터를 물리적으로 표현할 수 없기 때문에 3차원으로 공간압축(PCA 등 공간압축 알고리즘 사용)해서 표시한다. 온톨로지 대화 관계망은 3차원 공간상의 하나의 점을 노드로 표현하는데, 각 노드는 단어 의미벡터, 문장의미벡터, 시나리오 의미벡터를 나타낼 수 있다. '온톨로지 대화 관계망'이라 할 때는 그러한 노드 및, 노드 간의 연결에 의한 시나리오 구성 등의 전체 구조를 표현하며, '온톨로지 대화 관계망 데이터베이스'라 할 때는 그러한 데이터 및 구조 관계를 저장하고 있는 저장부를 표현하나, 이하에서는 큰 의미 구별없이 혼용하여 사용하기로 한다.As described above, the ontology dialogue network is a multidimensional vector space composed of 300 to 600 vectors. However, since the multidimensional vector can not be represented physically, spatial compression (using a space compression algorithm such as PCA) is displayed in three dimensions. The ontology dialogue network expresses one point on the 3D space as nodes, and each node can represent a word semantic vector, a sentence semantic vector, and a scenario semantic vector. The term 'ontology dialogue network' expresses the entire structure of such a node and the configuration of a scenario by connection between nodes. When 'ontology dialogue network database' is used, the storage unit storing such data and structure relation is expressed, Hereinafter, they will be used in a mixed manner with no significant discrimination.

또한 전술한 바와 같이, 의도패턴은, 유사한 의미의 여러 문장을 대표하는 문구이며, 하나의 단어로 이루어질 수도 있고, 여러 단어의 결합으로 이루어질 수도 있다. 예를 들어, 의도패턴 "이름모호확인"은 영역단어 "이름"과 영역단어 "모호", 동작단어 "확인"이 결합된 문구이며, "이름", "모호", "확인"의 의미벡터가 결합된 새로운 의미벡터이기도 하다. "어디서 봤더라"와 같은 문장을 대표하는 문구임은 앞서 설명한 바와 같다. 즉, 의도패턴 역시 온톨로지 대화 관계망 공간에서 하나의 의미벡터에 의해 나타낼 수 있으며, 하나의 노드를 가진다.Also, as described above, the intention pattern is a phrase representing a plurality of sentences having a similar meaning, and may be a single word or a combination of several words. For example, the intent pattern "name ambiguity check" is a combination of the domain word "name" and the domain word "ambiguity" and the action word "affirmation", and the meaning vector of "name", "ambiguity" It is also a new semantic vector combined. The phrases such as "Where did I see you?" Are as described above. That is, the intention pattern can be represented by a semantic vector in the ontology dialog network space, and has one node.

시나리오는 3차원의 온톨로지 대화 관계망 공간상에 표시할 수 있으며, 시나리오의 각 질문과 답변은 하나의 의미벡터로 표시될 수도 있다. 각 시나리오에 소속된 의미벡터 사이의 의미적인 밀접성에 따라 가까운 공간상에 표시되기도 하고 멀리 떨어진 공간상에 표시되기도 하기 때문에, 시나리오를 구성하는 노드사이의 의미관계 파악이 훨씬 쉽다.The scenario can be displayed on the three-dimensional ontology dialogue network space, and each question and answer in the scenario can be displayed as a semantic vector. Since semantic closeness between semantic vectors belonging to each scenario may be displayed in the near space and displayed in a distant space, it is much easier to grasp the semantic relationship between the nodes constituting the scenario.

이하에서는 도 14의 블럭 다이어그램 시퀀스 및 도 15의 순서도를 참조하여 온톨로지 대화 관계망을 이용한 연속 대화 수행과정을 설명한다.Hereinafter, a continuous conversation process using the ontology conversation network will be described with reference to the block diagram sequence of FIG. 14 and the flowchart of FIG.

먼저, 사용자가 말을 할 경우, 본 발명의 온톨로지 대화 관계망을 이용한 연속 대화 시스템(200, 도 18 참조)에 사용자의 음성이 입력된다(S210). 온톨로지 대화 관계망을 이용한 연속 대화 시스템(200)은 입력받은 음성에 대한 문장이해를 위해 문장을 분석한다(S220). 온톨로지 대화 관계망을 이용한 연속 대화 시스템(200)은 온톨로지 대화 관계망 데이터베이스로부터, 분석된 대화문장에 대하여, 해당 대화문장을 대표하는 의도패턴이 상기 대화문장과 매칭되어 있는지 파악한다(S230).First, when the user speaks, the user's voice is input to the continuous conversation system 200 (see FIG. 18) using the ontology conversation network of the present invention (S210). The continuous conversation system 200 using the ontology conversation network analyzes a sentence to understand a sentence of the input voice (S220). The continuous conversation system 200 using the ontology conversation network determines whether the intention pattern representing the conversation sentence matches the conversation sentence with respect to the analyzed conversation sentence from the ontology conversation relationship network database (S230).

의도패턴이 매칭되어 있지 않은 경우(S240), 해당 대화문장에 대하여 의도패턴을 결정하여 상기 대화문장에 매칭시켜 온톨로지 대화 관계망 데이터베이스에 저장하는데(S250), 이에 대하여는 도 16을 참조하여 상세히 후술한다.If the intention pattern is not matched (S240), an intention pattern is determined for the conversation sentence, and the intention pattern is matched to the conversation sentence and stored in the ontology conversation network database (S250), which will be described later in detail with reference to FIG.

상기 대화문장에 의도패턴이 매칭되어 있지 않아 새로운 의도패턴을 결정하여 상기 대화문장에 매칭시킨 경우든지, 또는 상기 대화문장에 이미 의도패턴이 매칭되있는 경우든지, 해당 대화문장에 의도패턴이 매칭되어 온톨로지 대화 관계망 데이터베이스에 저장된 후, 온톨로지 대화 관계망 데이터베이스에서의 대화 시나리오에 따라, 상기 대화문장에 매칭된 의도패턴(이하 '제1 의도패턴'이라 한다)에 이어지는 의도패턴(이하 '제2 의도패턴'이라 한다)을 추출하고(S260), 해당 제2 의도패턴에 포함된 대화문장 중 하나를 선택하여(S270), 선택된 대화문장을 사용자에게 음성으로 출력하게 된다(S280). 예를 들어 제1 의도패턴은 현재 사용자가 말하여 입력된 질문 대화문장을 대표하는 의도패턴일 수 있고, 제2 의도패턴은 이에 대하여 온톨로지 대화 관계망을 이용한 연속 대화 시스템(200)이 답변하기로 결정한 답변 대화문장을 대표하는 의도패턴일 수 있다.If the intention pattern is not matched to the conversation sentence and a new intention pattern is determined and matched to the conversation sentence or if the intention pattern is already matched to the conversation sentence, the intention pattern is matched to the corresponding sentence sentence (Hereinafter referred to as a 'second intention pattern') following an intention pattern (hereinafter referred to as 'first intention pattern') matched to the conversation sentence is stored in the ontology dialogue network database, (S260), selects one of the conversation sentences included in the corresponding second intention pattern (S270), and outputs the selected conversation sentence to the user (S280). For example, the first intention pattern may be an intention pattern representing a question conversation sentence that the current user has spoken, and the second intention pattern may be an intention pattern that the continuous conversation system 200 using the ontology conversation network decided to answer Answer It can be an intention pattern that represents a conversation sentence.

온톨로지 대화 관계망 데이터베이스에서의 대화 시나리오에 따라, 상기 대화문장에 매칭된 제1 의도패턴에 이어지는 의도패턴이 다수개 존재하는 경우가 있을 수 있다. 이러한 경우는 상기 다수개의 각 의도패턴의 시나리오에 부여되어 있는 가중치가 가장 높은 의도패턴을 제2 의도패턴으로 추출하도록 할 수 있다. 예를 들어 제1 의도패턴에 이어지는 시나리오가, 제1 의도패턴->'A'(가중치 0.7), 제1 의도패턴->'B'(가중치 0.2), 제1 의도패턴->'C'(가중치 0.1)와 같이 3가지가 있을 경우, 제1 의도패턴->'A'(가중치 0.7)로 결정하여 의도패턴 A를 제2 의도패턴으로 결정할 수 있는 것이다. 이와 같은 가중치는, 평소 사용자와의 대화를 진단 및 분석하는 대화품질 관리를 통해 미리 설정해 놓을 수 있는데, 이에 대하여는 도 17을 참조하여 후술한다.There may be a case where there are a plurality of intention patterns following the first intention pattern matched to the conversation sentence according to the dialog scenario in the ontology dialogue network database. In this case, it is possible to extract the intention pattern having the highest weight assigned to the scenarios of the plurality of intention patterns as the second intention pattern. For example, the scenario following the first intention pattern may include a first intention pattern -> 'A' (weight 0.7), a first intention pattern -> 'B' (weight 0.2) Weighting 0.1), the intention pattern A can be determined as the second intention pattern by determining the first intention pattern- > A ' (weight 0.7). Such a weight can be set in advance through conversation quality control for diagnosing and analyzing a conversation with a user, which will be described later with reference to FIG.

도 16은 본 발명에 따른 온톨로지 대화 관계망을 이용한 연속 대화 중, 신규 대화문장이 입력되었을 경우, 온톨로지 대화 관계망으로 매핑하는 방법을 수행하는 순서도이다.FIG. 16 is a flow chart illustrating a method for mapping a new conversation sentence into an ontology conversation network, when a new conversation sentence is input, in a continuous conversation using the ontology conversation network according to the present invention.

새로운 시나리오가 입력되면, 해당 시나리오의 질문과 답변 문장의 의미벡터값을 추출하고, 해당 질문 답변 의미벡터의 대화의도를 각각 분류해서 입력 시나리오("대화의도(의도패턴), 대화문장, 의미벡터"의 연속된 리스트)를 대화 관계망에 매핑한다.When a new scenario is input, the semantic vector values of the question and answer sentences of the scenario are extracted and classified into the input scenarios ("intention pattern (intention pattern), dialogue sentence, meaning Vector ") to the conversation network.

즉, 사용자에 의해 입력된 대화문장에 의도패턴이 매칭되어 있지 않은 경우, 즉 새로운 시나리오가 입력된 경우(S240), 해당 대화문장의 의미벡터를 도출하고(S251), 상기 의미벡터로부터 상기 대화문장에 해당하는 의도패턴을 분류한다(S252). 의도패턴을 분류하는 방법은, 규칙기반, 통계기반, 머신 러닝(machine learning) 기반 중 하나 이상의 방법을 사용할 수 있다. 여기서 머신 러닝은, 도 14에서 '대화 시나리오 학습' 블럭에 해당된다.That is, when the intention pattern is not matched to the sentence sentence input by the user, that is, when a new scenario is input (S240), the semantic vector of the sentence sentence is derived (S251) (Step S252). The method of classifying the intent patterns can be one or more of rule based, statistical based, and machine learning based methods. Here, the machine learning corresponds to the 'conversation scenario learning' block in FIG.

상기 대화문장에 해당하는 의도패턴이 분류된 경우(S252), 그 의도패턴을 상기 대화문장의 의도패턴으로 결정하여 상기 대화문장에 매칭시켜 온톨로지 대화 관계망 데이터베이스에 저장한다(S253). 이때 전술한 바와 같이 분류된 의도패턴의 연속된 리스트, 대화문장의 연속된 리스트, 의미벡터의 연속된 리스트를 온톨로지 대화 관계망 데이터베이스에 저장할 수 있다. If the intention pattern corresponding to the conversation sentence is classified (S252), the intention pattern is determined as the intention pattern of the conversation sentence, and is matched to the conversation sentence and stored in the ontology conversation network database (S253). At this time, a continuous list of the intention patterns classified as described above, a continuous list of conversation sentences, and a continuous list of the semantic vectors can be stored in the ontology conversation network database.

상기 대화문장에 해당하는 의도패턴이 분류되지 않은 경우(S252), 상기 의미벡터가 가리키는 노드와 가장 가까운 노드에 매핑되어 있는 의도패턴을 온톨로지 대화 관계망 데이터베이스로부터 파악하여, 그 파악된 의도패턴을 상기 대화문장의 의도패턴으로 결정하여 상기 대화문장에 매칭시켜 온톨로지 대화 관계망 데이터베이스에 저장하며(S254), 이때도 역시 분류된 의도패턴의 연속된 리스트, 대화문장의 연속된 리스트, 의미벡터의 연속된 리스트를 온톨로지 대화 관계망 데이터베이스에 저장할 수 있다.If the intention pattern corresponding to the conversation sentence is not classified (S252), the intention pattern mapped to the node closest to the node indicated by the semantic vector is grasped from the ontology dialogue network database, (S254). At this time, a continuous list of classified intention patterns, a continuous list of conversation sentences, and a continuous list of semantic vectors are also stored in the ontology dialogue network database It can be stored in the ontology dialogue network database.

이때, 의미벡터가 가리키는 노드와 가장 가까운 노드에 매핑되어 있는 의도패턴은, 단일 단어일 수도 있고, 또는 단어의 조합으로 생성된 의미벡터가 가리키는 새로운 단어일 수도 있다.At this time, the intention pattern mapped to the node closest to the node indicated by the semantic vector may be a single word, or may be a new word indicated by a semantic vector generated by a combination of words.

하나의 시나리오는 질문 답변의 연속된 쌍으로 표현할 수 있는데, 각 질문 답변이 모여서 하나의 시나리오를 형성하듯이, 시나리오는 특정 대화 영역 정보(교육, 문학, 상식, 일상대화, 스포츠, 영화 등)를 가지고 있으며, 시나리오도 의도패턴의 조합으로 나타낼 수 있다.A scenario can be expressed as a series of pairs of question answers. Just as each question answer forms a single scenario, a scenario can contain specific dialogue information (education, literature, common sense, everyday conversation, sports, movies, etc.) And scenarios can be represented by a combination of intention patterns.

시나리오 분류도 규칙기반, 통계기반, 머신 러닝 기반 중 하나 이상의 방법을 사용하여 각 시나리오를 분류할 수 있다. 따라서, 각 문장의 대화의도를 분류하기 전에 시나리오 분류를 먼저 선택하여, 해당 시나리오 분류에 속하는 대화의도(의도패턴)를 먼저 탐색하여, 검색시간을 줄일 수도 있다.Scenario Classification Each scenario can be categorized using one or more of the following: rule-based, statistical-based, and machine-based. Therefore, the scenario classification may be firstly selected before classifying the conversation intention of each sentence, and the search intention (intention pattern) included in the scenario classification may be searched first to reduce the search time.

도 17은 본 발명에 따른 온톨로지 대화 관계망을 이용한 연속 대화를 이용하여 대화품질 개선을 구현하기 위한 시퀀스를 블럭 다이어그램으로 도시한 도면이다.FIG. 17 is a block diagram illustrating a sequence for implementing conversation quality improvement using continuous conversation using an ontology conversation network according to the present invention. Referring to FIG.

사용자는 시스템과 대화를 진행하면서 사용자의 반응이 긍정적인지 부정적인지 즉각적으로 알 수 있다. 긍정적인 반응, 부정적인 반응, 무시 반응, 화제 변경 반응 등 사용자의 반응은 사용자의 대화문장을 분석해서 알 수 있으며, 이때, 규칙기반, 통계기반, 머신러닝기반 등 다양한 분석 방법을 사용할 수 있다.As the user interacts with the system, the user can immediately know whether the user's response is positive or negative. The user's reaction such as positive reaction, negative reaction, neglect reaction, topic change reaction can be analyzed by analyzing the user's conversation sentence, and various analysis methods such as rule based, statistical based, and machine learning based can be used.

사용자 반응이 긍정적일 때, 현재 시나리오를 선호 대화 시나리오라고 인식할 수 있으며, 가중치 조정 등을 통해서 현재 시나리오가 채택될 확률을 높여서, 선호 시나리오가 계속 선택되고, 비 선호 시나리오는 우선 순위가 밀리게 하는 등, 실시간 사용자 반응을 통해서 지속적으로 대화 시나리오를 관리하여, 궁극적으로 연속 대화를 하면 할수록 대화품질이 개선되도록 하는 것을 목표로 한다.When the user response is positive, the current scenario can be recognized as the preferred dialog scenario, and the likelihood of adopting the current scenario through weight adjustment is increased, so that the preferred scenario continues to be selected, and the non-preferred scenario has priority , And managing the dialogue scenario continuously through the real-time user response and ultimately aiming at improving the conversation quality as the continuous conversation is performed.

이와 같은 과정을 도 17을 참조하여 설명하면, 지속적인 대화품질 관리는, 평소 사용자와 본 발명의 온톨로지 대화 관계망을 이용한 연속 대화 시스템(200) 간의 대화 시나리오 이력을 통해 이루어진다. 즉, 평소 사용자로부터 입력되는 문장을 분석하고, 분석된 대화문장으로부터 사용자의 반응을 분석한다. 사용자 반응이 긍정적인 것으로 분석된 경우 해당 대화문장 또는 해당 대화문장의 의도패턴으로 이어지는 대화 시나리오가 선택될 가능성을 높게 설정하고, 사용자 반응이 부정적인 것으로 분석된 경우 해당 대화문장 또는 해당 대화문장의 의도패턴으로 이어지는 대화 시나리오가 선택될 가능성을 낮게 설정하는 것이다.This process will be described with reference to FIG. 17. The continuous conversation quality management is performed through the conversation scenario history between the normal user and the continuous conversation system 200 using the ontology conversation network of the present invention. In other words, the sentence inputted from the user is analyzed and the reaction of the user is analyzed from the analyzed conversation sentence. When the user reaction is analyzed as being positive, the likelihood that the dialogue scenario leading to the corresponding sentence sentence or the intention pattern of the corresponding sentence sentence is selected is set high, and when the user reaction is analyzed as negative, Is set to a low possibility.

여기서 긍정적 또는 부정적이라 함은 매우 포괄적으로 사용한 용어이다. 도 17의 예로서 도시한 바와 같이, 칭찬 반응, 긍정적인 반응, 부정적인 반응, 무시 반응, 화제 변경 반응 등, 세부적으로 나눌 수도 있지만, 이 모든 것을 포괄하는 것으로 긍정적 또는 부정적 반응으로 설명할 수 있다. 이는 2 종류의 반응으로 분석한다는 것이 아니라, 일종의 긍정도(degree) 또는 부정도(degree)를 준다는 것이 더 정확한 표현일 것이다. 즉, 문장분석에 의한 사용자의 반응이 더 호응적이고 좋은 반응일수록, 피드백을 통해 그와 같은 반응이 나온 대화 시나리오가 향후 선택될 가능성을 더 높게 하고, 반대일수록 그와 같은 반응이 나온 대화 시나리오가 향후 선택될 가능성을 더 낮게 하는 것이다.Positive or negative here is a very generic term. As shown in the example of FIG. 17, it can be divided into details such as praise reaction, positive reaction, negative reaction, neglect reaction, topic change reaction, etc. However, it can be explained as a positive or negative reaction including all of them. This would be a more accurate expression of giving a degree or degree, rather than analyzing it with two kinds of reactions. In other words, the more responsive and favorable the user's response to the sentence analysis is, the more likely it is that the dialogue scenario with such response will be selected in the future through feedback, and the more the opposing dialogue scenario The possibility of being selected is lowered.

향후 대화 시나리오가 선택될 가능성의 설정은, 해당 사용자 반응이 나온 대화 시나리오에, 기 설정된 기준에 따라 선호/비선호 대화 시나리오와 관련한 가중치를 부여함으로써 이루어질 수 있다. 이로써 향후 가중치가 높은 대화 시나리오가 선택될 확률을 높게 하는 것이다.The setting of the likelihood that a future dialog scenario will be selected may be made by assigning a weight in relation to the preference / non-preference dialog scenario according to predetermined criteria in the dialog scenario in which the user response is made. This increases the probability that a conversation scenario with a higher weight will be selected in the future.

이때 사용자 반응의 분석은, 사용자의 대화문장을 규칙에 따라 분석함을 통하여 수행하거나(규칙기반), 대화문장의 통계를 기반하여 수행하거나(통계기반), 머신러닝(machine learning) 방식으로 수행(머신러닝 기반)할 수 있다.At this time, the analysis of the user reaction may be performed by analyzing the user's conversation sentence according to a rule (rule-based), performing based on the sentence statistics (statistical based), or machine learning Machine learning basis).

또는 상기 사용자 반응의 분석은, 온톨로지 대화 관계망 데이터베이스에서 상기 사용자의 대화문장이 해당하는 의도패턴에 대한, 기 분석되어 매핑되어 있는 사용자 선호도에 의해 이루어질 수도 있다. 즉, 온톨로지 대화 관계망 데이터베이스 상에서 의도패턴 공간과, 사용자 선호도 공간이 별도로 구비될 수도 있고, 이때 각 의도패턴 공간의 특정 의도패턴 노드와 사용자 선호도 공간의 동일 노드의 사용자 선호도가 매핑되도록 할 수 있다. 즉, 사용자의 그 의도패턴에 대하여 사용자 반응으로 분석된 사용자 선호도가 기 매핑되어 있어, 이로부터 해당 대화에 대한 가중치를 설정할 수도 있는 것이다.Alternatively, the analysis of the user response may be performed by a user preference that is analyzed and mapped on the corresponding intention pattern of the conversation sentence of the user in the ontology dialog network database. That is, the intention pattern space and the user preference space may be separately provided on the ontology dialog network database, and the user's preferences of the same node in the user's preference space and the specific intention pattern node of each intention pattern space may be mapped. That is, since the user preference analyzed by the user reaction is mapped to the user's intention pattern, the weight for the conversation can be set therefrom.

도 18은 본 발명에 따른 온톨로지 대화 관계망을 이용한 연속 대화 시스템의 구성을 나타내는 도면이다.18 is a diagram illustrating a configuration of a continuous conversation system using an ontology conversation network according to the present invention.

제어부(201)는 온톨로지 대화 관계망을 이용한 연속 대화 시스템의 상기 각 구성요소를 제어하여 온톨로지 대화 관계망을 이용한 연속 대화와 관련한 일련의 처리를 수행한다.The control unit 201 controls each of the components of the continuous dialog system using the ontology dialog network to perform a series of processes related to the continuous dialog using the ontology dialog network.

음성입력부(202)는 사용자의 음성을 입력받는다.The voice input unit 202 receives the voice of the user.

문장분석부(203)는 상기 입력받은 음성으로부터 문장분석을 수행한다.The sentence analysis unit 203 analyzes sentences from the input speech.

대화관리부(204)는 온톨로지 대화 관계망 데이터베이스로부터, 분석된 대화문장에 대하여 해당 대화문장을 대표하는 의도패턴(이하 '제1 의도패턴'이라 한다)에 이어지는 의도패턴(이하 '제2 의도패턴'이라 한다)을 추출하고, 해당 제2 의도패턴에 포함된 대화문장 중 하나를 출력 대화문장으로 선택하는 역할을 수행한다. 또한 대화관리부(204)는, 온톨로지 대화 관계망 데이터베이스에서의 대화 시나리오에 따라, 상기 대화문장에 매칭된 제1 의도패턴에 이어지는 의도패턴이 다수개 존재하는 경우, 각 의도패턴으로의 시나리오에 부여되어 있는 가중치가 가장 높은 의도패턴을 제2 의도패턴으로 추출하는 역할을 수행할 수도 있다.The dialogue management unit 204 receives from the ontology dialogue network database an intentional pattern (hereinafter referred to as 'second intentional pattern') that follows an intentional pattern (hereinafter referred to as 'first intentional pattern' And selects one of the conversation sentences included in the second intention pattern as an output conversation sentence. Further, in the case where there are a plurality of intention patterns following the first intention pattern matched to the conversation sentence in accordance with the dialog scenario in the ontology dialogue network database, the dialogue management unit 204 assigns to the scenarios in the respective intention patterns And extract the intention pattern having the highest weight as the second intention pattern.

신규 시나리오 처리부(206)는 분석된 대화문장에 대하여 의도패턴이 매칭되어 있지 않은 경우, 해당 문장에 대한 새로운 의도패턴을 결정하여 상기 문장에 매칭시켜 온톨로지 대화 관계망 데이터베이스에 저장하고, 결정된 의도패턴을 상기 대화관리부에 전달하는 역할을 수행한다. If the intention pattern is not matched with the analyzed conversation sentence, the new scenario processing unit 206 determines a new intention pattern for the sentence, stores the new intention pattern in the ontology dialog network database, matches the sentence with the sentence, And transmits it to the dialog management unit.

상기 신규 시나리오 처리부는, 입력받은 대화문장에 의도패턴이 매칭되어 있지 않은 경우, 해당 대화문장의 의미벡터를 도출할 수 있다. 도출된 의미벡터로부터, 상기 대화문장에 해당하는 의도패턴을 분류한다. 상기 대화문장에 해당하는 의도패턴이 분류된 경우, 그 의도패턴을 상기 대화문장의 의도패턴으로 결정하여 상기 대화문장에 매칭시켜 온톨로지 대화 관계망 데이터베이스에 저장하고, 상기 대화문장에 해당하는 의도패턴이 분류되지 않은 경우, 상기 의미벡터가 가리키는 노드와 가장 가까운 노드에 매핑되어 있는 의도패턴을 온톨로지 대화 관계망 데이터베이스로부터 파악하여, 그 파악된 의도패턴을 상기 대화문장의 의도패턴으로 결정하여 상기 대화문장에 매칭시켜 온톨로지 대화 관계망 데이터베이스에 저장하고, 결정된 의도패턴을 상기 대화관리부에 전달하는 역할을 수행할 수 있다.If the intention pattern is not matched with the input sentence sentence, the new scenario processing section can derive the semantic vector of the sentence sentence. And classifies the intention pattern corresponding to the conversation sentence from the derived semantic vector. If the intention pattern corresponding to the conversation sentence is classified, the intention pattern is determined as the intention pattern of the conversation sentence, and is matched to the conversation sentence, and is stored in the ontology conversation relationship network database. The intention pattern mapped to the node closest to the node indicated by the semantic vector is grasped from the ontology dialog network database, and the identified intention pattern is determined to be the intention pattern of the conversation sentence, and is matched to the sentence sentence Store it in the ontology dialog network database, and deliver the determined intention pattern to the conversation management unit.

도 16을 참조하여 전술한 바와 같이, 상기 의미벡터가 가리키는 노드와 가장 가까운 노드에 매핑되어 있는 의도패턴은, 단일 단어 또는, 단어의 조합으로 생성된 의미벡터가 가리키는 새로운 단어일 수 있다.As described above with reference to FIG. 16, an intention pattern mapped to a node closest to a node indicated by the semantic vector may be a single word or a new word indicated by a semantic vector generated by a combination of words.

대화품질 관리부(205)는, 상기 분석된 대화문장으로부터, 사용자의 반응을 분석하여, 사용자 반응이 긍정적인 것으로 분석된 경우 해당 대화문장 또는 해당 대화문장의 의도패턴으로 이어지는 대화 시나리오가 선택될 가능성을 높게 설정하고, 사용자 반응이 부정적인 것으로 분석된 경우 해당 대화문장 또는 해당 대화문장의 의도패턴으로 이어지는 대화 시나리오가 선택될 가능성을 낮게 설정함으로써 대화 품질관리를 수행한다. 이때 도 17을 참조하여 전술한 바와 같이, 상기 대화 시나리오가 선택될 가능성의 설정은, 기 설정된 기준에 따라 가중치를 부여함으로써 이루어질 수 있다. 또한 사용자 반응의 분석은, 상기 대화문장을 규칙에 따라 분석함을 통하여 수행하거나(규칙기반), 대화문장의 통계를 기반하여 수행하거나(통계기반), 머신러닝(machine learning) 방식으로 수행(머신러닝기반)할 수 있다. 또는 사용자 반응의 분석은, 온톨로지 대화 관계망 데이터베이스에서 상기 사용자의 대화문장이 해당하는 의도패턴에 대한, 기 분석되어 매핑되어 있는 사용자 선호도에 의해 이루어질 수도 있는데, 이에 대하여는 도 17을 참조하여 상세히 설명한 바 있다.The conversation quality management unit 205 analyzes the response of the user from the analyzed conversation sentence to determine the possibility that the conversation scenario leading to the intended conversation sentence or the intended pattern of the conversation sentence is selected if the user response is analyzed as being positive And when the user reaction is analyzed as negative, the conversation quality management is performed by setting the possibility of selecting the conversation scenario leading to the conversation sentence or the intention pattern of the conversation sentence to be low. At this time, as described above with reference to FIG. 17, the setting of the possibility that the conversation scenario is selected may be made by weighting according to a predetermined criterion. Also, analysis of the user response may be performed by analyzing the conversation sentence according to a rule (rule-based), based on statistics of a conversation sentence (statistical based), or by machine learning Based). The analysis of the user response may be performed by the user preference that is analyzed and mapped on the intention pattern of the conversation sentence of the user in the ontology dialog network database. This has been described in detail with reference to FIG. 17 .

대화출력부(207)는상기 대화관리부에서 선택된 대화문장을 사용자에게 음성 등으로 출력하는 역할을 수행한다.The dialogue output unit 207 outputs the dialogue sentence selected by the dialogue management unit to the user through voice or the like.

도 19는 본 발명에 따른 온톨로지 대화 관계망 구조의 일 실시예를 도시한 도면이다.FIG. 19 is a diagram showing an embodiment of the ontology talk network structure according to the present invention.

즉, 도 19의 실시예를 참조하면, 온톨로지 대화 관계망의 대화는 일반대화 도메인, 전문대화 도메인, 또는 필요에 따라 다른 새로운 도메인을 설정하여 그러한 도메인 등으로 분류될 수 있다. 즉, 온톨로지 대화 관계망 공간에 매핑되어 있는 의도패턴 등의 수많은 노드는, 이미 각각 일반대화, 전문대화 등의 영역으로 이미 설정되어 있을 수 있다. 즉, 각 문장에 대한 의미벡터를 구할 경우, 문장의 의미에 따라 각 의미벡터가 가리키는 노드는, 온톨로지 대화 관계망 공간상에서 정해진 분류의 영역을 가리키도록 구성되어 있을 수 있다. 물론 일반대화 또는 전문대화의 하부에 세부적 분류를 한 경우도 마찬가지 방식일 수 있다.That is, referring to the embodiment of FIG. 19, the conversation of the ontology conversation network can be classified into a general conversation domain, a specialized conversation domain, or another such new domain by setting a new domain as necessary. That is, a large number of nodes such as an intention pattern mapped in the ontology talk network space may already be set in areas such as general conversation and professional conversation, respectively. That is, when a semantic vector for each sentence is obtained, the node indicated by each semantic vector according to the meaning of the sentence may be configured to point to an area of the classification determined on the ontology dialog network space. Of course, the same method can be used for detailed classification at the bottom of a general conversation or a professional conversation.

일반대화(일상대화, 상식대화, 주제대화 등)는 다양한 주제에 대해서 대화 관계망(Network)속의 대화 시나리오에 따라 대화를 전개한다. General conversations (daily conversations, common sense conversations, topic conversations, etc.) develop conversations based on conversation scenarios in a conversation network for various topics.

전문대화(예매, 예약, 구입 등)는 특정 목적의 대화 전략(Strategy)에 따라 사용자에게 특정정보(Argument)를 얻어서 과제 수행을 위한 대화를 수행한다. 예를 들자면, KTX예약의 경우 예약시간, 동행자 수, 좌석종류 등 예약에 필요한 정보를 사용자에게 물어봐서, 해당 정보가 충족된 뒤에야 예약을 마무리 하게 된다. 따라서, 특정 목적(Task)에 맞는, 대화 절차(Flow)를 따라야 한다.Specialized conversations (advance purchase, reservation, purchase, etc.) acquire specific information (Argument) according to a specific purpose of the strategy, and perform dialogue for the performance of the task. For example, in the case of KTX reservation, the user is asked about the information necessary for the reservation such as the reservation time, the number of the companion, the type of the seat, and the reservation is finished after the information is satisfied. Therefore, it is necessary to follow a dialogue procedure (Flow) for a specific purpose.

이와 같은 방식으로 온톨로지 대화 관계망에서 일반대화와 전문대화가 자유롭게 이루어질 수 있다.In this way, general conversation and professional conversation can be freely performed in the ontology conversation network.

이하 도 20 내지 도 23은 이와 같이 온톨로지 대화 관계망에서 분류된 대화의 예를 나타낸다.20 to 23 show examples of conversations classified in the ontology conversation network.

도 20은 본 발명에 따른 온톨로지 대화 관계망에서 일반대화 분류 구조의 일 실시예를 도시한 도면이다.20 is a diagram illustrating an embodiment of a general conversation classification structure in an ontology conversation network according to the present invention.

일반대화에는 일상대화, 상식대화, 주제대화, 감성대화, 주제대화 등이 올 수 있으며, 다양한 주제에 대해서 끊임없이 대화 포커스를 이동시키면 대화가 가능하다.General conversations can include daily conversations, common conversations, topic conversations, emotional conversations, topic conversations, and conversations are possible by constantly moving conversation focus on various topics.

도 21은 본 발명에 따른 온톨로지 대화 관계망에서 전문대화 분류 구조의 일 실시예를 도시한 도면이다.FIG. 21 is a diagram illustrating an example of a professional talk classification structure in an ontology talk network according to the present invention.

전문대화는 예매, 예약, 구입 등 특정 목적기반 대화를 진행하는 것을 말한다.Professional conversation refers to conducting a specific purpose-based conversation, such as booking, reserving, or purchasing.

도 22는 본 발명에 따른 온톨로지 대화 관계망에서 전문대화 중 병원 콜센터에서 상담원과 주고받는 대화 분류 구조의 일 실시예를 도시한 도면이다.22 is a diagram illustrating an example of a conversation classification structure exchanged with an agent in a hospital call center during a professional conversation in an ontology conversation network according to the present invention.

도 23은 본 발명에 따른 온톨로지 대화 관계망에서 일상대화와 감성대화 및 전문대화가 연결되는 분류 구조의 일 실시예를 도시한 도면이다.23 is a diagram showing an example of a classification structure in which a daily conversation, an emotional conversation, and a professional conversation are connected in an ontology conversation network according to the present invention.

일상대화와 감성대화, 전문대화를 자유롭게 오고가면서 연속적으로 대화가 이루어질 수 있다.Continuous conversation can be done while freely coming in everyday conversation, emotional conversation, and professional conversation.

이상과 같이, 본 발명은 비록 한정된 실시예와 도면에 의해 설명되었으나, 본 발명은 이것에 의해 한정되지 않으며 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 본 발명의 기술사상과 아래에 기재될 특허청구범위의 균등범위 내에서 다양한 수정 및 변형이 가능함은 물론이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. It will be understood that various modifications and changes may be made without departing from the scope of the appended claims.

100: 대화 시나리오 데이터베이스 구축 장치
110: 문장추출부
111: 음성 파일 추출 모듈
112: 게시글 추출 모듈
113: 검색어 생성기
120: 문장분석부
130: 대화 시나리오 생성부
140: 대화 시나리오 학습부
150: 대화 시나리오 데이터베이스
160: 온톨로지 관계 매핑부
200: 온톨로지 대화 관계망을 이용한 연속 대화 시스템
100: Dialogue scenario database building device
110: sentence extracting unit
111: voice file extraction module
112: Extraction module
113: Query Generator
120: sentence analysis unit
130: Conversation scenario generation unit
140: Dialogue scenario learning unit
150: Conversation scenario database
160: ontology relation mapping unit
200: Continuous conversation system using ontology dialogue network

Claims (6)

온톨로지 대화 관계망에 적용되는 대화 시스템을 위한 대화 시나리오 데이터베이스 구축 방법으로서,
(a) 대화 형식의 음성 파일 또는 대화 형식의 게시글, 댓글로부터 아이디 또는 이름별로 문장을 추출하는 단계;
(b) 상기 단계 (a)에서 추출된 문장으로부터 게시글, 댓글의 대화 전개에 따라 아이디 또는 이름별로 대화 문장을 트리 형태로 표현하는 단계;
(c) 상기 단계 (b)의 각 트리에서 대화 시나리오를 추출하는 단계;
(d) 상기 단계 (c)에서 생성된 대화 시나리오의 각 문장을 의미벡터로 표현하는 단계;
(e) 상기 단계 (d)에서 생성된 대화 시나리오의 각 문장을 의도패턴으로 표현하는 단계;
(f) 상기 대화 시나리오를 의도패턴과 의미벡터로 데이터베이스화 시키는 단계; 및
(g) 상기 단계 (e)에서 기존 의도패턴이 없는 문장을 새로운 의도패턴을 만드는 단계
를 포함하는 대화 시스템을 위한 대화 시나리오 데이터베이스 구축 방법.
A method for constructing a dialog scenario database for an interactive system applied to an ontology dialog network,
(a) extracting a sentence by an id or name from a conversation type voice file or conversation type of a comment or a comment;
(b) expressing a conversation sentence in tree form by ID or name according to conversation development of a comment or a comment from the sentence extracted in the step (a);
(c) extracting a dialog scenario from each tree of step (b);
(d) expressing each sentence of the dialog scenario generated in the step (c) as a semantic vector;
(e) expressing each sentence of the dialogue scenario generated in the step (d) in an intent pattern;
(f) databaseing the conversation scenario into an intent pattern and a semantic vector; And
(g) creating a new intention pattern in a sentence without an existing intention pattern in the step (e)
The method comprising the steps of:
청구항 1에 있어서,
상기 단계 (f)에서 데이터베이스와 시킨 의미벡터는 의미단어 또는 의미노드 그리고 의미큐브 중 하나로 표시하는 단계
를 더 포함하는 것을 특징으로 하는 대화 시스템을 위한 대화 시스템을 위한 대화 시나리오 데이터베이스 구축 방법.
The method according to claim 1,
In the step (f), the semantic vector obtained by the database is displayed as one of a semantic word, a semantic node and a semantic cube
Further comprising the steps of: creating a dialog scenario database for a dialog system for a dialog system.
청구항 1에 있어서,
상기 단계 (a)의 대화 형식의 음성 파일은 음성인식을 통하여 텍스트로 변경한 후 추출되는 것
을 특징으로 하는 대화 시스템을 위한 대화 시나리오 데이터베이스 구축 방법.
The method according to claim 1,
Wherein the conversation-type voice file in the step (a) is extracted after changing to text through speech recognition
The method comprising the steps of:
청구항 1에 있어서,
상기 단계 (a)의 대화 형식의 게시글로부터의 추출은,
특정 단어(word)를 검색어로 지정하며, 이 지정된 검색어로 검색된 게시글 및 댓글을 데이터 파싱하여 추출하는 것
을 특징으로 하는 대화 시스템을 위한 대화 시나리오 데이터베이스 구축 방법.
The method according to claim 1,
The extraction from the interactive-type article of step (a)
A specific word (word) is specified as a search term, and the data and the posts and comments retrieved by the specified search term are parsed and extracted
The method comprising the steps of:
청구항 1에 있어서,
상기 단계 (a)에서 추출된 문장은 의미벡터로 자동 변환되는 것
을 특징으로 하는 대화 시스템을 위한 대화 시나리오 데이터베이스 구축 방법.
The method according to claim 1,
The sentence extracted in the step (a) is automatically converted into a semantic vector
The method comprising the steps of:
대화 시나리오를 추출하는 대화 시나리오 추출부;
상기 대화 시나리오 추출부에 의하여 생성된 대화 시나리오의 각 문장을 학습하는 대화 시나리오 학습부;
상기 대화 시나리오 학습부에 의해서 생성된 의미벡터를 이용하여 대화 시나리오 각 문장의 의도패턴을 분류하는 대화 시나리오 의도패턴 분류부
상기 대화 시나리오 의도패턴 분류부에 의해서 분류되지 않은 의도패턴에 대해서 새로운 의도패턴을 만드는 의도패턴 생성부;
상기 대화 시나리오 의도패턴과 의미벡터를 저장하는 대화 시나리오 데이터베이스; 및
상기 대화 시나리오 데이터베이스에 저장된 상기 대화 시나리오의 연속적인 의미벡터와 의도패턴을 온톨로지 다차원 공간상에 표시하는 온톨로지 관계 매핑부
를 포함하는 대화 시스템을 위한 대화 시나리오 데이터베이스 구축 장치.
A dialog scenario extracting unit for extracting a dialog scenario;
A dialogue scenario learning unit for learning each sentence of the dialogue scenario generated by the dialogue scenario extracting unit;
A dialogue scenario intention pattern classifying unit for classifying an intention pattern of each sentence of the dialogue scenario using the semantic vector generated by the dialogue scenario learning unit,
An intention pattern generator for generating a new intention pattern for an intention pattern not classified by the intention pattern classifier of the dialog scenario;
A dialog scenario database storing the dialog pattern intention patterns and the semantic vectors; And
An ontology relationship mapping unit for displaying successive semantic vectors and intent patterns of the conversation scenario stored in the conversation scenario database on an ontology multidimensional space,
Wherein the dialog scenario database includes at least one of:
KR1020170168352A 2017-04-14 2017-12-08 Method and apparatus of dialog scenario database constructing for dialog system KR102117287B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020170048155 2017-04-14
KR20170048155 2017-04-14

Publications (2)

Publication Number Publication Date
KR20180116104A true KR20180116104A (en) 2018-10-24
KR102117287B1 KR102117287B1 (en) 2020-06-01

Family

ID=64132355

Family Applications (2)

Application Number Title Priority Date Filing Date
KR1020170168352A KR102117287B1 (en) 2017-04-14 2017-12-08 Method and apparatus of dialog scenario database constructing for dialog system
KR1020170168350A KR102204491B1 (en) 2017-04-14 2017-12-08 Continuous conversation method and system by using automating conversation scenario network

Family Applications After (1)

Application Number Title Priority Date Filing Date
KR1020170168350A KR102204491B1 (en) 2017-04-14 2017-12-08 Continuous conversation method and system by using automating conversation scenario network

Country Status (1)

Country Link
KR (2) KR102117287B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109829044A (en) * 2018-12-28 2019-05-31 北京百度网讯科技有限公司 Dialogue method, device and equipment
KR20200049254A (en) * 2018-10-31 2020-05-08 박해유 A chat service providing system that can provide medical consultation according to customer's needs with a chat robot
CN115146653A (en) * 2022-07-21 2022-10-04 平安科技(深圳)有限公司 Dialogue script construction method, device, equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102382914B1 (en) * 2020-06-17 2022-04-06 주식회사 엔씨소프트 Method and apparatus for relation extraction between entities

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100326931B1 (en) 1999-08-02 2002-03-13 이계철 A Verification System which uses a dialogue system for testing the implementation of the scenario of automatic information retrieval system, and its Method
KR100444568B1 (en) 1999-08-02 2004-08-18 현 최 Business method for managing centralized monitoring system using the internet network
KR20160007040A (en) * 2014-07-10 2016-01-20 네이버 주식회사 Method and system for searching by using natural language query
KR20160147303A (en) * 2015-06-15 2016-12-23 포항공과대학교 산학협력단 Method for dialog management based on multi-user using memory capacity and apparatus for performing the method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101720972B1 (en) * 2015-04-16 2017-03-30 주식회사 플런티코리아 Recommendation Reply Apparatus and Method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100326931B1 (en) 1999-08-02 2002-03-13 이계철 A Verification System which uses a dialogue system for testing the implementation of the scenario of automatic information retrieval system, and its Method
KR100444568B1 (en) 1999-08-02 2004-08-18 현 최 Business method for managing centralized monitoring system using the internet network
KR20160007040A (en) * 2014-07-10 2016-01-20 네이버 주식회사 Method and system for searching by using natural language query
KR20160147303A (en) * 2015-06-15 2016-12-23 포항공과대학교 산학협력단 Method for dialog management based on multi-user using memory capacity and apparatus for performing the method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200049254A (en) * 2018-10-31 2020-05-08 박해유 A chat service providing system that can provide medical consultation according to customer's needs with a chat robot
CN109829044A (en) * 2018-12-28 2019-05-31 北京百度网讯科技有限公司 Dialogue method, device and equipment
CN115146653A (en) * 2022-07-21 2022-10-04 平安科技(深圳)有限公司 Dialogue script construction method, device, equipment and storage medium
CN115146653B (en) * 2022-07-21 2023-05-02 平安科技(深圳)有限公司 Dialogue scenario construction method, device, equipment and storage medium

Also Published As

Publication number Publication date
KR102204491B1 (en) 2021-02-04
KR20180116103A (en) 2018-10-24
KR102117287B1 (en) 2020-06-01

Similar Documents

Publication Publication Date Title
CN111026842B (en) Natural language processing method, natural language processing device and intelligent question-answering system
US20190286996A1 (en) Human-machine interactive method and device based on artificial intelligence
CN110209897B (en) Intelligent dialogue method, device, storage medium and equipment
KR20190046062A (en) Method and apparatus of dialog scenario database constructing for dialog system
KR102656620B1 (en) Electronic apparatus, controlling method of thereof and non-transitory computer readable recording medium
WO2019046463A1 (en) System and method for defining dialog intents and building zero-shot intent recognition models
CN112073741A (en) Live broadcast information processing method and device, electronic equipment and storage medium
KR102117287B1 (en) Method and apparatus of dialog scenario database constructing for dialog system
CN111098312A (en) Window government affairs service robot
CN110019729B (en) Intelligent question-answering method, storage medium and terminal
EP4125029A1 (en) Electronic apparatus, controlling method of thereof and non-transitory computer readable recording medium
CN109145168A (en) A kind of expert service robot cloud platform
CN113569023A (en) Chinese medicine question-answering system and method based on knowledge graph
KR20190103504A (en) Continuous Conversation Method and Its System by Automating Conversation Scenario Collection
WO2019060520A1 (en) Method, apparatus, and computer-readable media for customer interaction semantic annotation and analytics
CN116541493A (en) Interactive response method, device, equipment and storage medium based on intention recognition
CN115658889A (en) Dialogue processing method, device, equipment and storage medium
CN113609264B (en) Data query method and device for power system nodes
CN113591489B (en) Voice interaction method and device and related equipment
KR20200143039A (en) Method and apparatus of dialog scenario database constructing for dialog system
Aattouri et al. Modeling of an artificial intelligence based enterprise callbot with natural language processing and machine learning algorithms
CN115269961A (en) Content search method and related device
KR20190132708A (en) Continuous conversation method and system by using automating generation of conversation scenario meaning pattern
KR20190046041A (en) Continuous conversation method and system by using automating conversation scenario network
CN115408500A (en) Question-answer consistency evaluation method and device, electronic equipment and medium

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant