KR20200074603A - Sentences automatically generating apparatus for generating a corpus associated with the new object name word and operating method thereof - Google Patents

Sentences automatically generating apparatus for generating a corpus associated with the new object name word and operating method thereof Download PDF

Info

Publication number
KR20200074603A
KR20200074603A KR1020180163190A KR20180163190A KR20200074603A KR 20200074603 A KR20200074603 A KR 20200074603A KR 1020180163190 A KR1020180163190 A KR 1020180163190A KR 20180163190 A KR20180163190 A KR 20180163190A KR 20200074603 A KR20200074603 A KR 20200074603A
Authority
KR
South Korea
Prior art keywords
sentences
sentence
new
candidate
word
Prior art date
Application number
KR1020180163190A
Other languages
Korean (ko)
Other versions
KR102168319B1 (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 KR1020180163190A priority Critical patent/KR102168319B1/en
Publication of KR20200074603A publication Critical patent/KR20200074603A/en
Application granted granted Critical
Publication of KR102168319B1 publication Critical patent/KR102168319B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/268Morphological analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/284Lexical analysis, e.g. tokenisation or collocates

Abstract

The present invention provides an apparatus for automatically generating a sentence for generating a corpus associated with a new object name and an operating method thereof. A user can be supported to easily compose the corpus used in a language model of a speech recognizer.

Description

신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 장치 및 그 동작 방법{SENTENCES AUTOMATICALLY GENERATING APPARATUS FOR GENERATING A CORPUS ASSOCIATED WITH THE NEW OBJECT NAME WORD AND OPERATING METHOD THEREOF}{SENTENCES AUTOMATICALLY GENERATING APPARATUS FOR GENERATING A CORPUS ASSOCIATED WITH THE NEW OBJECT NAME WORD AND OPERATING METHOD THEREOF}

본 발명은 음성인식기의 언어모델에 사용되는 말뭉치를 구성하기 위한 기술들과 관련된다.The present invention relates to techniques for constructing a corpus used in a language model of a speech recognizer.

최근, 인공지능 기능이 탑재된 전자 장비들이 출시됨에 따라 사용자가 음성으로 명령을 인가하면, 사용자의 음성을 인식하여 제어를 수행하는 기술이 주목받고 있다.Recently, as electronic devices equipped with artificial intelligence functions are released, a technology that recognizes a user's voice and performs control when a user applies a command by voice has attracted attention.

높은 성능을 갖는 음성인식기를 구현하기 위해서는 많은 수의 말뭉치(corpus)의 확보가 필수적으로 수행되어야 한다. 말뭉치는 자연언어 연구를 위해 특정한 목적을 가지고 언어의 표본을 추출한 집합이다. 컴퓨터의 발달로 말뭉치 분석이 용이해졌으며 분석의 정확성을 위해 해당 자연언어를 형태소 분석하는 경우가 많다. 확률/통계적 기법과 시계열적인 접근으로 전체를 파악할 수 있고, 언어의 빈도와 분포를 확인할 수 있는 자료이며, 현대 언어학 연구에 필수적인 자료이다. 인문학에 자연과학적 방법론이 가장 성공적으로 적용된 경우로 볼 수 있다.In order to implement a speech recognition device having high performance, it is necessary to secure a large number of corpuses. The corpus is a collection of samples of languages with a specific purpose for the study of natural languages. With the development of computers, corpus analysis has been facilitated, and the natural language is often morphologically analyzed for analysis accuracy. Probability/statistical techniques and time-series approaches can be used to grasp the whole, confirm the frequency and distribution of language, and are essential for modern linguistics research. It can be seen that the natural science methodology is most successfully applied to the humanities.

확률분포 기반의 언어모델을 사용하는 음성인식기에서 확률분포 기반의 언어모델은 말뭉치를 기반으로 만들어지고, 해당 말뭉치 내의 다양한 단어 시퀀스에 대한 확률 분포를 반영해서 특정 단어의 예측 확률을 계산한다. 이로 인해, 언어모델에 신조어를 반영하기 위해서는 신조어가 포함된 다양한 유형의 문장이 다수 포함된 말뭉치를 만들어서 언어모델에 반영해 줄 필요가 있다.In a speech recognizer using a language model based on probability distribution, a language model based on probability distribution is created based on a corpus and calculates a predicted probability of a specific word by reflecting a probability distribution for various word sequences in the corpus. For this reason, in order to reflect the new word in the language model, it is necessary to make a corpus containing a large number of sentences of various types containing the new word and reflect it in the language model.

특히, 인명, 지명, 기관명 등과 같은 개체명은 새롭게 생성되는 경우가 많다는 점에서 이러한 신규 개체명이 만들어지는 경우, 신규 개체명을 포함하는 문장으로 구성된 말뭉치를 만들어서 언어모델에 반영해 주어야 상기 신규 개체명을 포함하는 음성을 정확하게 인식할 수 있다.In particular, when such a new individual name is created in that the individual name such as a person's name, a place name, and an organization name is often newly generated, a corpus consisting of sentences including the new entity name must be created and reflected in the language model to reflect the new entity name. The included voice can be accurately recognized.

하지만, 신규 개체명에 연관된 말뭉치를 생성하기 위해, 신규 개체명을 포함하는 문장을 개발자가 일일이 만들어내기에는 많은 어려움이 존재할 수 밖에 없다. 따라서, 신규 개체명에 연관된 말뭉치를 생성하기 위한 신규 문장들을 자동으로 생성할 수 있는 문장 자동 생성 기법에 대한 연구가 필요한 실정이다.However, in order to generate a corpus associated with a new entity name, it is inevitable that many difficulties exist for the developer to create a sentence containing the new entity name. Therefore, there is a need for a study on an automatic sentence generation technique capable of automatically generating new sentences for generating a corpus associated with a new individual name.

본 발명은 신규 개체명 단어에 연관된 말뭉치 생성을 위한 신규 문장들을 자동으로 생성할 수 있는 문장 자동 생성 장치 및 그 동작 방법을 제시함으로써, 사용자가 음성인식기의 언어모델에 사용되는 말뭉치를 보다 손쉽게 구성할 수 있도록 지원하고자 한다.The present invention provides a sentence automatic generation device and an operation method for automatically generating new sentences for generating a corpus associated with a new object name word, so that a user can more easily construct a corpus used for a language model of a speech recognizer. I want to support.

본 발명의 일실시예에 따른 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 장치는 미리 지정된 복수의 개체명 단어들과 상기 복수의 개체명 단어들 각각의 카테고리를 식별하기 위한 미리 지정된 카테고리 식별자가 대응되어 기록되어 있는 단어 테이블을 저장하여 유지하는 단어 테이블 유지부, 상기 복수의 개체명 단어들을 문장 내에 하나 이상 포함하는 사전 설정된 복수의 문장들이 저장되어 있는 문장 데이터베이스, 사용자로부터 신규 개체명 단어와 상기 신규 개체명 단어가 삽입된 복수의 예제 문장들 및 상기 신규 개체명 단어의 카테고리를 지시하는 제1 카테고리 식별자가 입력되면서, 상기 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 명령이 인가되면, 상기 단어 테이블로부터 상기 제1 카테고리 식별자에 대응되어 기록되어 있는 복수의 제1 개체명 단어들을 추출하는 개체명 단어 추출부, 상기 복수의 제1 개체명 단어들이 추출되면, 상기 문장 데이터베이스로부터 상기 복수의 제1 개체명 단어들을 문장 내에 하나 이상 포함하고 있는 복수의 제1 문장들을 추출하는 문장 추출부, 상기 복수의 제1 문장들이 추출되면, 상기 복수의 제1 문장들 중 상기 복수의 예제 문장들과의 문장 유사도가 미리 설정된 임계치를 초과하는 문장들을 선택하고, 상기 복수의 제1 개체명 단어들 중 상기 선택된 문장들에 한 번 이상 포함되어 있는 단어들을 복수의 후보 개체명 단어들로 선택하는 후보 단어 선택부 및 상기 복수의 후보 개체명 단어들이 선택되면, 상기 문장 데이터베이스로부터 상기 복수의 후보 개체명 단어들을 하나 이상 포함하고 있는 문장들을 복수의 후보 문장들로 추출하고, 상기 복수의 후보 문장들에 포함되어 있는 상기 복수의 후보 개체명 단어들을 상기 신규 개체명 단어로 대체함으로써, 상기 신규 개체명 단어가 포함된 복수의 신규 문장들을 생성하는 신규 문장 생성부를 포함한다.An automatic sentence generation device for generating a corpus associated with a new entity name word according to an embodiment of the present invention includes a plurality of predetermined entity name words and a predetermined category identifier for identifying each category of the plurality of entity name words A word table holding unit that stores and maintains a word table recorded in correspondence, a sentence database storing a plurality of preset sentences including one or more of the plurality of object name words in a sentence, a new object name word from a user, and When a plurality of example sentences in which the new entity name word is inserted and a first category identifier indicating a category of the new entity name word are input, an automatic sentence generation command for generating a corpus associated with the new entity name word is applied. , An entity name word extracting unit extracting a plurality of first entity name words recorded corresponding to the first category identifier from the word table, and when the plurality of first entity name words are extracted, the plurality from the sentence database A sentence extracting unit for extracting a plurality of first sentences including one or more first entity name words in a sentence, and when the plurality of first sentences are extracted, the plurality of example sentences among the plurality of first sentences A candidate that selects sentences that have a sentence similarity to and exceeds a preset threshold, and selects words included in the selected sentences one or more times among the plurality of first object name words as a plurality of candidate object name words When the word selector and the plurality of candidate entity name words are selected, sentences including one or more of the plurality of candidate entity name words are extracted from the sentence database as a plurality of candidate sentences, and the plurality of candidate sentences are And a new sentence generating unit generating a plurality of new sentences including the new object name word by replacing the included plurality of candidate object name words with the new object name word.

또한, 본 발명의 일실시예에 따른 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 장치의 동작 방법은 미리 지정된 복수의 개체명 단어들과 상기 복수의 개체명 단어들 각각의 카테고리를 식별하기 위한 미리 지정된 카테고리 식별자가 대응되어 기록되어 있는 단어 테이블을 저장하여 유지하는 단계, 상기 복수의 개체명 단어들을 문장 내에 하나 이상 포함하는 사전 설정된 복수의 문장들이 저장되어 있는 문장 데이터베이스를 유지하는 단계, 사용자로부터 신규 개체명 단어와 상기 신규 개체명 단어가 삽입된 복수의 예제 문장들 및 상기 신규 개체명 단어의 카테고리를 지시하는 제1 카테고리 식별자가 입력되면서, 상기 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 명령이 인가되면, 상기 단어 테이블로부터 상기 제1 카테고리 식별자에 대응되어 기록되어 있는 복수의 제1 개체명 단어들을 추출하는 단계, 상기 복수의 제1 개체명 단어들이 추출되면, 상기 문장 데이터베이스로부터 상기 복수의 제1 개체명 단어들을 문장 내에 하나 이상 포함하고 있는 복수의 제1 문장들을 추출하는 단계, 상기 복수의 제1 문장들이 추출되면, 상기 복수의 제1 문장들 중 상기 복수의 예제 문장들과의 문장 유사도가 미리 설정된 임계치를 초과하는 문장들을 선택하고, 상기 복수의 제1 개체명 단어들 중 상기 선택된 문장들에 한 번 이상 포함되어 있는 단어들을 복수의 후보 개체명 단어들로 선택하는 단계 및 상기 복수의 후보 개체명 단어들이 선택되면, 상기 문장 데이터베이스로부터 상기 복수의 후보 개체명 단어들을 하나 이상 포함하고 있는 문장들을 복수의 후보 문장들로 추출하고, 상기 복수의 후보 문장들에 포함되어 있는 상기 복수의 후보 개체명 단어들을 상기 신규 개체명 단어로 대체함으로써, 상기 신규 개체명 단어가 포함된 복수의 신규 문장들을 생성하는 단계를 포함한다.In addition, an operation method of an automatic sentence generation device for generating a corpus associated with a new entity name word according to an embodiment of the present invention identifies a plurality of predetermined entity name words and categories of each of the plurality of entity name words Storing and maintaining a word table in which a predetermined category identifier for correspondence is recorded, and maintaining a sentence database in which a plurality of preset sentences including one or more words of the plurality of object names are stored in a sentence, a user A new entity name word, a plurality of example sentences in which the new entity name word is inserted, and a first category identifier indicating a category of the new entity name word are input, and a sentence for generating a corpus associated with the new entity name word Extracting a plurality of first entity name words recorded corresponding to the first category identifier from the word table when the automatic generation command is applied, and when the plurality of first entity name words are extracted, from the sentence database Extracting a plurality of first sentences including one or more words of the plurality of first entity names in a sentence, and when the plurality of first sentences are extracted, the plurality of example sentences among the plurality of first sentences Selecting sentences that have a sentence similarity with and exceeding a preset threshold, and selecting words included in the selected sentences one or more of the plurality of first object name words as a plurality of candidate object name words And when the plurality of candidate entity name words are selected, extracts sentences including one or more of the plurality of candidate entity name words from the sentence database into a plurality of candidate sentences, and is included in the plurality of candidate sentences. And generating a plurality of new sentences including the new entity name word by replacing the plurality of candidate entity name words with the new entity name word.

본 발명은 신규 개체명 단어에 연관된 말뭉치 생성을 위한 신규 문장들을 자동으로 생성할 수 있는 문장 자동 생성 장치 및 그 동작 방법을 제시함으로써, 사용자가 음성인식기의 언어모델에 사용되는 말뭉치를 보다 손쉽게 구성할 수 있도록 지원할 수 있다.The present invention provides a sentence automatic generation device and an operation method for automatically generating new sentences for generating a corpus associated with a new object name word, so that a user can more easily construct a corpus used for a language model of a speech recognizer. Can help.

도 1은 본 발명의 일실시예에 따른 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 장치의 구조를 도시한 도면이다.
도 2는 본 발명의 일실시예에 따른 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 장치의 동작 방법을 도시한 순서도이다.
1 is a diagram illustrating a structure of an automatic sentence generation device for generating a corpus associated with a new entity name word according to an embodiment of the present invention.
2 is a flowchart illustrating an operation method of an automatic sentence generation device for generating a corpus associated with a new entity name word according to an embodiment of the present invention.

이하에서는 본 발명에 따른 실시예들을 첨부된 도면을 참조하여 상세하게 설명하기로 한다. 이러한 설명은 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 각 도면을 설명하면서 유사한 참조부호를 유사한 구성요소에 대해 사용하였으며, 다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 본 명세서 상에서 사용되는 모든 용어들은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 사람에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다.Hereinafter, embodiments according to the present invention will be described in detail with reference to the accompanying drawings. It should be understood that this description is not intended to limit the invention to specific embodiments, and includes all modifications, equivalents, or substitutes included in the spirit and scope of the invention. In describing each drawing, similar reference numerals have been used for similar components, and unless otherwise defined, all terms used in this specification, including technical or scientific terms, have common knowledge in the technical field to which the present invention pertains. It has the same meaning as commonly understood by people who have it.

본 문서에서, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있다는 것을 의미한다. 또한, 본 발명의 다양한 실시예들에 있어서, 각 구성요소들, 기능 블록들 또는 수단들은 하나 또는 그 이상의 하부 구성요소로 구성될 수 있고, 각 구성요소들이 수행하는 전기, 전자, 기계적 기능들은 전자회로, 집적회로, ASIC(Application Specific Integrated Circuit) 등 공지된 다양한 소자들 또는 기계적 요소들로 구현될 수 있으며, 각각 별개로 구현되거나 2 이상이 하나로 통합되어 구현될 수도 있다. In this document, when it is said that a part "includes" a certain component, this means that other components may be further included rather than excluding other components unless specifically stated to the contrary. In addition, in various embodiments of the present invention, each component, functional blocks, or means may be composed of one or more sub-components, and the electrical, electronic, and mechanical functions performed by each component are electronic Circuits, integrated circuits, ASIC (Application Specific Integrated Circuit) may be implemented with various known elements or mechanical elements, each of which may be implemented separately or may be implemented by integrating two or more into one.

한편, 첨부된 블록도의 블록들이나 흐름도의 단계들은 범용 컴퓨터, 특수용 컴퓨터, 휴대용 노트북 컴퓨터, 네트워크 컴퓨터 등 데이터 프로세싱이 가능한 장비의 프로세서나 메모리에 탑재되어 지정된 기능들을 수행하는 컴퓨터 프로그램 명령들(instructions)을 의미하는 것으로 해석될 수 있다. 이들 컴퓨터 프로그램 명령들은 컴퓨터 장치에 구비된 메모리 또는 컴퓨터에서 판독 가능한 메모리에 저장될 수 있기 때문에, 블록도의 블록들 또는 흐름도의 단계들에서 설명된 기능들은 이를 수행하는 명령 수단을 내포하는 제조물로 생산될 수도 있다. 아울러, 각 블록 또는 각 단계는 특정된 논리적 기능(들)을 실행하기 위한 하나 이상의 실행 가능한 명령들을 포함하는 모듈, 세그먼트 또는 코드의 일부를 나타낼 수 있다. 또, 몇 가지 대체 가능한 실시예들에서는 블록들 또는 단계들에서 언급된 기능들이 정해진 순서와 달리 실행되는 것도 가능함을 주목해야 한다. 예컨대, 잇달아 도시되어 있는 두 개의 블록들 또는 단계들은 실질적으로 동시에 수행되거나, 역순으로 수행될 수 있으며, 경우에 따라 일부 블록들 또는 단계들이 생략된 채로 수행될 수도 있다.On the other hand, the steps of the blocks or flow charts of the accompanying block diagrams are computer program instructions that are mounted on a processor or memory of data processing equipment such as a general purpose computer, a special purpose computer, a portable notebook computer, and a network computer to perform designated functions. It can be interpreted as meaning. Since these computer program instructions can be stored in a memory provided in a computer device or in a computer readable memory, the functions described in the blocks of the block diagrams or steps in the flowchart are produced as an article containing instruction means for performing them. It may be. In addition, each block or step may represent a module, segment, or portion of code that includes one or more executable instructions for executing the specified logical function(s). It should also be noted that in some alternative embodiments, the functions mentioned in blocks or steps may be executed out of order. For example, two blocks or steps shown in succession may be performed substantially simultaneously, or may be performed in reverse order, and in some cases, some blocks or steps may be omitted.

도 1은 본 발명의 일실시예에 따른 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 장치의 구조를 도시한 도면이다.1 is a diagram illustrating a structure of an automatic sentence generation device for generating a corpus associated with a new entity name word according to an embodiment of the present invention.

도 1을 참조하면, 본 발명에 따른 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 장치(110)는 단어 테이블 유지부(111), 문장 데이터베이스(112), 개체명 단어 추출부(113), 문장 추출부(114), 후보 단어 선택부(115) 및 신규 문장 생성부(116)를 포함한다.Referring to FIG. 1, the automatic sentence generation device 110 for generating a corpus associated with a new object name word according to the present invention includes a word table holding unit 111, a sentence database 112, and an object name word extraction unit 113 , A sentence extraction unit 114, a candidate word selection unit 115, and a new sentence generation unit 116.

단어 테이블 유지부(111)는 미리 지정된 복수의 개체명 단어들과 상기 복수의 개체명 단어들 각각의 카테고리를 식별하기 위한 미리 지정된 카테고리 식별자가 대응되어 기록되어 있는 단어 테이블을 저장하여 유지한다.The word table holding unit 111 stores and maintains a word table in which a plurality of predefined entity name words and a predetermined category identifier for identifying each of the plurality of entity name words are recorded in correspondence.

여기서, 개체명 단어란 인명, 지명, 기관명, 사물의 명칭 등과 같은 고유명사나 명사구를 의미한다. 그리고, 미리 지정된 복수의 개체명 단어들은 이미 음성인식기를 위한 말뭉치가 생성되어 있는 개체명 단어들을 의미하며, 카테고리란 각 개체명 단어들이 속하는 분류를 의미하는 것으로, 특정 개체명 단어가 '불고기 피자'라고 한다면 '불고기 피자'는 '음식'이라는 분류에 속할 수 있기 때문에 '불고기 피자'라는 개체명에 대한 카테고리는 '음식'이 될 수 있다.Here, the word “individual name” means a proper noun or a noun phrase such as a person's name, a place name, an organization name, and a name of an object. In addition, the plurality of pre-specified object name words refer to the object name words in which the corpus for voice recognition has already been generated, and the category refers to the classification to which each object name word belongs, and the specific object name word is'Bulgogi Pizza' If you say'Bulgogi Pizza' can belong to the category of'Food', so the category for the object name'Bulgogi Pizza' can be'Food'.

이때, '음식'이라는 카테고리에 대한 미리 지정된 카테고리 식별자를 '식별자 1'이라고 하고, '전자제품'이라는 카테고리에 대한 미리 지정된 식별자를 '식별자 2'라고 하며, '휴대폰 액세서리'라는 카테고리에 대한 미리 지정된 식별자를 '식별자 3'이라고 한다면, 상기 단어 테이블에는 하기의 표 1과 같이 정보가 기록되어 있을 수 있다.At this time, the predefined category identifier for the category of'food' is called'identifier 1', the predefined identifier for the category of'electronic products' is called'identifier 2', and the predefined name for the category of'mobile phone accessories'. If the identifier is'identifier 3', information may be recorded in the word table as shown in Table 1 below.

복수의 개체명 단어들Multiple entity words 카테고리 식별자Category identifier 블랙타이거 슈림프 피자Black Tiger Shrimp Pizza 식별자 1Identifier 1 햄버거hamburger 식별자 1Identifier 1 청국장Cheonggukjang 식별자 1Identifier 1 킹프론 씨푸드 피자Kingfront Seafood Pizza 식별자 1Identifier 1 스마트폰Smartphone 식별자 2Identifier 2 셀카봉Selfie stick 식별자 3Identifier 3 ...... ......

문장 데이터베이스(112)에는 상기 복수의 개체명 단어들을 문장 내에 하나 이상 포함하는 사전 설정된 복수의 문장들이 저장되어 있다.The sentence database 112 stores a plurality of preset sentences including one or more words of the plurality of entity names in the sentence.

문장 데이터베이스(112)에 저장되어 있는 상기 복수의 문장들은 음성인식기를 위한 말뭉치로 사용하기 위해 이미 구성완료되어 있는 문장들을 의미한다.The plurality of sentences stored in the sentence database 112 means sentences that have already been configured for use as a corpus for a speech recognizer.

예컨대, 문장 데이터베이스(112)에는 하기의 표 2와 같이 복수의 문장들이 저장되어 있을 수 있다.For example, a plurality of sentences may be stored in the sentence database 112 as shown in Table 2 below.

복수의 개체명 단어들Multiple entity words 복수의 문장들Multiple sentences 블랙타이거 슈림프 피자Black Tiger Shrimp Pizza 1. 한컴피자 신제품 블랙타이거 슈림프 피자 직접 먹어보고 추천합니다.
2. 이번에 신제품인 블랙타이거 슈림프 피자가 나온다고해서 출시날만 기다리다가 먹어봤어요.
...
1. It is recommended to try Hancom Pizza's new product Black Tiger Shrimp Pizza.
2. This time, the new Black Tiger Shrimp Pizza is coming out.
...
햄버거hamburger 1. 햄버거 맛있게 먹어라.
2. 햄버거 하나 주세요.
...
1. Eat a delicious hamburger.
2. Give me a hamburger.
...
청국장Cheonggukjang 1. 청국장 냄새가 코를 자극한다.
2. 고향에서 만든 청국장이 그립다.
...
1. The smell of Cheonggukjang stimulates the nose.
2. I miss Cheonggukjang made in my hometown.
...
킹프론 씨푸드 피자Kingfront Seafood Pizza 1. 한컴피자가 여름 신제품 킹프론 씨푸드 피자 스페셜 세트 한정 판매한다.
...
1. Hancom Pizza sells a special set of summer new King's Seafood Pizza.
...
스마트폰Smartphone 1. 스마트폰을 이용하여 게임을 즐길 수 있습니다.
...
1. You can enjoy the game using your smartphone.
...
셀카봉Selfie stick 1. 사진을 찍을 때 셀카봉을 이용하십시오.
2. 셀카봉을 이용하여 셀카를 찍을 수 있습니다.
...
1. Use selfie sticks when taking pictures.
2. You can take a selfie using the selfie stick.
...
...... ......

개체명 단어 추출부(113)는 사용자로부터 신규 개체명 단어와 상기 신규 개체명 단어가 삽입된 복수의 예제 문장들 및 상기 신규 개체명 단어의 카테고리를 지시하는 제1 카테고리 식별자가 입력되면서, 상기 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 명령이 인가되면, 상기 단어 테이블로부터 상기 제1 카테고리 식별자에 대응되어 기록되어 있는 복수의 제1 개체명 단어들을 추출한다.The entity name word extracting unit 113 inputs a new entity name word, a plurality of example sentences in which the new entity name word is inserted, and a first category identifier indicating a category of the new entity name word, while the new entity name word extraction unit 113 is input. When a sentence automatic generation command for generating a corpus associated with an entity name word is applied, a plurality of first entity name words recorded corresponding to the first category identifier is extracted from the word table.

예컨대, 사용자로부터 입력된 상기 신규 개체명 단어가 '훌랄라피자'라고 하고, 상기 복수의 예제 문장들이 하기의 표 3과 같다고 하며, 상기 제1 카테고리 식별자가 '식별자 1'이라고 하는 경우, 개체명 단어 추출부(113)는 상기 표 1과 같은 단어 테이블로부터 '식별자 1'에 대응되어 기록되어 있는 '블랙타이거 슈림프 피자, 햄버거, 청국장, 킹프론 씨푸드 피자, ...'라는 개체명 단어들을 상기 복수의 제1 개체명 단어들로 추출할 수 있다.For example, when the new entity name word input from the user is called'Hulala Pizza', the plurality of example sentences are as shown in Table 3 below, and when the first category identifier is'identifier 1', the entity name word The extracting unit 113 recalls the words of the'Black Tiger Shrimp Pizza, Hamburger, Cheonggukjang, Kingpron Seafood Pizza, ...' recorded corresponding to'Identifier 1'from the word table shown in Table 1 above. It may be extracted as a plurality of first entity name words.

복수의 예제 문장들Multiple example sentences 한컴피자의 신제품 훌랄라피자를 추천합니다.
한컴피자 신제품 훌랄라피자 판매합니다.
매장에서만 훌랄라피자를 주문할 수 있습니다.
We recommend Hancom Pizza's new product, Hulala Pizza.
Hancom Pizza sells new hula pizza.
You can order hula pizzas only at the store.

문장 추출부(114)는 상기 복수의 제1 개체명 단어들이 추출되면, 문장 데이터베이스(112)로부터 상기 복수의 제1 개체명 단어들을 문장 내에 하나 이상 포함하고 있는 복수의 제1 문장들을 추출한다.When the plurality of first entity name words are extracted, the sentence extraction unit 114 extracts a plurality of first sentences including one or more of the plurality of first entity name words from the sentence database 112.

관련해서, 전술한 예와 같이, '블랙타이거 슈림프 피자, 햄버거, 청국장, 킹프론 씨푸드 피자, ...'가 상기 복수의 제1 개체명 단어들로 추출되었다고 하는 경우, 문장 추출부(114)는 상기 표 2와 같은 문장 데이터베이스(112)로부터 '블랙타이거 슈림프 피자, 햄버거, 청국장, 킹프론 씨푸드 피자, ...'라는 개체명 단어를 문장 내에서 하나 이상 포함하고 있는 상기 복수의 제1 문장들을 추출할 수 있고, 그 결과는 하기의 표 4와 같이 나타낼 수 있다.In relation to this, as in the above-described example, if the'black tiger shrimp pizza, hamburger, chungkukjang, king pron seafood pizza, ...' is said to be extracted with the plurality of first object name words, the sentence extraction unit 114 ) From the sentence database 112 shown in Table 2 above, the plurality of agents containing one or more words in the sentence'Black Tiger Shrimp Pizza, Hamburger, Cheonggukjang, King Front Seafood Pizza, ...' One sentence can be extracted, and the results can be expressed as shown in Table 4 below.

복수의 제1 문장들Multiple first sentences 1. 한컴피자 신제품 블랙타이거 슈림프 피자 직접 먹어보고 추천합니다.
2. 이번에 신제품인 블랙타이거 슈림프 피자가 나온다고해서 출시날만 기다리다가 먹어봤어요.
...
1. It is recommended to try Hancom Pizza's new product Black Tiger Shrimp Pizza .
2. This time, the new black tiger shrimp pizza was released, so I waited for the release date and ate it.
...
1. 햄버거 맛있게 먹어라.
2. 햄버거 하나 주세요.
...
1. Eat a delicious hamburger .
2. Give me a hamburger .
...
1. 청국장 냄새가 코를 자극한다.
2. 고향에서 만든 청국장이 그립다.
...
1. The smell of Cheonggukjang stimulates the nose.
2. I miss Cheonggukjang made in my hometown.
...
1. 한컴피자가 여름 신제품 킹프론 씨푸드 피자 스페셜 세트 한정 판매한다.
...
1. Hancom Pizza sells a special set of summer new King's Seafood Pizza .
...
......

후보 단어 선택부(115)는 상기 복수의 제1 문장들이 추출되면, 상기 복수의 제1 문장들 중 상기 복수의 예제 문장들과의 문장 유사도가 미리 설정된 임계치를 초과하는 문장들을 선택하고, 상기 복수의 제1 개체명 단어들 중 상기 선택된 문장들에 한 번 이상 포함되어 있는 단어들을 복수의 후보 개체명 단어들로 선택한다.When the plurality of first sentences are extracted, the candidate word selector 115 selects sentences among the plurality of first sentences having a sentence similarity with the plurality of example sentences exceeding a preset threshold, and the plurality of first sentences Among the first individual word words, words included in the selected sentences more than once are selected as a plurality of candidate individual name words.

이때, 본 발명의 일실시예에 따르면, 후보 단어 선택부(115)는 대응 예제 문장 선별부(117), 문장 선택부(118) 및 후보 선택 처리부(119)를 포함할 수 있다.At this time, according to an embodiment of the present invention, the candidate word selector 115 may include a corresponding example sentence selector 117, a sentence selector 118, and a candidate selector processor 119.

대응 예제 문장 선별부(117)는 상기 복수의 제1 문장들이 추출되면, 상기 복수의 예제 문장들 중 상기 복수의 제1 문장들 각각과의 문장 유사도가 최대인 예제 문장을 상기 복수의 제1 문장들 각각에 대한 대응 예제 문장으로 선별한다.When the plurality of first sentences are extracted, the corresponding example sentence selecting unit 117 extracts the example sentences having the maximum sentence similarity with each of the plurality of first sentences among the plurality of example sentences, and the plurality of first sentences. Select the corresponding example sentences for each of them.

문장 선택부(118)는 상기 복수의 제1 문장들 각각에 대한 대응 예제 문장과 상기 복수의 제1 문장들 각각 간의 문장 유사도를 비교하여 상기 복수의 제1 문장들 중 대응 예제 문장과의 문장 유사도가 상기 임계치를 초과하는 문장들을 선택한다.The sentence selection unit 118 compares the sentence similarity between the corresponding example sentences for each of the plurality of first sentences and each of the plurality of first sentences, and then compares the sentence similarity with the corresponding example sentence among the plurality of first sentences Selects sentences that exceed the threshold.

후보 선택 처리부(119)는 상기 복수의 제1 개체명 단어들 중 상기 선택된 문장들에 한 번 이상 포함되어 있는 단어들을 상기 복수의 후보 개체명 단어들로 선택한다.The candidate selection processing unit 119 selects words included in the selected sentences one or more of the plurality of first entity name words as the plurality of candidate entity name words.

이때, 본 발명의 일실시예에 따르면, 후보 단어 선택부(115)에서 사용되는 문장 유사도는 비교 대상이 되는 문장들을 구성하는 문자열에 대한 최장 공통 부분 수열(Longest Common Subsequence: LCS)의 길이일 수 있다.In this case, according to an embodiment of the present invention, the sentence similarity used in the candidate word selector 115 may be the length of the longest common subsequence (LCS) of the strings constituting the sentences to be compared. have.

관련해서, 전술한 예시와 같이 복수의 예제 문장들이 표 3과 같고, 상기 복수의 제1 문장들이 표 4와 같다고 하였을 때, 후보 단어 선택부(115)의 동작을 예를 들어 상세히 설명하면 다음과 같다.In relation to this, when the plurality of example sentences are as shown in Table 3 and the plurality of first sentences are as shown in Table 4, the operation of the candidate word selector 115 is described in detail as follows. same.

문장 추출부(114)를 통해서 상기 표 4와 같은 상기 복수의 제1 문장들이 추출되면, 대응 예제 문장 선별부(117)는 상기 복수의 제1 문장들 각각에 대해 상기 표 3과 같은 복수의 예제 문장들 각각과의 문장 유사도를 연산할 수 있다.When the plurality of first sentences, such as Table 4, are extracted through the sentence extraction unit 114, the corresponding example sentence selection unit 117 includes a plurality of examples, as shown in Table 3, for each of the plurality of first sentences. You can calculate the sentence similarity with each of the sentences.

이때, 대응 예제 문장 선별부(117)는 상기 복수의 제1 문장들 각각에 대해 각 문장과 상기 복수의 예제 문장들 간의 LCS의 길이를 문장 유사도로 연산할 수 있다.At this time, the corresponding example sentence selector 117 may calculate the length of the LCS between each sentence and the plurality of example sentences for each of the plurality of first sentences with sentence similarity.

LCS란 두 개의 문자열에서 일치하는 연속된 문자열을 의미하는 것으로, 'ACAYKP'와 'CAPCAK'가 있다고 하였을 때, 두 문자열 간의 LCS는 'ACAK'이고, 이때 LCS의 길이는 '4'가 된다.LCS means a continuous string that matches two strings. When there are'ACAYKP' and'CAPCAK', the LCS between the two strings is'ACAK', and the length of the LCS is '4'.

관련해서, 대응 예제 문장 선별부(117)는 '한컴피자 신제품 블랙타이거 슈림프 피자 직접 먹어보고 추천합니다.'라는 문장과 상기 복수의 예제 문장들 각각 간의 LCS의 길이를 문장 유사도로 연산할 수 있고, '이번에 신제품인 블랙타이거 슈림프 피자가 나온다고해서 출시날만 기다리다가 먹어봤어요.'라는 문장과 상기 복수의 예제 문장들 각각 간의 LCS의 길이를 문장 유사도로 연산할 수 있다. 이러한 방식으로 대응 예제 문장 선별부(117)는 상기 복수의 제1 문장들 각각에 대해 상기 복수의 예제 문장들 각각과의 문장 유사도를 연산할 수 있다.In relation to this, the corresponding example sentence selector 117 can calculate the length of the LCS between each of the sentences,'I recommend eating and recommending the new Hancom Pizza Black Tiger Shrimp Pizza.' The length of the LCS between each of the sentences,'I waited for the release date and ate it, because the new Black Tiger Shrimp Pizza is coming out' and the above example sentences can be calculated with sentence similarity. In this way, the corresponding example sentence selector 117 may calculate sentence similarity with each of the plurality of example sentences for each of the plurality of first sentences.

이렇게, 상기 복수의 제1 문장들 각각에 대한 상기 복수의 예제 문장들과의 문장 유사도가 연산되면, 대응 예제 문장 선별부(117)는 상기 복수의 예제 문장들 중 상기 복수의 제1 문장들 각각과의 문장 유사도가 최대인 예제 문장을 상기 복수의 제1 문장들 각각에 대한 대응 예제 문장으로 선별할 수 있다.In this way, when sentence similarity with the plurality of example sentences for each of the plurality of first sentences is calculated, the corresponding example sentence selector 117 each of the plurality of first sentences among the plurality of example sentences An example sentence having the maximum sentence similarity to and may be selected as a corresponding example sentence for each of the plurality of first sentences.

예컨대, '한컴피자 신제품 블랙타이거 슈림프 피자 직접 먹어보고 추천합니다.'라는 문장에 대해서 문장 유사도가 최대인 예제 문장이 '한컴피자의 신제품 훌랄라피자를 추천합니다.'라고 하는 경우, 대응 예제 문장 선별부(117)는 '한컴피자의 신제품 훌랄라피자를 추천합니다.'라는 예제 문장을 '한컴피자 신제품 블랙타이거 슈림프 피자 직접 먹어보고 추천합니다.'라는 문장에 대한 대응 예제 문장으로 선별할 수 있다.For example, in the case of the sentence,'Hancom Pizza's new Black Tiger Shrimp Pizza is recommended.' If the example sentence with the maximum sentence similarity is'Hancom Pizza's new Hula Pizza,' the corresponding example sentence selector (117) can select the example sentence'Hancom Pizza's new hula pizza' as the corresponding example sentence for the sentence'Hancom Pizza's new Black Tiger Shrimp Pizza.

이렇게, 상기 복수의 제1 문장들 각각에 대한 대응 예제 문장의 선별이 완료되면, 문장 선택부(118)는 상기 복수의 제1 문장들 각각에 대한 대응 예제 문장과 상기 복수의 제1 문장들 각각 간의 문장 유사도를 비교하여 상기 복수의 제1 문장들 중 대응 예제 문장과의 문장 유사도가 임계치를 초과하는 문장들을 선택할 수 있다.As such, when the selection of the corresponding example sentences for each of the plurality of first sentences is completed, the sentence selection unit 118 may respectively correspond to the corresponding example sentences for each of the plurality of first sentences and the plurality of first sentences. The sentence similarity between the first sentence among the plurality of first sentences may be selected by comparing the sentence similarity between the sentences.

예컨대, '한컴피자 신제품 블랙타이거 슈림프 피자 직접 먹어보고 추천합니다.'라는 문장과 그에 대한 대응 예제 문장인 '한컴피자의 신제품 훌랄라피자를 추천합니다.' 간의 LCS의 길이가 상기 임계치를 초과한다고 하는 경우, 문장 선택부(118)는 '한컴피자 신제품 블랙타이거 슈림프 피자 직접 먹어보고 추천합니다.'라는 문장을 상기 임계치를 초과하는 문장 유사도를 갖는 문장으로 선택할 수 있다.For example,'I recommend eating and recommending Hancom Pizza's new Black Tiger Shrimp Pizza' and the corresponding example sentence'Hancom Pizza's new Hula Pizza' is recommended. If the length of the LCS of the liver is said to exceed the threshold, the sentence selection unit 118 selects the sentence'Hancom Pizza New Black Tiger Shrimp Pizza directly and recommends it' as a sentence having sentence similarity that exceeds the threshold. Can.

이러한 방식으로, 문장 선택부(118)는 상기 복수의 제1 문장들 중 대응 예제 문장과의 문장 유사도가 상기 임계치를 초과하는 문장들을 선택할 수 있다. 이때, 본 실시예에서는 상기 복수의 제1 문장들 중 대응 예제 문장과의 문장 유사도가 상기 임계치를 초과하는 문장들을 선택한 결과가 하기의 표 5와 같다고 가정하자.In this way, the sentence selection unit 118 may select sentences among the plurality of first sentences whose sentence similarity with the corresponding example sentence exceeds the threshold. At this time, in this embodiment, it is assumed that the result of selecting sentences in which the sentence similarity with the corresponding example sentence among the plurality of first sentences exceeds the threshold is as shown in Table 5 below.

선택된 문장들Selected sentences 한컴피자 신제품 블랙타이거 슈림프 피자 직접 먹어보고 추천합니다.It is recommended to try Hancom Pizza's new Black Tiger Shrimp Pizza. 한컴피자가 여름 신제품 킹프론 씨푸드 피자 스페셜 세트 한정 판매한다.Hancom Pizza sells a limited edition of the new Summer King's Seafood Pizza special set. ......

상기 표 5와 같이 문장 선택부(118)에서 문장들이 선택되면, 후보 선택 처리부(119)는 '블랙타이거 슈림프 피자, 햄버거, 청국장, 킹프론 씨푸드 피자, ...'라는 상기 복수의 제1 개체명 단어들 중 상기 선택된 문장들에 한 번 이상 포함되어 있는 단어들을 상기 복수의 후보 개체명 단어들로 선택할 수 있다.When sentences are selected in the sentence selection unit 118, as shown in Table 5, the candidate selection processing unit 119 is the first plurality of'black tiger shrimp pizza, hamburger, cheonggukjang, king pron seafood pizza, ...' Words included in the selected sentences more than once among the object name words may be selected as the plurality of candidate object name words.

만약, '블랙타이거 슈림프 피자, 햄버거, 청국장, 킹프론 씨푸드 피자, ...'라는 상기 복수의 제1 개체명 단어들 중 상기 선택된 문장들에 한 번 이상 포함되어 있는 단어들이 '블랙타이거 슈림프 피자, 킹프론 씨푸드 피자'라고 하는 경우, 후보 선택 처리부(119)는 '블랙타이거 슈림프 피자, 킹프론 씨푸드 피자'라는 개체명 단어들을 상기 복수의 후보 개체명 단어들로 선택할 수 있다.If, among the plurality of first individual words words of'Black Tiger Shrimp Pizza, Hamburger, Cheonggukjang, King Front Seafood Pizza, ...', the words included in the selected sentences more than once are'Black Tiger Shrimp. In the case of'Pizza, KingFront Seafood Pizza', the candidate selection processing unit 119 may select the entity names words'Black Tiger Shrimp Pizza, KingFront Seafood Pizza' as the plurality of candidate entity name words.

지금까지 설명한 실시예에 따라 후보 단어 선택부(115)를 통해 상기 복수의 후보 개체명 단어들이 선택되면, 신규 문장 생성부(116)는 문장 데이터베이스(112)로부터 상기 복수의 후보 개체명 단어들을 하나 이상 포함하고 있는 문장들을 복수의 후보 문장들로 추출하고, 상기 복수의 후보 문장들에 포함되어 있는 상기 복수의 후보 개체명 단어들을 상기 신규 개체명 단어로 대체함으로써, 상기 신규 개체명 단어가 포함된 복수의 신규 문장들을 생성한다.When the plurality of candidate entity name words are selected through the candidate word selector 115 according to the embodiment described so far, the new sentence generator 116 generates one of the plurality of candidate entity name words from the sentence database 112. The new object name word is included by extracting the sentences containing the above into a plurality of candidate sentences and replacing the plurality of candidate object name words included in the plurality of candidate sentences with the new object name word Create multiple new sentences.

이때, 본 발명의 일실시예에 따르면, 신규 문장 생성부(116)는 후보 문장 테이블 생성부(120) 및 신규 문장 생성 처리부(121)를 포함할 수 있다.At this time, according to an embodiment of the present invention, the new sentence generation unit 116 may include a candidate sentence table generation unit 120 and a new sentence generation processing unit 121.

후보 문장 테이블 생성부(120)는 상기 복수의 후보 개체명 단어들이 선택되면, 문장 데이터베이스(112)로부터 상기 복수의 후보 개체명 단어들을 하나 이상 포함하고 있는 문장들을 상기 복수의 후보 문장들로 추출한 후 상기 복수의 후보 문장들 각각이 기록된 후보 문장 테이블을 생성한다.The candidate sentence table generator 120 extracts, as the plurality of candidate sentences, sentences containing one or more of the plurality of candidate object name words from the sentence database 112 when the plurality of candidate object name words are selected. A candidate sentence table in which each of the plurality of candidate sentences is recorded is generated.

예컨대, 상기 복수의 후보 개체명 단어들이 '블랙타이거 슈림프 피자, 킹프론 씨푸드 피자'라고 하는 경우, 후보 문장 테이블 생성부(120)는 문장 데이터베이스(112)로부터 '블랙타이거 슈림프 피자, 킹프론 씨푸드 피자'를 하나 이상 포함하고 있는 문장들을 상기 복수의 후보 문장들로 추출한 후 상기 복수의 후보 문장들 각각이 기록된 후보 문장 테이블을 생성할 수 있고, 이때 상기 후보 문장 테이블은 하기의 표 6과 같이 나타낼 수 있다.For example, when the plurality of candidate object names words are called'Black Tiger Shrimp Pizza, King Front Seafood Pizza', the candidate sentence table generating unit 120 may generate a'Black Tiger Shrimp Pizza, King Front' from the sentence database 112. After extracting the sentences containing one or more food pizzas into the plurality of candidate sentences, a candidate sentence table in which each of the plurality of candidate sentences is recorded may be generated, wherein the candidate sentence table is shown in Table 6 below. Can be represented together.

복수의 후보 개체명 단어들Multiple candidate entity names words 복수의 후보 문장들Multiple candidate sentences 블랙타이거 슈림프 피자Black Tiger Shrimp Pizza 한컴피자 신제품 블랙타이거 슈림프 피자 직접 먹어보고 추천합니다.It is recommended to try Hancom Pizza's new Black Tiger Shrimp Pizza. 이번에 신제품인 블랙타이거 슈림프 피자가 나온다고해서 출시날만 기다리다가 먹어봤어요.This time, the new Black Tiger Shrimp Pizza was released, so I waited for the release date and tried it. 이번 신상 블랙타이거 슈프림 피자는 비린맛 1도 없고요.This new Black Tiger Supreme pizza has no fishy taste. ...... 킹프론 씨푸드 피자Kingfront Seafood Pizza 한컴피자가 여름 신제품 킹프론 씨푸드 피자 스페셜 세트 한정 판매한다.Hancom Pizza sells a limited edition of the new Summer King's Seafood Pizza special set. 제가 주문한 피자는 킹프론 씨푸드 피자로 오리지널 도우에 라지사이즈입니다.The pizza I ordered is KingFront Seafood Pizza, which is large in the original dough. 그래도 요즘 신메뉴로 잘 나간다는 킹프론 씨푸드 피자는 맛이 어떨지 궁금하더라고요.Still, I was curious about the taste of KingFron Seafood Pizza, which goes well with new menus these days. ......

신규 문장 생성 처리부(121)는 상기 후보 문장 테이블에서 상기 복수의 후보 문장들에 포함되어 있는 상기 복수의 후보 개체명 단어들을 상기 신규 개체명 단어로 대체하여 상기 신규 개체명 단어가 포함된 상기 복수의 신규 문장들을 생성할 수 있다.The new sentence generation processing unit 121 replaces the plurality of candidate entity name words included in the plurality of candidate sentences in the candidate sentence table with the new entity name word, so that the plurality of new entity name words are included. New sentences can be created.

관련해서, 상기 표 6과 같이 상기 후보 문장 테이블이 생성되었다고 하는 경우, 신규 문장 생성 처리부(121)는 상기 복수의 후보 문장들에 포함되어 있는 '블랙타이거 슈림프 피자, 킹프론 씨푸드 피자'를 상기 신규 개체명 단어인 '훌랄라피자'로 대체함으로써, 하기의 표 7과 같은 신규 문장들을 생성할 수 있다.In relation to this, when it is said that the candidate sentence table is generated as shown in Table 6, the new sentence generation processing unit 121 recalls the'Black Tiger Shrimp Pizza, King Front Seafood Pizza' included in the plurality of candidate sentences. By substituting the new entity name word'Hulala Pizza', new sentences as shown in Table 7 below can be generated.

신규 문장들New sentences 한컴피자 신제품 훌랄라피자 직접 먹어보고 추천합니다.It is recommended to try Hancom Pizza's new Hula Pizza. 이번에 신제품인 훌랄라피자가 나온다고해서 출시날만 기다리다가 먹어봤어요.This time, I was waiting for the release date and ate it. 이번 신상 훌랄라피자는 비린맛 1도 없고요.This new hula pizza has no fishy taste. ...... 한컴피자가 여름 신제품 훌랄라피자 스페셜 세트 한정 판매한다.Hancom Pizza will be selling a special set of summer new hula pizza. 제가 주문한 피자는 훌랄라피자로 오리지널 도우에 라지사이즈입니다.The pizza I ordered is a large size with hula pizza and original dough. 그래도 요즘 신메뉴로 잘 나간다는 훌랄라피자는 맛이 어떨지 궁금하더라고요.Still, I was wondering how the hula pizza, which goes well with the new menu, tastes good. ......

이때, 본 발명의 일실시예에 따르면, 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 장치(110)는 신규 저장부(122)를 더 포함할 수 있다.In this case, according to an embodiment of the present invention, the automatic sentence generation device 110 for generating a corpus associated with a new entity name word may further include a new storage unit 122.

신규 저장부(122)는 상기 복수의 신규 문장들이 생성되면, 상기 단어 테이블에 상기 신규 개체명 단어와 상기 제1 카테고리를 서로 대응시켜 기록하고, 문장 데이터베이스(112)에 상기 복수의 신규 문장들을 저장한다.When the plurality of new sentences are generated, the new storage unit 122 records the new entity name word and the first category in the word table in correspondence with each other, and stores the plurality of new sentences in the sentence database 112. do.

결국, 본 발명에 따른 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 장치(110)는 사용자에 의해 신규 개체명 단어와 상기 신규 개체명 단어가 포함된 소정의 예제 문장들이 입력되면, 상기 신규 개체명 단어와 동일 카테고리의 개체명 단어를 포함하고 있는 기존 문장들과 상기 예제 문장들 간의 문장 유사도를 비교하여 상기 기존 문장들 중 상기 예제 문장들과의 문장 유사도가 소정의 임계치를 초과하는 문장을 선별하고, 선별된 문장에 포함된 개체명 단어를 추출한 후 추출된 개체명 단어를 하나 이상 포함하고 있는 기존 문장들을 다시 선택하여 선택된 기존 문장들에 포함되어 있는 개체명 단어를 상기 신규 개체명 단어로 대체함으로써, 상기 신규 개체명 단어에 연관된 말뭉치 생성을 위한 신규 문장들을 자동으로 생성할 수 있다.After all, the automatic sentence generation device 110 for generating a corpus associated with a new object name word according to the present invention is input by the user when certain example sentences including the new object name word and the new object name word are input. By comparing the sentence similarity between the existing sentences containing the object name word and the object word of the same category and the example sentences, the sentence similarity with the example sentences among the existing sentences exceeds a predetermined threshold. After selecting, extracting the word of the object included in the selected sentence, and re-selecting the existing sentences containing one or more of the extracted word of the object, the word of the object included in the selected existing sentence as the new object word By substituting, it is possible to automatically generate new sentences for generating a corpus associated with the new entity name word.

도 2는 본 발명의 일실시예에 따른 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 장치의 동작 방법을 도시한 순서도이다.2 is a flowchart illustrating an operating method of an automatic sentence generation device for generating a corpus associated with a new entity name word according to an embodiment of the present invention.

단계(S210)에서는 미리 지정된 복수의 개체명 단어들과 상기 복수의 개체명 단어들 각각의 카테고리를 식별하기 위한 미리 지정된 카테고리 식별자가 대응되어 기록되어 있는 단어 테이블을 저장하여 유지한다.In step S210, a word table in which a predetermined plurality of entity name words and a predetermined category identifier for identifying each category of the plurality of entity name words are correspondingly recorded is stored and maintained.

단계(S220)에서는 상기 복수의 개체명 단어들을 문장 내에 하나 이상 포함하는 사전 설정된 복수의 문장들이 저장되어 있는 문장 데이터베이스를 유지한다.In step S220, a sentence database in which a plurality of preset sentences including one or more words of the plurality of entity names are stored is maintained.

단계(S230)에서는 사용자로부터 신규 개체명 단어와 상기 신규 개체명 단어가 삽입된 복수의 예제 문장들 및 상기 신규 개체명 단어의 카테고리를 지시하는 제1 카테고리 식별자가 입력되면서, 상기 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 명령이 인가되면, 상기 단어 테이블로부터 상기 제1 카테고리 식별자에 대응되어 기록되어 있는 복수의 제1 개체명 단어들을 추출한다.In step S230, a new entity name word, a plurality of example sentences in which the new entity name word is inserted, and a first category identifier indicating a category of the new entity name word are input from the user, and the new entity name word is input to the new entity name word. When a command for automatically generating a sentence for generating an associated corpus is applied, a plurality of first entity word words recorded corresponding to the first category identifier is extracted from the word table.

단계(S240)에서는 상기 복수의 제1 개체명 단어들이 추출되면, 상기 문장 데이터베이스로부터 상기 복수의 제1 개체명 단어들을 문장 내에 하나 이상 포함하고 있는 복수의 제1 문장들을 추출한다.In step S240, when the plurality of first entity name words are extracted, a plurality of first sentences including one or more of the plurality of first entity name words in the sentence are extracted from the sentence database.

단계(S250)에서는 상기 복수의 제1 문장들이 추출되면, 상기 복수의 제1 문장들 중 상기 복수의 예제 문장들과의 문장 유사도가 미리 설정된 임계치를 초과하는 문장들을 선택하고, 상기 복수의 제1 개체명 단어들 중 상기 선택된 문장들에 한 번 이상 포함되어 있는 단어들을 복수의 후보 개체명 단어들로 선택한다.In step S250, when the plurality of first sentences are extracted, among the plurality of first sentences, sentences having similarity with the plurality of example sentences exceeding a preset threshold, and selecting the plurality of first sentences Among the words of the object name, words included in the selected sentences more than once are selected as a plurality of candidate object names.

단계(S260)에서는 상기 복수의 후보 개체명 단어들이 선택되면, 상기 문장 데이터베이스로부터 상기 복수의 후보 개체명 단어들을 하나 이상 포함하고 있는 문장들을 복수의 후보 문장들로 추출하고, 상기 복수의 후보 문장들에 포함되어 있는 상기 복수의 후보 개체명 단어들을 상기 신규 개체명 단어로 대체함으로써, 상기 신규 개체명 단어가 포함된 복수의 신규 문장들을 생성한다.In step S260, when the plurality of candidate entity name words are selected, sentences including one or more of the plurality of candidate entity name words are extracted from the sentence database as a plurality of candidate sentences, and the plurality of candidate sentence sentences By replacing the plurality of candidate entity name words included in the new entity name word, a plurality of new sentences including the new entity name word are generated.

이때, 본 발명의 일실시예에 따르면, 단계(S250)에서는 상기 복수의 제1 문장들이 추출되면, 상기 복수의 예제 문장들 중 상기 복수의 제1 문장들 각각과의 문장 유사도가 최대인 예제 문장을 상기 복수의 제1 문장들 각각에 대한 대응 예제 문장으로 선별하는 단계, 상기 복수의 제1 문장들 각각에 대한 대응 예제 문장과 상기 복수의 제1 문장들 각각 간의 문장 유사도를 비교하여 상기 복수의 제1 문장들 중 대응 예제 문장과의 문장 유사도가 상기 임계치를 초과하는 문장들을 선택하는 단계 및 상기 복수의 제1 개체명 단어들 중 상기 선택된 문장들에 한 번 이상 포함되어 있는 단어들을 상기 복수의 후보 개체명 단어들로 선택하는 단계를 포함할 수 있다.At this time, according to an embodiment of the present invention, in step S250, when the plurality of first sentences are extracted, among the plurality of example sentences, the example sentences having the maximum sentence similarity with each of the plurality of first sentences Selecting a corresponding example sentence for each of the plurality of first sentences, comparing the similarity of sentences between the corresponding example sentence for each of the plurality of first sentences and each of the plurality of first sentences, and comparing the sentence similarities Selecting sentences in which sentence similarity with a corresponding example sentence among the first sentences exceeds the threshold value, and words included in the selected sentences one or more times among the plurality of first object name words; And selecting candidate candidate name words.

이때, 본 발명의 일실시예에 따르면, 단계(S250)에서 사용되는 문장 유사도는 비교 대상이 되는 문장들을 구성하는 문자열에 대한 최장 공통 부분 수열(Longest Common Subsequence: LCS)의 길이일 수 있다.At this time, according to an embodiment of the present invention, the sentence similarity used in step S250 may be the length of the longest common subsequence (LCS) for the strings constituting the sentences to be compared.

또한, 본 발명의 일실시예에 따르면, 단계(S260)에서는 상기 복수의 후보 개체명 단어들이 선택되면, 상기 문장 데이터베이스로부터 상기 복수의 후보 개체명 단어들을 하나 이상 포함하고 있는 문장들을 상기 복수의 후보 문장들로 추출한 후 상기 복수의 후보 문장들 각각이 기록된 후보 문장 테이블을 생성하는 단계 및 상기 후보 문장 테이블에서 상기 복수의 후보 문장들에 포함되어 있는 상기 복수의 후보 개체명 단어들을 상기 신규 개체명 단어로 대체하여 상기 신규 개체명 단어가 포함된 상기 복수의 신규 문장들을 생성하는 단계를 포함할 수 있다.Further, according to an embodiment of the present invention, when the plurality of candidate entity name words are selected in step S260, the plurality of candidates may include sentences including one or more of the plurality of candidate entity name words from the sentence database. Generating a candidate sentence table in which each of the plurality of candidate sentences is recorded after extracting them into sentences and the plurality of candidate object names words included in the plurality of candidate sentences in the candidate sentence table, the new object name And generating the plurality of new sentences including the new entity name word by replacing the word with a word.

또한, 본 발명의 일실시예에 따르면, 상기 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 장치의 동작 방법은 상기 복수의 신규 문장들이 생성되면, 상기 단어 테이블에 상기 신규 개체명 단어와 상기 제1 카테고리를 서로 대응시켜 기록하고, 상기 문장 데이터베이스에 상기 복수의 신규 문장들을 저장하는 단계를 더 포함할 수 있다.Further, according to an embodiment of the present invention, an operation method of an automatic sentence generation device for generating a corpus associated with the new object name word, when the plurality of new sentences are generated, the new object name word and the word in the word table The method may further include storing the first categories in correspondence with each other and storing the plurality of new sentences in the sentence database.

이상, 도 2를 참조하여 본 발명의 일실시예에 따른 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 장치의 동작 방법에 대해 설명하였다. 여기서, 본 발명의 일실시예에 따른 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 장치의 동작 방법은 도 1을 이용하여 설명한 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 장치(110)의 동작에 대한 구성과 대응될 수 있으므로, 이에 대한 보다 상세한 설명은 생략하기로 한다.The operation method of the automatic sentence generation device for generating a corpus associated with a new entity name word according to an embodiment of the present invention has been described above with reference to FIG. 2. Here, an operation method of an automatic sentence generation device for generating a corpus associated with a new individual name word according to an embodiment of the present invention is an automatic sentence generation device 110 for generating a corpus associated with a new individual name word described with reference to FIG. 1. ), so a detailed description thereof will be omitted.

본 발명의 일실시예에 따른 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 장치의 동작 방법은 컴퓨터와의 결합을 통해 실행시키기 위한 저장매체에 저장된 컴퓨터 프로그램으로 구현될 수 있다.An operation method of an automatic sentence generation device for generating a corpus associated with a new object name word according to an embodiment of the present invention may be implemented as a computer program stored in a storage medium for execution through combination with a computer.

또한, 본 발명의 일실시예에 따른 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 장치의 동작 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. In addition, an operation method of an automatic sentence generation device for generating a corpus associated with a new entity name word according to an embodiment of the present invention is implemented in the form of program instructions that can be executed through various computer means to be recorded in a computer-readable medium. Can. The computer-readable medium may include program instructions, data files, data structures, or the like alone or in combination. The program instructions recorded on the medium may be specially designed and configured for the present invention, or may be known and usable by those skilled in computer software. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical media such as CD-ROMs, DVDs, and magnetic media such as floptical disks. Includes hardware devices specifically configured to store and execute program instructions such as magneto-optical media, and ROM, RAM, flash memory, and the like. Examples of program instructions include high-level language code that can be executed by a computer using an interpreter, etc., as well as machine language codes produced by a compiler.

이상과 같이 본 발명에서는 구체적인 구성 요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다. As described above, in the present invention, specific matters such as specific components and the like have been described by limited embodiments and drawings, but they are provided only to help the overall understanding of the present invention, and the present invention is not limited to the above embodiments , Anyone who has ordinary knowledge in the field to which the present invention pertains can make various modifications and variations from these descriptions.

따라서, 본 발명의 사상은 설명된 실시예에 국한되어 정해져서는 아니되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등하거나 등가적 변형이 있는 모든 것들은 본 발명 사상의 범주에 속한다고 할 것이다.Accordingly, the spirit of the present invention should not be limited to the described embodiments, and should not be determined, and all claims that are equivalent or equivalent to the scope of the claims as well as the claims described below belong to the scope of the spirit of the invention. .

110: 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 장치
111: 단어 테이블 유지부 112: 문장 데이터베이스
113: 개체명 단어 추출부 114: 문장 추출부
115: 후보 단어 선택부 116: 신규 문장 생성부
117: 대응 예제 문장 선별부 118: 문장 선택부
119: 후보 선택 처리부 120: 후보 문장 테이블 생성부
121: 신규 문장 생성 처리부 122: 신규 저장부
110: automatic sentence generation device for generating a corpus associated with a new entity name word
111: word table maintenance unit 112: sentence database
113: object name word extraction unit 114: sentence extraction unit
115: candidate word selection unit 116: new sentence generation unit
117: corresponding example sentence selector 118: sentence selector
119: candidate selection processing unit 120: candidate sentence table generation unit
121: new sentence generation processing unit 122: new storage unit

Claims (12)

미리 지정된 복수의 개체명 단어들과 상기 복수의 개체명 단어들 각각의 카테고리를 식별하기 위한 미리 지정된 카테고리 식별자가 대응되어 기록되어 있는 단어 테이블을 저장하여 유지하는 단어 테이블 유지부;
상기 복수의 개체명 단어들을 문장 내에 하나 이상 포함하는 사전 설정된 복수의 문장들이 저장되어 있는 문장 데이터베이스;
사용자로부터 신규 개체명 단어와 상기 신규 개체명 단어가 삽입된 복수의 예제 문장들 및 상기 신규 개체명 단어의 카테고리를 지시하는 제1 카테고리 식별자가 입력되면서, 상기 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 명령이 인가되면, 상기 단어 테이블로부터 상기 제1 카테고리 식별자에 대응되어 기록되어 있는 복수의 제1 개체명 단어들을 추출하는 개체명 단어 추출부;
상기 복수의 제1 개체명 단어들이 추출되면, 상기 문장 데이터베이스로부터 상기 복수의 제1 개체명 단어들을 문장 내에 하나 이상 포함하고 있는 복수의 제1 문장들을 추출하는 문장 추출부;
상기 복수의 제1 문장들이 추출되면, 상기 복수의 제1 문장들 중 상기 복수의 예제 문장들과의 문장 유사도가 미리 설정된 임계치를 초과하는 문장들을 선택하고, 상기 복수의 제1 개체명 단어들 중 상기 선택된 문장들에 한 번 이상 포함되어 있는 단어들을 복수의 후보 개체명 단어들로 선택하는 후보 단어 선택부; 및
상기 복수의 후보 개체명 단어들이 선택되면, 상기 문장 데이터베이스로부터 상기 복수의 후보 개체명 단어들을 하나 이상 포함하고 있는 문장들을 복수의 후보 문장들로 추출하고, 상기 복수의 후보 문장들에 포함되어 있는 상기 복수의 후보 개체명 단어들을 상기 신규 개체명 단어로 대체함으로써, 상기 신규 개체명 단어가 포함된 복수의 신규 문장들을 생성하는 신규 문장 생성부
를 포함하는 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 장치.
A word table holding unit which stores and maintains a word table in which a plurality of predefined object name words and a predetermined category identifier for identifying each category of the plurality of object name words are recorded;
A sentence database storing a plurality of preset sentences including one or more words of the plurality of entity names in the sentence;
A new entity name word, a plurality of example sentences in which the new entity name word is inserted, and a first category identifier indicating a category of the new entity name word are input from a user, for generating a corpus associated with the new entity name word. An object name word extraction unit extracting a plurality of first object name words recorded corresponding to the first category identifier from the word table when the sentence automatic generation command is applied;
A sentence extracting unit that extracts a plurality of first sentences including one or more words of the plurality of first object names from the sentence database when the plurality of first object name words are extracted;
When the plurality of first sentences are extracted, among sentences among the plurality of first sentences, sentences with similarity to the plurality of example sentences exceed a preset threshold, and among the plurality of first entity name words A candidate word selector for selecting words included in the selected sentences more than once as a plurality of candidate entity name words; And
When the plurality of candidate entity name words are selected, sentences including one or more of the plurality of candidate entity name words are extracted from the sentence database as a plurality of candidate sentences, and included in the plurality of candidate sentences A new sentence generation unit that generates a plurality of new sentences including the new object name word by replacing a plurality of candidate object name words with the new object name word
Automatic sentence generation device for generating a corpus associated with a new object name word comprising a.
제1항에 있어서,
상기 후보 단어 선택부는
상기 복수의 제1 문장들이 추출되면, 상기 복수의 예제 문장들 중 상기 복수의 제1 문장들 각각과의 문장 유사도가 최대인 예제 문장을 상기 복수의 제1 문장들 각각에 대한 대응 예제 문장으로 선별하는 대응 예제 문장 선별부;
상기 복수의 제1 문장들 각각에 대한 대응 예제 문장과 상기 복수의 제1 문장들 각각 간의 문장 유사도를 비교하여 상기 복수의 제1 문장들 중 대응 예제 문장과의 문장 유사도가 상기 임계치를 초과하는 문장들을 선택하는 문장 선택부; 및
상기 복수의 제1 개체명 단어들 중 상기 선택된 문장들에 한 번 이상 포함되어 있는 단어들을 상기 복수의 후보 개체명 단어들로 선택하는 후보 선택 처리부
를 포함하는 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 장치.
According to claim 1,
The candidate word selector
When the plurality of first sentences are extracted, among the plurality of example sentences, an example sentence having a maximum sentence similarity with each of the plurality of first sentences is selected as a corresponding example sentence for each of the plurality of first sentences Corresponding example sentence selector;
A sentence similarity between a corresponding example sentence for each of the plurality of first sentences and a corresponding example sentence among the plurality of first sentences by comparing a sentence similarity between each of the plurality of first sentences Sentence selection unit for selecting them; And
A candidate selection processing unit for selecting words included in the selected sentences one or more of the plurality of first entity name words as the plurality of candidate entity name words
Automatic sentence generation device for generating a corpus associated with a new object name word comprising a.
제2항에 있어서,
상기 후보 단어 선택부에서 사용되는 문장 유사도는 비교 대상이 되는 문장들을 구성하는 문자열에 대한 최장 공통 부분 수열(Longest Common Subsequence: LCS)의 길이인 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 장치.
According to claim 2,
The sentence similarity used in the candidate word selection unit is a sentence automatic generation device for generating a corpus associated with a new entity name word, which is the length of the longest common subsequence (LCS) for a string constituting sentences to be compared. .
제1항에 있어서,
상기 신규 문장 생성부는
상기 복수의 후보 개체명 단어들이 선택되면, 상기 문장 데이터베이스로부터 상기 복수의 후보 개체명 단어들을 하나 이상 포함하고 있는 문장들을 상기 복수의 후보 문장들로 추출한 후 상기 복수의 후보 문장들 각각이 기록된 후보 문장 테이블을 생성하는 후보 문장 테이블 생성부; 및
상기 후보 문장 테이블에서 상기 복수의 후보 문장들에 포함되어 있는 상기 복수의 후보 개체명 단어들을 상기 신규 개체명 단어로 대체하여 상기 신규 개체명 단어가 포함된 상기 복수의 신규 문장들을 생성하는 신규 문장 생성 처리부
를 포함하는 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 장치.
According to claim 1,
The new sentence generation unit
When the plurality of candidate entity name words are selected, the sentences including one or more of the plurality of candidate entity name words are extracted from the sentence database as the plurality of candidate sentences, and then each of the plurality of candidate sentences is recorded. A candidate sentence table generator for generating a sentence table; And
In the candidate sentence table, a new sentence generating the plurality of new sentences including the new object name word by replacing the plurality of candidate object name words included in the plurality of candidate sentences with the new object name word Processing
Automatic sentence generation device for generating a corpus associated with a new object name word comprising a.
제1항에 있어서,
상기 복수의 신규 문장들이 생성되면, 상기 단어 테이블에 상기 신규 개체명 단어와 상기 제1 카테고리를 서로 대응시켜 기록하고, 상기 문장 데이터베이스에 상기 복수의 신규 문장들을 저장하는 신규 저장부
를 더 포함하는 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 장치.
According to claim 1,
When the plurality of new sentences are generated, a new storage unit that records the new entity name word and the first category in the word table in correspondence with each other, and stores the plurality of new sentences in the sentence database.
Automatic sentence generation device for generating a corpus associated with a new object name word further comprising.
미리 지정된 복수의 개체명 단어들과 상기 복수의 개체명 단어들 각각의 카테고리를 식별하기 위한 미리 지정된 카테고리 식별자가 대응되어 기록되어 있는 단어 테이블을 저장하여 유지하는 단계;
상기 복수의 개체명 단어들을 문장 내에 하나 이상 포함하는 사전 설정된 복수의 문장들이 저장되어 있는 문장 데이터베이스를 유지하는 단계;
사용자로부터 신규 개체명 단어와 상기 신규 개체명 단어가 삽입된 복수의 예제 문장들 및 상기 신규 개체명 단어의 카테고리를 지시하는 제1 카테고리 식별자가 입력되면서, 상기 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 명령이 인가되면, 상기 단어 테이블로부터 상기 제1 카테고리 식별자에 대응되어 기록되어 있는 복수의 제1 개체명 단어들을 추출하는 단계;
상기 복수의 제1 개체명 단어들이 추출되면, 상기 문장 데이터베이스로부터 상기 복수의 제1 개체명 단어들을 문장 내에 하나 이상 포함하고 있는 복수의 제1 문장들을 추출하는 단계;
상기 복수의 제1 문장들이 추출되면, 상기 복수의 제1 문장들 중 상기 복수의 예제 문장들과의 문장 유사도가 미리 설정된 임계치를 초과하는 문장들을 선택하고, 상기 복수의 제1 개체명 단어들 중 상기 선택된 문장들에 한 번 이상 포함되어 있는 단어들을 복수의 후보 개체명 단어들로 선택하는 단계; 및
상기 복수의 후보 개체명 단어들이 선택되면, 상기 문장 데이터베이스로부터 상기 복수의 후보 개체명 단어들을 하나 이상 포함하고 있는 문장들을 복수의 후보 문장들로 추출하고, 상기 복수의 후보 문장들에 포함되어 있는 상기 복수의 후보 개체명 단어들을 상기 신규 개체명 단어로 대체함으로써, 상기 신규 개체명 단어가 포함된 복수의 신규 문장들을 생성하는 단계
를 포함하는 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 장치의 동작 방법.
Storing and maintaining a word table in which a plurality of predefined object name words and a predetermined category identifier for identifying each category of the plurality of object name words are recorded in correspondence;
Maintaining a sentence database in which a plurality of preset sentences including one or more words of the plurality of entity names are stored;
A new entity name word, a plurality of example sentences in which the new entity name word is inserted, and a first category identifier indicating a category of the new entity name word are input from a user, for generating a corpus associated with the new entity name word. Extracting a plurality of first entity name words recorded corresponding to the first category identifier from the word table when an automatic sentence generation command is applied;
Extracting a plurality of first sentences including one or more of the plurality of first object name words from the sentence database when the plurality of first object name words are extracted;
When the plurality of first sentences are extracted, among sentences among the plurality of first sentences, sentences with similarity to the plurality of example sentences exceed a preset threshold, and among the plurality of first entity name words Selecting words included in the selected sentences one or more times as a plurality of candidate entity name words; And
When the plurality of candidate entity name words are selected, sentences including one or more of the plurality of candidate entity name words are extracted from the sentence database as a plurality of candidate sentences, and included in the plurality of candidate sentences Generating a plurality of new sentences including the new entity name word by replacing a plurality of candidate entity name words with the new entity name word
A method of operating a sentence automatic generation device for generating a corpus associated with a new entity name word comprising a.
제6항에 있어서,
상기 복수의 후보 개체명 단어들로 선택하는 단계는
상기 복수의 제1 문장들이 추출되면, 상기 복수의 예제 문장들 중 상기 복수의 제1 문장들 각각과의 문장 유사도가 최대인 예제 문장을 상기 복수의 제1 문장들 각각에 대한 대응 예제 문장으로 선별하는 단계;
상기 복수의 제1 문장들 각각에 대한 대응 예제 문장과 상기 복수의 제1 문장들 각각 간의 문장 유사도를 비교하여 상기 복수의 제1 문장들 중 대응 예제 문장과의 문장 유사도가 상기 임계치를 초과하는 문장들을 선택하는 단계; 및
상기 복수의 제1 개체명 단어들 중 상기 선택된 문장들에 한 번 이상 포함되어 있는 단어들을 상기 복수의 후보 개체명 단어들로 선택하는 단계
를 포함하는 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 장치의 동작 방법.
The method of claim 6,
The step of selecting the plurality of candidate entity name words
When the plurality of first sentences are extracted, among the plurality of example sentences, an example sentence having a maximum sentence similarity with each of the plurality of first sentences is selected as a corresponding example sentence for each of the plurality of first sentences To do;
A sentence similarity between a corresponding example sentence for each of the plurality of first sentences and a corresponding example sentence among the plurality of first sentences by comparing a sentence similarity between each of the plurality of first sentences Selecting them; And
Selecting words included in the selected sentences at least once among the plurality of first entity word words as the plurality of candidate entity name words.
A method of operating a sentence automatic generation device for generating a corpus associated with a new entity name word comprising a.
제7항에 있어서,
상기 복수의 후보 개체명 단어들로 선택하는 단계에서 사용되는 문장 유사도는 비교 대상이 되는 문장들을 구성하는 문자열에 대한 최장 공통 부분 수열(Longest Common Subsequence: LCS)의 길이인 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 장치의 동작 방법.
The method of claim 7,
The sentence similarity used in the step of selecting the plurality of candidate entity name words is a corpus associated with a new entity name word that is the length of the Longest Common Subsequence (LCS) for the strings that constitute the sentences to be compared. Method of operation of the automatic sentence generation device for generation.
제6항에 있어서,
상기 복수의 신규 문장들을 생성하는 단계는
상기 복수의 후보 개체명 단어들이 선택되면, 상기 문장 데이터베이스로부터 상기 복수의 후보 개체명 단어들을 하나 이상 포함하고 있는 문장들을 상기 복수의 후보 문장들로 추출한 후 상기 복수의 후보 문장들 각각이 기록된 후보 문장 테이블을 생성하는 단계; 및
상기 후보 문장 테이블에서 상기 복수의 후보 문장들에 포함되어 있는 상기 복수의 후보 개체명 단어들을 상기 신규 개체명 단어로 대체하여 상기 신규 개체명 단어가 포함된 상기 복수의 신규 문장들을 생성하는 단계
를 포함하는 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 장치의 동작 방법.
The method of claim 6,
The step of generating the plurality of new sentences
When the plurality of candidate entity name words are selected, the sentences including one or more of the plurality of candidate entity name words are extracted from the sentence database as the plurality of candidate sentences, and then each of the plurality of candidate sentences is recorded. Generating a sentence table; And
Generating the plurality of new sentences including the new object name word by replacing the plurality of candidate object name words included in the plurality of candidate sentences in the candidate sentence table with the new object name word.
A method of operating a sentence automatic generation device for generating a corpus associated with a new entity name word comprising a.
제6항에 있어서,
상기 복수의 신규 문장들이 생성되면, 상기 단어 테이블에 상기 신규 개체명 단어와 상기 제1 카테고리를 서로 대응시켜 기록하고, 상기 문장 데이터베이스에 상기 복수의 신규 문장들을 저장하는 단계
를 더 포함하는 신규 개체명 단어에 연관된 말뭉치 생성을 위한 문장 자동 생성 장치의 동작 방법.
The method of claim 6,
When the plurality of new sentences are generated, recording the new entity name word and the first category in the word table corresponding to each other, and storing the plurality of new sentences in the sentence database
A method of automatically generating a sentence for generating a corpus associated with a new entity name word further comprising a.
제6항 내지 제10항 중 어느 한 항의 방법을 컴퓨터와의 결합을 통해 실행시키기 위한 컴퓨터 프로그램을 기록한 컴퓨터 판독 가능 기록 매체.A computer-readable recording medium recording a computer program for executing the method of any one of claims 6 to 10 through coupling with a computer. 제6항 내지 제10항 중 어느 한 항의 방법을 컴퓨터와의 결합을 통해 실행시키기 위한 저장매체에 저장된 컴퓨터 프로그램.A computer program stored in a storage medium for executing the method of any one of claims 6 to 10 through combination with a computer.
KR1020180163190A 2018-12-17 2018-12-17 Sentences automatically generating apparatus for generating a corpus associated with the new object name word and operating method thereof KR102168319B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180163190A KR102168319B1 (en) 2018-12-17 2018-12-17 Sentences automatically generating apparatus for generating a corpus associated with the new object name word and operating method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180163190A KR102168319B1 (en) 2018-12-17 2018-12-17 Sentences automatically generating apparatus for generating a corpus associated with the new object name word and operating method thereof

Publications (2)

Publication Number Publication Date
KR20200074603A true KR20200074603A (en) 2020-06-25
KR102168319B1 KR102168319B1 (en) 2020-10-21

Family

ID=71400592

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180163190A KR102168319B1 (en) 2018-12-17 2018-12-17 Sentences automatically generating apparatus for generating a corpus associated with the new object name word and operating method thereof

Country Status (1)

Country Link
KR (1) KR102168319B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102375572B1 (en) * 2020-11-17 2022-03-17 주식회사 한글과컴퓨터 Electronic terminal device which automatically creates the training sentences to be used for creating the machine translation model and the operating method thereof
KR102395700B1 (en) * 2020-12-23 2022-05-09 주식회사 한글과컴퓨터 Electronic apparatus which produces training data, based on the user input conditions, to be used for setting up the voice recognition model and the operating method thereof
KR20220099160A (en) * 2021-01-04 2022-07-13 호서대학교 산학협력단 Method for providing search result for object in documents

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160131730A (en) * 2015-05-08 2016-11-16 삼성전자주식회사 System, Apparatus and Method For Processing Natural Language, and Computer Readable Recording Medium
KR20180110316A (en) * 2017-03-28 2018-10-10 (주)아크릴 Device for extending natural language sentence and method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160131730A (en) * 2015-05-08 2016-11-16 삼성전자주식회사 System, Apparatus and Method For Processing Natural Language, and Computer Readable Recording Medium
KR20180110316A (en) * 2017-03-28 2018-10-10 (주)아크릴 Device for extending natural language sentence and method thereof

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
Zhang, Xiang et. al., Character-level convolutional networks for text classification, Advances in neural information processing systems (2015.) 1부.* *
Zhang, Yizhe, et al. Adversarial feature matching for text generation. arXiv preprint arXiv:1706.03850. (2017.6.12.) *
김주근, 반지도 학습법을 이용한 한국어 개체명 인식, 창원대학교 석사학위 논문 (2013) *
박영민 외, 개체명 인식 코퍼스 생성을 위한 지식베이스 활용 기법 , 인지과학 27(1), pp.27-41 (2016) *
안주희 외, 웹을 이용한 개체명 부착 말뭉치의 자동생성과 정제 , 제14회 한글및한국어정보처리 학술대회 pp.85-91 (2002) *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102375572B1 (en) * 2020-11-17 2022-03-17 주식회사 한글과컴퓨터 Electronic terminal device which automatically creates the training sentences to be used for creating the machine translation model and the operating method thereof
KR102395700B1 (en) * 2020-12-23 2022-05-09 주식회사 한글과컴퓨터 Electronic apparatus which produces training data, based on the user input conditions, to be used for setting up the voice recognition model and the operating method thereof
KR20220099160A (en) * 2021-01-04 2022-07-13 호서대학교 산학협력단 Method for providing search result for object in documents

Also Published As

Publication number Publication date
KR102168319B1 (en) 2020-10-21

Similar Documents

Publication Publication Date Title
US10592504B2 (en) System and method for querying questions and answers
US11487939B2 (en) Systems and methods for unsupervised autoregressive text compression
JP5998194B2 (en) Interactive search method and apparatus
CN103970798B (en) The search and matching of data
US10496756B2 (en) Sentence creation system
CN111797226B (en) Conference summary generation method and device, electronic equipment and readable storage medium
KR102168319B1 (en) Sentences automatically generating apparatus for generating a corpus associated with the new object name word and operating method thereof
US11531693B2 (en) Information processing apparatus, method and non-transitory computer readable medium
JP2015506515A (en) Method, apparatus and computer storage medium for automatically adding tags to a document
CN110598201B (en) Identifying accurate transcriptions from probabilistic inputs
CN109710732B (en) Information query method, device, storage medium and electronic equipment
CN110532354A (en) The search method and device of content
CN111309916B (en) Digest extracting method and apparatus, storage medium, and electronic apparatus
CN116227466B (en) Sentence generation method, device and equipment with similar semantic different expressions
CN115380260A (en) Language detection of user input text for network games
JP2010287020A (en) Synonym translation system and synonym translation method
JP2006178599A (en) Document retrieval device and method
CN108255917A (en) Image management method, equipment and electronic equipment
KR102287167B1 (en) Translation processing apparatus for providing a translation function for new object names not included in the translation engine and operating method thereof
CN113064982A (en) Question-answer library generation method and related equipment
KR102215580B1 (en) Electronic device for selecting important keywords for documents based on style attributes and operating method thereof
JP7305077B2 (en) Information processing device, abstract output method, and abstract output program
KR102395700B1 (en) Electronic apparatus which produces training data, based on the user input conditions, to be used for setting up the voice recognition model and the operating method thereof
CN111414459A (en) Character relation obtaining method and device, electronic equipment and storage medium
JPH10177575A (en) Device and method for extracting word and phrase and information storing medium

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant