[go: up one dir, main page]

KR102368418B1 - Apparatus and Method for Creating Rap Lyrics included Punch Lines - Google Patents

Apparatus and Method for Creating Rap Lyrics included Punch Lines Download PDF

Info

Publication number
KR102368418B1
KR102368418B1 KR1020200188810A KR20200188810A KR102368418B1 KR 102368418 B1 KR102368418 B1 KR 102368418B1 KR 1020200188810 A KR1020200188810 A KR 1020200188810A KR 20200188810 A KR20200188810 A KR 20200188810A KR 102368418 B1 KR102368418 B1 KR 102368418B1
Authority
KR
South Korea
Prior art keywords
sentence
homonym
user
word
sentences
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
KR1020200188810A
Other languages
Korean (ko)
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 KR1020200188810A priority Critical patent/KR102368418B1/en
Application granted granted Critical
Publication of KR102368418B1 publication Critical patent/KR102368418B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/19Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/36Creation of semantic tools, e.g. ontology or thesauri
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/237Lexical tools
    • G06F40/247Thesauruses; Synonyms
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/34Indicating arrangements 

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Artificial Intelligence (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Databases & Information Systems (AREA)
  • Machine Translation (AREA)

Abstract

본 발명에 따른 장치에 의해 수행되는 랩 가사 생성 방법에 있어서, 상기 랩 가사에 대한 동음이의어를 획득하는 단계, 상기 동음이의어를 제1 모델에 입력하여 상기 동음이의어가 각각 다른 의미로 포함되는 복수의 문장을 산출하는 단계, 상기 복수의 문장을 포함한 리스트를 표시하는 단계 및 상기 리스트에서 상기 동음이의어의 제1 의미가 포함되는 제1 문장과 상기 동음이의어의 상기 제1 의미와 다른 제2 의미가 포함되는 제2 문장이 선택될 경우, 상기 제1 문장 내의 적어도 하나의 제1 문자, 상기 제2 문장 내의 적어도 하나의 제2 문자 및 상기 동음이의어를 조합한 제3 문장을 생성하는 단계를 포함할 수 있다.A method for generating rap lyrics performed by an apparatus according to the present invention, comprising the steps of: obtaining a homonym for the rap lyrics; Calculating a sentence, displaying a list including the plurality of sentences, a first sentence including the first meaning of the homonym in the list, and a second meaning different from the first meaning of the homonym generating a third sentence in which at least one first character in the first sentence, at least one second character in the second sentence, and the homonym are combined when the second sentence to be there is.

Description

펀치 라인이 포함되는 랩 가사 생성 장치 및 방법{Apparatus and Method for Creating Rap Lyrics included Punch Lines}Apparatus and Method for Creating Rap Lyrics included Punch Lines

본 발명은 랩 가사를 자동으로 생성하는 것으로, 보다 상세하게는 펀치 라인이 포함되는 랩 가사 생성 장치 및 방법에 관한 것이다.The present invention relates to automatically generating rap lyrics, and more particularly, to an apparatus and method for generating rap lyrics including punch lines.

최근 들어 대중음악은 인터넷과 유튜브 등의 매체 발달로 인해 세계 최대의 음악 시장인 미국조차도 감당할 수가 없을 정도로 전 세계적인 파급력과 영향력이 이전보다 유례가 없을 정도로 거대해졌다. 대중음악은 미국뿐만 아니라 다른 국가들에게까지 막강한 인기를 얻게 되었다. Recently, due to the development of media such as the Internet and YouTube, popular music has become so huge that even the United States, the world's largest music market, cannot afford it. Popular music became very popular not only in the United States, but also in other countries.

우리나라에서는 대중음악 중에서 아이돌 음악과 랩이 많은 인기를 얻고 있다. 랩의 경우, 올드 스쿨 힙합이라는 초기 랩을 거쳐 현재에 이르기까지 랩은 엄청난 발전을 거듭하면서 그 인기 또한 높아지고 있다. 여기서, 랩은 메시지, 라임, 플로우의 구성요소로 이뤄지는데, 래퍼들은 이러한 구성요소를 활용하여 관객의 호응을 유도한다. 여기서, 메시지(message)는 주제(테마), 라임(rhyme)은 비슷한 소리가 나는 단어, 플로우(flow)는 박자에 맞춰 소리 내어 읽기라고 할 수 있다. 그리고 특히 랩에는 랩을 하는 래퍼들이 가장 많이 연구하고 활용하는 펀치라인(punch line)이 포함되는데, 펀치라인은 한 줄의 표현에서 동음이의어가 가진 두 가지 이상의 성질을 동시에 전달하는 것이다.Among popular music in Korea, idol music and rap are gaining a lot of popularity. In the case of rap, from the early rap called old school hip-hop to the present, rap has developed tremendously and its popularity is also increasing. Here, rap consists of the components of message, rhyme, and flow, and rappers use these components to induce a response from the audience. Here, a message may be a subject (theme), a rhyme may be a word with a similar sound, and a flow may be read aloud according to the beat. And in particular, rap includes the punch line, which rappers research and use the most.

랩 관련해 여러 개의 서바이벌 음악 프로그램의 등장으로 많은 사람들이 랩에 대해 관심을 가지게 되었고, 랩을 전문적으로 가르치는 학원까지 등장하게 되었다.With the advent of several survival music programs related to rap, many people became interested in rap, and even academies that specialize in rap appeared.

이처럼 대중음악 중 랩에 대한 관심이 높아지면서 랩 가사에 대한 작사와 랩하는 스킬 등을 전문적으로 배우거나 랩 가사를 직접 쓰고 연습하는 사람이 많아졌다. 하지만 랩을 전문적으로 가르치는 학원을 다니기에 부담이 있는 경우가 많고, 학원 외에는 랩을 전문적으로 배우거나 랩 가사를 쓰는데 있어서 어려움이 많을 수밖에 없는 상황이다. 또한, 일반 대중들이 랩 가사와 펀치라인을 스스로 만들어 보려는 시도를 많이 하지만 어떻게 접근해야 재미를 느낄 수 있는 펀치라인을 만들 수 있는지 알기가 쉽지 않다.As interest in rap among popular music has increased, more and more people are learning to professionally learn rap lyrics and skills to rap, or write and practice rap lyrics themselves. However, there are many cases where it is burdensome to attend an academy that specializes in rap, and there are many difficulties in learning rap professionally or writing rap lyrics outside of the academy. Also, although the general public often tries to create rap lyrics and punchlines on their own, it is not easy to know how to approach them to create fun punchlines.

따라서, 개개인이 각자 랩 가사를 쓰는 규칙이나 스킬을 배울 수 있고, 본인 만의 스타일에 따라 가사를 만들 수 있는 방법이 필요하다. 구체적으로 랩 가사 중 강한 인상을 줄 수 있는 펀치라인을 자동으로 생성하여 펀치라인을 직접 작사할 역량이 안되는 사용자에게 제공할 수 있는 방법이 필요하다.Therefore, each individual can learn the rules and skills to write rap lyrics, and there is a need for a way to create lyrics according to one's own style. Specifically, there is a need for a method to automatically generate a punchline that can give a strong impression among rap lyrics and provide it to users who do not have the ability to write the lyrics directly.

대한민국 공개특허공보 제10-2007-0081368호Republic of Korea Patent Publication No. 10-2007-0081368

상술한 바와 같은 문제점을 해결하기 위한 본 발명은 사용자 별로 다양한 정보를 누적하여 딥러닝 모델을 통해 사용자에게 적합한 랩 가사의 단어 또는 문장을 제공하는 것을 그 목적으로 한다.An object of the present invention for solving the above problems is to provide words or sentences of rap lyrics suitable for users through a deep learning model by accumulating various information for each user.

또한, 본 발명은 사용자에게 랩 가사의 단어 또는 문장을 제공할 때 랩 가사를 위한 동음이의어, 거꾸로 읽어도 의미가 있는 단어가 포함되는 문장을 제공하는 것을 그 목적으로 한다.Another object of the present invention is to provide a sentence including a homonym for the rap lyrics and a word that is meaningful even if read backwards when providing the user with a word or sentence of the rap lyrics.

본 발명이 해결하고자 하는 과제들은 이상에서 언급된 과제로 제한되지 않으며, 언급되지 않은 또 다른 과제들은 아래의 기재로부터 통상의 기술자에게 명확하게 이해될 수 있을 것이다.The problems to be solved by the present invention are not limited to the problems mentioned above, and other problems not mentioned will be clearly understood by those skilled in the art from the following description.

상술한 과제를 해결하기 위한 본 발명에 따른 장치에 의해 수행되는 랩 가사 생성 방법에 있어서, 상기 랩 가사에 대한 동음이의어를 획득하는 단계, 상기 동음이의어에 대해 제1 모델을 기반으로 상기 동음이의어가 각각 다른 의미로 포함되는 복수의 문장을 산출하는 단계, 상기 복수의 문장을 포함한 리스트를 표시하는 단계 및 상기 리스트에서 상기 동음이의어의 제1 의미가 포함되는 제1 문장과 상기 동음이의어의 상기 제1 의미와 다른 제2 의미가 포함되는 제2 문장이 선택될 경우, 상기 제1 문장 내의 적어도 하나의 제1 문자, 상기 제2 문장 내의 적어도 하나의 제2 문자 및 상기 동음이의어를 조합한 제3 문장을 생성하는 단계를 포함할 수 있다.In a method for generating rap lyrics performed by an apparatus according to the present invention for solving the above-mentioned problems, the steps of obtaining a homonym for the rap lyrics include the steps of: Calculating a plurality of sentences each having different meanings, displaying a list including the plurality of sentences, and a first sentence including a first meaning of the homonym in the list and the first of the homonyms When a second sentence including a second meaning different from the meaning is selected, a third sentence in which at least one first character in the first sentence, at least one second character in the second sentence, and the homonym are combined may include the step of creating

또한, 상기 동음이의어 획득 단계는, 사용자로부터 입력된 단어 또는 문장, 상기 사용자가 상기 단어 또는 문장을 입력한 시점의 위치, 날짜, 시간, 상기 날짜에 발생된 사건 또는 사고, 상기 날짜와 동일한 과거 날짜에 발생된 사건 또는 사고 및 상기 사용자의 생체 신호를 기반으로 획득될 수 있다.In addition, the step of acquiring the homonym may include a word or sentence input from a user, a location, date, time, event or accident that occurred on the date, and a past date same as the date when the user inputted the word or sentence It may be acquired based on an event or accident that occurred in the , and the user's bio-signals.

또한, 사용자 별로 사용자 정보, 단어 또는 문장, 상기 단어 또는 문장이 입력된 시간 또는 장소, 상기 시간 또는 장소와 관련된 사건 또는 사고 중 적어도 하나와 관련된 정보를 기 설정된 시간 동안 주기적으로 획득하는 단계 및 상기 기 설정된 시간 동안 주기적으로 획득되는 상기 정보를 상기 사용자 별로 누적하여 저장하는 단계를 더 포함할 수 있다. 여기서, 상기 제1 모델은, 상기 사용자 별로 누적되어 저장된 상기 정보 및 상기 누적되어 저장되는 정보와 연관된 복수의 문장을 기반으로 기계 학습될 수 있다.In addition, periodically acquiring information related to at least one of user information for each user, a word or sentence, a time or place at which the word or sentence was inputted, an event or an accident related to the time or place, for a preset time, and the group The method may further include accumulating and storing the information periodically acquired for a set time for each user. Here, the first model may be machine-learned based on the information accumulated and stored for each user and a plurality of sentences related to the accumulated and stored information.

또한, 상기 복수의 문장 산출 단계는, 상기 학습된 제1 모델을 기반으로 상기 동음이의어와 연관된 상기 복수의 문장을 산출할 수 있다.In addition, the calculating of the plurality of sentences may include calculating the plurality of sentences associated with the homonym based on the learned first model.

또한, 상기 동음이의어가 포함되지 않은 제4 문장과 제5 문장을 획득하는 단계, 상기 제4 문장과 제5 문장에 대해 상기 제1 모델을 기반으로 각각에 대한 문장의 의미를 인식하는 단계, 상기 문장의 의미, 상기 제4 문장과 제5 문장에 대해 제2 모델을 기반으로 상기 제4 문장과 제5 문장에 매칭되는 상기 동음이의어를 산출하는 단계 및 상기 제4 문장, 제5 문장 및 상기 동음이의어가 포함되는 제6 문장을 생성하는 단계를 더 포함할 수 있다.In addition, obtaining a fourth sentence and a fifth sentence that do not contain the homonym, recognizing the meaning of each sentence based on the first model with respect to the fourth sentence and the fifth sentence, the Calculating the homonym matching the fourth sentence and the fifth sentence based on a second model for the meaning of the sentence, the fourth sentence and the fifth sentence, and the fourth sentence, the fifth sentence, and the homonym The method may further include generating a sixth sentence including the opposite word.

또한, 상술한 과제를 해결하기 위한 본 발명에 따른 랩 가사를 생성하는 방법을 수행하는 장치에 있어서, 메모리 및 상기 랩 가사에 대한 동음이의어를 획득하고, 상기 동음이의어에 대해 제1 모델을 기반으로 상기 동음이의어가 각각 다른 의미로 포함되는 복수의 문장을 산출하고, 상기 복수의 문장을 포함한 리스트를 표시하고, 상기 리스트에서 상기 동음이의어의 제1 의미가 포함되는 제1 문장과 상기 동음이의어의 상기 제1 의미와 다른 제2 의미가 포함되는 제2 문장이 선택될 경우, 상기 제1 문장 내의 적어도 하나의 제1 문자, 상기 제2 문장 내의 적어도 하나의 제2 문자 및 상기 동음이의어를 조합한 제3 문장을 생성하는 프로세서를 포함할 수 있다.In addition, in an apparatus for performing a method for generating rap lyrics according to the present invention for solving the above-described problem, a homonym for the rap lyrics is obtained from a memory and a homonym for the homonym based on a first model Calculating a plurality of sentences in which the homonym has different meanings, displaying a list including the plurality of sentences, and a first sentence including the first meaning of the homonym in the list and the homonym When a second sentence including a second meaning different from the first meaning is selected, a second sentence obtained by combining at least one first character in the first sentence, at least one second character in the second sentence, and the homonym It may include a processor for generating 3 sentences.

또한, 상기 프로세서는, 사용자로부터 입력된 단어 또는 문장, 상기 사용자가 상기 단어 또는 문장을 입력한 시점의 위치, 날짜, 시간, 상기 날짜에 발생된 사건 또는 사고, 상기 날짜와 동일한 과거 날짜에 발생된 사건 또는 사고 및 상기 사용자의 생체 신호를 기반으로 획득할 수 있다.In addition, the processor, the word or sentence input by the user, the location, date, time, event or accident that occurred on the date when the user input the word or sentence, and the same as the date in the past It can be acquired based on an event or accident and the user's bio-signals.

또한, 상기 프로세서는, 사용자 별로 사용자 정보, 단어 또는 문장, 상기 단어 또는 문장이 입력된 시간 또는 장소, 상기 시간 또는 장소와 관련된 사건 또는 사고 중 적어도 하나와 관련된 정보를 기 설정된 시간 동안 주기적으로 획득하고, 상기 기 설정된 시간 동안 주기적으로 획득되는 상기 정보를 상기 사용자 별로 누적하여 저장할 수 있다. 여기서, 상기 제1 모델은, 상기 사용자 별로 누적되어 저장된 상기 정보 및 상기 누적되어 저장되는 정보와 연관된 복수의 문장을 기반으로 기계 학습될 수 있다.In addition, the processor periodically obtains information related to at least one of user information for each user, a word or sentence, a time or place at which the word or sentence is input, and an event or accident related to the time or place for a preset time period, and , the information acquired periodically for the preset time may be accumulated and stored for each user. Here, the first model may be machine-learned based on the information accumulated and stored for each user and a plurality of sentences related to the accumulated and stored information.

또한, 상기 프로세서는, 상기 학습된 제1 모델을 기반으로 상기 동음이의어와 연관된 상기 복수의 문장을 산출할 수 있다.Also, the processor may calculate the plurality of sentences associated with the homonym based on the learned first model.

또한, 상기 프로세서는, 상기 동음이의어가 포함되지 않은 제4 문장과 제5 문장을 획득하고, 상기 제4 문장과 제5 문장에 대해 상기 제1 모델을 기반으로 각각에 대한 문장의 의미를 인식하고, 상기 문장의 의미, 상기 제4 문장과 제5 문장에 대해 제2 모델을 기반으로 상기 제4 문장과 제5 문장에 매칭되는 상기 동음이의어를 산출하고, 상기 제4 문장, 제5 문장 및 상기 동음이의어가 포함되는 제6 문장을 생성할 수 있다.In addition, the processor acquires a fourth sentence and a fifth sentence that do not contain the homonym, and recognizes the meaning of the sentence for each of the fourth sentence and the fifth sentence based on the first model, and , calculates the homonym matching the fourth sentence and the fifth sentence based on the second model for the meaning of the sentence, the fourth sentence and the fifth sentence, and the fourth sentence, the fifth sentence, and the A sixth sentence including homonyms may be generated.

이 외에도, 본 발명을 구현하기 위한 다른 방법, 다른 시스템 및 상기 방법을 실행하기 위한 컴퓨터 프로그램을 기록하는 컴퓨터 판독 가능한 기록 매체가 더 제공될 수 있다.In addition to this, another method for implementing the present invention, another system, and a computer-readable recording medium for recording a computer program for executing the method may be further provided.

상기와 같은 본 발명에 따르면, 사용자 별로 다양한 정보를 누적하여 딥러닝 모델을 통해 사용자에게 적합한 랩 가사의 단어 또는 문장을 제공함으로써 사용자가 랩 가사를 만드는데 사용되는 시간을 줄일 수 있는 효과가 있다.According to the present invention as described above, by accumulating various information for each user and providing words or sentences of rap lyrics suitable for the user through a deep learning model, there is an effect that the time required for the user to make rap lyrics can be reduced.

또한, 본 발명에 따르면, 사용자에게 랩 가사의 단어 또는 문장을 제공할 때 랩 가사를 위한 동음이의어, 거꾸로 읽어도 의미가 있는 단어가 포함되는 문장을 제공함으로써 랩 가사의 펀치라인을 생성하여 랩 가사의 퀄리티를 높여줄 수 있는 효과가 있다.In addition, according to the present invention, when providing a word or sentence of rap lyrics to a user, a punchline of rap lyrics is generated by providing a sentence including a homophone for the rap lyrics and a word that is meaningful even if read backwards, thereby generating a punchline of the rap lyrics. It has the effect of improving the quality of

본 발명의 효과들은 이상에서 언급된 효과로 제한되지 않으며, 언급되지 않은 또 다른 효과들은 아래의 기재로부터 통상의 기술자에게 명확하게 이해될 수 있을 것이다.Effects of the present invention are not limited to the effects mentioned above, and other effects not mentioned will be clearly understood by those skilled in the art from the following description.

도 1은 본 발명에 따른 랩 가사를 생성하기 위한 장치에 대해 개략적으로 나타낸 도면이다.
도 2는 본 발명에 따른 장치의 프로세서가 제3 문장을 생성하는 과정을 나타낸 예시도이다.
도 3은 본 발명에 따른 장치의 프로세서가 A가 동사인 경우 제3 문장을 생성하는 과정을 나타낸 예시도이다.
도 4는 본 발명에 따른 장치의 프로세서가 A가 명사인 경우 제3 문장을 생성하는 과정을 나타낸 예시도이다.
도 5는 본 발명에 따른 장치의 프로세서가 A가 문자, 절 등인 경우 제3 문장을 생성하는 과정을 나타낸 예시도이다.
1 is a schematic diagram of an apparatus for generating rap lyrics according to the present invention;
2 is an exemplary diagram illustrating a process in which the processor of the apparatus according to the present invention generates a third sentence.
3 is an exemplary diagram illustrating a process in which the processor of the apparatus according to the present invention generates a third sentence when A is a verb.
4 is an exemplary diagram illustrating a process in which the processor of the apparatus according to the present invention generates a third sentence when A is a noun.
5 is an exemplary diagram illustrating a process in which the processor of the apparatus according to the present invention generates a third sentence when A is a letter, a clause, or the like.

본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시예들에 제한되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시예들은 본 발명의 개시가 완전하도록 하고, 본 발명이 속하는 기술 분야의 통상의 기술자에게 본 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다.Advantages and features of the present invention and methods of achieving them will become apparent with reference to the embodiments described below in detail in conjunction with the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below, but may be implemented in various different forms, and only those of ordinary skill in the art to which the present invention pertains, to complete the disclosure of the present invention. It is provided to fully understand the scope of the present invention, and the present invention is only defined by the scope of the claims.

본 명세서에서 사용된 용어는 실시예들을 설명하기 위한 것이며 본 발명을 제한하고자 하는 것은 아니다. 본 명세서에서, 단수형은 문구에서 특별히 언급하지 않는 한 복수형도 포함한다. 명세서에서 사용되는 "포함한다(comprises)" 및/또는 "포함하는(comprising)"은 언급된 구성요소 외에 하나 이상의 다른 구성요소의 존재 또는 추가를 배제하지 않는다. 명세서 전체에 걸쳐 동일한 도면 부호는 동일한 구성 요소를 지칭하며, "및/또는"은 언급된 구성요소들의 각각 및 하나 이상의 모든 조합을 포함한다. 비록 "제1", "제2" 등이 다양한 구성요소들을 서술하기 위해서 사용되나, 이들 구성요소들은 이들 용어에 의해 제한되지 않음은 물론이다. 이들 용어들은 단지 하나의 구성요소를 다른 구성요소와 구별하기 위하여 사용하는 것이다. 따라서, 이하에서 언급되는 제1 구성요소는 본 발명의 기술적 사상 내에서 제2 구성요소일 수도 있음은 물론이다.The terminology used herein is for the purpose of describing the embodiments and is not intended to limit the present invention. In this specification, the singular also includes the plural unless specifically stated otherwise in the phrase. As used herein, “comprises” and/or “comprising” does not exclude the presence or addition of one or more other components in addition to the stated components. Like reference numerals refer to like elements throughout, and "and/or" includes each and every combination of one or more of the recited elements. Although "first", "second", etc. are used to describe various elements, these elements are not limited by these terms, of course. These terms are only used to distinguish one component from another. Accordingly, it goes without saying that the first component mentioned below may be the second component within the spirit of the present invention.

다른 정의가 없다면, 본 명세서에서 사용되는 모든 용어(기술 및 과학적 용어를 포함)는 본 발명이 속하는 기술분야의 통상의 기술자에게 공통적으로 이해될 수 있는 의미로 사용될 수 있을 것이다. 또한, 일반적으로 사용되는 사전에 정의되어 있는 용어들은 명백하게 특별히 정의되어 있지 않은 한 이상적으로 또는 과도하게 해석되지 않는다.Unless otherwise defined, all terms (including technical and scientific terms) used herein will have the meaning commonly understood by those of ordinary skill in the art to which this invention belongs. In addition, terms defined in a commonly used dictionary are not to be interpreted ideally or excessively unless specifically defined explicitly.

이하, 첨부된 도면을 참조하여 본 발명의 실시예를 상세하게 설명한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

설명에 앞서 본 명세서에서 사용하는 용어의 의미를 간략히 설명한다. 그렇지만, 용어의 설명은 본 명세서의 이해를 돕기 위한 것이므로, 명시적으로 본 발명을 한정하는 사항으로 기재하지 않은 경우에 본 발명의 기술적 사상을 한정하는 의미로 사용하는 것이 아님을 주의해야 한다.Before the description, the meaning of the terms used in this specification will be briefly described. However, it should be noted that the descriptions of terms are for the purpose of helping the understanding of the present specification, and are not used in the meaning of limiting the technical spirit of the present invention unless explicitly described as limiting the present invention.

도 1은 본 발명에 따른 랩 가사를 생성하기 위한 장치(10)에 대해 개략적으로 나타낸 도면이다.1 is a schematic representation of a device 10 for generating rap lyrics according to the present invention.

장치(10)는 사용자 별로 다양한 정보를 누적하여 딥러닝 모델을 통해 사용자에게 적합한 랩 가사의 단어 또는 문장을 제공함으로써 사용자가 랩 가사를 만드는데 사용되는 시간을 줄일 수 있는 효과를 가질 수 있다.The device 10 may have the effect of reducing the time the user spends making rap lyrics by accumulating various information for each user and providing words or sentences of rap lyrics suitable for the user through the deep learning model.

또한, 장치(10)는 사용자에게 랩 가사의 단어 또는 문장을 제공할 때 랩 가사를 위한 동음이의어, 반전 단어가 포함되는 문장을 제공함으로써 랩 가사의 펀치라인을 생성하여 랩 가사의 퀄리티를 높여줄 수 있는 효과를 가질 수 있다.In addition, when the device 10 provides a word or sentence of rap lyrics to the user, the device 10 provides a sentence including a homonym and an inversion word for the rap lyrics, thereby generating a punchline of the rap lyrics to increase the quality of the rap lyrics. may have a possible effect.

여기서, 동음이의어는 소리만 같을 뿐 전혀 다른 뜻으로 사용되는 낱말을 의미할 수 있다. 일 예로, 동음이의어로는 '배'가 있을 수 있는데, '배'는 강이나 바다에서 타는 배, 먹는 배, 사람의 배로 소리만 같을 뿐 의미는 전혀 관련이 없다.Here, the homonym may mean a word used in a completely different meaning only with the same sound. As an example, there may be 'ship' as a homonym, and 'ship' is a boat that rides in a river or sea, a boat that eats, and a boat that people eat, and the meaning is not related at all.

또한, 거꾸로 읽어도 의미가 있는 단어는 적어도 두 개의 낱말로 이루어진 단어에 대해 상기 낱말의 순서를 바꾸더라도 의미가 있는 단어가 될 수 있는 경우의 단어를 의미할 수 있다. 즉, 거꾸로 읽어도 의미가 있는 단어는 반대로, 역효과, 뒤집어, 반사 등의 효과가 적용되어도 의미가 있는 단어일 수 있다. 일 예로, 거꾸로 읽어도 의미가 있는 단어는 키스 - 스키 / 모기 - 기모 / 군대 - 대군 / 개미 - 미개 / 도시 - 시도 / 시계 - 계시 / 신발 - 발신 / 신전 - 전신 / 전부기발 - 발기부전 / 기찻길 - 길 찾기 (발음상) / 한국 - 국한 등이 있을 수 있다. 이하에서는, 상기 거꾸로 읽어도 의미가 있는 단어를 "반전 단어"로 명칭하여 설명한다.Also, a word that is meaningful even when read backwards may mean a word that can be a meaningful word even if the order of the words is changed with respect to a word composed of at least two words. That is, a word that is meaningful even when read backwards may be a word that has meaning even when effects such as reverse effect, inversion, reflection, etc. are applied. For example, words that have meaning even if read backwards are kiss - ski / mosquito - raised / army - army / ants - uncivilized / city - city / city / clock - revelation / shoes - outgoing / temple - whole body / eccentricity - impotence / railroad tracks - Directions (pronunciation) / Korea - There may be localization, etc. Hereinafter, words that are meaningful even when read backwards are described as "inverted words".

여기서, 장치(10)는 휴대폰, 스마트폰, PDA(Personal Digital Assistant), PMP(Portable Multimedia Player), 태블릿 PC, 등과 같이 네트워크를 통하여 웹 서버와 연결될 수 있는 모든 종류의 핸드헬드(Handheld) 기반의 무선 통신 장치를 포함할 수 있으며, 개인용 컴퓨터(예를 들어, 데스크톱 컴퓨터, 노트북 컴퓨터 등), 워크스테이션, PDA, 웹 패드 등과 같이 메모리 수단을 구비하고 마이크로프로세서를 탑재하여 연산 능력을 갖춘 디지털 기기 중 하나일 수도 있다.Here, the device 10 is a mobile phone, a smart phone, a personal digital assistant (PDA), a portable multimedia player (PMP), a tablet PC, etc. all kinds of handheld (Handheld) based that can be connected to the web server through the network. It may include a wireless communication device, and among digital devices equipped with memory means and equipped with a microprocessor, such as personal computers (eg, desktop computers, notebook computers, etc.), workstations, PDA's, web pads, etc. It could be one.

또한, 본 발명에 따른 장치(10)는 클라이언트로부터 요청을 수신하여 정보처리를 수행하는 서버가 될 수 있고, 이 경우 서버는 도 1과 동일한 구성 요소를 포함할 수 있으며, 이하에서 설명되는 모든 동작을 서버가 동일하게 수행할 수 있다.In addition, the device 10 according to the present invention may be a server that receives a request from a client and performs information processing. In this case, the server may include the same components as in FIG. 1 , and all operations described below server can do the same.

또한, 본 발명에 따른 장치(10)는 앞서 설명한 컴퓨터가 될 수 있고, 이 경우 컴퓨터는 도 1과 동일한 구성 요소를 포함할 수 있으며, 이하에서 설명되는 모든 동작을 컴퓨터가 동일하게 수행할 수 있다.In addition, the device 10 according to the present invention may be the computer described above, and in this case, the computer may include the same components as those of FIG. 1 , and the computer may perform all operations described below in the same manner. .

또한, 본 발명에 따른 장치(10)는 앞서 설명한 이동 단말기(스마트폰)가 될 수 있고, 이 경우 이동 단말기는 도 1과 동일한 구성 요소를 포함할 수 있으며, 이하에서 설명되는 모든 동작을 이동 단말기가 동일하게 수행할 수 있다.In addition, the device 10 according to the present invention may be the mobile terminal (smartphone) described above. In this case, the mobile terminal may include the same components as those of FIG. 1 , and all operations described below may be performed by the mobile terminal. can be performed in the same way.

한편, 이동 단말기는 휴대폰, 스마트폰(smart phone), 노트북 컴퓨터(laptop computer), 디지털방송용 단말기, PDA(personal digital assistants), PMP(portable multimedia player), 내비게이션, 슬레이트 PC(slate PC), 태블릿 PC(tablet PC), 울트라북(ultrabook), 웨어러블 디바이스(wearable device, 예를 들어, 워치형 단말기 (smartwatch), 글래스형 단말기 (smart glass), HMD(head mounted display)) 등이 포함될 수 있다.On the other hand, mobile terminals include mobile phones, smart phones, laptop computers, digital broadcasting terminals, personal digital assistants (PDA), portable multimedia players (PMPs), navigation systems, slate PCs, and tablet PCs. (tablet PC), ultrabook (ultrabook), wearable device (wearable device, for example, a watch-type terminal (smartwatch), glass-type terminal (smart glass), HMD (head mounted display), etc. may be included.

도 1을 보면, 장치(10)는 통신부(110), 디스플레이부(120), 메모리(130) 및 프로세서(140)를 포함하여 구성될 수 있으나 반드시 이에 한정되지 않고 더 적거나 더 많은 구성요소를 포함할 수 있다.Referring to FIG. 1 , the device 10 may include a communication unit 110 , a display unit 120 , a memory 130 , and a processor 140 , but is not necessarily limited thereto and may include fewer or more components. may include

통신부(110)는 상기 장치(10)와 무선 통신 시스템 사이 또는 상기 장치(10)와 외부 장치(미도시) 사이의 무선 통신을 가능하게 하는 하나 이상의 모듈을 포함할 수 있다. 또한, 상기 통신부(110)는 장치(10)를 하나 이상의 네트워크에 연결하는 하나 이상의 모듈을 포함할 수 있다.The communication unit 110 may include one or more modules that enable wireless communication between the device 10 and a wireless communication system or between the device 10 and an external device (not shown). In addition, the communication unit 110 may include one or more modules for connecting the device 10 to one or more networks.

디스플레이부(120)는 터치 센서와 상호 레이어 구조를 이루거나 일체형으로 형성됨으로써, 터치 스크린을 구현할 수 있다. 이러한 터치 스크린은, 장치(10)와 사용자 사이의 입력 인터페이스를 제공함과 동시에, 장치(10)와 사용자 사이의 출력 인터페이스를 제공할 수 있다.The display unit 120 may implement a touch screen by forming a layer structure with the touch sensor or being formed integrally with the touch sensor. Such a touch screen may provide an input interface between the device 10 and a user and, at the same time, provide an output interface between the device 10 and a user.

디스플레이부(120)는 프로세서(140)에서 생성한 다양한 정보를 표시하여 사용자에게 제공함과 동시에 사용자로부터 다양한 정보를 입력받을 수 있다. The display 120 may display various information generated by the processor 140 and provide it to the user, and at the same time receive various information from the user.

메모리(130)는 상기 장치(10)의 다양한 기능을 지원하는 정보를 저장할 수 있다. 메모리(130)는 상기 장치(10)에서 구동되는 다수의 응용 프로그램(application program 또는 애플리케이션(application)), 상기 장치(10)의 동작을 위한 데이터들, 명령어들을 저장할 수 있다. 이러한 응용 프로그램 중 적어도 일부는, 무선 통신을 통해 외부 서버(미도시)로부터 다운로드 될 수 있다. 또한, 이러한 응용 프로그램 중 적어도 일부는, 상기 장치(10)의 기본적인 기능을 위하여 존재할 수 있다. 한편, 응용 프로그램은, 메모리(130)에 저장되고, 상기 장치(10) 상에 설치되어, 프로세서(140)에 의하여 상기 장치(10)의 동작(또는 기능)을 수행하도록 구동될 수 있다.The memory 130 may store information supporting various functions of the device 10 . The memory 130 may store a plurality of application programs (or applications) running in the device 10 , data for operation of the device 10 , and commands. At least some of these application programs may be downloaded from an external server (not shown) through wireless communication. In addition, at least some of these application programs may exist for a basic function of the device 10 . Meanwhile, the application program may be stored in the memory 130 , installed on the device 10 , and driven by the processor 140 to perform an operation (or function) of the device 10 .

메모리(130)는 제1 모델, 제2 모델 및 랩 가사 생성 애플리케이션을 저장할 수 있다. 여기서, 제1 모델은 시멘틱 및 온톨로지 중 적어도 하나의 기술을 기반으로 모델링될 수 있다. 상기 시멘틱은 입력되는 정보의 뜻을 이해하고, 논리적 추론을 수행할 수 있고, 상기 온톨로지는 어떤 일정 범위에서 사용되는 단어들의 개념, 특성, 연관 관계 등을 표현하여 단어에 대한 일반적 지식이 명시적으로 드러나고, 단어 간 관계 정의를 통해 문장의 의미를 파악할 수 있다. 상기 시멘틱과 온톨로지 각각에 대해서는 이미 공지된 기술이므로 상세한 설명은 생략하도록 한다. 랩 가사 생성 애플리케이션은 사용자의 요청에 따라 사용자 별로 펀치라인이 포함되는 랩 가사를 생성하여 제공하는 애플리케이션일 수 있다.The memory 130 may store a first model, a second model, and an application for generating rap lyrics. Here, the first model may be modeled based on at least one technique of semantics and ontology. The semantics can understand the meaning of input information and perform logical reasoning, and the ontology expresses concepts, characteristics, and relationships of words used in a certain range, so that general knowledge about words is explicitly expressed. It is revealed, and the meaning of the sentence can be grasped by defining the relationship between words. Since each of the semantics and ontology is a known technology, a detailed description thereof will be omitted. The rap lyrics generation application may be an application that generates and provides rap lyrics including a punchline for each user according to a user's request.

제2 모델은 복수의 문장 내에서 각각의 단어를 검출하고, 상기 단어에 대해 동음이의어를 추출하는 알고리즘으로 구성될 수 있다.The second model may be configured as an algorithm for detecting each word in a plurality of sentences and extracting a homonym for the word.

랩 가사 생성 애플리케이션은 사용자에게 랩 가사를 생성하여 제공하기 위한 것으로 외부 장치를 통해 다운로드하거나 웹 서버를 통해 다운로드할 수 있다.The rap lyrics generation application is for generating and providing rap lyrics to a user, and may be downloaded through an external device or downloaded through a web server.

메모리(130)는 시소러스(Thesaurus)를 저장할 수 있으며, 상기 시소러스는 일정 단어 규모(예를 들면 50만 단어)로 각 어휘에 대한 품사 정보, 의미정보, 동음이의어 정보, 핵어휘 정보 등이 포함되어 있는 것으로, 이런 정보들이 통합되어 메모리(130)에 구축될 수 있다. 여기서, 핵어휘란 문장을 이루는 가장 기본이 되는 단어들로 어휘의 난이도로 보면 가장 쉬우면서도 기본이 되는 단어일 수 있다. 일 예로, 핵어휘는 '있다', '주다', '가다', '아니다' 등을 포함할 수 있다.The memory 130 may store a thesaurus, and the thesaurus includes part-of-speech information, semantic information, homonym information, nuclear vocabulary information, etc. for each vocabulary at a certain word scale (eg, 500,000 words). As such, such information may be integrated and built in the memory 130 . Here, nuclear vocabulary is the most basic word constituting a sentence, and may be the easiest and most basic word in terms of vocabulary difficulty. As an example, the nuclear vocabulary may include 'have', 'give', 'go', 'not', and the like.

프로세서(140)는 상기 응용 프로그램과 관련된 동작 외에도, 통상적으로 상기 장치(10)의 전반적인 동작을 제어할 수 있다. 프로세서(140)는 위에서 살펴본 구성요소들을 통해 입력 또는 출력되는 신호, 데이터, 정보 등을 처리하거나 메모리(130)에 저장된 응용 프로그램을 구동함으로써, 사용자에게 적절한 정보 또는 기능을 제공 또는 처리할 수 있다.In addition to the operation related to the application program, the processor 140 may generally control the overall operation of the device 10 . The processor 140 may provide or process appropriate information or functions to the user by processing signals, data, information, etc. input or output through the above-described components or by driving an application program stored in the memory 130 .

프로세서(140)는 메모리(130)에 저장된 응용 프로그램을 구동하기 위하여, 도 1과 함께 살펴본 구성요소들 중 적어도 일부를 제어할 수 있다. 나아가, 프로세서(140)는 상기 응용 프로그램의 구동을 위하여, 상기 장치(10)에 포함된 구성요소들 중 적어도 둘 이상을 서로 조합하여 동작 시킬 수 있다.The processor 140 may control at least some of the components discussed with reference to FIG. 1 in order to drive an application program stored in the memory 130 . Furthermore, in order to drive the application program, the processor 140 may operate at least two or more of the components included in the device 10 in combination with each other.

프로세서(140)는 사용자로부터 랩 가사에 대한 동음이의어 또는 반전 단어를 획득할 수 있다. 또한, 프로세서(140)는 상기 사용자로부터 상기 동음이의어 또는 반전 단어가 포함되는 복수의 문장을 획득할 수 있다.The processor 140 may obtain a homonym or an inversion word for the rap lyrics from the user. In addition, the processor 140 may obtain a plurality of sentences including the homonym or inversion word from the user.

프로세서(140)는 사용자로부터 입력된 단어 또는 문장, 상기 사용자가 상기 단어 또는 문장을 입력한 시점의 위치, 날짜, 시간, 상기 날짜에 발생된 사건 또는 사고, 상기 날짜와 동일한 과거 날짜에 발생된 사건 또는 사고 및 상기 사용자의 생체 정보 중 적어도 하나를 기반으로 적어도 하나의 동음이의어 또는 반전 단어를 획득하거나, 또는 상기 동음이의어 또는 반전 단어가 포함되는 복수의 문장을 획득할 수 있다.The processor 140 determines the word or sentence input by the user, the location, date, time, event or accident that occurred on the date when the user inputted the word or sentence, and an event that occurred on the same past date as the date. Alternatively, at least one homonym or inverted word may be acquired based on at least one of an accident and the user's biometric information, or a plurality of sentences including the homonym or inverted word may be acquired.

즉, 프로세서(140)는 사용자가 단어 또는 문장을 입력할 때마다, 사용자가 입력한 단어 또는 문장과, 상기 사용자가 단어 또는 문장을 입력한 시점에 대한 시간, 위치, 날짜 및 사용자 생체 정보 중 적어도 하나를 제1 모델에 학습 데이터셋으로 입력하여 상기 제1 모델을 기계 학습시킬 수 있다.That is, whenever the user inputs a word or sentence, the processor 140 is configured to perform at least one of the word or sentence input by the user and the time, location, date, and user biometric information for the time when the user inputs the word or sentence. By inputting one as a training dataset to the first model, the first model may be machine-learned.

이 경우 일 예로, 프로세서(140)는 사용자의 장소 기반의 동음이의어 또는 반전 단어의 획득을 위한 명령에 따라, 장치(10)의 GPS 모듈(미도시)을 통해 현재 위치를 파악하고, 상기 제1 모델을 통해 과거에 상기 파악된 위치에서 사용자에 의해 입력된 단어 또는 문장으로부터 상기 적어도 하나의 동음이의어 또는 반전 단어를 획득할 수 있다.In this case, as an example, the processor 140 determines the current location through the GPS module (not shown) of the device 10 according to the user's command for obtaining a place-based homophone or inversion word, and the first The at least one homonym or inversion word may be obtained from the word or sentence input by the user at the identified position in the past through the model.

다른 예로, 프로세서(140)는 사용자의 장소 기반의 동음이의어 또는 반전 단어의 획득을 위한 명령에 따라, 장치(10)의 GPS 모듈(미도시)을 통해 현재 위치를 파악하고, 상기 제1 모델 또는 웹브라우저의 검색을 통해 상기 현재 위치를 대표하는 장소와 관련된 정보로부터 상기 적어도 하나의 동음이의어 또는 반전 단어를 획득할 수도 있다.As another example, the processor 140 determines the current location through the GPS module (not shown) of the device 10 according to the user's instruction for obtaining a place-based homophone or inversion word, and the first model or The at least one homonym or inversion word may be obtained from information related to a place representing the current location through a web browser search.

또 다른 예로, 프로세서(140)는 사용자의 시간(또는 날짜 또는 요일) 기반의 동음이의어 또는 반전 단어의 획득을 위한 명령에 따라, 상기 제1 모델을 통해 현재 시간(또는 날짜 또는 요일)과 동일한 과거 시간에 사용자에 의해 입력된 단어 또는 문장으로부터 상기 적어도 하나의 동음이의어 또는 반전 단어를 획득할 수 있다.As another example, the processor 140, according to the user's instruction for obtaining a time (or date or day)-based homonym or inversion word, through the first model, the current time (or date or day of the week) and the same past The at least one homonym or inversion word may be obtained from the word or sentence input by the user at time.

또 다른 예로, 프로세서(140)는 사용자로부터 과거 사건 또는 사고 기반의 동음이의어 또는 반전 단어의 획득을 위한 명령에 따라, 상기 제1 모델 또는 웹브라우저의 검색을 통해 현재 날짜와 동일한 과거의 날짜에 발생된 대표 사건/사고와 관련된 정보로부터 상기 적어도 하나의 동음이의어 또는 반전 단어를 획득할 수 있다. 이때, 상기 대표 사건/사고는 적어도 하나의 신문의 1면에 실린 기사 정보, 공중파 방송국의 뉴스 방송 프로그램의 첫 뉴스 및 재난 문자 중 적어도 하나에 포함될 수 있다.As another example, the processor 140 generates on the same past date as the current date through the search of the first model or web browser according to a command for obtaining a homonym or inversion word based on a past event or accident from the user The at least one homonym or inversion word may be obtained from information related to the representative event/accident. In this case, the representative event/accident may be included in at least one of article information on the front page of at least one newspaper, first news of a news broadcast program of a public broadcasting station, and disaster text.

한편, 상기 사용자의 생체 정보는 통신부(110)를 통해 상기 장치(10)와 연동되는 웨어러블 기기를 통해 측정된 착용자의 생체 정보로써, 착용자가 단어 또는 문장을 입력한 시점의 착용자의 심박수, 혈류량 및 스트레스 지수 중 적어도 하나를 포함할 수 있다.On the other hand, the user's biometric information is the wearer's biometric information measured through a wearable device interworking with the device 10 through the communication unit 110, and includes the wearer's heart rate, blood flow and It may include at least one of the stress index.

그리고, 프로세서(140)는 사용자로부터 생체 정보 기반의 동음이의어 또는 반전 단어의 획득을 위한 명령에 따라, 상기 웨어러블 기기를 통해 착용자의 생체 정보를 획득하고, 상기 제1 모델을 통해 상기 생체 정보에 학습된 상기 단어 또는 문장으로부터 상기 적어도 하나의 동음이의어 또는 반전 단어를 획득할 수 있다.Then, the processor 140 acquires the wearer's biometric information through the wearable device according to a command for obtaining a biometric information-based homophone or inverted word from the user, and learns the biometric information through the first model The at least one homonym or inversion word may be obtained from the obtained word or sentence.

또한, 프로세서(140)는 라임을 넣은 글을 박자에 맞춰 소리 내어 읽는 또는 발성하는 기 저장된 랩 가사에서 자음 라임, 모음 라임, 다음절 라임 등을 기반으로 상기 동음이의어를 획득할 수 있다. In addition, the processor 140 may acquire the homonym based on a consonant rhyme, a vowel rhyme, a next verse rhyme, etc. from pre-stored rap lyrics that read or utter a text with a rhyme aloud according to the beat.

프로세서(140)는 동음이의어에 대해 제1 모델을 기반으로 상기 동음이의어가 각각 다른 의미로 포함되는 복수의 문장을 산출하고, 상기 복수의 문장을 포함한 리스트를 표시할 수 있다.The processor 140 may calculate a plurality of sentences in which the homonyms have different meanings based on the first model for the homonym, and display a list including the plurality of sentences.

프로세서(140)는 상기 리스트에서 상기 동음이의어의 제1 의미가 포함되는 제1 문장과 상기 동음이의어의 상기 제1 의미와 다른 제2 의미가 포함되는 제2 문장이 사용자에 의해 선택될 경우, 상기 제1 문장 내의 적어도 하나의 제1 문자, 상기 제2 문장 내의 적어도 하나의 제2 문자 및 상기 동음이의어를 조합한 제3 문장을 생성할 수 있다. When a first sentence including a first meaning of the homonym and a second sentence including a second meaning different from the first meaning of the homonym from the list are selected by the user, the processor 140 is configured to A third sentence may be generated by combining at least one first character in the first sentence, at least one second character in the second sentence, and the homonym.

여기서, 프로세서(140)는 상기 제1 문장과 제2 문장에 대해 상기 사용자로부터 선택받지 않고, 상기 리스트에서 특정 기준에 따라 상기 제1 문장과 제2 문장을 각각 선택할 수 있다. 프로세서(140)는 특정 기준의 하나로 상기 동음이의어의 형태에 기반하여 상기 리스트에서 상기 제1 문장과 제2 문장을 각각 선택할 수 있다. 일 예로, 프로세서(140)는 상기 리스트에서 동음이의어의 형태가 명사 > 동사 > 구/절 순으로 포함되는 제1 문장과 제2 문장을 각각 선택할 수 있다.Here, the processor 140 may select the first sentence and the second sentence from the list, respectively, according to a specific criterion, without being selected by the user for the first sentence and the second sentence. The processor 140 may select the first sentence and the second sentence from the list, respectively, based on the shape of the homonym as one of the specific criteria. For example, the processor 140 may select the first sentence and the second sentence in which the form of the homonym is included in the order of noun > verb > phrase/clause from the list, respectively.

일 예로, 프로세서(140)는 동음이의어인 '써'의 제1 의미가 포함되는 제1 문장인 '오늘도 가사를 써'와 동음이의어인 '써'의 제2 의미가 포함되는 제2 문장인 '몸에 좋은 약이 입에 써'를 조합한 제3 문장인 펀치라인 '가사를 몸에 좋은 약처럼 써'를 생성할 수 있다.For example, the processor 140 is configured to 'write lyrics today', which is a first sentence including the first meaning of 'seo', which is a homophone, and a second sentence, '' It is possible to create a punchline 'write the lyrics like a medicine that is good for the body', which is the third sentence combining 'a drug that is good for the body'.

여기서, 제1 문자 또는 제2 문자는 단어 또는 문자 일부가 될 수 있다. 또한, 상기 제1 문장과 제2 문장은 복수개일 수 있고, 상기 동음이의어가 포함되는 제1 문장과 제2 문장이 조합된 제3 문장도 복수개일 수 있다. 따라서, 복수개인 상기 제3 문장은 랩 가사의 파트가 될 수 있다. 일 예로 4개의 제3 문장은 4마디로 구성된 문장이 4줄 형태를 가지는 파트로 구성할 수 있다.Here, the first character or the second character may be a word or a part of the character. Also, the first sentence and the second sentence may be plural, and the third sentence in which the first sentence and the second sentence including the homonym are combined may also be plural. Accordingly, the plurality of third sentences may be a part of rap lyrics. For example, the four third sentences may be composed of parts in which a sentence composed of 4 bars has a form of 4 lines.

또한, 제3 문장은 랩 가사에서 펀치라인일 수 있으며, 동음이의어로 구성되는 상기 펀치라인은 일 예로, '무대란 폭설처럼 부담스런 눈길이야', '사무실도 아닌데 과장하지 마', '유민상님은 항구처럼 배 나왔어' 등일 수 있다.In addition, the third sentence may be a punch line in the rap lyrics, and the punch line composed of homonyms is, for example, 'The stage is a burdensome gaze like heavy snow', 'Don't exaggerate even though it's not an office', 'Min-sang Yoo. The ship came out like a port' and so on.

프로세서(140)는 상기 제3 문장을 주기적으로 상기 메모리(130)에 저장하고, 상기 제3 문장을 상기 제1 모델에 입력하여 학습할 수 있다. 또한, 프로세서(140)는 기존에 사용자의 의해 작성된 랩 가사의 일부에 제3 문장을 추가로 기입할 수도 있다.The processor 140 may periodically store the third sentence in the memory 130 and input the third sentence into the first model to learn. In addition, the processor 140 may additionally write a third sentence to a part of the rap lyrics previously written by the user.

프로세서(140)는 사용자 별로 사용자 정보, 단어 또는 문장, 상기 단어 또는 문장이 입력된 시간 또는 장소, 상기 시간 또는 장소와 관련된 사건 또는 사고, 사용자의 생체 정보 중 적어도 하나와 관련된 정보를 기 설정된 시간 동안 주기적으로 획득할 수 있다. 프로세서(140)는 상기 랩 가사 생성 애플리케이션의 구동화면에 위치 탭, 사건/사고 탭, 생체 신호 탭 등에 기반하여 사용자별로 기 저장된 각각의 정보를 정렬하거나 사용자로부터 입력받은 정보를 표시할 수 있다.The processor 140 provides information related to at least one of user information, words or sentences, time or place at which the word or sentence is inputted, an event or accident related to the time or place, and biometric information of the user for each user for a preset time. It can be obtained periodically. The processor 140 may sort pre-stored information for each user based on a location tab, an event/accident tab, a biosignal tab, etc. on the driving screen of the rap lyrics generation application, or display information received from the user.

여기서, 사용자 정보는 상기 랩 가사 생성 애플리케이션을 다운받아 사용하는 사용자별로 나이, 성별, 사는 곳, 태어난 곳, 현재 직업 등의 정보일 수 있다. 단어 또는 문장이 입력된 시간 또는 장소는 상기 사용자가 상기 단어 또는 문장을 입력할 때의 시간 일 예로, PM10:00, 장소 일 예로, 공원일 수 있다. 시간 또는 장소와 관련된 사건 또는 사고는 상기 사용자가 상기 단어 또는 문장을 입력할 때의 시간과 장소에 해당되는 사건 또는 사고이거나 동일한 날짜에 발생된 과거의 사건 또는 사고일 수 있다.Here, the user information may be information such as age, gender, place of residence, place of birth, current occupation, etc. for each user who downloads and uses the rap lyrics generation application. The time or place at which the word or sentence is input may be a time when the user inputs the word or sentence, for example, PM10:00, and a place, for example, a park. The event or accident related to time or place may be an event or accident corresponding to the time and place when the user inputs the word or sentence, or may be a past event or accident that occurred on the same date.

프로세서(140)는 상기 기 설정된 시간 동안 주기적으로 획득되는 상기 정보를 상기 사용자 별로 누적하여 상기 메모리(130)에 저장할 수 있다.The processor 140 may accumulate the information periodically acquired for the preset time for each user and store it in the memory 130 .

여기서, 프로세서(140)는 상기 메모리(130)에 저장된 상기 제1 모델에 대해 상기 사용자 별로 누적되어 저장된 상기 정보 및 상기 누적되어 저장되는 정보와 연관된 복수의 문장을 기반으로 기계 학습시킬 수 있다. 이후, 프로세서(140)는 상기 학습된 제1 모델을 기반으로 상기 동음이의어 또는 반전 단어와 연관된 상기 복수의 문장을 산출할 수 있다.Here, the processor 140 may perform machine learning with respect to the first model stored in the memory 130 based on the information accumulated and stored for each user and a plurality of sentences related to the accumulated and stored information. Thereafter, the processor 140 may calculate the plurality of sentences associated with the homonym or inversion word based on the learned first model.

즉, 프로세서(140)는 사용자가 단어 또는 문장을 입력할 때마다, 사용자가 입력한 단어 또는 문장과, 상기 사용자가 단어 또는 문장을 입력한 시점에 대한 시간, 위치, 날짜 및 사용자 생체 정보 중 적어도 하나를 제1 모델에 학습 데이터셋으로 입력하여 상기 제1 모델을 기계 학습시킬 수 있다.That is, whenever the user inputs a word or sentence, the processor 140 is configured to perform at least one of the word or sentence input by the user and the time, location, date, and user biometric information for the time when the user inputs the word or sentence. By inputting one as a training dataset to the first model, the first model may be machine-learned.

이 경우 일 예로, 프로세서(140)는 사용자의 장소 기반의 동음이의어 또는 반전 단어의 획득을 위한 명령에 따라, 장치(10)의 GPS 모듈(미도시)을 통해 현재 위치를 파악하고, 상기 제1 모델을 통해 과거에 상기 파악된 위치에서 사용자에 의해 입력된 단어 또는 문장으로부터 상기 적어도 하나의 동음이의어 또는 반전 단어를 획득할 수 있다.In this case, as an example, the processor 140 determines the current location through the GPS module (not shown) of the device 10 according to the user's command for obtaining a place-based homophone or inversion word, and the first The at least one homonym or inversion word may be obtained from the word or sentence input by the user at the identified position in the past through the model.

다른 예로, 프로세서(140)는 사용자의 장소 기반의 동음이의어 또는 반전 단어의 획득을 위한 명령에 따라, 장치(10)의 GPS 모듈(미도시)을 통해 현재 위치를 파악하고, 상기 제1 모델 또는 웹브라우저의 검색을 통해 상기 현재 위치를 대표하는 장소와 관련된 정보로부터 상기 적어도 하나의 동음이의어 또는 반전 단어를 획득할 수도 있다.As another example, the processor 140 determines the current location through the GPS module (not shown) of the device 10 according to the user's instruction for obtaining a place-based homophone or inversion word, and the first model or The at least one homonym or inversion word may be obtained from information related to a place representing the current location through a web browser search.

또 다른 예로, 프로세서(140)는 사용자의 시간(또는 날짜 또는 요일) 기반의 동음이의어 또는 반전 단어의 획득을 위한 명령에 따라, 상기 제1 모델을 통해 현재 시간(또는 날짜 또는 요일)과 동일한 과거 시간에 사용자에 의해 입력된 단어 또는 문장으로부터 상기 적어도 하나의 동음이의어 또는 반전 단어를 획득할 수 있다.As another example, the processor 140, according to the user's instruction for obtaining a time (or date or day)-based homonym or inversion word, through the first model, the current time (or date or day of the week) and the same past The at least one homonym or inversion word may be obtained from the word or sentence input by the user at time.

또 다른 예로, 프로세서(140)는 사용자로부터 과거 사건 또는 사고 기반의 동음이의어 또는 반전 단어의 획득을 위한 명령에 따라, 상기 제1 모델 또는 웹브라우저의 검색을 통해 현재 날짜와 동일한 과거의 날짜에 발생된 대표 사건/사고와 관련된 정보로부터 상기 적어도 하나의 동음이의어 또는 반전 단어를 획득할 수 있다. 이때, 상기 대표 사건/사고는 적어도 하나의 신문의 1면에 실린 기사 정보, 공중파 방송국의 뉴스 방송 프로그램의 첫 뉴스 및 재난 문자 중 적어도 하나에 포함될 수 있다.As another example, the processor 140 generates on the same past date as the current date through the search of the first model or web browser according to a command for obtaining a homonym or inversion word based on a past event or accident from the user The at least one homonym or inversion word may be obtained from information related to the representative event/accident. In this case, the representative event/accident may be included in at least one of article information on the front page of at least one newspaper, first news of a news broadcast program of a public broadcasting station, and disaster text.

한편, 상기 사용자의 생체 정보는 통신부(110)를 통해 상기 장치(10)와 연동되는 웨어러블 기기를 통해 측정된 착용자의 생체 정보로써, 착용자가 단어 또는 문장을 입력한 시점의 착용자의 심박수, 혈류량 및 스트레스 지수 중 적어도 하나를 포함할 수 있다.On the other hand, the user's biometric information is the wearer's biometric information measured through a wearable device interworking with the device 10 through the communication unit 110, and includes the wearer's heart rate, blood flow and It may include at least one of the stress index.

그리고, 프로세서(140)는 사용자로부터 생체 정보 기반의 동음이의어 또는 반전 단어의 획득을 위한 명령에 따라, 상기 웨어러블 기기를 통해 착용자의 생체 정보를 획득하고, 상기 제1 모델을 통해 상기 생체 정보에 학습된 상기 단어 또는 문장으로부터 상기 적어도 하나의 동음이의어 또는 반전 단어를 획득할 수 있다.Then, the processor 140 acquires the wearer's biometric information through the wearable device according to a command for obtaining a biometric information-based homophone or inverted word from the user, and learns the biometric information through the first model The at least one homonym or inversion word may be obtained from the obtained word or sentence.

또한, 프로세서(140)는 상기 모델을 통해, 사용자가 가사의 주제(테마)로 정한 내용에 맞춰 복수의 절, 구, 또는 문장을 산출할 수 있으며, 마디 수를 고려한 음보율에 따라 라임이 들어가 가사를 산출할 수 있다.In addition, the processor 140 may calculate a plurality of clauses, phrases, or sentences according to the content determined by the user as the subject (theme) of the lyrics through the model, and a rhyme is inserted according to the note rate in consideration of the number of measures. can be calculated.

프로세서(140)는 동음이의어 또는 반전 단어가 포함되지 않은 제4 문장과 제5 문장을 획득할 수 있다. 여기서, 동음이의어 또는 반전 단어는 상기 동음이의어와 동일할 수도 있고 다를 수도 있다.The processor 140 may obtain a fourth sentence and a fifth sentence that do not include a homonym or an inversion word. Here, the homonym or inversion word may be the same as or different from the homonym.

프로세서(140)는 상기 제4 문장과 제5 문장을 상기 제1 모델에 입력하여 각각에 대한 문장의 의미를 인식할 수 있다.The processor 140 may input the fourth sentence and the fifth sentence into the first model to recognize the meaning of each sentence.

프로세서(140)는 상기 문장의 의미, 상기 제4 문장과 제5 문장에 대해 제2 모델을 기반으로 상기 제4 문장과 제5 문장에 매칭되는 상기 동음이의어를 산출할 수 있다. 여기서, 제2 모델은 복수의 문장 내에서 각각의 단어를 검출하고, 상기 단어에 대해 동음이의어를 추출하는 알고리즘으로 구성될 수 있다.The processor 140 may calculate the homonym matching the fourth sentence and the fifth sentence based on the meaning of the sentence and the second model for the fourth sentence and the fifth sentence. Here, the second model may be configured as an algorithm that detects each word within a plurality of sentences and extracts a homonym for the word.

프로세서(140)는 상기 제4 문장, 제5 문장 및 동음이의어가 포함되는 제6 문장을 생성할 수 있다. 여기서, 프로세서(140)는 상기 제6 문장을 주기적으로 상기 메모리(130)에 저장하고, 상기 제6 문장을 상기 제1 모델에 입력하여 학습할 수 있고, 기존에 사용자의 의해 작성된 랩 가사의 일부로 기입할 수도 있다.The processor 140 may generate a sixth sentence including the fourth sentence, the fifth sentence, and a homonym. Here, the processor 140 may periodically store the sixth sentence in the memory 130, input the sixth sentence into the first model to learn, and use the sixth sentence as part of the rap lyrics previously written by the user. You can also enter

프로세서(140)는 상기 제3 문장 및 제6 문장 각각에 대해 기 설정된 리듬을 기반으로 음성파일 생성하고 출력부(미도시)를 통해 사용자에게 음성으로 출력하여 제공할 수 있다. 여기서, 사용자는 출력부를 통해 제공되는 음성을 통해 펀치라인인 제3 문장과 제 6문장을 쉽게 연습할 수 있는 효과를 가질 수 있다.The processor 140 may generate a voice file based on a preset rhythm for each of the third sentence and the sixth sentence, and output the voice file to the user through an output unit (not shown) to provide it. Here, the user may have the effect of being able to easily practice the third sentence and the sixth sentence, which are punchlines, through the voice provided through the output unit.

도 2는 본 발명에 따른 장치(10)의 프로세서(140)가 제3 문장을 생성하는 과정을 나타낸 예시도이다.2 is an exemplary diagram illustrating a process of generating a third sentence by the processor 140 of the device 10 according to the present invention.

도 3은 본 발명에 따른 장치(10)의 프로세서(140)가 A가 동사인 경우 제3 문장을 생성하는 과정을 나타낸 예시도이다.3 is an exemplary diagram illustrating a process in which the processor 140 of the device 10 according to the present invention generates a third sentence when A is a verb.

도 4는 본 발명에 따른 장치(10)의 프로세서(140)가 A가 명사인 경우 제3 문장을 생성하는 과정을 나타낸 예시도이다.4 is an exemplary diagram illustrating a process in which the processor 140 of the device 10 according to the present invention generates a third sentence when A is a noun.

도 5는 본 발명에 따른 장치(10)의 프로세서(140)가 A가 문자, 절 등인 경우 제3 문장을 생성하는 과정을 나타낸 예시도이다.5 is an exemplary diagram illustrating a process in which the processor 140 of the device 10 according to the present invention generates a third sentence when A is a letter, a clause, or the like.

이하, 도 2 내지 도 5를 통해 본 발명에 따른 장치(10)의 프로세서(140)의 동작에 대해 설명한다.Hereinafter, the operation of the processor 140 of the device 10 according to the present invention will be described with reference to FIGS. 2 to 5 .

도 2를 보면, 프로세서(140)는 사용자로부터 단어, 문장 또는 절인 A를 획득할 수 있다. 여기서, A는 단어 또는 문장인 경우에도 동음이의어일 수 있다.Referring to FIG. 2 , the processor 140 may obtain A, which is a word, sentence, or clause from the user. Here, A may be a homonym even if it is a word or a sentence.

프로세서(140)는 상기 A가 단어인 경우, 동사인지, 명사인지를 구분할 수 있다. 이후, 프로세서(140)는 도 3 내지 도 5에 도시된 바와 같이 A를 기반으로 다양한 문장을 생성할 수 있다. 여기서, 생성된 다양한 문장은 A가 마지막에 위치하도록 구성될 수 있다.When A is a word, the processor 140 may distinguish whether it is a verb or a noun. Thereafter, the processor 140 may generate various sentences based on A as shown in FIGS. 3 to 5 . Here, the generated various sentences may be configured such that A is positioned last.

먼저, 도 3을 보면, 프로세서(140)는 상기 A가 단어이면서 동사인 경우, 동음이의어인 상기 A를 기반으로 a라는 명사가 포함되는 a + A인 제1 문장 A1을 생성할 수 있다. 또한, 프로세서(140)는 상기 A가 단어이면서 동사인 경우, 상기 A를 기반으로 b라는 명사가 포함되는 b + A인 제2 문장 A2를 생성할 수 있다. 이후, 프로세서(140)는 상기 제1 문장인 A1 내의 적어도 하나의 제1 문자, 상기 제2 문장인 A2 내의 적어도 하나의 제2 문자 및 동음이의어인 A를 조합한 a + b + A인 제3 문장을 생성할 수 있다.First, referring to FIG. 3 , when A is both a word and a verb, the processor 140 may generate a first sentence A1 of a + A including the noun a based on the A, which is a homonym. Also, when A is both a word and a verb, the processor 140 may generate a second sentence A2 of b + A including the noun b based on the A. Thereafter, the processor 140 generates a third, which is a + b + A, which is a combination of at least one first character in the first sentence A1, at least one second character in the second sentence A2, and A, which is a homonym. You can create sentences.

프로세서(140)는 동음이의어 A가 일 예로, '써' 또는 '쓰다'인 경우, A1인 오늘도 '가사(a)를 써(A)'라는 제1 문장, A2인 '몸에 좋은 약(b)은 입에 써(A)'라는 제2 문장을 생성할 수 있다. 프로세서(140)는 A1의 a와 A2의 b를 조합한 A3인 '가사(a)를 몸에 좋은 약(b)처럼 써(A)'라는 제3 문장을 생성할 수 있다.If the homonym A is, for example, 'write' or 'write', the first sentence of 'write lyrics (a) (A)', which is A1 today, and 'medicine good for the body (b)' as A2 ) can create the second sentence 'Written in the mouth (A)'. The processor 140 may generate a third sentence, 'Write lyrics (a) like a medicine (b) that is good for the body (A)', which is A3 that is a combination of a in A1 and b in A2.

도 4를 보면, 프로세서(140)는 상기 A가 단어이면서 명사인 경우, 동음이의어인 상기 A를 기반으로 a라는 명사가 포함되는 a + A인 제1 문장 A1을 생성할 수 있다. 또한, 프로세서(140)는 상기 A가 단어이면서 동사인 경우, 상기 A를 기반으로 b라는 명사가 포함되는 b + A인 제2 문장 A2를 생성할 수 있다. 이후, 프로세서(140)는 상기 제1 문장인 A1 내의 적어도 하나의 제1 문자, 상기 제2 문장인 A2 내의 적어도 하나의 제2 문자 및 동음이의어인 A를 조합한 a + b + A인 제3 문장을 생성할 수 있다. 또는, 프로세서(140)는 새로운 단어, 구 또는 문장인 c, 상기 제2 문장인 A2 내의 적어도 하나의 제2 문자 및 제1 문장과 제2 문장에 포함되는 동음이의어인 A를 조합한 c + b + A인 제3 문장을 생성할 수 있다. 여기서, c는 표현하고 싶은 내용으로 확대하기 위해 사용되는 것일 수 있다.Referring to FIG. 4 , when A is both a word and a noun, the processor 140 may generate a first sentence A1 of a + A including the noun a based on the A, which is a homophone. Also, when A is both a word and a verb, the processor 140 may generate a second sentence A2 of b + A including the noun b based on the A. Thereafter, the processor 140 generates a third, which is a + b + A, which is a combination of at least one first character in the first sentence A1, at least one second character in the second sentence A2, and A, which is a homonym. You can create sentences. Alternatively, the processor 140 may generate a combination of a new word, phrase, or sentence c, at least one second letter in the second sentence A2, and a homonym A included in the first sentence and the second sentence c + b + A third sentence can be created. Here, c may be used to expand the content to be expressed.

일 예로, 프로세서(140)는 동음이의어 A가 '눈길'인 경우, A1인 무대(a)를 향한 눈길(A)'이라는 제1 문장, A2인 '폭설(b) 내린 (부담스런) 눈길(A)'이라는 제2 문장을 생성할 수 있다. 여기서, 프로세서(140)는 A1의 a와 A2의 b를 조합한 A3인 '무대(a)는 폭설(b)처럼 부담스러운 눈길(A)이야'라는 제3 문장을 생성할 수 있다. 또한, 프로세서(140)는 새로운 구 c가 '그녀의 눈빛'인 경우, c, b 및 A를 조합한 A4인 '그녀의 눈빛(c)은 폭설(b)처럼 부담스런 눈길(A)'이라는 제3 문장을 생성할 수 있다. For example, if the homophone A is 'snow', the first sentence of 'eye (A) towards the stage (a)' which is A1, 'heavy snow (b) fell (burden) snow ( A)' can be generated as a second sentence. Here, the processor 140 may generate the third sentence, 'The stage (a) is a heavy snow (A) like heavy snow (b)', which is A3 that is a combination of a in A1 and b in A2. In addition, when the new phrase c is 'her eyes', the processor 140 says that 'her eyes (c) are burdensome eyes (A) like heavy snow (b)', which is A4 combining c, b and A. You can create a third sentence.

프로세서(140)는 동음이의어 A가 일 예로, '눈길'인 경우, A1인 숙제(a)를 안 한 벌(A)'이라는 제1 문장, A2인 '산속에서 만난 왕(b) 벌(A)'이라는 제2 문장을 생성할 수 있다. 프로세서(140)는 A1과 A2를 조합한 A3인 '숙제(a) 안해, 그럼, 소풍갔다 만난 왕(b) 벌(A)처럼 혼쭐~!'이라는 제3 문장을 생성할 수 있다. 또한, 프로세서(140)는 새로운 구 c가 '디스'인 경우, c, b 및 A를 조합한 A4인 '내 디스(c)는 산속에 우연히 만난 왕(b) 벌(A)처럼 놀람~!'이라는 제3 문장을 생성할 수 있다.If the homonym A is, for example, 'eyes', the first sentence of A1 not doing homework (a) (A)', A2 being 'the king (b) bee (A) met in the mountains' )' can be generated. The processor 140 may generate the third sentence, 'I'm not doing my homework (a), then, like the king (b) bee (A) I met on a picnic~!', which is A3 that is a combination of A1 and A2. In addition, the processor 140, when the new old c is 'dis', 'my diss (c), which is A4 combining c, b and A, is surprised like a king (b) bee (A) that I met by chance in the mountain~! A third sentence of ' can be generated.

도 5를 보면, 프로세서(140)는 상기 A가 문장 또는 절인 경우, 동음이의어가 포함되는 상기 A를 기반으로 a라는 명사가 포함되는 a + A인 제1 문장 A1을 생성할 수 있다. 또한, 프로세서(140)는 상기 A가 문장 또는 절인 경우, 상기 A를 기반으로 b라는 명사가 포함되는 b + A인 제2 문장 A2를 생성할 수 있다. 이후, 프로세서(140)는 상기 제1 문장인 A1 내의 적어도 하나의 제1 문자, 상기 제2 문장인 A2 내의 적어도 하나의 제2 문자 및 동음이의어인 A를 조합한 a + b + A인 제3 문장을 생성할 수 있다. 또는, 프로세서(140)는 새로운 단어, 구 또는 문장인 c, 상기 제2 문장인 A2 내의 적어도 하나의 제2 문자 및 제1 문장과 제2 문장에 포함되는 동음이의어인 A를 조합한 c + b + A인 제3 문장을 생성할 수 있다.Referring to FIG. 5 , when A is a sentence or clause, the processor 140 may generate a first sentence A1 of a + A including the noun a based on the A including the homonym. Also, when A is a sentence or clause, the processor 140 may generate a second sentence A2 of b + A including the noun b based on the A. Thereafter, the processor 140 generates a third, which is a + b + A, which is a combination of at least one first character in the first sentence A1, at least one second character in the second sentence A2, and A, which is a homonym. You can create sentences. Alternatively, the processor 140 may generate a combination of a new word, phrase, or sentence c, at least one second letter in the second sentence A2, and a homonym A included in the first sentence and the second sentence c + b + A third sentence can be created.

일 예로, 프로세서(140)는 동음이의어 A가 '배 나왔어'인 경우, A1인 유민상(a)은 배 나왔어(A)'라는 제1 문장, A2인 '항구(b)에서 배 나왔어(A)'라는 제2 문장을 생성할 수 있다. 여기서, 프로세서(140)는 A1의 a와 A2의 b를 조합한 A3인 '유민상(a)은 항구(b)처럼 배 나왔어(A)'라는 제3 문장을 생성할 수 있다. 또한, 프로세서(140)는 새로운 단어 c가 '땀'인 경우, c, b 및 A를 조합한 A4인 '랩으로 수십 바가지 흘린 땀(c), 어머님이 얘기하셨나~ 항구(b)에 새우잡이 배 들어와(A*) 평생 주식처럼 백 배는 불려 먹었지'라는 제3 문장을 생성할 수 있다. 여기서, A*는 c를 통해 표현하고 싶은 내용을 확대 및 새로운 의미로 창조한 것일 수 있다.For example, if the homonym A is 'a boat is out', the first sentence of A1, Min-sang Yu (a), is a boat (A)', A2 is 'a boat came out of the port (b) (A) ' can be generated as a second sentence. Here, the processor 140 may generate the third sentence 'Yoo Min-sang (a) is out of the boat (A) like a port (b)', which is A3 that is a combination of a in A1 and b in A2. In addition, the processor 140, when the new word c is 'sweat', A4, which is a combination of c, b and A You can create the third sentence, 'I came in (A*) and ate a hundred times like a staple in my life'. Here, A* may be expanded and created with a new meaning of the content desired to be expressed through c.

이상, 첨부된 도면을 참조로 하여 본 발명의 실시예를 설명하였지만, 본 발명이 속하는 기술분야의 통상의 기술자는 본 발명이 그 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며, 제한적이 아닌 것으로 이해해야만 한다.As mentioned above, although embodiments of the present invention have been described with reference to the accompanying drawings, those skilled in the art to which the present invention pertains know that the present invention may be embodied in other specific forms without changing the technical spirit or essential features thereof. you will be able to understand Therefore, it should be understood that the embodiments described above are illustrative in all respects and not restrictive.

10: 장치
110: 통신부
120: 디스플레이부
130: 메모리
140: 프로세서
10: device
110: communication department
120: display unit
130: memory
140: processor

Claims (10)

장치에 의해 수행되는 랩 가사 생성 방법에 있어서,
상기 랩 가사에 대한 동음이의어를 획득하는 단계;
상기 동음이의어에 대해 제1 모델을
기반으로 상기 동음이의어가 각각 다른 의미로 포함되는 복수의 문장을 산출하는 단계;
상기 복수의 문장을 포함한 리스트를 표시하는 단계; 및
상기 리스트에서 상기 동음이의어의 제1 의미가 포함되는 제1 문장과 상기 동음이의어의 상기 제1 의미와 다른 제2 의미가 포함되는 제2 문장이 선택될 경우, 상기 제1 문장 내의 적어도 하나의 제1 문자, 상기 제2 문장 내의 적어도 하나의 제2 문자 및 상기 동음이의어를 조합한 제3 문장을 생성하는 단계;
를 포함하는, 방법.
A method for generating rap lyrics performed by a device, comprising:
obtaining a homonym for the rap lyrics;
The first model for the homonym
calculating a plurality of sentences in which the homonyms have different meanings based on each other;
displaying a list including the plurality of sentences; and
When a first sentence including a first meaning of the homonym and a second sentence including a second meaning different from the first meaning of the homonym are selected from the list, at least one first sentence in the first sentence generating a third sentence in which one character, at least one second character in the second sentence, and the homonym are combined;
A method comprising
제1항에 있어서,
상기 랩 가사에 대한 동음이의어를 획득하는 단계는,
사용자로부터 입력된 단어 또는 문장, 상기 사용자가 상기 단어 또는 문장을 입력한 시점의 위치, 날짜, 시간, 상기 날짜에 발생된 사건 또는 사고, 상기 날짜와 동일한 과거 날짜에 발생된 사건 또는 사고 및 상기 사용자의 생체 정보를 기반으로 획득되는, 방법.
According to claim 1,
The step of obtaining a homonym for the rap lyrics is,
a word or sentence input by the user, the location, date, time, event or accident that occurred on the date when the user entered the word or sentence, an event or accident that occurred on the same past date as the date, and the user is obtained based on the biometric information of the method.
제1항에 있어서,
사용자 별로 사용자 정보, 단어 또는 문장, 상기 단어 또는 문장이 입력된 시간 또는 장소, 상기 시간 또는 장소와 관련된 사건 또는 사고 중 적어도 하나와 관련된 정보를 기 설정된 시간 동안 주기적으로 획득하는 단계; 및
상기 기 설정된 시간 동안 주기적으로 획득되는 상기 정보를 상기 사용자 별로 누적하여 저장하는 단계;를 더 포함하고,
상기 제1 모델은,
상기 사용자 별로 누적되어 저장된 상기 정보 및 상기 누적되어 저장되는 정보와 연관된 복수의 문장을 기반으로 기계 학습되는, 방법.
According to claim 1,
periodically acquiring information related to at least one of user information for each user, a word or sentence, a time or place at which the word or sentence was input, and an event or an accident related to the time or place for a preset time; and
accumulating and storing the information periodically acquired for each user for the preset time; further comprising,
The first model is
Machine learning is performed based on the information accumulated and stored for each user and a plurality of sentences related to the accumulated and stored information.
제3항에 있어서,
상기 복수의 문장을 산출하는 단계는,
상기 학습된 제1 모델을 기반으로 상기 동음이의어와 연관된 상기 복수의 문장을 산출하는, 방법.
4. The method of claim 3,
The step of calculating the plurality of sentences,
Calculating the plurality of sentences associated with the homonym based on the learned first model.
제1항에 있어서,
상기 동음이의어가 포함되지 않은 제4 문장과 제5 문장을 획득하는 단계;
상기 제4 문장과 제5 문장에 대해 상기 제1 모델을 기반으로 각각에 대한 문장의 의미를 인식하는 단계;
상기 문장의 의미, 상기 제4 문장과 제5 문장에 대해 제2 모델을 기반으로 상기 제4 문장과 제5 문장에 매칭되는 상기 동음이의어를 산출하는 단계; 및
상기 제4 문장, 제5 문장 및 상기 동음이의어가 포함되는 제6 문장을 생성하는 단계;를 더 포함하는, 방법.
According to claim 1,
obtaining a fourth sentence and a fifth sentence that do not include the homonym;
recognizing the meaning of each sentence based on the first model with respect to the fourth sentence and the fifth sentence;
calculating the homonym matching the fourth sentence and the fifth sentence based on a second model for the meaning of the sentence and the fourth and fifth sentences; and
The method further comprising; generating a sixth sentence including the fourth sentence, the fifth sentence, and the homonym.
랩 가사를 생성하는 방법을 수행하는 장치에 있어서,
메모리; 및
상기 랩 가사에 대한 동음이의어를 획득하고,
상기 동음이의어에 대해 제1 모델을 기반으로 상기 동음이의어가 각각 다른 의미로 포함되는 복수의 문장을 산출하고,
상기 복수의 문장을 포함한 리스트를 표시하고,
상기 리스트에서 상기 동음이의어의 제1 의미가 포함되는 제1 문장과 상기 동음이의어의 상기 제1 의미와 다른 제2 의미가 포함되는 제2 문장이 선택될 경우, 상기 제1 문장 내의 적어도 하나의 제1 문자, 상기 제2 문장 내의 적어도 하나의 제2 문자 및 상기 동음이의어를 조합한 제3 문장을 생성하는 프로세서;
를 포함하는, 장치.
An apparatus for performing a method of generating rap lyrics, comprising:
Memory; and
Obtain a homonym for the rap lyrics,
Calculating a plurality of sentences in which the homonyms have different meanings based on the first model for the homonyms,
Display a list including the plurality of sentences,
When a first sentence including a first meaning of the homonym and a second sentence including a second meaning different from the first meaning of the homonym are selected from the list, at least one first sentence in the first sentence a processor for generating a third sentence by combining one character, at least one second character in the second sentence, and the homonym;
A device comprising a.
제6항에 있어서,
상기 프로세서는,
사용자로부터 입력된 단어 또는 문장, 상기 사용자가 상기 단어 또는 문장을 입력한 시점의 위치, 날짜, 시간, 상기 날짜에 발생된 사건 또는 사고, 상기 날짜와 동일한 과거 날짜에 발생된 사건 또는 사고 및 상기 사용자의 생체 정보를 기반으로 획득하는, 장치.
7. The method of claim 6,
The processor is
a word or sentence input by the user, the location, date, time, event or accident that occurred on the date when the user entered the word or sentence, an event or accident that occurred on the same past date as the date, and the user device, which is obtained based on the biometric information of
제6항에 있어서,
상기 프로세서는,
사용자 별로 사용자 정보, 단어 또는 문장, 상기 단어 또는 문장이 입력된 시간 또는 장소, 상기 시간 또는 장소와 관련된 사건 또는 사고 중 적어도 하나와 관련된 정보를 기 설정된 시간 동안 주기적으로 획득하고,
상기 기 설정된 시간 동안 주기적으로 획득되는 상기 정보를 상기 사용자 별로 누적하여 저장하는,
상기 제1 모델은,
상기 사용자 별로 누적되어 저장된 상기 정보 및 상기 누적되어 저장되는 정보와 연관된 복수의 문장을 기반으로 기계 학습되는, 장치.
7. The method of claim 6,
The processor is
Periodically acquire information related to at least one of user information, words or sentences, time or place at which the word or sentence is inputted, an event or accident related to the time or place for each user for a preset time,
accumulating and storing the information acquired periodically for the preset time for each user,
The first model is
Machine learning is performed based on the information accumulated and stored for each user and a plurality of sentences related to the accumulated and stored information.
제8항에 있어서,
상기 프로세서는,
상기 학습된 제1 모델을 기반으로 상기 동음이의어와 연관된 상기 복수의 문장을 산출하는, 장치.
9. The method of claim 8,
The processor is
An apparatus for calculating the plurality of sentences associated with the disambiguation based on the learned first model.
제6항에 있어서,
상기 프로세서는,
상기 동음이의어가 포함되지 않은 제4 문장과 제5 문장을 획득하고,
상기 제4 문장과 제5 문장에 대해 상기 제1 모델을 기반으로 각각에 대한 문장의 의미를 인식하고,
상기 문장의 의미, 상기 제4 문장과 제5 문장에 대해 제2 모델을 기반으로 상기 제4 문장과 제5 문장에 매칭되는 상기 동음이의어를 산출하고,
상기 제4 문장, 제5 문장 및 상기 동음이의어가 포함되는 제6 문장을 생성하는, 장치.
7. The method of claim 6,
The processor is
Obtaining the fourth and fifth sentences that do not contain the homonym,
Recognizing the meaning of each sentence based on the first model for the fourth sentence and the fifth sentence,
Calculating the homonym matching the fourth sentence and the fifth sentence based on a second model for the meaning of the sentence and the fourth sentence and the fifth sentence,
An apparatus for generating a sixth sentence including the fourth sentence, the fifth sentence, and the homonym.
KR1020200188810A 2020-12-31 2020-12-31 Apparatus and Method for Creating Rap Lyrics included Punch Lines Active KR102368418B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200188810A KR102368418B1 (en) 2020-12-31 2020-12-31 Apparatus and Method for Creating Rap Lyrics included Punch Lines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200188810A KR102368418B1 (en) 2020-12-31 2020-12-31 Apparatus and Method for Creating Rap Lyrics included Punch Lines

Publications (1)

Publication Number Publication Date
KR102368418B1 true KR102368418B1 (en) 2022-03-02

Family

ID=80815077

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200188810A Active KR102368418B1 (en) 2020-12-31 2020-12-31 Apparatus and Method for Creating Rap Lyrics included Punch Lines

Country Status (1)

Country Link
KR (1) KR102368418B1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002278549A (en) * 2001-08-10 2002-09-27 Yamaha Corp Lyric writing and composing system and program
KR20070081368A (en) 2006-02-10 2007-08-16 삼성전자주식회사 Apparatus, system, and method for extracting lyrics structure based on repeating pattern of song lyrics
KR20080003364A (en) * 2005-04-25 2008-01-07 마이크로소프트 코포레이션 A computer-implemented method for suggesting alternative words, a computer-implemented method for generating candidate tables for suggesting alternative words, and a spell checking system for suggesting alternative words.
CN106528858A (en) * 2016-11-29 2017-03-22 北京百度网讯科技有限公司 Lyrics generating method and device
CN109815493A (en) * 2019-01-09 2019-05-28 厦门大学 A modeling method for intelligent hip-hop music lyrics generation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002278549A (en) * 2001-08-10 2002-09-27 Yamaha Corp Lyric writing and composing system and program
KR20080003364A (en) * 2005-04-25 2008-01-07 마이크로소프트 코포레이션 A computer-implemented method for suggesting alternative words, a computer-implemented method for generating candidate tables for suggesting alternative words, and a spell checking system for suggesting alternative words.
KR20070081368A (en) 2006-02-10 2007-08-16 삼성전자주식회사 Apparatus, system, and method for extracting lyrics structure based on repeating pattern of song lyrics
CN106528858A (en) * 2016-11-29 2017-03-22 北京百度网讯科技有限公司 Lyrics generating method and device
CN109815493A (en) * 2019-01-09 2019-05-28 厦门大学 A modeling method for intelligent hip-hop music lyrics generation

Similar Documents

Publication Publication Date Title
JP7486540B2 (en) Automated assistants that address multiple age groups and/or vocabulary levels
AU2024220683B2 (en) Selective visual display
CN109065055B (en) Method, storage medium and device for generating AR content based on sound
US9548052B2 (en) Ebook interaction using speech recognition
US11854431B2 (en) Interactive education system and method
Morrissey Data-driven machine translation for sign languages
Yeh et al. Topic detection and tracking for conversational content by using conceptual dynamic latent Dirichlet allocation
Sadoski et al. A dual coding theoretical model of decoding in reading: Subsuming the Laberge and Samuels model
Diwakar et al. A multilingual multimedia Indian sign language dictionary tool
Kesarwani Automatic Poetry Classification Using Natural Language Processing
Shen et al. Ringgesture: A ring-based mid-air gesture typing system powered by a deep-learning word prediction framework
KR20160134564A (en) Device and method for analyzing user emotion
Sicilia et al. Isabel: An inclusive and collaborative task-oriented dialogue system
KR102368418B1 (en) Apparatus and Method for Creating Rap Lyrics included Punch Lines
Kramer Icono: a universal language that shows what it says
Langer et al. Quantitative Linguistic Analysis of Czech Sign Language
CN116975251A (en) Language learning content display method, device, computer equipment and storage medium
KR102393763B1 (en) Apparatus and Method for Creating Rap Lyrics with Rhymes
Zhang et al. A tone-assisted Chinese silent speech input method for virtual reality
Ghosh Voice-based Interactions for Editing Text On The Go
Tripathy Audio to Indian Sign Language Interpreter (AISLI) using machine translation and NLP techniques
Kadam et al. A learning ecosystem for dyslexic
Tirumalasetti A Helping Hand for The Visually Challenged, Mute and Deaf people
Vörös et al. Recommending Missing Symbols of Augmentative and Alternative Communication by Means of Explicit Semantic Analysis.
Zhang Towards More Intelligent, Intuitive, and Inclusive Communication with Computers in Text and Images

Legal Events

Date Code Title Description
PA0109 Patent application

Patent event code: PA01091R01D

Comment text: Patent Application

Patent event date: 20201231

PA0201 Request for examination
PN2301 Change of applicant

Patent event date: 20210824

Comment text: Notification of Change of Applicant

Patent event code: PN23011R01D

PE0902 Notice of grounds for rejection

Comment text: Notification of reason for refusal

Patent event date: 20211022

Patent event code: PE09021S01D

E701 Decision to grant or registration of patent right
PE0701 Decision of registration

Patent event code: PE07011S01D

Comment text: Decision to Grant Registration

Patent event date: 20220128

GRNT Written decision to grant
PR0701 Registration of establishment

Comment text: Registration of Establishment

Patent event date: 20220223

Patent event code: PR07011E01D

PR1002 Payment of registration fee

Payment date: 20220223

End annual number: 3

Start annual number: 1

PG1601 Publication of registration
PR1001 Payment of annual fee

Payment date: 20250106

Start annual number: 4

End annual number: 4