KR20230043084A - Method and computer readable storage medium for performing text-to-speech synthesis using machine learning based on sequential prosody feature - Google Patents

Method and computer readable storage medium for performing text-to-speech synthesis using machine learning based on sequential prosody feature Download PDF

Info

Publication number
KR20230043084A
KR20230043084A KR1020230035285A KR20230035285A KR20230043084A KR 20230043084 A KR20230043084 A KR 20230043084A KR 1020230035285 A KR1020230035285 A KR 1020230035285A KR 20230035285 A KR20230035285 A KR 20230035285A KR 20230043084 A KR20230043084 A KR 20230043084A
Authority
KR
South Korea
Prior art keywords
text
prosody
sequential
speech synthesis
data
Prior art date
Application number
KR1020230035285A
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
Priority claimed from KR1020190094065A external-priority patent/KR20200015418A/en
Application filed by 네오사피엔스 주식회사 filed Critical 네오사피엔스 주식회사
Publication of KR20230043084A publication Critical patent/KR20230043084A/en

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L13/00Speech synthesis; Text to speech systems
    • G10L13/08Text analysis or generation of parameters for speech synthesis out of text, e.g. grapheme to phoneme translation, prosody generation or stress or intonation determination
    • G10L13/10Prosody rules derived from text; Stress or intonation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L13/00Speech synthesis; Text to speech systems
    • G10L13/02Methods for producing synthetic speech; Speech synthesisers
    • G10L13/027Concept to speech synthesisers; Generation of natural phrases from machine-based concepts
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L13/00Speech synthesis; Text to speech systems
    • G10L13/02Methods for producing synthetic speech; Speech synthesisers
    • G10L13/04Details of speech synthesis systems, e.g. synthesiser structure or memory management

Landscapes

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

Abstract

The present disclosure relates to a method for synthesizing text-to-speech using machine learning based on a sequential prosody feature. The text-to-speech synthesis using machine learning based on the sequential prosody feature comprises: a step of receiving input text; a step of receiving a sequential prosody feature; and a step of generating output speech data for an input text reflecting the received sequential prosody feature by inputting the input text and the received sequential prosody feature into an artificial neural network text-to-speech synthesis model. Therefore, the present invention is capable of transmitting more accurately an intention or emotion of a person.

Description

순차적 운율 특징을 기초로 기계학습을 이용한 텍스트-음성 합성 방법, 장치 및 컴퓨터 판독가능한 저장매체{METHOD AND COMPUTER READABLE STORAGE MEDIUM FOR PERFORMING TEXT-TO-SPEECH SYNTHESIS USING MACHINE LEARNING BASED ON SEQUENTIAL PROSODY FEATURE}Text-to-speech synthesis method, device and computer readable storage medium using machine learning based on sequential prosody features

본 개시는 순차적 운율 특징을 기초로 기계 학습을 이용한 텍스트-음성 합성 방법 및 시스템에 관한 것이다. 보다 상세하게는, 순차적 운율 특징을 인공신경망 텍스트-음성 합성 모델에 입력하여, 순차적 운율 특징이 반영된 입력 텍스트에 대한 출력 음성 텍스트를 생성하는 방법 및 시스템에 관한 것이다. The present disclosure relates to a method and system for text-to-speech synthesis using machine learning based on sequential prosodic features. More specifically, it relates to a method and system for generating output speech text for input text reflecting the sequential prosody features by inputting sequential prosody features to an artificial neural network text-speech synthesis model.

일반적으로 텍스트-음성 합성 기술(TTS; Text-To-Speech)이라고 불리는 음성 합성 기술은 안내방송, 네비게이션, 인공지능 비서 등과 같이 사람의 음성이 필요한 어플리케이션에서 실제의 음성을 사전에 녹음해 두지 않고 필요한 음성을 재생하기 위해 사용되는 기술이다. 음성 합성의 전형적인 방법은, 음성을 음소 등 아주 짧은 단위로 미리 잘라서 저장해두고, 합성할 문장을 구성하는 음소들을 결합하여 음성을 합성하는 연결 합성 방식(concatenative TTS)와, 음성의 특징을 파라미터로 표현하고 합성할 문장을 구성하는 음성 특징들을 나타내는 파라미터들을 보코더(vocoder)를 이용해 문장에 대응하는 음성으로 합성하는 매개 변수 합성 방식(parametric TTS)이 있다.Voice synthesis technology, commonly called text-to-speech (TTS), is a technology that requires human voices, such as announcements, navigation, and artificial intelligence assistants, without pre-recording actual voices. It is a technology used to reproduce voice. A typical method of speech synthesis is a concatenative TTS method in which speech is cut in advance into very short units such as phonemes and stored, and speech is synthesized by combining phonemes constituting a sentence to be synthesized, and speech characteristics are expressed as parameters. There is a parameter synthesis method (parametric TTS) in which parameters representing voice features constituting a sentence to be synthesized are synthesized into a voice corresponding to the sentence using a vocoder.

한편, 최근에는 인공신경망(artificial neural network) 기반의 음성 합성 방법이 활발히 연구되고 있으며, 이러한 음성 합성 방법에 따라 합성된 음성은, 기존의 방법에 비해 자연스러운 음성 특징을 포함하고 있다. 하지만, 종래의 음성 합성 방법에서, 입력 텍스트의 길이나 참조 음성의 길이와 관계없이, 미리 고정된 길이의 운율 특징만이 적용되어, 합성되는 음성의 특정 시점에서의 운율이 제어될 수 없었다. 그 이유는, 고정된 길이의 특징이 참조 음성에 억지로 적용할 때 시간상 정보의 손실이 일어나는 확률은 상당히 높기 때문이다. 이에 따라, 종래의 음성 합성 방법은 사람들의 의도 또는 감정을 정확히 나타내기 위하여, 합성 음성에 대한 미세한 운율의 제어를 제공할 수 없었다. Meanwhile, recently, an artificial neural network-based voice synthesis method has been actively researched, and a voice synthesized according to such a voice synthesis method includes natural voice characteristics compared to conventional methods. However, in the conventional voice synthesis method, only a prosody feature of a fixed length is applied regardless of the length of the input text or the length of the reference voice, so that the prosody of the synthesized voice at a specific time point cannot be controlled. The reason is that the probability of loss of information in time is very high when a feature of a fixed length is forcibly applied to a reference voice. Accordingly, conventional voice synthesis methods cannot provide fine prosody control for synthesized voices in order to accurately represent people's intentions or emotions.

또한, 소스 화자의 음의 높이(pitch) 범위와 대상 화자의 음의 높이 사이의 차이가 클 경우, 소스 화자의 운율 특징을 대상 화자로 반영하기 어려울 수 있다. 예를 들어, 소스 화자가 여자이고 대상 화자가 남자인 경우, 소스 화자의 운율을 대상 화자의 음성에 합성하면, 대상 화자의 합성 음성이 보통의 음의 높이 보다 더 높은 음의 높이를 가질 수 있었다. 이러한 사정을 고려하면, 운율 특징을 반영한 합성 음성의 퀄리티를 향상시키기 위하여 인공신경망 모델에 운율 특징을 적용하기 이전에, 운율 특징을 전처리하는 것이 요구될 수 있다. In addition, when the difference between the pitch range of the source speaker and the pitch of the target speaker is large, it may be difficult to reflect the prosody characteristics of the source speaker to the target speaker. For example, when the source speaker is a woman and the target speaker is a man, if the source speaker's rhyme is synthesized with the target speaker's voice, the synthesized voice of the target speaker can have a higher pitch than the normal pitch. . Considering these circumstances, it may be required to pre-process the prosody features before applying the prosody features to the artificial neural network model in order to improve the quality of synthesized speech reflecting the prosody features.

본 개시에 따른 방법 및 장치는 상기와 같은 문제점을 해결하기 위한 시간에 따른 운율 특징을 가진 순차적 운율 특징이 반영된 입력 텍스트에 대한 출력 음성 데이터를 생성할 수 있다.The method and apparatus according to the present disclosure may generate output voice data for input text in which sequential prosody characteristics having prosody characteristics according to time are reflected in order to solve the above problems.

또한, 본 개시에 따른 방법 및 장치는 순차적 운율 특징은 인공신경망 텍스트-음성 합성 모델의 인코더 및 디코더 중 적어도 하나에 입력될 수 있으며, 가변적인 길이의 순차적 운율 특징을 입력 텍스트의 길이 및/또는 합성 음성의 길이에 맞추기 위하여 어텐션(attention) 모듈이 사용될 수 있다.In addition, in the method and apparatus according to the present disclosure, sequential prosody features may be input to at least one of an encoder and a decoder of an artificial neural network text-speech synthesis model, and sequential prosody features of variable length may be input to the length and/or synthesis of input text. An attention module may be used to match the length of the voice.

또한, 본 개시에 따른 방법 및 장치는 순차적 운율 특징에 대응되는 복수의 임베딩 벡터를 정규화하고, 정규화된 복수의 임베딩 벡터를 인공신경망 텍스트-음성 합성 모델에 적용할 수 있다. In addition, the method and apparatus according to the present disclosure may normalize a plurality of embedding vectors corresponding to sequential prosody features and apply the normalized plurality of embedding vectors to an artificial neural network text-speech synthesis model.

본 개시는 방법, 시스템, 장치 또는 명령어들을 저장하는 컴퓨터 판독가능 저장 매체를 포함한 다양한 방식으로 구현될 수 있다.The present disclosure may be implemented in a variety of ways, including a method, system, apparatus or computer readable storage medium storing instructions.

본 개시의 일 실시예에 따른 순차적 운율 특징을 기초로 기계학습을 이용한 텍스트-음성 합성(text-to-speech synthesis) 방법은 입력 텍스트를 수신하는 단계, 순차적 운율(sequential prosody) 특징을 수신하는 단계 및 입력 텍스트 및 수신된 순차적 운율 특징을 인공신경망 텍스트-음성 합성 모델에 입력하여, 수신된 순차적 운율 특징이 반영된 입력 텍스트에 대한 출력 음성 데이터를 생성하는 단계를 포함할 수 있다.A text-to-speech synthesis method using machine learning based on sequential prosody features according to an embodiment of the present disclosure includes receiving input text and receiving sequential prosody features. and inputting the input text and the received sequential prosody features into an artificial neural network text-speech synthesis model to generate output voice data for the input text reflecting the received sequential prosody features.

본 개시의 일 실시예에 따른 순차적 운율 특징을 기초로 기계학습을 이용한 텍스트-음성 합성 방법의 인공신경망 텍스트-음성 합성 모델은, 복수의 학습 텍스트 및 복수의 학습 텍스트에 대응하는 학습 음성을 나타내는 데이터에 기초하여 기계학습을 수행하여 생성되고, 학습 음성을 나타내는 데이터는 학습 음성의 순차적 운율 특징을 포함할 수 있다. An artificial neural network text-speech synthesis model of a text-speech synthesis method using machine learning based on sequential prosody features according to an embodiment of the present disclosure includes data representing a plurality of learning texts and learning voices corresponding to the plurality of learning texts. Data that is generated by performing machine learning based on and representing the learning voice may include sequential prosody features of the learning voice.

본 개시의 일 실시예에 따른 순차적 운율 특징을 기초로 기계학습을 이용한 텍스트-음성 합성 방법의 순차적 운율 특징은, 프레임, 글자(character), 음소, 음절 또는 단어 중 적어도 하나의 단위에 대응되는 운율 정보를 시간 순으로 포함하고, 운율 정보는, 소리의 크기에 대한 정보, 소리의 높이에 대한 정보, 소리의 길이에 대한 정보, 소리의 휴지 기간에 대한 정보 또는 소리의 스타일에 대한 정보 중 적어도 하나를 포함할 수 있다. The sequential prosody feature of the text-speech synthesis method using machine learning based on the sequential prosody feature according to an embodiment of the present disclosure is a prosody corresponding to at least one unit of a frame, a character, a phoneme, a syllable, or a word. information in chronological order, and the prosody information includes at least one of information about loudness, information about pitch, information about length of sound, information about pause period of sound, or information about style of sound can include

본 개시의 일 실시예에 따른 순차적 운율 특징을 기초로 기계학습을 이용한 텍스트-음성 합성 방법의 순차적 운율 특징을 수신하는 단계는 순차적인 운율 특징을 나타내는 복수의 임베딩 벡터를 수신하는 단계를 포함하고, 복수의 임베딩 벡터의 각각은 시간 순으로 포함된 운율 정보에 대응될 수 있다.The step of receiving the sequential prosody features of the text-speech synthesis method using machine learning based on the sequential prosody features according to an embodiment of the present disclosure includes receiving a plurality of embedding vectors representing the sequential prosody features, Each of the plurality of embedding vectors may correspond to prosody information included in chronological order.

본 개시의 일 실시예에 따른 순차적 운율 특징을 기초로 기계학습을 이용한 텍스트-음성 합성 방법의 인공신경망 텍스트-음성 합성 모델은 인코더 및 디코더를 포함하고, 순차적 운율 특징을 기초로 기계학습을 이용한 텍스트-음성 합성 방법은 수신된 복수의 임베딩 벡터를 어텐션 모듈에 입력하여, 인코더에 제공된 입력 텍스트의 각 부분들과 대응되는 복수의 변환 임베딩 벡터를 생성하는 단계를 더 포함하고, 복수의 변환 임베딩 벡터의 길이는 입력 텍스트의 길이에 따라 가변적이고, 입력 텍스트에 대한 출력 음성 데이터를 생성하는 단계는, 생성된 복수의 변환 임베딩 벡터를 인공신경망 텍스트-음성 합성 모델의 인코더에 입력하는 단계 및 복수의 변환 임베딩 벡터가 반영된 입력 텍스트에 대한 출력 음성 데이터를 생성하는 단계를 포함할 수 있다. An artificial neural network text-speech synthesis model of a text-speech synthesis method using machine learning based on sequential prosody features according to an embodiment of the present disclosure includes an encoder and a decoder, and includes an encoder and a decoder, and includes text using machine learning based on sequential prosody features. -The speech synthesis method further comprises generating a plurality of transform embedding vectors corresponding to respective parts of the input text provided to the encoder by inputting the received plurality of embedding vectors to an attention module, and generating a plurality of transform embedding vectors of the plurality of transform embedding vectors The length is variable according to the length of the input text, and the step of generating output voice data for the input text includes inputting the generated plurality of transform embedding vectors to an encoder of an artificial neural network text-speech synthesis model and a plurality of transform embeddings. It may include generating output voice data for the input text to which the vector is reflected.

본 개시의 일 실시예에 따른 순차적 운율 특징을 기초로 기계학습을 이용한 텍스트-음성 합성 방법의 인공신경망 텍스트-음성 합성 모델은 인코더 및 디코더를 포함하고, 입력 텍스트에 대한 출력 음성 데이터를 생성하는 단계는, 수신된 복수의 임베딩 벡터를 인공신경망 텍스트-음성 합성 모델의 디코더에 입력하는 단계 및 복수의 임베딩 벡터가 반영된 입력 텍스트에 대한 출력 음성 데이터를 생성하는 단계를 포함할 수 있다. An artificial neural network text-speech synthesis model of a text-speech synthesis method using machine learning based on sequential prosody features according to an embodiment of the present disclosure includes an encoder and a decoder, and generates output voice data for input text. may include inputting a plurality of received embedding vectors to a decoder of an artificial neural network text-speech synthesis model and generating output speech data for input text in which the plurality of embedding vectors are reflected.

본 개시의 일 실시예에 따른 순차적 운율 특징을 기초로 기계학습을 이용한 텍스트-음성 합성 방법은 화자의 발성 특징을 수신하는 단계를 더 포함하고, 입력 텍스트에 대한 출력 음성 데이터를 생성하는 단계는 화자의 음성을 모사하고 순차적 운율 특징을 나타내는 복수의 임베딩 벡터가 반영된 입력 텍스트에 대한 출력 음성 데이터를 생성하는 단계를 포함할 수 있다.A text-to-speech synthesis method using machine learning based on sequential prosody features according to an embodiment of the present disclosure further includes receiving vocal characteristics of a speaker, and generating output voice data for input text. and generating output voice data for the input text in which a plurality of embedding vectors representing sequential prosody characteristics are reflected.

본 개시의 일 실시예에 따른 순차적 운율 특징을 기초로 기계학습을 이용한 텍스트-음성 합성 방법의 화자의 발성 특징을 수신하는 단계는 화자의 순차적 운율 특징을 수신하는 단계를 포함하고, 복수의 임베딩 벡터를 추출하는 단계는 화자의 순차적 운율 특징에 기초하여 추출된 복수의 임베딩 벡터를 정규화하는 단계를 포함하고, 입력 텍스트에 대한 출력 음성 데이터를 생성하는 단계는 화자의 음성을 모사하고 정규화된 복수의 임베딩 벡터가 반영된 입력 텍스트에 대한 출력 음성 데이터를 생성하는 단계를 포함할 수 있다.The step of receiving vocalization characteristics of a speaker of a text-to-speech synthesis method using machine learning based on sequential prosody characteristics according to an embodiment of the present disclosure includes receiving sequential prosody characteristics of the speaker, and includes a plurality of embedding vectors. The step of extracting includes normalizing the plurality of embedding vectors extracted based on the speaker's sequential prosody features, and the step of generating output speech data for the input text simulates the speaker's voice and normalizes the plurality of embedding vectors. It may include generating output voice data for the input text to which the vector is reflected.

본 개시의 일 실시예에 따른 순차적 운율 특징을 기초로 기계학습을 이용한 텍스트-음성 합성 방법의 추출된 복수의 임베딩 벡터를 정규화하는 단계는, 각 시간 단계에서 화자의 순차적 운율 특징을 나타내는 임베딩 벡터의 평균값을 산출하는 단계 및 추출된 복수의 임베딩 벡터를 각 시간 단계에서 산출된 임베딩 벡터의 평균값으로 감산하는 단계를 포함할 수 있다. The step of normalizing the extracted plurality of embedding vectors of the text-speech synthesis method using machine learning based on the sequential prosody features according to an embodiment of the present disclosure includes: Calculating an average value and subtracting the plurality of extracted embedding vectors by the average value of the embedding vectors calculated at each time step may be included.

본 개시의 일 실시예에 따른 순차적 운율 특징을 기초로 기계학습을 이용한 텍스트-음성 합성 방법의 순차적 운율 특징을 수신하는 단계는, 입력 텍스트의 적어도 일부에 대한 운율 정보를 사용자 인터페이스를 통해 수신하는 단계를 포함하고,, 수신된 순차적 운율 특징이 반영된 입력 텍스트에 대한 출력 음성 데이터를 생성하는 단계는 입력 텍스트의 적어도 일부에 대한 운율 정보가 반영된 입력 텍스트에 대한 출력 음성 데이터를 생성하는 단계를 포함할 수 있다.Receiving sequential prosody features of a text-to-speech synthesis method using machine learning based on sequential prosody features according to an embodiment of the present disclosure includes receiving prosodic information on at least a part of input text through a user interface. And, generating output voice data for the input text in which the received sequential prosody characteristics are reflected may include generating output voice data for the input text in which prosody information for at least a part of the input text is reflected. there is.

본 개시의 일 실시예에 따르면, 입력 텍스트의 적어도 일부에 대한 운율 정보는 음성 합성 마크업 언어에서 제공되는 태그를 통해 입력될 수 있다. According to an embodiment of the present disclosure, prosody information for at least a part of the input text may be input through a tag provided in a speech synthesis markup language.

본 개시의 일 실시예에 따른 순차적 운율 특징을 기초로 기계학습을 이용한 텍스트-음성 합성 방법은 입력 텍스트의 적어도 일부에 대한 운율 정보를 사용자 인터페이스를 통해 수신받는 단계 및 수신된 입력 텍스트의 적어도 일부에 대한 운율 정보를 기초로 수신된 순차적 운율 특징을 변경하는 단계를 더 포함할 수 있고, 수신된 순차적 운율 특징이 반영된 입력 텍스트에 대한 출력 음성 데이터를 생성하는 단계는, 변경된 순차적 운율 특징이 반영된 입력 텍스트에 대한 출력 음성 데이터를 생성하는 단계를 포함할 수 있다. A text-to-speech synthesis method using machine learning based on sequential prosody features according to an embodiment of the present disclosure includes receiving prosody information for at least a portion of input text through a user interface, and performing the steps of receiving prosody information on at least a portion of the received input text. The method may further include changing the received sequential prosody characteristics based on prosody information for the received sequential prosody, and generating output voice data for the input text to which the received sequential prosody characteristics are reflected includes the input text to which the changed sequential prosody characteristics are reflected. It may include generating output voice data for.

본 개시의 일 실시예에 따르면, 수신된 순차적 운율 특징을 변경하는데 사용되는, 입력 텍스트의 적어도 일부에 대한 운율 정보는 음성 합성 마크업 언어에서 제공되는 태그를 통해 입력될 수 있다. According to an embodiment of the present disclosure, prosody information for at least a part of the input text, which is used to change the received sequential prosody characteristic, may be input through a tag provided in a speech synthesis markup language.

또한, 상술한 바와 같은 순차적 운율 특징을 기초로 기계학습을 이용한 텍스트-음성 합성 방법을 구현하기 위한 프로그램은 컴퓨터로 판독 가능한 기록 매체에 기록될 수 있다.In addition, a program for implementing a text-speech synthesis method using machine learning based on sequential prosody characteristics as described above may be recorded on a computer-readable recording medium.

또한, 상술한 바와 같은 순차적 운율 특징을 기초로 기계학습을 이용한 텍스트-음성 합성 방법과 연관된 장치 및 기술적 수단 등이 또한 개시될 수 있다. In addition, devices and technical means related to the text-to-speech synthesis method using machine learning based on sequential prosody characteristics as described above may also be disclosed.

본 개시의 일부 실시예들에 따르면, 시간에 따른 운율 정보를 포함하고 가변적인 길이를 가진 순차적 운율 특징을 기초로 기계학습을 이용한 텍스트-음성 합성이 제공되기 때문에, 합성 음성에 대한 미세한 운율의 제어가 가능하여, 음성 합성을 통한 사람의 의도 또는 감정을 보다 정확히 전달할 수 있다.According to some embodiments of the present disclosure, since text-to-speech synthesis using machine learning is provided based on a sequential prosody feature that includes prosody information over time and has a variable length, fine prosodic control over synthesized speech is provided. is possible, so that a person's intention or emotion can be more accurately conveyed through voice synthesis.

본 개시의 일부 실시예들에 따르면, 가변적인 길이의 순차적 운율 특징을 인공신경망 텍스트-음성 합성 모델의 인코더 및 디코더 중 적어도 하나에 적용함에 있어서 어텐션을 사용하여 순차적 운율 특징을 입력 텍스트 및/또는 합성 음성의 길이에 대응되도록 조절할 수 있기 때문에, 가변적인 길이의 순차적 운율 특징이 그 길이에 상관없이 입력 텍스트 및/또는 합성 음성에 효과적으로 적용될 수 있다. According to some embodiments of the present disclosure, in applying sequential prosody features of variable length to at least one of an encoder and a decoder of an artificial neural network text-speech synthesis model, attention is used to synthesize sequential prosody features into input text and/or Since it can be adjusted to correspond to the length of voice, sequential prosody features of variable length can be effectively applied to input text and/or synthesized voice regardless of its length.

본 개시의 일부 실시예에 따르면, 순차적 운율 특징을 인공신경망 텍스트-음성 합성 모델에 적용하기 이전에, 순차적 운율 특징에 대응하는 복수의 임베딩 벡터를 정규화하는 전처리를 수행하기 때문에, 한 사람의 운율 특징을 다른 사람의 합성 음성에 적용하는 경우, 운율 특징이 반영된 합성 음성의 퀄리티를 더욱 향상시킬 수 있다. According to some embodiments of the present disclosure, prior to applying the sequential prosody features to the artificial neural network text-speech synthesis model, since preprocessing of normalizing a plurality of embedding vectors corresponding to the sequential prosody features is performed, the prosody features of one person When applied to another person's synthesized voice, the quality of the synthesized voice in which prosody characteristics are reflected can be further improved.

본 개시의 실시예들은, 이하 설명하는 첨부 도면들을 참조하여 설명될 것이며, 여기서 유사한 참조 번호는 유사한 요소들을 나타내지만, 이에 한정되지는 않는다.
도 1은 본 개시의 일 실시예에 따른 음성 합성기에 의해 입력 텍스트 및 순차적 운율 특징을 입력받아 합성 음성을 출력하는 과정을 나타내는 예시도이다.
도 2는 본 개시의 일 실시예에 따른 음성 합성기에 의해 순차적 운율 특징 추출기로부터 추출된 순차적 운율 특징 및 입력 텍스트를 이용하여 합성 음성을 출력하는 과정을 나타내는 예시도이다.
도 3은 본 개시의 일 실시예에 따른 음성 합성기에 의해 순차적 운율 특징 및 화자의 발성 특징을 입력 텍스트에 적용하여 합성 음성을 출력하는 과정을 나타내는 예시도이다.
도 4는 본 개시의 일 실시예에 따른 텍스트-음성 합성 시스템의 블록도이다.
도 5는 본 개시의 일 실시예에 따른 순차적 운율 특징을 기초로 기계학습을 이용한 텍스트-음성 합성 방법을 나타내는 흐름도이다.
도 6은 본 개시의 일 실시예에 따른 인공신경망 기반의 텍스트-음성 합성 시스템의 구성을 나타내는 예시도이다.
도 7은 본 개시의 일 실시예에 따른 인공신경망 기반의 텍스트-음성 합성 시스템에서, 순차적 운율 특징을 텍스트-음성 합성 시스템의 디코더에 입력하여 합성 음성을 생성하는 과정을 보여주는 예시도이다.
도 8은 본 개시의 일 실시예에 따른 인공신경망 기반의 텍스트-음성 합성 시스템에서, 순차적 운율 특징을 텍스트-음성 합성 시스템의 인코더에 입력하여 합성 음성을 생성하는 과정을 보여주는 예시도이다.
도 9은 본 개시의 일 실시예에 따른 음성 신호 또는 샘플으로부터 순차적 운율 특징을 나타내는 복수의 임베딩 벡터를 추출하도록 구성된 순차적 운율 특징 추출부의 네트워크를 나타내는 예시도이다.
도 10는 본 개시의 일 실시예에 따른 마크업 언어에서 제공되는 태크를 입력 텍스트에 적용하여 합성 음성을 출력하는 텍스트-음성 합성 시스템의 개요도이다.
도 11은 본 개시의 일 실시예에 따른 텍스트-음성 합성 시스템의 블록도이다.
Embodiments of the present disclosure will be described with reference to the accompanying drawings described below, wherein like reference numbers indicate like elements, but are not limited thereto.
1 is an exemplary diagram illustrating a process of outputting a synthesized voice by receiving input text and sequential prosody characteristics by a voice synthesizer according to an embodiment of the present disclosure.
2 is an exemplary diagram illustrating a process of outputting a synthesized voice using sequential prosody features extracted from a sequential prosody feature extractor and input text by a voice synthesizer according to an embodiment of the present disclosure.
3 is an exemplary diagram illustrating a process of outputting a synthesized voice by applying sequential prosody characteristics and vocalization characteristics of a speaker to input text by a voice synthesizer according to an embodiment of the present disclosure.
4 is a block diagram of a text-to-speech synthesis system according to an embodiment of the present disclosure.
5 is a flowchart illustrating a text-to-speech synthesis method using machine learning based on sequential prosody characteristics according to an embodiment of the present disclosure.
6 is an exemplary diagram illustrating the configuration of a text-speech synthesis system based on an artificial neural network according to an embodiment of the present disclosure.
7 is an exemplary diagram illustrating a process of generating synthesized speech by inputting sequential prosody features to a decoder of the text-speech synthesis system based on an artificial neural network according to an embodiment of the present disclosure.
8 is an exemplary diagram illustrating a process of generating a synthesized voice by inputting sequential prosody characteristics to an encoder of the text-to-speech synthesis system based on an artificial neural network according to an embodiment of the present disclosure.
9 is an exemplary diagram illustrating a network of sequential prosody feature extractors configured to extract a plurality of embedding vectors representing sequential prosody features from a speech signal or sample according to an embodiment of the present disclosure.
10 is a schematic diagram of a text-to-speech synthesis system for outputting a synthesized voice by applying a tag provided in a markup language to input text according to an embodiment of the present disclosure.
11 is a block diagram of a text-to-speech synthesis system according to an embodiment of the present disclosure.

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

본 명세서에서 사용되는 용어에 대해 간략히 설명하고, 개시된 실시예에 대해 구체적으로 설명하기로 한다. Terms used in this specification will be briefly described, and the disclosed embodiments will be described in detail.

본 명세서에서 사용되는 용어는 본 개시에서의 기능을 고려하면서 가능한 현재 널리 사용되는 일반적인 용어들을 선택하였으나, 이는 관련 분야에 종사하는 기술자의 의도 또는 판례, 새로운 기술의 출현 등에 따라 달라질 수 있다. 또한, 특정한 경우는 출원인이 임의로 선정한 용어도 있으며, 이 경우 해당되는 발명의 설명 부분에서 상세히 그 의미를 기재할 것이다. 따라서 본 개시에서 사용되는 용어는 단순한 용어의 명칭이 아닌, 그 용어가 가지는 의미와 본 개시의 전반에 걸친 내용을 토대로 정의되어야 한다. The terms used in this specification have been selected from general terms that are currently widely used as much as possible while considering the functions in the present disclosure, but they may vary according to the intention of a person skilled in the related field, a precedent, or the emergence of new technologies. In addition, in a specific case, there is also a term arbitrarily selected by the applicant, and in this case, the meaning will be described in detail in the description of the invention. Therefore, terms used in the present disclosure should be defined based on the meaning of the term and the general content of the present disclosure, not simply the name of the term.

본 명세서에서의 단수의 표현은 문맥상 명백하게 단수인 것으로 특정하지 않는 한, 복수의 표현을 포함한다. 또한 복수의 표현은 문맥상 명백하게 복수인 것으로 특정하지 않는 한, 단수의 표현을 포함한다.Expressions in the singular number in this specification include plural expressions unless the context clearly dictates that they are singular. Also, plural expressions include singular expressions unless the context clearly specifies that they are plural.

명세서 전체에서 어떤 부분이 어떤 구성요소를 '포함'한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있음을 의미한다. When it is said that a certain part 'includes' a certain element in the entire specification, it means that other elements may be further included without excluding other elements unless otherwise stated.

또한, 명세서에서 사용되는 '부' 또는 '모듈'이라는 용어는 소프트웨어 또는 하드웨어 구성요소를 의미하며, '부' 또는 '모듈'은 어떤 역할들을 수행한다. 그렇지만 '부' 또는 '모듈'은 소프트웨어 또는 하드웨어에 한정되는 의미는 아니다. '부' 또는 '모듈'은 어드레싱할 수 있는 저장 매체에 있도록 구성될 수도 있고 하나 또는 그 이상의 프로세서들을 재생시키도록 구성될 수도 있다. 따라서, 일 예로서 '부' 또는 '모듈'은 소프트웨어 구성요소들, 객체지향 소프트웨어 구성요소들, 클래스 구성요소들 및 태스크 구성요소들과 같은 구성요소들과, 프로세스들, 함수들, 속성들, 프로시저들, 서브루틴들, 프로그램 코드의 세그먼트들, 드라이버들, 펌웨어, 마이크로 코드, 회로, 데이터, 데이터베이스, 데이터 구조들, 테이블들, 어레이들 및 변수들을 포함한다. 구성요소들과 '부' 또는 '모듈'들 안에서 제공되는 기능은 더 작은 수의 구성요소들 및 '부' 또는 '모듈'들로 결합되거나 추가적인 구성요소들과 '부' 또는 '모듈'들로 더 분리될 수 있다.Also, the term 'unit' or 'module' used in the specification means a software or hardware component, and the 'unit' or 'module' performs certain roles. However, 'unit' or 'module' is not meant to be limited to software or hardware. A 'unit' or 'module' may be configured to reside in an addressable storage medium and may be configured to reproduce one or more processors. Thus, as an example, 'unit' or 'module' includes components such as software components, object-oriented software components, class components and task components, processes, functions, properties, procedures, subroutines, segments of program code, drivers, firmware, microcode, circuitry, data, databases, data structures, tables, arrays and variables. Functions provided within components and 'units' or 'modules' may be combined into smaller numbers of components and 'units' or 'modules', or may be combined into additional components and 'units' or 'modules'. can be further separated.

본 개시의 일 실시예에 따르면 '부' 또는 '모듈'은 프로세서 및 메모리로 구현될 수 있다. 용어 '프로세서' 는 범용 프로세서, 중앙 처리 장치 (CPU), 마이크로프로세서, 디지털 신호 프로세서 (DSP), 제어기, 마이크로제어기, 상태 머신 등을 포함하도록 넓게 해석되어야 한다. 몇몇 환경에서는, '프로세서' 는 주문형 반도체 (ASIC), 프로그램가능 로직 디바이스 (PLD), 필드 프로그램가능 게이트 어레이 (FPGA) 등을 지칭할 수도 있다. 용어 '프로세서' 는, 예를 들어, DSP 와 마이크로프로세서의 조합, 복수의 마이크로프로세서들의 조합, DSP 코어와 결합한 하나 이상의 마이크로프로세서들의 조합, 또는 임의의 다른 그러한 구성들의 조합과 같은 처리 디바이스들의 조합을 지칭할 수도 있다.According to an embodiment of the present disclosure, a 'unit' or 'module' may be implemented as a processor and a memory. The term 'processor' should be interpreted broadly to include general-purpose processors, central processing units (CPUs), microprocessors, digital signal processors (DSPs), controllers, microcontrollers, state machines, and the like. In some circumstances, 'processor' may refer to an application specific integrated circuit (ASIC), programmable logic device (PLD), field programmable gate array (FPGA), or the like. The term 'processor' refers to a combination of processing devices, such as, for example, a combination of a DSP and a microprocessor, a combination of a plurality of microprocessors, a combination of one or more microprocessors in conjunction with a DSP core, or any other such configuration. may also refer to

용어 '메모리' 는 전자 정보를 저장 가능한 임의의 전자 컴포넌트를 포함하도록 넓게 해석되어야 한다. 용어 메모리는 임의 액세스 메모리 (RAM), 판독-전용 메모리 (ROM), 비-휘발성 임의 액세스 메모리 (NVRAM), 프로그램가능 판독-전용 메모리 (PROM), 소거-프로그램가능 판독 전용 메모리 (EPROM), 전기적으로 소거가능 PROM (EEPROM), 플래쉬 메모리, 자기 또는 광학 데이터 저장장치, 레지스터들 등과 같은 프로세서-판독가능 매체의 다양한 유형들을 지칭할 수도 있다. 프로세서가 메모리로부터 정보를 판독하고/하거나 메모리에 정보를 기록할 수 있다면 메모리는 프로세서와 전자 통신 상태에 있다고 불린다. 프로세서에 집적된 메모리는 프로세서와 전자 통신 상태에 있다.The term 'memory' should be interpreted broadly to include any electronic component capable of storing electronic information. The term memory includes random access memory (RAM), read-only memory (ROM), non-volatile random access memory (NVRAM), programmable read-only memory (PROM), erasable-programmable read-only memory (EPROM), electrical may refer to various types of processor-readable media, such as erasable PROM (EEPROM), flash memory, magnetic or optical data storage, registers, and the like. A memory is said to be in electronic communication with the processor if the processor can read information from and/or write information to the memory. Memory integrated with the processor is in electronic communication with the processor.

본 개시에서, '순차적 운율 특징'은 프레임, 음소, 글자, 음절 또는 단어 중 적어도 하나의 단위에 대응되는 운율 정보를 시간 순으로 포함할 수 있다. 여기서, 운율 정보는 소리의 크기에 대한 정보, 소리의 높이에 대한 정보, 소리의 길이에 대한 정보, 소리의 휴지 기간에 대한 정보 또는 소리의 스타일에 대한 정보 중 적어도 하나를 포함할 수 있다. 또한, 소리의 스타일은 소리 또는 음성이 나타내는 임의의 양식, 방식 또는 뉘앙스를 포함할 수 있으며, 예를 들어, 소리 또는 음성에 내재된 어조, 억양, 감정 등이 포함될 수 있다. 또한 순차적 운율 특징은 복수의 임베딩 벡터로 표현될 수 있는데, 복수의 임베딩 벡터의 각각은 시간 순으로 포함된 운율 정보에 대응될 수 있다. In the present disclosure, 'sequential prosody features' may include prosody information corresponding to at least one unit of a frame, a phoneme, a letter, a syllable, or a word in chronological order. Here, the prosody information may include at least one of information about loudness, information about pitch, information about length of sound, information about a pause period of sound, or information about style of sound. In addition, the sound style may include any form, manner, or nuance expressed by the sound or voice, and may include, for example, tone, intonation, emotion, etc. inherent in the sound or voice. In addition, sequential prosody features may be represented by a plurality of embedding vectors, and each of the plurality of embedding vectors may correspond to prosody information included in chronological order.

아래에서는 첨부한 도면을 참고하여 실시예에 대하여 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 그리고 도면에서 본 개시를 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략한다.Hereinafter, with reference to the accompanying drawings, embodiments will be described in detail so that those skilled in the art can easily carry out the embodiments. And in order to clearly describe the present disclosure in the drawings, parts irrelevant to the description are omitted.

도 1은 본 개시의 일 실시예에 따른 음성 합성기(110)에 의해 입력 텍스트(120) 및 순차적 운율 특징(130)을 입력받아 합성 음성(140)을 출력하는 과정을 나타내는 예시도이다. 음성 합성기(110)는 인공신경망 텍스트-음성 합성 모델을 이용하여 입력된 텍스트에 대응하는 합성 음성을 출력하도록 구성될 수 있다. 여기서, 인공신경망 텍스트-음성 합성 모델은 단일 인공신경망 텍스트-음성 합성 모델일 수 있다. 일 실시예에서, 음성 합성기(110)는 도 4의 데이터 인식부(455) 및/또는 도 10의 데이터 인식부(1020)에 대응될 수 있다. 또한, 음성 합성기(110)는 사용자 단말기 또는 텍스트-음성 합성 시스템에 포함되거나 제공될 수 있다. 1 is an exemplary diagram illustrating a process of outputting a synthesized voice 140 by receiving input text 120 and sequential prosody features 130 by a voice synthesizer 110 according to an embodiment of the present disclosure. The voice synthesizer 110 may be configured to output a synthesized voice corresponding to input text using an artificial neural network text-speech synthesis model. Here, the artificial neural network text-speech synthesis model may be a single artificial neural network text-speech synthesis model. In one embodiment, the voice synthesizer 110 may correspond to the data recognizer 455 of FIG. 4 and/or the data recognizer 1020 of FIG. 10 . Also, the voice synthesizer 110 may be included or provided in a user terminal or a text-to-speech synthesis system.

일 실시예에 따르면, 음성 합성기(110)에 입력되는 텍스트는 임의의 인터페이스(미도시)를 통해 수신된 텍스트를 포함할 수 있다. 다른 실시예에 따르면, 음성 인식기(미도시)는 특정 음성을 입력받아, 입력된 음성에 대응하는 문자로 변환할 수 있으며, 변환된 문자를 음성 합성기(110)에 입력 텍스트로서 제공할 수 있다. 이에 따라, 도 1에 도시된 바와 같이, 음성 합성기(110)는 'HELLO'라는 문자를 인터페이스 또는 음성 인식기를 통해 텍스트 입력으로써 수신할 수 있다. According to one embodiment, text input to the voice synthesizer 110 may include text received through an arbitrary interface (not shown). According to another embodiment, the voice recognizer (not shown) may receive a specific voice, convert it into text corresponding to the input voice, and provide the converted text to the voice synthesizer 110 as input text. Accordingly, as shown in FIG. 1 , the voice synthesizer 110 may receive the text 'HELLO' as a text input through an interface or a voice recognizer.

일 실시예에 따르면, 음성 합성기(110)는 순차적 운율 특징을 수신하도록 구성될 수 있다. 여기서, 순차적 운율 특징은 미리 결정된 시간 단위에 따라 각 시간 단위의 운율 정보를 포함할 수 있다. 도 1에 도시된 바와 같이, 순차적 운율 특징은 소리의 높이에 대한 정보를 포함할 수 있으며, 예를 들어, '11113'이라는 시간에 따른 피치(pitch)를 나타내는 정보를 포함할 수 있다. 일 실시예에 따르면, 이러한 순차적 운율 특징은 소리에 대한 운율 특징을 추출할 수 있는 임의의 추출기로부터 추출되거나 결정될 수 있고, 예를 들어, 피치 트랙커(pitch tracker)로부터 추출될 수 있다. 다른 실시예에 따르면, 음성 합성기(110)는 소리에 대한 순차적 운율 정보를 나타내는 임의의 정보를 수신할 수 있으며, 예를 들어, 악보가 나타내는 정보를 수신할 수 있다. 또 다른 실시예에 따르면, 음성 합성기(110)는 임의의 장치로부터 입력된 텍스트에 대한 시간에 따른 음성 합성 마크업 언어(speech synthesis markup language)로 표현된 속성값에 대응하는 순차적인 운율 특징을 수신할 수 있다. 이러한 속성값과 관련하여 이하에서 도 9를 참조하여 상세히 설명된다. According to one embodiment, voice synthesizer 110 may be configured to receive sequential prosodic features. Here, the sequential prosody feature may include prosody information of each time unit according to a predetermined time unit. As shown in FIG. 1 , the sequential prosody feature may include information about the pitch of a sound, and may include, for example, information indicating a pitch according to time, '11113'. According to one embodiment, these sequential prosodic features may be extracted or determined from any extractor capable of extracting prosodic features for sounds, for example extracted from a pitch tracker. According to another embodiment, the voice synthesizer 110 may receive arbitrary information representing sequential prosody information for sounds, for example, information representing musical scores. According to another embodiment, the speech synthesizer 110 receives sequential prosodic features corresponding to attribute values expressed in a speech synthesis markup language according to time for text input from an arbitrary device. can do. These attribute values will be described in detail with reference to FIG. 9 below.

음성 합성기(110)는 수신된 순차적 운율 특징이 반영된 입력 텍스트에 대한 출력 데이터를 생성하도록 구성될 수 있다. 이를 위해, 음성 합성기(110)는 순차적 운율 특징이 나타내는 시간 순에 따른 운율 정보를 입력 텍스트에 적용할 수 있다. 예를 들어, 도 1에 도시된 바와 같이, 음성 합성기(110)는 입력 텍스트 'HELLO'에 수신된 시간에 따른 피치를 나타내는 정보인 '11113'을 반영하여 출력 음성 데이터를 생성할 수 있다. 즉, 음성 합성기(110)는 입력 텍스트의 마지막 글자(character)인 'o'의 피치를 다른 글자보다 더 높인 의문형 텍스트인 'HELLO?'에 대응하는 출력 음성을 생성할 수 있다. 이렇게 생성된 음성은 스피커 등과 같은 출력 장치를 통해 출력되거나 I/O 장치를 가진 다른 장치로 전송될 수 있다. Speech synthesizer 110 may be configured to generate output data for input text in which the received sequential prosody characteristics are reflected. To this end, the voice synthesizer 110 may apply prosody information in chronological order represented by sequential prosody features to the input text. For example, as shown in FIG. 1 , the voice synthesizer 110 may generate output voice data by reflecting '11113', which is information indicating a pitch according to time, to the input text 'HELLO'. That is, the voice synthesizer 110 may generate an output voice corresponding to 'HELLO?', an interrogative text in which the pitch of 'o', the last character of the input text, is higher than that of other characters. The generated voice may be output through an output device such as a speaker or transmitted to another device having an I/O device.

도 2는 본 개시의 일 실시예에 따른 음성 합성기(110)에 의해 순차적 운율 특징 추출기(230)으로부터 추출된 순차적 운율 특징(210) 및 입력 텍스트(120)를 이용하여 합성 음성(240)을 출력하는 과정을 나타내는 예시도이다. 일 실시예에서, 순차적 운율 특징 추출기(230)는 도 4의 순차적 운율 특징 추출부(410)에 대응될 수 있다. 입력 텍스트(120) 및 음성 합성기(110)에 대해서는 도 1을 참조하여 설명하였으므로, 중복되는 설명은 생략된다.FIG. 2 outputs a synthesized voice 240 using the sequential prosody features 210 and the input text 120 extracted from the sequential prosody feature extractor 230 by the speech synthesizer 110 according to an embodiment of the present disclosure. It is an example diagram showing the process. In one embodiment, the sequential prosody feature extractor 230 may correspond to the sequential prosody feature extractor 410 of FIG. 4 . Since the input text 120 and the voice synthesizer 110 have been described with reference to FIG. 1, duplicate descriptions are omitted.

일 실시예에 따르면, 순차적 운율 특징 추출기(230)는 음성 신호 또는 음성 샘플(220)을 수신하고, 수신된 음성 신호 또는 샘플로부터 순차적 운율 특징(210)을 추출할 수 있다. 여기서, 수신된 음성 신호 또는 샘플은 순차적 운율 특징(210)과 관련된 정보를 나타내는 음성 스펙트럼 데이터를 포함할 수 있으며, 예를 들어, 멜로디, 특정 화자의 음성 등을 포함할 수 있다. According to an embodiment, the sequential prosody feature extractor 230 may receive a voice signal or voice sample 220 and extract a sequential prosody feature 210 from the received voice signal or sample. Here, the received voice signal or sample may include voice spectrum data representing information related to the sequential prosody characteristics 210, and may include, for example, a melody or a specific speaker's voice.

일 실시예에 따르면, 순차적 운율 특징(210)을 추출하는데 있어서, 음성 신호 또는 샘플(220)로부터 순차적 운율 특징(210)을 추출할 수 있는 임의의 알려진 적절한 특징 추출 방법이 사용될 수 있다. 일 실시예에 따르면, 순차적인 운율 특징을 추출하기 위하여 인공신경망 또는 기계학습 모델이 사용될 수 있다. 예를 들어, 순차적 운율 특징 추출기(230)에 사용되는 인공신경망 또는 기계학습 모델은, RNN(recurrent neural network), LSTM(long short-term memory model), DNN(deep neural network), CNN(convolution neural network) 등을 포함하는 다양한 인공신경망 모델 중의 어느 하나 또는 이들의 조합으로 구성될 수 있다. According to one embodiment, in extracting sequential prosody features 210, any known suitable feature extraction method capable of extracting sequential prosody features 210 from a speech signal or sample 220 may be used. According to one embodiment, an artificial neural network or machine learning model may be used to extract sequential prosodic features. For example, the artificial neural network or machine learning model used in the sequential prosody feature extractor 230 includes a recurrent neural network (RNN), a long short-term memory model (LSTM), a deep neural network (DNN), and a convolution neural network (CNN). network), etc., and may be composed of any one or a combination of various artificial neural network models.

순차적 운율 특징 추출기(230)는 수신된 음성 신호 또는 음성 샘플을 인공신경망 운율 특징 모델에 입력하여 순차적인 운율 특징(210)을 나타내는 복수의 특징 벡터(임베딩 벡터)를 추출할 수 있다. 여기서, 복수의 임베딩 벡터의 각각은 미리 결정된 시간 단위(예를 들어, 프레임, 음소, 글자, 음절 또는 단어 등)에 대응될 수 있다. 예를 들어, 이러한 벡터는 MFCC(mel frequency cepstral coefficient), LPC(linear predictive coefficients), PLP(perceptual linear prediction) 등과 같은 다양한 음성 특징 벡터들 중의 하나를 포함할 수 있으나, 이에 한정되는 것은 아니다. 또한, 이렇게 추출된 복수의 임베딩 벡터는 시간 순에 따라 운율 특징 또는 정보를 포함하고 있으므로, 이러한 벡터의 길이는 입력된 음성 샘플의 길이에 따라 가변적이거나 상이할 수 있다. The sequential prosody feature extractor 230 may extract a plurality of feature vectors (embedding vectors) representing the sequential prosody features 210 by inputting the received voice signal or voice sample to an artificial neural network prosody feature model. Here, each of the plurality of embedding vectors may correspond to a predetermined time unit (eg, frame, phoneme, letter, syllable, or word). For example, this vector may include one of various speech feature vectors such as mel frequency cepstral coefficient (MFCC), linear predictive coefficients (LPC), perceptual linear prediction (PLP), etc., but is not limited thereto. In addition, since the plurality of embedding vectors extracted in this way include prosody features or information in chronological order, the lengths of these vectors may be variable or different depending on the length of the input voice sample.

음성 합성기(110)는 수신된 텍스트(120)에 순차적 운율 특징 추출기(230)로부터 추출된 순차적인 운율 특징(210)을 반영한 음성 출력 데이터를 생성할 수 있다. 예를 들어, 음성 합성기(110)는 입력된 'HELLO' 텍스트에 대응하는 임베딩 정보 및 순차적 운율 특징 추출기(230)에 의해 추출된 복수의 임베딩 벡터를 인공신경망 텍스트-음성 합성 모델에 입력하여 순차적인 운율 특징이 반영된 'HELLO' 음성 데이터를 생성할 수 있다. 이렇게 생성된 음성은 스피커 등과 같은 출력 장치를 통해 출력되거나 I/O 장치를 가진 다른 장치로 전송될 수 있다.도 3은 본 개시의 일 실시예에 따른 순차적 운율 특징(210) 및 화자의 발성 특징(330)을 입력 텍스트(120)에 적용하여 합성 음성을 출력하는 음성 합성기(110)의 개요도이다. 도 3에 도시된 바와 같이, 음성 합성기(110)는 입력 텍스트(120), 순차적 운율 특징(210) 및 화자의 발성 특징(330)을 수신할 수 있다. 여기서, 순차적 운율 특징(210)은 음성 신호 또는 음성 샘플(220)을 기초로 순차적 운율 특징 추출기(230)으로부터 추출될 수 있으며, 화자의 발성 특징(330)은 음성 신호 또는 음성 샘플(320)을 기초로 화자의 발성 특징 추출기(310)으로부터 추출될 수 있다. 일 실시예에 따르면, 순차적 운율 특징 추출기(230)에 입력되는 음성 신호 또는 음성 샘플(220)은 발성 특징 추출기(310)에 입력되는 음성 신호 또는 음성 샘플(320)과 상이할 수 있다. 다른 실시예에서, 두 음성 신호 또는 음성 샘플(220, 320)은 서로 동일할 수 있다. 음성 합성기(110), 입력 텍스트(120), 순차적인 운율 특징(210), 음성 신호 또는 음성 샘플(220) 및 순차적 운율 특징 추출기(230)에 대해서는 도 1 및 도 2를 참조하여 설명하였으므로, 중복되는 설명은 생략된다.The voice synthesizer 110 may generate voice output data reflecting the sequential prosody features 210 extracted from the sequential prosody feature extractor 230 in the received text 120 . For example, the voice synthesizer 110 inputs the embedding information corresponding to the input 'HELLO' text and the plurality of embedding vectors extracted by the sequential prosody feature extractor 230 to an artificial neural network text-speech synthesis model to sequentially 'HELLO' voice data reflecting prosody characteristics may be generated. The voice thus generated may be output through an output device such as a speaker or transmitted to another device having an I/O device. FIG. 3 shows sequential prosody characteristics 210 and vocalization characteristics of a speaker according to an embodiment of the present disclosure. 330 is a schematic diagram of a speech synthesizer 110 that applies input text 120 to output synthesized speech. As shown in FIG. 3 , voice synthesizer 110 may receive input text 120 , sequential prosody features 210 and vocalization features 330 of a speaker. Here, the sequential prosody feature 210 can be extracted from the sequential prosody feature extractor 230 based on the voice signal or voice sample 220, and the speaker's vocalization feature 330 is based on the voice signal or voice sample 320. Based on this, it can be extracted from the speaker's vocalization feature extractor 310. According to an embodiment, the voice signal or voice sample 220 input to the sequential prosody feature extractor 230 may be different from the voice signal or voice sample 320 input to the vocalization feature extractor 310 . In another embodiment, the two voice signals or voice samples 220 and 320 may be identical to each other. Since the voice synthesizer 110, the input text 120, the sequential prosody feature 210, the voice signal or voice sample 220, and the sequential prosody feature extractor 230 have been described with reference to FIGS. 1 and 2, redundancy description is omitted.

발성 특징 추출기(310)는 음성 데이터로부터 화자의 발성 특징을 추출하도록 구성될 수 있다. 화자의 발성 특징은 그 화자의 음성을 모사하는 것뿐만 아니라, 그 발성을 구성할 수 있는 스타일, 운율, 감정, 음색, 음높이 등 다양한 요소들 중 적어도 하나를 포함할 수 있다. 일 실시예에 따르면, 화자의 발성 특징은 화자를 나타내는 원-핫 화자 ID-벡터를 포함할 수 있다. 다른 실시예에 따르면, 화자의 발성 특징은 화자의 발성 특징을 나타내는 임베딩 벡터를 포함할 수 있다. 일 실시예에서, 발성 특징 추출기(310)는 도 4의 발성 특징 추출부(415)에 대응될 수 있다. The vocalization feature extractor 310 may be configured to extract a speaker's vocalization characteristics from voice data. The vocalization characteristics of the speaker may include at least one of various factors such as style, prosody, emotion, timbre, and pitch that may constitute the vocalization as well as copying the speaker's voice. According to one embodiment, the speaker's vocalization characteristics may include a one-hot speaker ID-vector representing the speaker. According to another embodiment, the speech characteristics of the speaker may include an embedding vector representing the speech characteristics of the speaker. In one embodiment, the vocalization feature extractor 310 may correspond to the vocalization feature extractor 415 of FIG. 4 .

음성 합성기(110)는 입력 텍스트(120), 순차적인 운율 특징(210) 및 화자의 발성 특징(330)을 인공신경망 텍스트-음성 합성 모델에 입력하여 출력 음성(340)을 생성할 수 있다. 출력 음성(340)은 순차적 운율 특징(210) 및 화자의 발성 특징(330)이 반영된 입력 텍스트(120)에 대한 출력 음성 데이터를 포함할 수 있다. 즉, 출력 음성(340)은 화자의 발성 특징을 기초로 해당 화자의 음성을 모사하고 순차적 운율 특징(210)을 반영함으로써, 해당 화자가 입력된 순차적 운율 특징(210)으로 입력 텍스트(120)를 말하는 음성으로 합성된 데이터일 수 있다. 예를 들어, 순차적 운율 특징(210) 및 화자의 발성 특징(330)이 제1 화자 및 제1 화자와 상이한 제2 화자의 음성으로부터 각각 추출된 경우, 제2 화자가 목소리로 제2 화자의 시간에 따른 운율 정보를 기초로 'HELLO'를 말하는 음성이 출력될 수 있다. 이렇게 생성된 음성은 스피커 등과 같은 출력 장치를 통해 출력되거나 I/O 장치를 가진 다른 장치로 전송될 수 있다.The voice synthesizer 110 may generate an output voice 340 by inputting the input text 120, the sequential prosody characteristics 210, and the speaker's speech characteristics 330 to an artificial neural network text-to-speech synthesis model. The output voice 340 may include output voice data for the input text 120 in which the sequential prosody characteristics 210 and the vocalization characteristics 330 of the speaker are reflected. That is, the output voice 340 mimics the speaker's voice based on the speaker's speech characteristics and reflects the sequential prosody feature 210, so that the input text 120 is converted into the sequential prosody feature 210 input by the corresponding speaker. It may be data synthesized into a speaking voice. For example, when the sequential prosody features 210 and the speaker's phonation features 330 are extracted from the voices of a first speaker and a second speaker different from the first speaker, respectively, the second speaker is the voice of the second speaker at the time of the second speaker. A voice saying 'HELLO' may be output based on the prosody information according to . The generated voice may be output through an output device such as a speaker or transmitted to another device having an I/O device.

도 2 및 3에서는 음성 합성기(110)가 순차적 운율 특징 추출기(230)으로부터 추출된 순차적인 운율 특징(210)을 나타내는 시간에 따른 복수의 임베딩 벡터를 수신하도록 도시되어 있으나, 이에 한정되지 않으며, 음성 합성기(110)는 순차적 운율 특징(210)을 나타내는 시간에 따른 복수의 임베딩 벡터에 대한 입력값을 I/O 장치(미도시)를 통해 수신할 수 있다. 이와 달리, 순차적 운율 특징(210)을 나타내는 시간에 따른 복수의 임베딩 벡터가 저장매체(미도시)에 미리 저장될 수 있으며, 음성 합성기(110)는 저장매체에 접근하여 복수의 임베딩 벡터를 수신할 수 있다. 또한, 이렇게 추출되거나 저장된 복수의 임베딩 벡터에 대한 수정 정보가 I/O 장치를 통해 수신될 수 있으며, 수신된 수정 정보에 따라 복수의 임베딩 벡터를 수정할 수 있으며, 수정된 복수의 임베딩 벡터가 음성 합성기(110)에 수신될 수 있다. 2 and 3, the voice synthesizer 110 is shown to receive a plurality of embedding vectors over time representing the sequential prosody features 210 extracted from the sequential prosody feature extractor 230, but is not limited thereto, and the voice synthesizer 110 is not limited thereto. The synthesizer 110 may receive input values for a plurality of embedding vectors according to time representing the sequential prosodic features 210 through an I/O device (not shown). Alternatively, a plurality of embedding vectors according to time representing the sequential prosody features 210 may be previously stored in a storage medium (not shown), and the voice synthesizer 110 accesses the storage medium and receives the plurality of embedding vectors. can In addition, correction information for the plurality of embedding vectors extracted or stored may be received through an I/O device, the plurality of embedding vectors may be corrected according to the received correction information, and the corrected plurality of embedding vectors may be transmitted to the voice synthesizer. It can be received at (110).

또한, 도 3에서는, 화자의 발성 특징(330)이 발성 특징 추출기(310) 로부터 추출되어 음성 합성기(110)에 제공되는 것으로 도시되어 있으나, 이에 한정되지 않으며, 음성 합성기(110)는 발성 특징을 나타내는 임베딩 벡터에 대한 입력값을 I/O 장치(미도시)를 통해 수신할 수 있다. 이와 달리, 발성 특징을 나타내는 임베딩 벡터가 저장매체(미도시)에 미리 저장될 수 있으며, 음성 합성기(110)는 저장매체에 접근하여 발성 특징을 나타내는 임베딩 벡터를 수신할 수 있다. 또한, 이렇게 추출되거나 저장된 발성 특징에 대한 수정 정보가 I/O 장치를 통해 수신될 수 있으며, 수신된 정보에 따라 발성 특징을 나타내는 임베딩 벡터가 수정될 수 있으며, 수정된 발성 특징을 나타내는 임베딩 벡터가 음성 합성기(110)에 수신될 수 있다. 도 4는 본 개시의 일 실시예에 따른 텍스트-음성 합성 시스템(400)의 블록도이다. 텍스트-음성 합성 시스템(400)은 통신부(405), 순차적 운율 특징 추출부(410), 발성 특징 추출부(415), 정규화기(420), 음성 데이터베이스(425), 어텐션 모듈(430), 인코더(435), 디코더(440), 후처리 프로세서(445), 데이터 학습부(450), 데이터 인식부(455)를 포함할 수 있다. 통신부(405)는 텍스트-음성 합성 시스템(400)이 외부 장치와 신호 또는 데이터를 송수신하도록 구성될 수 있다. 외부 장치는 텍스트-음성 합성 서비스를 제공하는 사용자 단말을 포함할 수 있다. 이와 달리, 외부장치는 다른 텍스트-음성 합성 시스템을 포함할 수 있다. 또는, 외부 장치는 음성 데이터베이스를 포함한 임의의 장치일 수 있다. In addition, although it is shown in FIG. 3 that the vocalization feature 330 of the speaker is extracted from the vocalization feature extractor 310 and provided to the voice synthesizer 110, it is not limited thereto, and the voice synthesizer 110 extracts the voice characteristics An input value for the indicated embedding vector may be received through an I/O device (not shown). Alternatively, embedding vectors representing vocalization characteristics may be previously stored in a storage medium (not shown), and the voice synthesizer 110 may access the storage medium and receive the embedding vectors representing vocalization characteristics. In addition, correction information on the voice characteristics extracted or stored in this way may be received through an I/O device, an embedding vector representing the voice characteristics may be modified according to the received information, and the embedding vector representing the modified voice characteristics may be modified. It may be received by the voice synthesizer 110. 4 is a block diagram of a text-to-speech synthesis system 400 according to an embodiment of the present disclosure. The text-to-speech synthesis system 400 includes a communication unit 405, a sequential prosody feature extraction unit 410, a vocalization feature extraction unit 415, a normalizer 420, a speech database 425, an attention module 430, an encoder. 435, a decoder 440, a post-processor 445, a data learning unit 450, and a data recognizing unit 455. The communication unit 405 may be configured to allow the text-to-speech synthesis system 400 to transmit/receive signals or data with an external device. The external device may include a user terminal providing a text-to-speech synthesis service. Alternatively, the external device may include other text-to-speech synthesis systems. Alternatively, the external device may be any device including a voice database.

일 실시예에 따르면, 통신부(405)는 외부 장치로부터 텍스트를 수신하도록 구성될 수 있다. 여기서, 텍스트는 인공신경망 텍스트-음성 합성 모델의 학습을 위해 사용될 학습 텍스트를 포함할 수 있다. 이와 달리, 텍스트는 인공신경망 텍스트-음성 합성 모델을 통해 합성 음성을 생성하기 위해 사용될 입력 텍스트를 포함할 수 있다. 이러한 텍스트는 음성 데이터베이스(425), 인코더(435), 디코더(440), 데이터 학습부(450), 데이터 인식부(455) 중 적어도 하나에 제공될 수 있다. According to one embodiment, the communication unit 405 may be configured to receive text from an external device. Here, the text may include training text to be used for learning the artificial neural network text-speech synthesis model. Alternatively, text may include input text to be used to generate synthesized speech through an artificial neural network text-speech synthesis model. Such text may be provided to at least one of the voice database 425 , the encoder 435 , the decoder 440 , the data learner 450 , and the data recognizer 455 .

통신부(405)는 외부 장치를 통해 음성 신호 또는 음성 샘플을 수신하도록 구성될 수 있다. 일 실시예에 따르면, 이러한 음성 신호 또는 샘플은 순차적 운율 특징 추출부(410)에 전달되어, 음성 신호 또는 샘플로부터 순차적 운율 특징이 추출될 수 있다. 다른 실시예에 따르면, 이러한 음성 신호 또는 샘플은 발성 특징 추출부(415)에 전달되어, 음성 신호 또는 샘플로부터 화자의 발성 특징이 추출될 수 있다. 이렇게 추출된 순차적 운율 특징 및/또는 화자의 발성 특징은 데이터 학습부(450)를 통해 인코더(435) 및/또는 디코더(440)에 전달되어 인공신경망 텍스트-음성 합성 모델을 학습하는데에 사용될 수 있다. 이와 달리, 이렇게 추출된 순차적 운율 특징 및/또는 화자의 발성 특징은 데이터 인식부(455)를 통해 인코더(435) 및/또는 디코더(440)에 전달되어 인공신경망 텍스트-음성 합성 모델로부터 합성 음성을 생성하는데에 사용될 수 있다.The communication unit 405 may be configured to receive a voice signal or a voice sample through an external device. According to an embodiment, the voice signal or sample may be transmitted to the sequential prosody feature extraction unit 410, and sequential prosody features may be extracted from the voice signal or sample. According to another embodiment, the speech signal or sample may be transmitted to the speech feature extraction unit 415, and the speech feature of the speaker may be extracted from the speech signal or sample. The extracted sequential prosody features and/or vocalization features of the speaker are transmitted to the encoder 435 and/or decoder 440 through the data learning unit 450 and used to learn an artificial neural network text-speech synthesis model. . In contrast, the sequential prosody features and/or vocalization features of the speaker extracted in this way are transmitted to the encoder 435 and/or decoder 440 through the data recognition unit 455 to generate a synthesized voice from the artificial neural network text-to-speech synthesis model. can be used to create

일 실시예에서, 통신부(405)는 외부 장치부터 순차적 운율 특징을 수신할 수 있다. 예를 들어, 텍스트-음성 합성 시스템(400)은 도 2의 순차적 운율 특징 추출기(230)를 통해 추출된 순차적 운율 특징을 통신부(405)를 통해 수신할 수 있다. 다른 실시예예서, 통신부(405)는 외부 장치로부터 화자의 발성 특징을 수신할 수 있다. 예를 들어, 통신부(405)는 도 3의 화자의 발성 특징 추출기(310)로부터 화자의 발성 특징(330)을 송수신할 수 있다. 이렇게 수신된 순차적 운율 특징 및/또는 화자의 발성 특징은 정규화기(420), 음성 데이터베이스(425), 어텐션 모듈(430), 인코더(435), 디코더(440), 데이터 학습부(450) 또는 데이터 인식부(455) 중 적어도 하나에 제공할 수 있다. In one embodiment, the communication unit 405 may receive sequential prosody characteristics from an external device. For example, the text-to-speech synthesis system 400 may receive sequential prosody features extracted through the sequential prosody feature extractor 230 of FIG. 2 through the communication unit 405 . In another embodiment, the communication unit 405 may receive vocal characteristics of a speaker from an external device. For example, the communication unit 405 may transmit/receive the speaker's vocalization feature 330 from the speaker's vocalization feature extractor 310 of FIG. 3 . The sequential prosody characteristics and/or vocalization characteristics of the speaker received in this way are obtained by the normalizer 420, the speech database 425, the attention module 430, the encoder 435, the decoder 440, the data learning unit 450, or the data learning unit 450. It may be provided to at least one of the recognition units 455 .

일 실시예에서, 통신부(405)는 외부 장치로부터 입력 텍스트에 대한 운율 정보를 순차적 운율 특징으로서 수신할 수 있다. 여기서, 운율 정보는 입력 텍스트의 각 부분(예를 들어, 음소, 글자, 음절, 어절 등)에 대한 음성 합성 마크업 언어에서 제공되는 태그를 통해 입력된 속성 값을 포함할 수 있다. In one embodiment, the communication unit 405 may receive prosody information on the input text as a sequential prosody feature from an external device. Here, the prosody information may include an attribute value input through a tag provided in a speech synthesis markup language for each part (eg, phonemes, letters, syllables, words, etc.) of the input text.

일 실시예에 따르면, 통신부(405)는 생성된 출력 음성과 관련된 정보, 즉, 출력 음성 데이터를 외부장치로 송신할 수 있다. 또한, 생성된 인공신경망 텍스트-음성 합성 모델은 통신부(405)를 통해 사용자 단말기 또는 다른 텍스트-음성 합성 시스템에 송신될 수 있다.According to an embodiment, the communication unit 405 may transmit information related to the generated output voice, that is, output voice data to an external device. In addition, the generated artificial neural network text-speech synthesis model may be transmitted to a user terminal or other text-speech synthesis system through the communication unit 405 .

도 4에서, 텍스트-음성 합성 시스템(400)은 통신부(405)를 통해 텍스트, 음성 신호 또는 샘플, 순차적 운율 특징 및 화자의 발성 특징 등을 수신하거나 출력 음성 데이터 및 인공신경망 텍스트-음성 합성 모델은 통신부(405)를 통해 출력되는 것으로 도시되어 있으나, 텍스트-음성 합성 시스템(400)은 입출력장치(I/O 장치; 미도시)를 더 포함할 수 있다. 이에 따라, 텍스트-음성 합성 시스템(400)은 사용자로부터 입력을 직접 수신할 수 있으며, 사용자에게 텍스트, 음성, 영상 중 적어도 하나를 출력할 수 있다. In FIG. 4, the text-to-speech synthesis system 400 receives text, voice signals or samples, sequential prosody characteristics, and speech characteristics of speakers through the communication unit 405, or the output voice data and the artificial neural network text-to-speech synthesis model are Although shown as being output through the communication unit 405, the text-to-speech synthesis system 400 may further include an input/output device (I/O device; not shown). Accordingly, the text-to-speech synthesis system 400 may directly receive an input from a user and may output at least one of text, voice, and video to the user.

순차적 운율 특징 추출부(410)는 통신부(405) 또는 입출력장치를 통해 음성 신호 또는 샘플을 수신하고, 수신된 음성 신호 또는 샘플로부터 순차적 운율 특징을 추출하도록 구성될 수 있다. 일 실시예에서, 순차적 운율 특징 추출부(410)는 도 2 및 3의 순차적 운율 특징 추출기(230)에 대응될 수 있다. 예를 들어, 순차적 운율 특징 추출부(410)는 멜 주파수 셉스트럴(MFC)과 같은 음성 처리 방법을 이용하여 수신된 음성 신호 또는 샘플로부터 순차적 운율 특징을 추출할 수 있다. 이와 달리, 음성 샘플을 이용하여 학습된 운율 특징 추출 모델(예를 들어, 인공신경망)에 입력하여 순차적 운율 특징이 추출될 수 있다. 예를 들어, 순차적 운율 특징은 시간에 따라 일정 단위에 대응하는 복수의 임베딩 벡터로 나타낼 수 있다. 여기서, 일정 단위는 프레임, 음소, 글자, 음절, 단어, 어절 등 적어도 하나의 단위에 대응될 수 있다. 다른 실시예에 따르면, 순차적 운율 특징 추출부(410)는 비디오, 음악 또는 악보에 대한 정보 중 적어도 하나를 수신할 수 있고, 수신된 비디오, 음악 및/또는 악보로부터 순차적 운율 특징을 추출하도록 구성될 수 있다. 일 실시예에 따르면, 순차적 운율 특징을 나타내는 복수의 임베딩 벡터에 대한 수정 정보가 I/O 장치(미도시)를 통해 수신될 수 있으며, 수신된 정보를 통해 복수의 임베딩 벡터가 수정될 수 있다. The sequential prosody feature extraction unit 410 may be configured to receive a voice signal or sample through the communication unit 405 or an input/output device, and extract a sequential prosody feature from the received voice signal or sample. In one embodiment, the sequential prosody feature extractor 410 may correspond to the sequential prosody feature extractor 230 of FIGS. 2 and 3 . For example, the sequential prosody feature extractor 410 may extract a sequential prosody feature from a received voice signal or sample using a voice processing method such as Mel Frequency Cepstral (MFC). Alternatively, sequential prosody features may be extracted by inputting them to a prosody feature extraction model (eg, an artificial neural network) learned using voice samples. For example, sequential prosody features may be represented by a plurality of embedding vectors corresponding to a certain unit according to time. Here, the predetermined unit may correspond to at least one unit such as a frame, a phoneme, a letter, a syllable, a word, or a word. According to another embodiment, the sequential prosody feature extractor 410 may receive at least one of video, music, or sheet music information, and may be configured to extract sequential prosody features from the received video, music, and/or sheet music. can According to an embodiment, modification information for a plurality of embedding vectors representing sequential prosody characteristics may be received through an I/O device (not shown), and the plurality of embedding vectors may be modified through the received information.

추출되거나 수정된 순차적 운율 특징은 데이터 학습부(450) 및/또는 데이터 인식부(455)에 제공되어 인코더(414) 및/또는 디코더(440) 중 적어도 하나에 제공될 수 있다. 일 실시예에 따르면, 순차적 운율 특징은 데이터 학습부(450) 및/또는 데이터 인식부(455)에 제공되기 이전에, 정규화기(420) 및/또는 어텐션 모듈(430)에 제공될 수 있다. 일 실시예에 따르면, 순차적 운율 특징 추출부(410)로부터 추출된 순차적 운율 특징은 저장매체(예를 들어, 음성 데이터베이스(425)) 또는 외부 저장 장치에 저장될 수 있다. 이에 따라, 입력 텍스트에 대한 음성 합성 시, 저장매체에 미리 저장된 복수의 순차적 운율 특징 중 하나 이상을 선택 또는 지정될 수 있고, 선택 또는 지정된 순차적 운율 특징이 음성 합성에 이용될 수 있다. The extracted or corrected sequential prosody features may be provided to the data learning unit 450 and/or the data recognizing unit 455 and provided to at least one of the encoder 414 and/or the decoder 440 . According to an embodiment, the sequential prosody features may be provided to the normalizer 420 and/or the attention module 430 before being provided to the data learning unit 450 and/or the data recognizing unit 455 . According to an embodiment, the sequential prosody features extracted from the sequential prosody feature extractor 410 may be stored in a storage medium (eg, voice database 425) or an external storage device. Accordingly, at the time of voice synthesis for the input text, one or more of a plurality of sequential prosody features previously stored in the storage medium may be selected or designated, and the selected or designated sequential prosody features may be used for voice synthesis.

발성 특징 추출부(415)는 화자의 음성 신호(예를 들어, 음성 샘플)을 수신하고, 수신된 음성 신호로부터 화자의 발성 특징을 추출하도록 구성될 수 있다. 여기서, 추출된 발성 특징은 화자를 모사하고, 화자의 음성에 포함된 임의의 특징을 포함할 수 있고, 예를 들어, 복수의 임베딩 벡터로 표현될 수 있다. 화자의 발성 특징을 추출하는데 있어서, 화자의 음성 신호로부터 발성 특징을 추출할 수 있는 임의의 알려진 적절한 특징 추출 방법이 사용될 수 있다. 예를 들어, 발성 특징 추출부(415)는 인공신경망 또는 기계학습 모델을 이용하여 음성 샘플로부터 화자의 발성 특징을 추출할 수 있다. 일 실시예에서, 화자의 발성 특징 추출부(415)는 도 3의 화자의 발성 특징 추출기(310)에 대응될 수 있다. 이렇게 추출된 화자의 발성 특징은 데이터 학습부(450), 데이터 인식부(455), 인코더(435) 또는 디코더(440) 중 적어도 하나에 제공될 수 있다. The speech feature extraction unit 415 may be configured to receive a speaker's voice signal (eg, a voice sample) and extract the speaker's voice feature from the received voice signal. Here, the extracted vocalization feature simulates the speaker, may include any features included in the speaker's voice, and may be represented, for example, by a plurality of embedding vectors. In extracting the speech characteristics of the speaker, any known suitable feature extraction method capable of extracting speech characteristics from the speech signal of the speaker may be used. For example, the vocalization feature extraction unit 415 may extract a speaker's vocalization characteristics from a voice sample using an artificial neural network or a machine learning model. In one embodiment, the speaker's vocalization feature extraction unit 415 may correspond to the speaker's vocalization feature extractor 310 of FIG. 3 . The voice characteristics of the speaker extracted in this way may be provided to at least one of the data learning unit 450 , the data recognizing unit 455 , the encoder 435 , and the decoder 440 .

일 실시예에 따르면, 발성 특징 추출부(415)로부터 추출된 화자의 발성 특징은 음성 데이터베이스(425) 또는 외부 저장 장치에 저장될 수 있다. 이에 따라, 입력 텍스트에 대한 음성 합성 시, 저장매체에 미리 저장된 복수의 화자의 발성 특징 중 하나 이상을 선택 또는 지정될 수 있고, 선택 또는 지정된 화자의 발성 특징이 음성 합성에 이용될 수 있다. According to an embodiment, the vocalization characteristics of the speaker extracted from the vocalization feature extraction unit 415 may be stored in the voice database 425 or an external storage device. Accordingly, when synthesizing voices for input text, one or more of the speech characteristics of a plurality of speakers pre-stored in the storage medium may be selected or designated, and the speech characteristics of the selected or designated speakers may be used for speech synthesis.

일 실시예에 따르면, 화자의 발성 특징은 화자의 순차적 운율 특징을 포함할 수 있다. 이를 위하여, 예를 들어, 화자의 발성 특징 추출부(415)는 음성 샘플로부터 화자의 순차적 운율 특징을 추출하도록 구성될 수 있다. 또 다른 예로서, 화자의 발성 특징 추출부(415)는 음성 샘플을 순차적 운율 특징 추출부(410)에 제공하여 음성 샘플로부터 추출된 화자의 순차적 운율 특징을 수신할 수 있다. 이렇게 추출된 화자의 순차적 운율 특징은 정규화기(420)에 제공될 수 있다. 도 4에서 순차적 운율 특징 추출부(410) 및 화자의 발성 특징 추출부(415)는 별도의 유닛으로 구성된 것으로 도시되어 있으나, 이에 한정되지 않으며, 하나의 유닛으로 구성될 수 있다. According to one embodiment, the speaker's phonation characteristics may include the speaker's sequential prosodic characteristics. To this end, for example, the speaker's vocalization feature extraction unit 415 may be configured to extract sequential prosody features of the speaker from the voice sample. As another example, the speaker's vocalization feature extractor 415 may provide voice samples to the sequential prosody feature extractor 410 to receive the speaker's sequential prosody features extracted from the voice samples. The sequential prosody features of the speaker extracted in this way may be provided to the normalizer 420 . In FIG. 4 , the sequential prosody feature extraction unit 410 and the speaker's vocalization feature extraction unit 415 are shown as being configured as separate units, but are not limited thereto and may be configured as one unit.

정규화기(420)는 순차적 운율 특징 추출부(410)으로부터 수신된 순차적 운율 특징 및 발성 특징 추출부(415)로부터 화자의 순차적 운율 특징(복수의 임베딩 벡터)을 화자의 발성 특징으로써 수신할 수 있다. 설명을 위해, 이하에서는 순차적 운율 특징 추출부(410)으로부터 수신된 순차적 운율 특징를 제1 순차적 운율 특징이라고 지칭되고, 발성 특징 추출부(415)로부터 화자의 순차적 운율 특징는 제2 순차적 운율 특징이라고 지칭될 수 있다. The normalizer 420 may receive the sequential prosody features received from the sequential prosody feature extractor 410 and the sequential prosody features (a plurality of embedding vectors) of the speaker from the vocalization feature extractor 415 as the speaker's vocalization characteristics. . For explanation, the sequential prosody features received from the sequential prosody feature extractor 410 will be referred to as first sequential prosody features, and the sequential prosody features of the speaker from the vocalization feature extractor 415 will be referred to as second sequential prosody features. can

정규화기(420)는 제2 순차적 운율 특징(예를 들어, 복수의 임베딩 벡터)을 기초로 제1 순차적 운율 특징(예를 들어, 복수의 임베딩 벡터)을 정규화하도록 구성될 수 있다. 여기서, 제1 순차적 운율 특징은 제2 순차적 운율 특징과 연관된 화자와 상이한 화자로부터 추출된 특징일 수 있다. 일 실시예에 따르면, 정규화기(420)는 각 시간 단계에서 제2 순차적 운율 특징에 대응하는 복수의 임베딩 벡터의 평균값을 산출하도록 구성될 수 있다. 또한, 정규화기(420)는 제1 순차적 운율 특징을 나타내는 복수의 임베딩 벡터를 각 시간 단계에서 산출된 임베딩 벡터의 평균값으로 감산함으로써, 제1 순차적 운율 특징을 나타내는 복수의 임베딩 벡터를 정규화할 수 있다. 이렇게 정규화된 복수의 임베딩 벡터는 음성 데이터베이스(425), 어텐션 모듈(430), 인코더(435), 디코더(440), 데이터 학습부(450), 또는 데이터 인식부(455) 중 적어도 하나에 제공될 수 있다. 제2 순차적 운율 특징에 대응하는 복수의 임베딩 벡터의 평균값을 이용하여 제1 순차적 운율 특징에 대응하는 복수의 임베딩 벡터가 정규화되므로, 인공신경망 텍스트-음성 합성 모델을 이용하여 제2 순차적 운율 특징에 연관된 화자를 모사하고 다른 화자로부터 추출된 제1 순차적 운율 특징이 반영되도록 임의의 텍스트에 대응하는 합성 음성이 생성되는 경우, 제1 순차적 운율 특징이 상이한 화자의 음성에 더욱 자연스럽게 적용될 수 있다. Normalizer 420 may be configured to normalize the first sequential prosody feature (eg, the plurality of embedding vectors) based on the second sequential prosody feature (eg, the plurality of embedding vectors). Here, the first sequential prosody feature may be a feature extracted from a speaker different from a speaker associated with the second sequential prosody feature. According to one embodiment, normalizer 420 may be configured to average a plurality of embedding vectors corresponding to second sequential prosody features at each time step. In addition, the normalizer 420 may normalize the plurality of embedding vectors representing the first sequential prosody feature by subtracting the plurality of embedding vectors representing the first sequential prosody feature by the average value of the embedding vectors calculated at each time step. . The plurality of normalized embedding vectors may be provided to at least one of the voice database 425, the attention module 430, the encoder 435, the decoder 440, the data learner 450, and the data recognizer 455. can Since the plurality of embedding vectors corresponding to the first sequential prosody feature are normalized using the average value of the plurality of embedding vectors corresponding to the second sequential prosody feature, the artificial neural network text-speech synthesis model is used to associate the second sequential prosody feature. When a synthesized voice corresponding to an arbitrary text is generated to mimic a speaker and reflect the first sequential prosody feature extracted from another speaker, the first sequential prosody feature can be more naturally applied to the voices of different speakers.

음성 데이터베이스(425)는 학습 텍스트 및 복수의 학습 텍스트에 대응되는 음성을 저장할 수 있으며, 이러한 학습 텍스트 및 이에 대응하는 음성음 데이터 학습부(450)에 의해 접근될 수 있다. 학습 텍스트는 적어도 하나의 언어로 작성될 수 있으며, 사람이 이해할 수 있는 단어, 구문 및 문장 중 적어도 하나를 포함할 수 있다. 또한, 음성 데이터베이스(425)에 저장된 음성은 복수의 화자가 학습 텍스트를 읽은 음성 데이터를 포함할 수 있다. 학습 텍스트 및 음성 데이터는 음성 데이터베이스(425)에 미리 저장되어 있거나, 통신부(405)로부터 수신될 수 있다. 음성 데이터베이스(425)가 저장하고 있는 학습 텍스트 및 음성에 기초하여 데이터 학습부(450)는 인공신경망 텍스트-음성 합성 모델을 생성하거나 학습할 수 있다. 예를 들어, 인공신경망 텍스트-합성 모델은 인코더(435) 및 디코더(440)를 포함할 수 있다. 또 다른 예로서, 인공신경망 텍스트-합성 모델은 인코더(435), 디코더(440) 및 후처리 프로세서(445)를 포함할 수 있다. The voice database 425 may store learning texts and voices corresponding to a plurality of learning texts, and may be accessed by the learning unit 450 for learning texts and voice data corresponding thereto. The training text may be written in at least one language, and may include at least one of words, phrases, and sentences that can be understood by humans. Also, the voice stored in the voice database 425 may include voice data of a plurality of speakers reading the learning text. The learning text and voice data may be previously stored in the voice database 425 or may be received from the communication unit 405 . Based on the learning text and voice stored in the voice database 425, the data learning unit 450 may generate or learn an artificial neural network text-speech synthesis model. For example, an artificial neural network text-synthesis model may include an encoder 435 and a decoder 440 . As another example, the artificial neural network text-synthesis model may include an encoder 435 , a decoder 440 and a post-processor 445 .

일 실시예에 따르면, 음성 데이터베이스(425)는 하나 이상의 순차적 운율 특징을 저장하도록 구성될 수 있다. 예를 들어, 하나 이상의 순차적 운율 특징은 정규화기(420)으로부터 정규화된 순차적 운율 특징을 포함할 수 있다. 다른 실시예에서, 발성 특징 추출부(415)로부터 추출된 하나 이상의 화자의 발성 특징을 저장하도록 구성될 수 있다. 저장된 순차적 운율 특징은 데이터 학습부(450) 및/또는 데이터 인식부(455)에 의해 음성 합성 시 인코더(435) 또는 디코더(440) 중 적어도 하나에 제공될 수 있다. 또한, 저장된 화자의 발성 특징은 데이터 학습부(450) 및/또는 데이터 인식부(455)에 의해 음성 합성 시 인코더(435) 또는 디코더(440) 중 적어도 하나에 제공될 수 있다.According to one embodiment, voice database 425 may be configured to store one or more sequential prosodic features. For example, the one or more sequential prosody features may include normalized sequential prosody features from normalizer 420 . In another embodiment, it may be configured to store one or more speaker's vocalization characteristics extracted from the vocalization feature extraction unit 415 . The stored sequential prosody features may be provided to at least one of the encoder 435 and the decoder 440 during speech synthesis by the data learning unit 450 and/or the data recognizing unit 455 . In addition, the stored speech characteristics of the speaker may be provided to at least one of the encoder 435 and the decoder 440 during speech synthesis by the data learning unit 450 and/or the data recognizing unit 455 .

어텐션 모듈(430)은 순차적 운율 특징 추출부(410) 또는 정규화기(420)으로부터 순차적 운율 특징 또는 정규화된 순차적 운율 특징을 수신할 수 있다. 일 실시예에 따르면, 어텐션 모듈(430)은 순차적 운율 특징을 나타내는 복수의 임베딩 벡터를 입력받아서, 인코더(435)에 제공 된 입력 텍스트의 각 부분에 대응되는 복수의 변환 임베딩 벡터를 생성하도록 구성될 수 있다. 예를 들어, 어텐션 모듈(430)은 시간에 따른 복수의 임베딩 벡터 중 어떤 부분이 현재 시간-단계(time-step)에서 입력 텍스트 중 어떤 부분에 대응시킬지 결정하도록 구성될 수 있다. 어텐션 모듈(430)에 의해 생성된 복수의 변환 임베딩 벡터는 음성 합성을 위해 인코더(435)에 제공될 수 있다. The attention module 430 may receive sequential prosody features or normalized sequential prosody features from the sequential prosody feature extractor 410 or the normalizer 420 . According to an embodiment, the attention module 430 is configured to receive a plurality of embedding vectors representing sequential prosody features and generate a plurality of transform embedding vectors corresponding to respective parts of the input text provided to the encoder 435. can For example, the attention module 430 may be configured to determine which part of the plurality of embedding vectors over time corresponds to which part of the input text at the current time-step. The plurality of transform embedding vectors generated by the attention module 430 may be provided to the encoder 435 for speech synthesis.

인코더(435)는 입력 텍스트를 수신할 수 있으며, 입력 텍스트를 문자 임베딩으로 변환하여 생성하도록 구성될 수 있다. 예를 들어, 인코더(435)는 인공신경망 텍스트-음성 합성 모델의 일부로서 구성될 수 있다. 이러한 문자 임베딩은 인코더(435)에 대응하는 제1 인공신경망 텍스트-음성 합성 모델(예를 들어, pre-net, CBHG 모듈, DNN, CNN+DNN 등)에 입력하여 인코더(435)의 숨겨진 상태들을 생성할 수 있다. 제1 인공신경망 텍스트-음성 합성 모델은 인공신경망 텍스트-음성 합성 모델에 포함될 수 있다. 일 실시예에 따르면, 인코더(435)는 순차적 운율 특징 추출부(410), 정규화기(420) 또는 어텐션 모듈(430)으로부터 순차적 운율 특징을 더 수신할 수 있다. 문자 임베딩 및 순차적 운율 특징은 제1 인공신경망 텍스트-음성 합성 모델에 입력되어 인코더(435)의 숨겨진 상태들(hidden states)이 생성될 수 있다. 다른 실시예에서, 인코더(435)는 발성 특징 추출부(415)로부터 화자의 발성 특징을 더 수신할 수 있다. 화자의 발성 특징은 문자 임베딩 및 순차적 운율 특징과 함께 제1 인공신경망 텍스트-음성 합성 모델에 입력되어 인코더(435)의 숨겨진 상태들(hidden states)이 생성될 수 있다. 이렇게 생성된 인코더(435)의 숨겨진 상태들은 디코더(440)에 제공될 수 있다. Encoder 435 may receive input text and may be configured to convert and generate input text into character embeddings. For example, encoder 435 may be configured as part of a neural text-to-speech synthesis model. These character embeddings are input to the first artificial neural network text-to-speech synthesis model (eg, pre-net, CBHG module, DNN, CNN+DNN, etc.) corresponding to the encoder 435 to obtain hidden states of the encoder 435. can create The first artificial neural network text-speech synthesis model may be included in the artificial neural network text-speech synthesis model. According to an embodiment, the encoder 435 may further receive sequential prosody features from the sequential prosody feature extractor 410 , the normalizer 420 , or the attention module 430 . Character embedding and sequential prosody features may be input to the first artificial neural network text-speech synthesis model to generate hidden states of the encoder 435 . In another embodiment, the encoder 435 may further receive speech features of the speaker from the speech feature extraction unit 415 . The speech characteristics of the speaker may be input to the first artificial neural network text-to-speech synthesis model along with character embedding and sequential prosody characteristics to generate hidden states of the encoder 435 . The hidden states of the encoder 435 generated in this way may be provided to the decoder 440 .

디코더(440)는 인공신경망 텍스트-음성 합성 모델의 일부로서 구성될 수 있다. 일 실시예에서, 디코더(440)는 순차적 운율 특징을 수신하도록 구성될 수 있다. 디코더(440)는 순차적 운율 특징 추출부(410) 또는 정규화기(420) 중 적어도 하나로부터 순차적 운율 특징을 수신할 수 있다. 디코더(440)는 인코더(435)로부터 입력 텍스트에 대응한 숨겨진 상태들을 수신할 수 있다. 또한, 디코더(440)는 현재 시간-단계(time-step)에서 입력 텍스트 중 어떤 부분으로부터 음성을 생성할지 결정하도록 구성된 어텐션 모듈을 포함할 수 있다. 이에 따라, 순차적 운율 특징 및/또는 입력 텍스트에 대응한 숨겨진 상태들은 디코더(440)에 대응하는 제2 인공신경망 텍스트-음성 합성 모델(예를 들어, 어텐션 모듈, 디코더 RNN, 어텐션 RNN, Pre-net, DNN 등)에 입력되어 입력 텍스트에 대응되는 출력 음성 데이터가 생성될 수 있다. 제2 인공신경망 텍스트-음성 합성 모델은 인공신경망 텍스트-음성 합성 모델에 포함될 수 있다. The decoder 440 may be configured as part of an artificial neural network text-speech synthesis model. In one embodiment, decoder 440 may be configured to receive sequential prosodic features. The decoder 440 may receive sequential prosody features from at least one of the sequential prosody feature extractor 410 and the normalizer 420 . The decoder 440 may receive hidden states corresponding to input text from the encoder 435 . In addition, the decoder 440 may include an attention module configured to determine from which part of the input text to generate speech at the current time-step. Accordingly, the hidden states corresponding to the sequential prosody features and/or the input text are the second artificial neural network text-speech synthesis model corresponding to the decoder 440 (eg, attention module, decoder RNN, attention RNN, Pre-net , DNN, etc.) and output voice data corresponding to the input text may be generated. The second artificial neural network text-speech synthesis model may be included in the artificial neural network text-speech synthesis model.

다른 실시예에서, 디코더(440)는 발성 특징 추출부(415)로부터 화자의 발성 특징을 더 수신하도로 구성될 수 있다. 순차적 운율 특징, 입력 텍스트에 대응한 숨겨진 상태들 및/또는 화자의 발성 특징은 디코더(440)에 대응하는 제2 인공신경망 텍스트-음성 합성 모델에 입력되어 입력 텍스트에 대응되는 출력 음성 데이터가 생성될 수 있다. 이러한 출력 음성 데이터는 화자의 음성을 모사하고 순차적 운율 특징이 반영된 입력 텍스트에 대한 출력 음성 데이터를 포함할 수 있다. In another embodiment, the decoder 440 may be configured to further receive speech features of the speaker from the speech feature extraction unit 415 . Sequential prosody features, hidden states corresponding to the input text, and/or speech characteristics of the speaker are input to the second artificial neural network text-to-speech synthesis model corresponding to the decoder 440 to generate output voice data corresponding to the input text. can Such output voice data may include output voice data for input text in which a speaker's voice is simulated and sequential prosody characteristics are reflected.

이렇게 생성된 출력 음성 데이터는 멜 스펙트로그램으로 표현될 수 있다. 하지만 이에 한정되는 것은 아니며, 출력 음성 데이터는 선형 스펙트로그램으로 표현될 수 있다. 이러한 출력 음성 데이터는 스피커, 후처리 프로세서(445) 또는 통신부(405) 중 적어도 하나로 출력될 수 있다.The output voice data generated in this way may be expressed as a mel spectrogram. However, it is not limited thereto, and the output voice data may be expressed as a linear spectrogram. Such output voice data may be output to at least one of a speaker, the post-processing processor 445, and the communication unit 405.

일 실시예에 따르면, 후처리 프로세서(445)는 디코더(440)에서 생성된 출력 음성 데이터를 스피커에서 출력 가능한 음성으로 변환하도록 구성될 수 있다. 예를 들어, 변화된 출력 가능한 음성은 웨이브폼(waveform)으로 나타낼 수 있다. 후처리 프로세서(445)는 디코더(440)에서 생성된 출력 음성 데이터가 스피커에서 출력되기에 부적절한 경우에만 작동하도록 구성될 수 있다. 즉, 디코더(440)에서 생성된 출력 음성 데이터가 스피커에서 출력되기에 적절한 경우, 출력 음성 데이터는 후처리 프로세서(445)를 거치지 않고 바로 스피커로 출력될 수 있다. 이에 따라, 도 4에서는 후처리 프로세서(445)가 텍스트-음성 합성 시스템(400)에 포함되도록 도시되어 있지만, 후처리 프로세서(445)가 텍스트-음성 합성 시스템(400)에 포함되지 않도록 구성될 수 있다.According to one embodiment, the post-processing processor 445 may be configured to convert the output voice data generated by the decoder 440 into a voice capable of being output by a speaker. For example, the changed outputable voice may be expressed as a waveform. The post-processor 445 may be configured to operate only when the output voice data generated by the decoder 440 is inappropriate to be output from a speaker. That is, when the output voice data generated by the decoder 440 is suitable for being output from the speaker, the output voice data may be directly output to the speaker without going through the post-processing processor 445 . Accordingly, although the post-processor 445 is shown to be included in the text-to-speech synthesis system 400 in FIG. 4 , the post-processor 445 may not be included in the text-to-speech synthesis system 400. there is.

일 실시예에 따르면, 후처리 프로세서(445)는 디코더(440)에서 생성된 멜 스펙트로그램으로 표현된 출력 음성 데이터를 시간 도메인의 웨이브폼으로 변환하도록 구성될 수 있다. 또한, 후처리 프로세서(445)는 출력 음성 데이터의 신호의 크기가 미리 결정된 기준 크기에 도달하지 못한 경우, 출력 음성 데이터의 크기를 증폭시킬 수 있다. 후처리 프로세서(445)는 변환된 출력 음성 데이터를 스피커 또는 통신부(405) 중 적어도 하나로 출력할 수 있다.According to one embodiment, the post-processing processor 445 may be configured to convert the output voice data represented by the MEL spectrogram generated by the decoder 440 into a waveform in the time domain. Also, the post-processing processor 445 may amplify the size of the output voice data when the signal size of the output voice data does not reach a predetermined reference level. The post-processing processor 445 may output the converted output voice data to at least one of the speaker or the communication unit 405 .

데이터 학습부(450)는 도 10의 데이터 학습부(1010)에 대응될 수 있다. 데이터 학습부(450)는 복수의 학습 텍스트 및 이에 대응하는 학습 음성을 나타내는 데이터를 음성 데이터베이스(425) 또는 통신부(405)를 통해 수신할 수 있다. 학습 텍스트를 나타내는 데이터는 적어도 하나의 글자에 대한 정보를 포함할 수 있다. 예를 들어, 학습 텍스트를 나타내는 데이터는 G2P(Grapheme-to-phoneme) 알고리즘을 사용하여 학습 텍스트에 대응하는 음소 시퀀스(phoneme sequence)를 포함할 수 있다. 학습 음성을 나타내는 데이터는 학습 텍스트를 사람이 읽은 음성을 녹음한 데이터, 그러한 녹음 데이터로부터 추출된 사운드 피처(sound feature), 또는 스펙트로그램(spectrogram) 등일 수 있다. 일 실시예에서, 학습 음성을 나타내는 데이터는 학습 음성의 순차적 운율 특징을 포함할 수 있다. 다른 실시예에서, 학습 음성을 나타내는 데이터는 학습 음성을 발화한 화자의 발성 특징을 더 포함할 수 있다. 데이터 학습부(450)는 복수의 학습 텍스트 및 이에 대응하는 학습 음성에 대응하는 학습 데이터의 쌍을 기초로 기계학습을 수행하여, 인공신경망 텍스트-음성 합성 모델을 생성할 수 있다. 이러한 학습 시, 학습 텍스트는 인공신경망 텍스트-음성 합성 모델의 인코더에 대응하는 제1 인공신경망 텍스트-음성 합성 모델에 제공될 수 있으며, 순차적 운율 특징은 제1 인공신경망 텍스트-음성 합성 모델 및/또는 디코더에 대응하는 제2 인공신경망 텍스트-음성 합성 모델에 입력될 수 있다. The data learning unit 450 may correspond to the data learning unit 1010 of FIG. 10 . The data learning unit 450 may receive data representing a plurality of learning texts and corresponding learning voices through the voice database 425 or the communication unit 405 . Data representing the learning text may include information on at least one letter. For example, data representing the training text may include a phoneme sequence corresponding to the training text using a grapheme-to-phoneme (G2P) algorithm. The data representing the training voice may be data recorded by a human reading the training text, a sound feature extracted from such recorded data, or a spectrogram. In one embodiment, the data representing the learning voice may include sequential prosodic features of the learning voice. In another embodiment, the data representing the learning voice may further include vocal characteristics of a speaker who uttered the learning voice. The data learning unit 450 may generate an artificial neural network text-speech synthesis model by performing machine learning based on pairs of training data corresponding to a plurality of training texts and training voices corresponding thereto. During this learning, the training text may be provided to the first artificial neural network text-speech synthesis model corresponding to the encoder of the artificial neural network text-speech synthesis model, and the sequential prosody features may be applied to the first artificial neural network text-speech synthesis model and/or It may be input to the second artificial neural network text-speech synthesis model corresponding to the decoder.

일 실시예예 따르면, 데이터 인식부(455)는 입력 텍스트를 수신하고 순차적 운율 특징을 수신하도록 구성될 수 있다. 입력 텍스트 및 순차적 운율 특징을 인공신경망 텍스트-음성 합성 모델에 입력하여 수신된 운율 특징이 반영된 입력 텍스트에 대한 출력 음성 데이터를 생성할 수 있다. 여기서, 입력 텍스트는 제1 인공신경망 텍스트-음성 합성 모델에 제공될 수 있으며, 순차적 운율 특징은 제1 인공신경망 텍스트-음성 합성 모델 및/또는 제2 인공신경망 텍스트-음성 합성 모델에 입력될 수 있다. 그 결과, 순차적 운율 특징이 반영된 입력 텍스트에 대응하는 출력 음성 데이터가 인공신경망 텍스트-음성 합성 모델로부터 생성될 수 있다. 다른 실시예에 따르면, 데이터 인식부(455)는 화자의 발성 특징을 더 수신하도록 구성될 수 있다. 수신된 화자의 발성 특징은 순차적 운율 특징과 마찬가지로 제2 인공신경망 텍스트-음성 합성 모델에 제공될 수 있다. 이러한 동작 하에서, 화자의 음성을 모사하고 순차적 운율 특징이 반영된 입력 텍스트에 대응하는 출력 음성 데이터가 인공신경망 텍스트-음성 합성 모델로부터 생성될 수 있다.According to one embodiment, data recognition unit 455 may be configured to receive input text and receive sequential prosodic features. Input text and sequential prosody features may be input to an artificial neural network text-speech synthesis model to generate output voice data for the input text in which the received prosody features are reflected. Here, the input text may be provided to the first artificial neural network text-speech synthesis model, and the sequential prosody features may be input to the first artificial neural network text-speech synthesis model and/or the second artificial neural network text-speech synthesis model. . As a result, output voice data corresponding to input text in which sequential prosody characteristics are reflected can be generated from an artificial neural network text-speech synthesis model. According to another embodiment, the data recognizing unit 455 may be configured to further receive speech characteristics of the speaker. The received vocalization characteristics of the speaker may be provided to the second artificial neural network text-speech synthesis model, similarly to the sequential prosody characteristics. Under this operation, output voice data corresponding to the input text that mimics the speaker's voice and reflects sequential prosody characteristics can be generated from the artificial neural network text-speech synthesis model.

도 5는 본 개시의 일 실시예에 따른 순차적 운율 특징을 기초로 기계학습을 이용한 텍스트-음성 합성 방법을 나타내는 흐름도이다. 먼저, S510에서, 텍스트 음성-합성 시스템(400)은 복수의 학습 텍스트 및 복수의 학습 텍스트에 대응되는 음성 데이터에 기초하여 기계학습을 수행하여 생성된 인공신경망 텍스트-음성 합성 모델을 생성하는 단계를 수행할 수 있다. 여기서, 인공신경망 텍스트-음성 합성 모델은 단일 인공신경망 텍스트-음성 합성 모델일 수 있다. 5 is a flowchart illustrating a text-to-speech synthesis method using machine learning based on sequential prosody characteristics according to an embodiment of the present disclosure. First, in S510, the text-to-speech synthesis system 400 generates an artificial neural network text-to-speech synthesis model generated by performing machine learning based on a plurality of training texts and voice data corresponding to the plurality of training texts. can be done Here, the artificial neural network text-speech synthesis model may be a single artificial neural network text-speech synthesis model.

텍스트-음성 합성 시스템(400)은 S520에서, 입력 텍스트를 수신하는 단계를 수행할 수 있다. 단계 S530에서, 텍스트-음성 합성 시스템(400)은 순차적 운율 특징을 수신하는 단계를 수행할 수 있다. 텍스트-음성 합성 시스템(400)은 입력 텍스트 및 순차적 운율 특징을 미리 학습된 텍스트-음성 합성 모델에 입력하여, 순차적 운율 특징이 반영된 입력 텍스트에 대한 출력 음성 데이터를 생성하는 단계를 S540에서 수행할 수 있다.The text-to-speech synthesis system 400 may perform a step of receiving input text in S520. In step S530, the text-to-speech synthesis system 400 A step of receiving sequential prosody features may be performed. The text-to-speech synthesis system 400 inputs the input text and sequential prosody features to the pre-learned text-to-speech synthesis model, and generates output voice data for the input text in which the sequential prosody features are reflected, in S540. there is.

도 6은 본 개시의 일 실시예에 따른 인공신경망 기반의 텍스트-음성 합성 시스템의 구성을 나타내는 예시도이다. 일 실시예에서, 인코더(610) 및 디코더(620) 및 후처리 프로세서(630)의 각각은 도 4의 인코더(435), 디코더(440) 및 후처리 프로세서(445)의 각각에 대응할 수 있다. 6 is an exemplary diagram illustrating the configuration of a text-speech synthesis system based on an artificial neural network according to an embodiment of the present disclosure. In one embodiment, each of encoder 610 and decoder 620 and post processor 630 may correspond to each of encoder 435, decoder 440 and post processor 445 in FIG. 4 .

일 실시예에 따르면, 인코더(610)는 도 6에 도시된 바와 같이, 입력 텍스트에 대한 글자 임베딩을 수신할 수 있다. 다른 실시예에 따르면, 입력 텍스트는 하나 이상의 언어에서 사용되는 단어, 문구 또는 문장 중 적어도 하나를 포함할 수 있다. 예를 들어, 'HELLO' 등과 같은 문장과 같은 텍스트를 입력받을 수 있다. 입력 텍스트가 수신되면, 인코더(610)는 수신된 입력 텍스트를 자모단위, 글자단위, 음소(phoneme) 단위로 분리할 수 있다. 또 다른 실시예에 따르면, 인코더(610)는 자모단위, 글자단위, 음소(phoneme) 단위로 분리된 입력 텍스트를 수신할 수 있다. 그리고 나서, 인코더(610)는 입력 텍스트를 문자 임베딩(character embedding)로 변환하여 생성할 수 있다. According to an embodiment, the encoder 610 may receive character embedding for input text, as shown in FIG. 6 . According to another embodiment, the input text may include at least one of words, phrases, or sentences used in one or more languages. For example, text such as a sentence such as 'HELLO' may be input. When input text is received, the encoder 610 may divide the received input text into consonant units, character units, and phoneme units. According to another embodiment, the encoder 610 may receive input text divided into consonant units, character units, and phoneme units. Then, the encoder 610 may generate by converting the input text into character embedding.

인코더(610)는 텍스트를 발음 정보로 생성하도록 구성될 수 있다. 일 실시예에서, 인코더(610)는 생성된 문자 임베딩을 완전연결층(fully-connected layer)을 포함한 프리넷(pre-net)에 통과시킬 수 있다. 또한, 인코더(610)는 프리넷(pre-net)으로부터의 출력을 CBHG 모듈에 제공하여, 도 6에 도시된 바와 같이, 인코더의 숨겨진 상태들(encoder hidden states) ei을 출력할 수 있다. 예를 들어, CBHG 모듈은 1차원 컨볼루션 뱅크(1D convolution bank), 맥스 풀링(max pooling), 하이웨이 네트워크(highway network), 양방향 GRU(bidirectional gated recurrent unit)를 포함할 수 있다.Encoder 610 may be configured to generate text into pronunciation information. In one embodiment, the encoder 610 may pass the generated character embedding through a pre-net including a fully-connected layer. In addition, the encoder 610 may provide an output from the pre-net to the CBHG module to output hidden states e i of the encoder as shown in FIG. 6 . For example, the CBHG module may include a 1D convolution bank, max pooling, a highway network, and a bidirectional gated recurrent unit (GRU).

또 다른 실시예에서, 인코더(610)가 입력 텍스트 또는 분리된 입력 텍스트를 수신한 경우, 인코더(610)는 적어도 하나의 임베딩 레이어를 생성하도록 구성될 수 있다. 일 실시예에 따르면, 인코더(610)의 적어도 하나의 임베딩 레이어는 자모단위, 글자단위, 음소(phoneme)단위로 분리된 입력 텍스트에 기초하여 글자 임베딩을 생성할 수 있다. 예를 들어, 인코더(610)는 분리된 입력 텍스트에 기초하여 글자 임베딩을 획득하기 위하여 이미 학습된 기계 학습 모델(예를 들어, 확률 모델 또는 인공신경망 등)을 사용할 수 있다. 나아가, 인코더(610)는 기계 학습을 수행하면서 기계 학습 모델을 갱신할 수 있다. 기계 학습 모델이 갱신되는 경우, 분리된 입력 텍스트에 대한 글자 임베딩도 변경될 수 있다. 인코더(610)는 글자 임베딩을 완전연결층(fully-connected layer)으로 구성된 DNN(Deep Neural Network) 모듈에 통과시킬 수 있다. DNN은 일반적인 피드포워드 레이어(feedforward layer) 또는 선형 레이어(linear layer)를 포함할 수 있다. 인코더(610)는 DNN의 출력을 CNN(convolutional neural network) 또는 RNN(Recurrent Neural Network) 중 적어도 하나가 포함된 모듈에 제공할 수 있으며, 인코더(610)의 숨겨진 상태들을 생성할 수 있다. CNN은 컨볼루션 커널(convolution kernel) 사이즈에 따른 지역적 특성을 포착할 수 있는 반면에, RNN은 장기 의존성(long term dependency)을 포착할 수 있다. 이러한 인코더(610)의 숨겨진 상태들, 즉 입력 텍스트에 대한 발음 정보는 어텐션 모듈를 포함한 디코더(620)에 제공되고, 디코더(620)는 이러한 발음 정보를 음성으로 생성하도록 구성될 수 있다. In another embodiment, when the encoder 610 receives input text or separated input text, the encoder 610 may be configured to generate at least one embedding layer. According to an embodiment, at least one embedding layer of the encoder 610 may generate character embeddings based on input text divided into consonant units, character units, and phoneme units. For example, the encoder 610 may use a previously learned machine learning model (eg, a probabilistic model or an artificial neural network) to obtain character embeddings based on the separated input text. Furthermore, the encoder 610 may update the machine learning model while performing machine learning. When the machine learning model is updated, the character embedding of the separated input text may also be changed. The encoder 610 may pass the character embedding through a deep neural network (DNN) module composed of fully-connected layers. A DNN may include a general feedforward layer or a linear layer. The encoder 610 may provide an output of the DNN to a module including at least one of a convolutional neural network (CNN) or a recurrent neural network (RNN), and may generate hidden states of the encoder 610 . CNNs can capture local features depending on the convolution kernel size, whereas RNNs can capture long term dependencies. The hidden states of the encoder 610, that is, pronunciation information for the input text, are provided to the decoder 620 including the attention module, and the decoder 620 may be configured to generate the pronunciation information as voice.

디코더(620)는, 인코더(610)로부터 인코더의 숨겨진 상태들 ei를 수신할 수 있다. 일 실시예에서, 도 6에 도시된 바와 같이, 디코더(620)는 어텐션 모듈, 완전연결층으로 구성된 프리넷과 GRU(gated recurrnt unit)를 포함하고 어텐션(attention) RNN(recurrent neural network), 레지듀얼 GRU(residual GRU)를 포함한 디코더 RNN(decoder RNN)을 포함할 수 있다. 여기서, 어텐션 RNN은 어텐션 모듈에서 사용될 정보를 출력할 수 있다. 또한, 디코더 RNN은 어텐션 모듈로부터 입력 텍스트의 위치 정보를 수신할 수 있다. 즉, 위치 정보는 디코더(620)가 입력 텍스트의 어떤 위치를 음성으로 변환하고 있는지에 관한 정보를 포함할 수 있다. 디코더 RNN은 어텐션 RNN으로부터 정보를 수신할 수 있다. 어텐션 RNN으로부터 수신한 정보는 디코더(620)가 이전 시간-단계(time-step)까지 어떤 음성을 생성했는지에 대한 정보를 포함할 수 있다. 디코더 RNN은 지금까지 생성한 음성에 이어질 다음 출력 음성을 생성할 수 있다. 예를 들어, 출력 음성은 멜 스펙트로그램 형태를 가질 수 있으며, 출력 음성은 r개의 프레임을 포함할 수 있다. The decoder 620 may receive the hidden states e i of the encoder from the encoder 610 . In one embodiment, as shown in FIG. 6, the decoder 620 includes an attention module, a freenet composed of a fully connected layer, and a gated recurrnt unit (GRU), and includes an attention recurrent neural network (RNN), residual It may include a decoder RNN (decoder RNN) including a residual GRU (GRU). Here, the attention RNN may output information to be used in the attention module. Also, the decoder RNN may receive positional information of input text from the attention module. That is, the location information may include information about which location of the input text is being converted into voice by the decoder 620 . The decoder RNN may receive information from the attention RNN. The information received from the attention RNN may include information about what voice the decoder 620 has generated up to the previous time-step. The decoder RNN can generate the next output speech following the speech generated so far. For example, the output voice may have a form of a mel spectrogram, and the output voice may include r frames.

다른 실시예에서, 디코더(620)에 포함된 프리넷은 완전연결층(fully-connected layer)으로 구성된 DNN으로 대체될 수 있다. 여기서, DNN은 일반적인 피드포워드 레이어(feedforward layer) 또는 선형 레이어(linear layer) 중 적어도 하나를 포함할 수 있다. In another embodiment, FreeNet included in the decoder 620 may be replaced with a DNN composed of fully-connected layers. Here, the DNN may include at least one of a general feedforward layer and a linear layer.

일 실시예에서, 디코더(620)는 순차적 운율 특징을 수신하도록 구성될 수 있다. 예를 들어, 도 6에 도시된 바와 같이, 순차적 운율 특징 추출부(410)는 음성 신호 또는 샘플로부터 순차적 운율 특징을 나타내는 복수의 임베딩 벡터 p1, p2, ... pn(여기서, n은 음성 샘플의 길이에 비례함)를 추출할 수 있다. 복수의 임베딩 벡터의 각각은 단위 시간 별 운율 특징 또는 정보를 포함할 수 있다. 순차적 운율 특징 추출부(410)가 음성 신호 또는 샘플로부터 복수의 임베딩 벡터 p1, p2, ... pn를 디코더에 입력하는 방식은 이하에서 도 7을 참조하여 상세히 설명된다. In one embodiment, decoder 620 may be configured to receive sequential prosodic features. For example, as shown in FIG. 6, the sequential prosody feature extraction unit 410 includes a plurality of embedding vectors p1, p2, ... pn representing sequential prosody features from a voice signal or sample (where n is a voice sample). Proportional to the length of) can be extracted. Each of the plurality of embedding vectors may include prosody characteristics or information per unit time. A method in which the sequential prosody feature extractor 410 inputs a plurality of embedding vectors p1, p2, ... pn from a voice signal or sample to a decoder will be described in detail with reference to FIG. 7 below.

일 실시예에서 디코더(620)는 화자의 발성 특징을 더 수신하도록 구성될 수 있다. 예를 들어, 도 6에 도시된 바와 같이, 화자의 발성 특징은 화자 ID가 발성 특징 추출부(415)에 입력되어 화자의 발성 특징에 대응하는 화자 임베딩 벡터 e가 화자의 발성 특징으로서 생성될 수 있다. 다른 예로서, 화자의 발성 특징은 화자 ID가 아닌 음성 신호 또는 샘플로부터 화자의 임베딩 벡터를 추출함으로써 생성될 수 있다. In one embodiment, decoder 620 may be configured to further receive vocal characteristics of the speaker. For example, as shown in FIG. 6 , a speaker ID may be input to the speech feature extraction unit 415 to generate a speaker embedding vector e corresponding to the speaker's speech feature as the speaker's speech feature. there is. As another example, the speaker's speech characteristics may be generated by extracting the speaker's embedding vector from a speech signal or sample rather than a speaker ID.

또한 디코더(620)의 어텐션 모듈은 어텐션 RNN으로부터 정보를 수신할 수 있다. 어텐션 RNN으로부터 수신한 정보는 디코더(620)가 이전 시간-단계(time-step)까지 어떤 음성을 생성했는지에 대한 정보를 포함할 수 있다. 또한 디코더(620)의 어텐션 모듈은 어텐션 RNN으로부터 수신한 정보 및 인코더의 정보에 기초하여 컨텍스트 벡터를 출력할 수 있다. 인코더(610)의 정보는 음성을 생성해야 할 입력 텍스트에 대한 정보를 포함할 수 있다. 컨텍스트 벡터는 현재 시간-단계(time-step)에서 입력 텍스트 중 어떤 부분으로부터 음성을 생성할지 결정하기 위한 정보를 포함할 수 있다. 예를 들어, 디코더(620)의 어텐션 모듈은 음성 생성의 초반에는 입력 텍스트의 앞부분에 기초하여 음성을 생성하고, 음성이 생성되어 감에 따라, 점점 입력 텍스트의 뒷부분에 기초하여 음성을 생성하도록 하는 정보를 출력할 수 있다.Also, the attention module of the decoder 620 may receive information from the attention RNN. The information received from the attention RNN may include information about what voice the decoder 620 has generated up to the previous time-step. Also, the attention module of the decoder 620 may output a context vector based on information received from the attention RNN and information of the encoder. Information of the encoder 610 may include information on input text to generate voice. The context vector may include information for determining from which part of the input text to generate speech in the current time-step. For example, the attention module of the decoder 620 generates voice based on the front part of the input text at the beginning of voice generation, and gradually generates voice based on the later part of the input text as the voice is generated. information can be printed.

디코더(620)는 순차적인 운율 특징 중 시간 단위에 따른 임베딩 벡터인 p1, p2, ... pn의 각각 및 화자 임베딩 벡터 e를 어텐션(attention) RNN 및 디코더(decoder) RNN의 시간 단계 별로 입력하여, 화자 마다 그리고 입력 텍스트의 각 부분 마다 다르게 디코딩하도록 인공신경망의 구조를 구성할 수 있다. 도 6에서는, 복수의 임베딩 벡터 p1, p2, ... pn 가 순차적 운율 특징 추출부(410)으로부터 추출된 것으로 도시되어 있으나, 이에 한정되지 않으며, 디코더(620)는 정규화기(420)으로부터 정규화된 순차적 운율 특징에 대응하는 복수의 임베딩 벡터를 수신할 수 있고, 정규화된 순차적 운율 특징에 대응하는 복수의 임베딩 벡터는 화자의 임베딩 벡터 e와 함께 어텐션 RNN 및 디코더(decoder) RNN의 시간 단계 별로 입력될 수 있다. The decoder 620 inputs each of the embedding vectors p1, p2, ... pn and the speaker embedding vector e according to the time unit among the sequential prosody features for each time step of the attention RNN and decoder RNN , the structure of the artificial neural network can be configured to decode differently for each speaker and for each part of the input text. In FIG. 6, a plurality of embedding vectors p1, p2, ... pn are illustrated as being extracted from the sequential prosody feature extraction unit 410, but are not limited thereto, and the decoder 620 normalizes them from the normalizer 420. A plurality of embedding vectors corresponding to the sequential prosody features may be received, and the plurality of embedding vectors corresponding to the normalized sequential prosody features are input for each time step of the attention RNN and the decoder RNN together with the embedding vector e of the speaker. It can be.

더미 프레임들은 이전 시간-단계(time-step)가 존재하지 않는 경우 디코더(620)에 입력되는 프레임이다. RNN은 자동-회귀(autoregressive)로 기계학습을 할 수 있다. 즉, 직전 시간-단계(622)에서 출력된 r 프레임은 현재 시간-단계(623)의 입력이 될 수 있다. 최초 시간-단계(621)에서는 직전 시간-단계가 있을 수 없으므로, 디코더(620)는 최초 시간-단계의 기계 학습 네트워크에 더미 프레임을 입력할 수 있다.Dummy frames are frames input to the decoder 620 when no previous time-step exists. RNN can do machine learning with auto-regressive. That is, the r frame output at the previous time-step 622 can be an input to the current time-step 623. In the first time-step 621, there cannot be a previous time-step, so the decoder 620 can input a dummy frame to the machine learning network of the first time-step.

텍스트-음성 합성을 위하여 DNN, 어텐션 RNN 및 디코더 RNN의 동작은 반복적으로 수행될 수 있다. 예를 들어, 최초 시간-단계(621)에서 획득된 r개의 프레임은 다음 시간-단계(622)의 입력이 될 수 있다. 또한 시간-단계(622)에서 출력된 r개의 프레임은 다음 시간-단계(623)의 입력이 될 수 있다.For text-to-speech synthesis, the operations of the DNN, attention RNN, and decoder RNN may be repeatedly performed. For example, r frames obtained in the first time-step 621 may be input to the next time-step 622 . Also, the r frames output at time-step 622 may be input to the next time-step 623 .

상술한 바와 같은 과정을 통하여 입력 텍스트를 화자 마다 음성 합성이 가능할 뿐만 아니라 나아가 입력 텍스트에 시간 순으로 각 부분에 대한 운율 특징을 반영할 수 있다. 즉, 입력 텍스트에 대응하는 합성 음성의 특정 시점에서의 운율 특징을 제어하는 것이 가능하다. 이에 따라, 텍스트-음성 합성 시스템은 사람들의 의도 도는 감정을 보다 정확히 전달하기 위하여, 합성 음성에 대한 미세한 운율의 제어가 가능하다. Through the above-described process, it is possible not only to synthesize the input text for each speaker, but also to reflect the prosody characteristics of each part in the input text in chronological order. That is, it is possible to control the prosody characteristics of the synthesized voice corresponding to the input text at a specific point in time. Accordingly, the text-to-speech synthesis system can control fine prosody of the synthesized voice in order to more accurately convey people's intentions or emotions.

일 실시예에 따르면, 디코더(620)는 각각의 시간-단계마다 나온 멜 스펙트로그램을 시간 순으로 연결(concatenate)하여 전체 텍스트에 대한 멜 스펙트로그램의 음성을 획득할 수 있다. 전체 텍스트에 대한 멜 스펙트로그램의 음성은 후처리 프로세서(630)로 출력될 수 있다. 예를 들어, 후처리 프로세서(630)는 도 4의 후처리 프로세서(445)에 대응될 수 있다. According to an embodiment, the decoder 620 may acquire the voice of the mel spectrogram for the entire text by concatenating the mel spectrograms generated for each time-step in chronological order. The speech of the Mel spectrogram for the entire text may be output to the post-processing processor 630. For example, the post-processing processor 630 may correspond to the post-processing processor 445 of FIG. 4 .

일 실시예에 따르면, 후처리 프로세서(630)의 CBHG는 도 6에 도시된 바와 같이, 디코더(620)의 멜 스케일 스펙트로그램을 선형 스펙트로그램(linear-scale spectrogram)으로 변환하도록 구성될 수 있다. 예를 들어, 후처리 프로세서(630)의 CBHG의 출력 신호는 매그니튜드 스펙트로그램(magnitude spectrogram)를 포함할 수 있다. 후처리 프로세서(630)의 CBHG의 출력 신호의 위상(phase)은 그리핀-림(Griffin-Lim) 알고리즘을 통해 복원되고, 역 단시간 퓨리어 변환(inverse short-time fourier transform)될 수 있다. 후처리 프로세서(630)는 시간 도메인(time domain)의 음성 신호로 출력할 수 있다.According to one embodiment, the CBHG of the post-processor 630 may be configured to convert the mel-scale spectrogram of the decoder 620 to a linear-scale spectrogram, as shown in FIG. 6 . For example, the output signal of the CBHG of the post-processor 630 may include a magnitude spectrogram. The phase of the output signal of the CBHG of the post-processor 630 may be restored through a Griffin-Lim algorithm and subjected to an inverse short-time Fourier transform. The post-processing processor 630 may output the audio signal in the time domain.

다른 실시예에 따르면, 인코더(610)가 CNN 또는 RNN을 포함하도록 구성되면, 후처리 프로세서(630)는 CNN 또는 RNN를 포함하도록 구성되고, 이러한 CNN 또는 RNN은 인코더(610)의 CNN 또는 RNN과 유사한 동작을 수행할 수 있다. 즉, 후처리 프로세서(630)의 CNN 또는 RNN은 지역적 특성과 장기 의존성을 포착할 수 있다. 예를 들어, 후처리 프로세서(630)는 보코더일 수 있다. 이에 따라, 후처리 프로세서(630)의 CNN 또는 RNN은 선형-스케일 스펙트로그램(linear-scale spectrogram)을 출력할 수 있다. 예를 들어, 선형-스케일 스펙트로그램은 크기 스펙트로그램(magnitude spectrogram)를 포함할 수 있다. 후처리 프로세서(630)는 스펙트로그램의 위상(phase)을 Griffin-Lim 알고리즘을 통해 예측할 수 있다. 후처리 프로세서(630)는 역 단기 푸리에 변환(Inverse Short-Time Fourier Transform)을 이용하여 시간 도메인(time domain)의 음성 신호를 출력할 수 있다.According to another embodiment, if the encoder 610 is configured to include CNNs or RNNs, then the post-processor 630 is configured to include CNNs or RNNs, which CNNs or RNNs of the encoder 610 and the CNNs or RNNs. Similar actions can be performed. That is, the CNN or RNN of the post-processor 630 can capture local characteristics and long-term dependencies. For example, the post processor 630 may be a vocoder. Accordingly, the CNN or RNN of the post-processor 630 may output a linear-scale spectrogram. For example, a linear-scale spectrogram can include a magnitude spectrogram. The post-processing processor 630 may predict the phase of the spectrogram through the Griffin-Lim algorithm. The post-processing processor 630 may output a time domain audio signal using an inverse short-time Fourier transform.

또 다른 실시예에 따르면, 후처리 프로세서(630)는 기계학습모델에 기초하여 멜 스펙트로그램으로부터 음성 신호를 생성할 수 있다. 기계학습모델은 멜 스펙트로그램과 음성 신호 사이의 상관 관계를 기계학습한 모델을 포함할 수 있다. 예를 들어 WaveNet 또는 WaveGlow 등과 같은 인공신경망 모델이 사용될 수 있다.According to another embodiment, the post-processing processor 630 may generate a voice signal from the MEL spectrogram based on a machine learning model. The machine learning model may include a machine learning model of a correlation between a Mel spectrogram and a voice signal. For example, an artificial neural network model such as WaveNet or WaveGlow may be used.

이러한 인공신경망 기반의 텍스트-음성 합성 시스템은, 학습 텍스트와 음성 신호의 쌍으로 존재하는 대용량의 데이터 베이스를 이용하여 학습될 수 있다. 일 실시예에 따르면, 음성 합성 장치는 텍스트를 수신하고, 출력된 음성 신호를 정답 음성 신호와 비교하여 손실 함수(loss function)을 정의할 수 있다. 음성 합성 장치는 손실 함수를 오차 역전파(error back propagation) 알고리즘을 통해 학습하여, 최종적으로 임의의 텍스트를 입력했을 때 원하는 음성 출력이 나오는 인공신경망을 얻을 수 있다. Such an artificial neural network-based text-speech synthesis system can be learned using a large-capacity database that exists as a pair of training text and voice signals. According to an embodiment, the voice synthesizer may receive text and compare the output voice signal with a correct voice signal to define a loss function. The speech synthesis apparatus may learn the loss function through an error back propagation algorithm, and finally obtain an artificial neural network that produces a desired speech output when arbitrary text is input.

이러한 인공신경망 기반의 음성 합성 장치에서, 텍스트, 화자의 발성 특징, 순차적 운율 특징 등이 인공신경망 텍스트-음성 합성 모델에 입력되어 음성 신호가 출력될 수 있다. 텍스트-음성 합성 시스템은 출력된 음성 신호와 정답 음성 신호를 비교하여 학습함으로써, 텍스트, 화자의 발성 특징 및 순차적 운율 특징을 수신할 때 해당 화자의 음성으로 순차적 운율 특징이 반영된 텍스트를 읽는 출력 음성 데이터를 생성할 수 있다.In such an artificial neural network-based voice synthesizer, a voice signal may be output by inputting text, speaker's vocalization characteristics, sequential prosody characteristics, etc. to an artificial neural network text-speech synthesis model. The text-to-speech synthesis system learns by comparing the output voice signal with the correct answer voice signal, and when receiving the text, speaker's vocalization characteristics, and sequential prosody characteristics, output voice data that reads the text in which the sequential prosody characteristics are reflected in the corresponding speaker's voice. can create

도 7은 본 개시의 일 실시예에 따른 인공신경망 기반의 텍스트-음성 합성 시스템에서, 순차적 운율 특징을 텍스트-음성 합성 시스템의 디코더(720)에 입력하여 합성 음성을 생성하는 과정을 보여주는 예시도이다. 여기서, 인코더(710), 디코더(720), 순차적 운율 특징 추출부(730) 및 어텐션 모듈(740)의 각각은 도 4의 인코더(435), 디코더(440), 순차적 운율 특징 추출부(410) 및 어텐션 모듈(430)의 각각에 대응될 수 있다. 또한, 인코더(710) 및 디코더(720)는 도 6의 인코더(610) 및 디코더(620)의 각각에 대응될 수 있다. 도 7에서 음성의 길이인 N은 4이고, 텍스트의 길이 T는 3인 것으로 가정하고 도시되었으나, 이에 한정되지 않으며, 음성의 길이인 N 및 텍스트의 길이 T는 서로 상이한 임의의 양수일 수 있다. 7 is an exemplary diagram illustrating a process of generating synthesized speech by inputting sequential prosody characteristics to a decoder 720 of the text-speech synthesis system based on an artificial neural network according to an embodiment of the present disclosure. . Here, each of the encoder 710, decoder 720, sequential prosody feature extractor 730, and attention module 740 is the encoder 435, decoder 440, sequential prosody feature extractor 410 of FIG. and each of the attention module 430. Also, the encoder 710 and the decoder 720 may correspond to each of the encoder 610 and the decoder 620 of FIG. 6 . In FIG. 7, it is assumed that the length N of the voice is 4 and the length T of the text is 3, but is not limited thereto, and the length N of the voice and the length T of the text may be any positive number different from each other.

일 실시예에 따르면, 도 7에 도시된 바와 같이, 순차적 운율 특징 추출부(730)는 스펙트로그램(y1, y2, y3, yn)을 수신하고, 순차적 운율 특징을 나타내는 복수의 임베딩 벡터(P1, P2, P3, Pn)을 추출하도록 구성될 수 있다. 이렇게 추출된 복수의 임베딩 벡터(P1, P2, P3, Pn)는 디코더(720)에 제공될 수 있다. 예를 들어, 추출된 복수의 임베딩 벡터(P1, P2, P3, Pn)는 디코더(720)의 N개의 디코더 RNN 및 어텐션 RNN에 제공될 수 있다. 또한, 인코더(710)로부터 제공된 숨겨진 상태들(e1, e2, eT)이 어텐션 모듈(740)에 제공될 수 있으며, 어텐션 모듈(740)은 숨겨진 상태들(e1, e2, eT)는 스펙트로그램(P1, P2, P3, Pn)의 길이에 대응되도록 변환 숨겨진 상태들(e'1, e'2, e'3, e'N)을 생성할 수 있다. 생성된 변환 숨겨진 상태들(e'1, e'2, e'3, e'N)은 추출된 복수의 임베딩 벡터(P1, P2, P3, Pn)와 함께 연결되어 N개의 디코더 RNN 및 어텐션 RNN의 각각에서 입력되어 처리될 수 있다. 이러한 디코더(720) 내의 처리 과정은 도 6에서 설명한 처리 과정과 중복되는 과정이므로 자세한 설명은 생략된다. 이러한 과정을 통하여 인코더(710) 및 디코더(720)에 포함된 인공신경망 텍스트-음성 합성 모델을 학습시켜서 순차적 운율 특징이 더욱 자연스럽게 반영되도록 할 수 있다. According to an embodiment, as shown in FIG. 7 , the sequential prosody feature extractor 730 receives spectrograms (y 1 , y 2 , y 3 , y n ), and inserts a plurality of embeddings representing the sequential prosody features. It can be configured to extract vectors (P 1 , P 2 , P 3 , P n ). The plurality of embedding vectors extracted in this way (P 1 , P 2 , P 3 , P n ) may be provided to the decoder 720 . For example, the extracted embedding vectors P 1 , P 2 , P 3 , and P n may be provided to N decoder RNNs and attention RNNs of the decoder 720 . In addition, the hidden states (e 1 , e 2 , e T ) provided from the encoder 710 may be provided to the attention module 740 , and the attention module 740 may provide the hidden states (e 1 , e 2 , e T ). T ) may generate transformation hidden states (e' 1 , e' 2 , e' 3 , e' N ) to correspond to the lengths of the spectrograms (P 1 , P 2 , P 3 , P n ) . The generated transformation hidden states (e' 1 , e' 2 , e' 3 , e' N ) are concatenated with a plurality of extracted embedding vectors (P 1 , P 2 , P 3 , P n ) to generate N decoders. It can be input and processed in each of the RNN and attention RNN. Since the process in the decoder 720 overlaps the process described in FIG. 6, detailed descriptions thereof are omitted. Through this process, the artificial neural network text-speech synthesis model included in the encoder 710 and the decoder 720 is trained so that sequential prosody characteristics can be reflected more naturally.

도 7에서는 특정 음성을 나타내는 스펙트로그램(y1, y2, y3, yn)가 순차적 운율 특징 추출부(730)에 제공되고, 디코더(620)를 통해 동일한 스펙트로그램(y1, y2, y3, yn)이 출력되는 과정을 설명하고 있으나, 이에 한정되지 않으며, 디코더(720)를 통해 출력되는 음성과 다른 길이의 음성이 순차적 운율 특징 추출부(730)에 입력될 수 있다. 이 경우, 추가적인 어텐션 모듈(미도시)이 순차적 운율 특징 추출부로부터 추출된 복수의 임베딩 벡터를 수신하고 수신된 복수의 임베딩 벡터의 길이를 디코더(720)를 통해 출력되는 음성의 길이에 대응되도록 변환시킬 수 있다. 그리고 나서, 변환된 복수의 임베딩 벡터는 디코더(720)에 제공될 수 있다. In FIG. 7 , spectrograms (y 1 , y 2 , y 3 , y n ) representing a specific voice are provided to the sequential prosody feature extractor 730, and the same spectrograms (y 1 , y 2 , y 3 , y n ) has been described, but is not limited thereto, and a voice having a different length from that output through the decoder 720 may be sequentially input to the prosody feature extraction unit 730 . In this case, an additional attention module (not shown) receives a plurality of embedding vectors extracted from the sequential prosody feature extraction unit and converts the lengths of the received plurality of embedding vectors to correspond to the length of voice output through the decoder 720. can make it Then, the converted plurality of embedding vectors may be provided to the decoder 720 .

도 8은 본 개시의 일 실시예에 따른 인공신경망 기반의 텍스트-음성 합성 시스템에서, 순차적 운율 특징을 텍스트-음성 합성 시스템의 인코더(820)에 입력하여 합성 음성을 생성하는 과정을 보여주는 예시도이다. 여기서, 어텐션 모듈(810), 인코더(820), 디코더(830) 및 순차적 운율 특징 추출부(840)의 각각은 도 4의 어텐션 모듈(430), 인코더(435), 디코더(440) 및 순차적 운율 특징 추출부(410)의 각각에 대응될 수 있다. 또한, 인코더(810) 및 디코더(820)는 도 6의 인코더(610) 및 디코더(620)의 각각에 대응될 수 있다. 도 8에서 음성의 길이인 N은 4이고, 텍스트의 길이 T는 3인 것으로 가정하고 도시되었으나, 이에 한정되지 않으며, 음성의 길이인 N 및 텍스트의 길이 T는 서로 상이한 임의의 양수일 수 있다. 8 is an exemplary view illustrating a process of generating a synthesized voice by inputting sequential prosody characteristics to an encoder 820 of the text-speech synthesis system based on an artificial neural network according to an embodiment of the present disclosure. . Here, each of the attention module 810, encoder 820, decoder 830, and sequential prosody feature extractor 840 is the attention module 430, encoder 435, decoder 440, and sequential prosody of FIG. It may correspond to each of the feature extraction units 410 . Also, the encoder 810 and the decoder 820 may correspond to each of the encoder 610 and the decoder 620 of FIG. 6 . In FIG. 8, it is assumed that the length N of the voice is 4 and the length T of the text is 3, but is not limited thereto, and the length N of the voice and the length T of the text may be any positive number different from each other.

일 실시예에 따르면, 도 8에 도시된 바와 같이, 순차적 운율 특징 추출부(840)는 스펙트로그램(y1, y2, y3, yn)을 수신하고, 순차적 운율 특징을 나타내는 복수의 임베딩 벡터(P1, P2, P3, Pn)을 추출하도록 구성될 수 있다. 이렇게 추출된 복수의 임베딩 벡터(P1, P2, P3, Pn)는 어텐션 모듈(810)에 제공될 수 있다. 어텐션 모듈(810)은 입력된 복수의 임베딩 벡터(P1, P2, P3, Pn)를 인코더(820)에 대응되는 음소 시퀀스의 길이(T)와 대응되도록 복수의 변환 임베딩 벡터(P1', P2', PT')를 생성하도록 구성될 수 있다. 다른 실시예에 따르면, 순차적 운율 특징 추출부(840)는 음소가 아닌, 단어에 대응되도록 복수의 변환 임베딩 벡터를 생성할 수 있다. 예를 들어, i번째 음소와 j번째 음소가 같은 단어 (v)에 속하는 경우 Pi'=Pj'의 값을 가질 수 있으며, 어텐션 모듈(810)은 단어에 대응하는 복수의 변환 임베딩 벡터(

Figure pat00001
,
Figure pat00002
, ...,
Figure pat00003
)를 생성하도록 구성될 수 있다. 단어의 길이
Figure pat00004
은 N, T와 상이한 임의의 양수일 수 있다.
Figure pat00005
를 구하는 한가지 예시로, 같은 단어에 속하는 음소들의 변환 임베딩 벡터들의 평균을 사용할 수 있으나, 이에 한정되지 않으며, 추가적인 어텐션 모듈 등이 이용될 수 있다. According to an embodiment, as shown in FIG. 8 , the sequential prosody feature extractor 840 receives spectrograms (y 1 , y 2 , y 3 , y n ), and inserts a plurality of embeddings representing the sequential prosody features. It can be configured to extract vectors (P 1 , P 2 , P 3 , P n ). The plurality of embedding vectors extracted in this way (P 1 , P 2 , P 3 , P n ) may be provided to the attention module 810 . The attention module 810 converts the plurality of input embedding vectors P 1 , P 2 , P 3 , and P n into a plurality of transform embedding vectors P to correspond to the length T of the phoneme sequence corresponding to the encoder 820. 1 ', P 2 ', P T '). According to another embodiment, the sequential prosody feature extractor 840 may generate a plurality of transform embedding vectors to correspond to words rather than phonemes. For example, if the i-th phoneme and the j-th phoneme belong to the same word (v), they may have a value of P i '=P j ', and the attention module 810 includes a plurality of transformation embedding vectors corresponding to the word (
Figure pat00001
,
Figure pat00002
, ...,
Figure pat00003
) can be configured to generate. word length
Figure pat00004
can be any positive number different from N and T.
Figure pat00005
As an example of obtaining , an average of transformation embedding vectors of phonemes belonging to the same word may be used, but is not limited thereto, and an additional attention module may be used.

도 8에 도시된 바와 같이, 이렇게 생성된 복수의 변환 임베딩 벡터(P1', P2', PT')의 각각은 입력 텍스트의 음소 시퀀스에 대응하는 숨겨진 상태들(e1, e2, eT)의 각각에 대응되도록 연결될 수 있다. 이렇게 연결된 숨겨진 상태들(e1, e2, eT)과 복수의 변환 임베딩 벡터(P1', P2', PT')는 디코더(830)에 제공될 수 있다. 이와 달리, 디코더(830)는 이렇게 수신된 숨겨진 상태들(e1, e2, eT)과 변환 임베딩 벡터(P1', P2', PT')를 디코더(830)의 어텐션 모듈, Pre-net, N개의 디코더 RNN 및 어텐션 RNN을 이용하여 음소 시퀀스 y1, y2, y3, yn을 생성할 수 있다. 이와 달리, 단어에 대응하는 복수의 변환 임베딩 벡터(

Figure pat00006
,
Figure pat00007
, ,,,,
Figure pat00008
)가 생성된 경우, 복수의 변환 임베딩 벡터(
Figure pat00009
,
Figure pat00010
, ...,
Figure pat00011
)의 각각은 입력 텍스트의 단어 시퀀스에 대응하는 숨겨진 상태들의 각각에 대응되도록 연결될 수 있다. 이러한 디코더 내의 처리 과정은 도 6에서 설명한 처리 과정과 중복되는 과정이므로 자세한 설명은 생략된다. 이러한 과정을 통하여 인코더(820) 및 디코더(830)에 포함된 인공신경망 텍스트-음성 합성 모델을 학습시켜서 순차적 운율 특징이 더욱 자연스럽게 반영되도록 할 수 있다. As shown in FIG. 8, each of the plurality of transform embedding vectors P 1 ', P 2 ', and P T 'generated in this way corresponds to the phoneme sequence of the input text, and the hidden states (e 1 , e 2 , e T ) may be connected so as to correspond to each of them. The hidden states (e 1 , e 2 , e T ) connected in this way and the plurality of transform embedding vectors (P 1 ′, P 2 ′, P T ′) may be provided to the decoder 830 . Unlike this, the decoder 830 converts the received hidden states e 1 , e 2 , e T ) and transform embedding vectors P 1 ', P 2 ', P T ' to the attention module of the decoder 830, Phoneme sequences y 1 , y 2 , y 3 , and y n may be generated using Pre-net, N decoder RNNs, and attention RNNs. Alternatively, a plurality of transformation embedding vectors corresponding to words (
Figure pat00006
,
Figure pat00007
, ,,,,
Figure pat00008
) is generated, a plurality of transform embedding vectors (
Figure pat00009
,
Figure pat00010
, ...,
Figure pat00011
) may be connected to correspond to each of the hidden states corresponding to the word sequence of the input text. Since the processing process in the decoder is the same as the process described in FIG. 6, a detailed description thereof will be omitted. Through this process, the artificial neural network text-speech synthesis model included in the encoder 820 and the decoder 830 is trained so that sequential prosody characteristics can be reflected more naturally.

도 9은 본 개시의 일 실시예에 따른 음성 신호 또는 샘플(910)으로부터 순차적 운율 특징을 나타내는 복수의 임베딩 벡터(930)를 추출하도록 구성된 순차적 운율 특징 추출부(920)의 네트워크를 나타내는 예시도이다. 일 실시예에서, 순차적 운율 특징 추출부(920)의 네트워크는 CNN(convolutional neural network), BN(batch-normalization), ReLU(rectifier linear unit) 및 GRU(gated recurrent unit)을 포함할 수 있다. CNN, BN 및 ReLU는 음성 신호 또는 샘플을 입력 받아 그 출력 값을 GRU(gated recurrent unit)에 입력하면, 순차적 운율 특징을 나타내는 복수의 임베딩 벡터를 출력할 수 있다. 예를 들어, 음성 신호 또는 샘플은 log-Mel-spectrogram의 형식으로 수신될 수 있다. 9 is an exemplary diagram illustrating a network of sequential prosody feature extractors 920 configured to extract a plurality of embedding vectors 930 representing sequential prosody features from a voice signal or sample 910 according to an embodiment of the present disclosure. . In one embodiment, the network of the sequential prosody feature extractor 920 may include a convolutional neural network (CNN), batch-normalization (BN), rectifier linear unit (ReLU), and gated recurrent unit (GRU). CNN, BN, and ReLU can output a plurality of embedding vectors representing sequential prosody characteristics when a voice signal or sample is input and the output value is input to a gated recurrent unit (GRU). For example, a voice signal or sample may be received in the form of a log-Mel-spectrogram.

일 실시에서, 데이터 인식부(455)가 음성 합성을 추론하는 경우, 음성 신호 또는 샘플은, 입력 텍스트에 해당하는 음성 데이터일 필요가 없으며 임의로 선택된 음성신호가 사용될 수 있다. 이와 달리, 데이터 학습부(450)가 음성 합성을 학습하는 경우, 음성 신호 또는 샘플은, 입력 텍스트에 대응하는 음성 데이터를 포함할 수 있다. In one embodiment, when the data recognizing unit 455 infers speech synthesis, the speech signal or sample need not be speech data corresponding to the input text, and an arbitrarily selected speech signal may be used. In contrast, when the data learning unit 450 learns voice synthesis, the voice signal or sample may include voice data corresponding to the input text.

이러한 네트워크에서, 스펙트로그램이 이용되는데 제약이 없기 때문에 임의의 스펙트로그램이 이 네트워크에 삽입될 수 있다. 또한, 이를 통해 네트워크의 즉각적인 적응을 통해 순차적인 운율 특징을 나타내는 임베딕 벡터(930)를 생성할 수 있다. 음성 신호 또는 샘플로서 입력되는 스펙트로그램은 가변적인 길이를 가질 수 있고, 그 길이에 따라 복수의 임베딩 벡터의 길이가 달라질 수 있다. 도 9에서는 CNN, BN, ReLU 및 GRU를 포함한 네트워크를 도시하고 있으나, 순차적인 운율 특징을 추출하기 위하여 다양한 층을 포함한 네트워크를 구축할 수 있다. In this network, any spectrogram can be inserted into this network since there is no restriction on the use of the spectrogram. In addition, through this, it is possible to generate an embedic vector 930 representing sequential prosody characteristics through immediate adaptation of the network. A spectrogram input as a voice signal or sample may have a variable length, and the length of a plurality of embedding vectors may vary according to the length. Although FIG. 9 shows a network including CNN, BN, ReLU, and GRU, a network including various layers can be constructed to extract sequential prosody features.

도 10는 본 개시의 일 실시예에 따른 마크업 언어에서 제공되는 태크에 입력된 속성값을 입력 텍스트에 적용하여 합성 음성을 출력하는 텍스트-음성 합성 시스템(1000)의 개요도이다. 일 실시예에서, 텍스트-음성 합성 시스템(1000)은 도 4의 텍스트-음성 합성 시스템(400) 및/또는 도 11의 텍스트-음성 합성 시스템(1100)에 대응될 수 있다. 10 is a schematic diagram of a text-to-speech synthesis system 1000 that outputs a synthesized voice by applying an attribute value input to a tag provided in a markup language to input text according to an embodiment of the present disclosure. In one embodiment, the text-to-speech synthesis system 1000 may correspond to the text-to-speech synthesis system 400 of FIG. 4 and/or the text-to-speech synthesis system 1100 of FIG. 11 .

순차적 운율 정보를 생성, 조절 또는 변경하기 위하여, 텍스트-음성 합성 시스템(1000)은 인터페이스 장치를 통해 텍스트의 적어도 일부분에 대한 운율 정보를 수신할 수 있다. 여기서, 인터페이스 장치는 텍스트-음성 합성 시스템(1000)에 직접 연결되거나 유선 및/또는 무선 통신을 통해 연결된 임의의 인터페이스 장치를 포함할 수 있으며, 예를 들어, 사용자 단말의 인터페이스를 포함할 수 있다. 또한, 텍스트의 적어도 일부분에 대한 운율 정보는 임의의 텍스트를 입력하고 편집할 수 있는 임의의 문서 편집기 또는 음성 편집기를 통해 수신될 수 있다. In order to generate, adjust, or change sequential prosody information, the text-to-speech synthesis system 1000 may receive prosody information for at least a portion of text through an interface device. Here, the interface device may include any interface device directly connected to the text-to-speech synthesis system 1000 or connected through wired and/or wireless communication, and may include, for example, an interface of a user terminal. In addition, prosody information for at least a portion of text may be received through an arbitrary text editor or voice editor capable of inputting and editing arbitrary text.

일 실시예에 따르면, 음성 합성 시스템(1000)은 임의의 문서 편집기에서 제공되는 임의의 음성 합성 마크업 언어의 태그를 이용하여 입력 텍스트의 각 부분에 대응하는 속성값을 운율 정보로서 수신할 수 있다. 예를 들어, 음성 합성 마크업 언어에서 제공하는 태그는 순차적 운율 특징에 포함된 속성을 나타내기 위한 임의의 태그를 포함할 수 있다. 시작 태그와 종료 태그 사이의 텍스트 부분에 대응하는 운율 정보가 입력될 수 있다. 예를 들어, 도 10에 도시된 바와 같이, '1. <speed=1.5>I'm a boy.</speed>'는 시작 태그와 종료 태그 사이에 있는 I'm a boy라는 부분에 속도를 나타내는 운율 정보를 포함할 수 있다. 또 다른 예로서, 도 10에 도시된 바와 같이, '2. This is what <style=emphasis>I</style>have.'는 시작 태그와 종료 태그 사이에 있는 I라는 글자(character)에 강조를 나타내는 운율 정보를 포함할 수 있다. According to an embodiment, the speech synthesis system 1000 may receive an attribute value corresponding to each part of input text as prosodic information using a tag of an arbitrary speech synthesis markup language provided by an arbitrary text editor. . For example, a tag provided by the voice synthesis markup language may include an arbitrary tag for representing a property included in a sequential prosody feature. Prosody information corresponding to a text portion between a start tag and an end tag may be input. For example, as shown in FIG. 10, '1. <speed=1.5>I'm a boy.</speed>' may include prosody information indicating speed in a part called I'm a boy between a start tag and an end tag. As another example, as shown in FIG. 10, '2. This is what <style=emphasis>I</style>have.' may include prosodic information indicating emphasis on the character I between the start tag and the end tag.

텍스트-음성 합성 시스템(1000)은 수신된 입력 텍스트의 적어도 일부분에 대한 운율 정보를 기초로, 순차적 운율 정보를 생성하거나, 입력 텍스트에 대응되는 순차적 운율 정보 중 입력 텍스트에 대응하는 운율 정보를 변경하고, 생성되거나 변경된 순차적 운율 정보이 반영된 입력 텍스트에 대응하는 합성 음성을 생성할 수 있다. 일 실시예에 따르면, 텍스트-음성 합성 시스템(1000)은 기준 순차적 운율 정보에 대응하는 기준 임베딩 벡터에 입력된 입력 텍스트의 각 부분에 대응하는 운율 정보(예를 들어, 속성값)을 적용할 수 있다. 여기서, 기준 임베딩 벡터는 미리 결정된 순차적 운율 특징 정보를 나타내는 복수의 임베딩 벡터를 포함할 수 있다. 예를 들어, 기준 임베딩 벡터는 시간에 따른 운율 특징 벡터를 포함하고 있으며, 각 운율 특징 정보는 서로 직교하는 복수의 서브 임베딩 벡터(예를 들어, 높이, 크기, 길이, 휴지 기간, 스타일 벡터 등)의 가중합으로 나타낼 수 있다. 텍스트-음성 합성 시스템(1000)은 기준 임베딩 벡터의 내재 요소를 분리할 수 있다. 예를 들어, 텍스트-음성 합성 시스템(1000)은 기준 임베딩 벡터에 기초하여 서로 직교하는 복수의 단위 임베딩 벡터를 획득할 수 있다. 일 실시예에 따르면, 임베딩 벡터에 내재된 요소를 분리하는 방법으로는 ICA (independent component analysis), IVA (independent vector analysis), sparse coding, IFA (independent factor analysis), ISA (independent subspace analysis), NMF (nonnegative matrix factorization) 등 다양한 방법이 있을 수 있다. 그리고 임베딩 벡터에 내재된 요소들이 분리가 될 수 있도록, 텍스트-음성 합성 시스템(1000)은 순차적 운율 특징에 대한 임베딩 벡터를 학습할 때 텍스트-음성 합성 시스템의 학습 시 정규화(regularization)를 수행할 수 있다. 이러한 정규화는 도 4의 정규화기(420)를 통해 수행될 수 있다. 텍스트-음성 합성 시스템(1000)이 학습 시 정규화를 수행하여 기계학습을 하는 경우, 기준 임베딩 벡터는 희소 벡터(sparse vector)로 학습될 수 있다. 이에 따라, 텍스트-음성 합성 시스템(900)은 희소 벡터로 학습된 임베딩 벡터에서, PCA(principle component analysis)를 이용하여, 내재된 요소를 정확하게 분리할 수 있다. 이러한 구성 하에서, 텍스트-음성 합성 시스템(1000)은 음성 합성 마크업 언어에서 제공하는 태그 내의 속성값을 기초로 기준 임베딩 벡터를 수정할 수 있다. 예를 들어, 텍스트-음성 합성 시스템(1000)은 수신된 태그 내의 속성값에 기초하여 복수의 단위 임베딩 벡터에 대한 가중치를 변경할 수 있다. The text-to-speech synthesis system 1000 generates sequential prosody information based on the received prosody information for at least a portion of the input text, or changes prosody information corresponding to the input text among sequential prosody information corresponding to the input text, , it is possible to generate a synthesized voice corresponding to the input text in which generated or changed sequential prosody information is reflected. According to an embodiment, the text-to-speech synthesis system 1000 may apply prosody information (eg, attribute value) corresponding to each part of input text to a reference embedding vector corresponding to reference sequential prosody information. there is. Here, the reference embedding vector may include a plurality of embedding vectors representing predetermined sequential prosody feature information. For example, the reference embedding vector includes a prosody feature vector according to time, and each prosody feature information includes a plurality of orthogonal sub-embedding vectors (eg, height, size, length, rest period, style vector, etc.) can be expressed as a weighted sum of The text-to-speech synthesis system 1000 may separate intrinsic elements of the reference embedding vector. For example, the text-to-speech synthesis system 1000 may obtain a plurality of unit embedding vectors orthogonal to each other based on the reference embedding vector. According to one embodiment, methods for separating elements inherent in an embedding vector include independent component analysis (ICA), independent vector analysis (IVA), sparse coding, independent factor analysis (IFA), independent subspace analysis (ISA), and NMF. (nonnegative matrix factorization). In addition, the text-speech synthesis system 1000 may perform regularization during learning of the text-speech synthesis system when learning embedding vectors for sequential prosody features so that elements inherent in the embedding vector can be separated. there is. Such normalization may be performed through the normalizer 420 of FIG. 4 . When the text-to-speech synthesis system 1000 performs machine learning by performing normalization during learning, the reference embedding vector may be learned as a sparse vector. Accordingly, the text-to-speech synthesis system 900 may accurately separate an embedded element from an embedding vector learned as a sparse vector by using principle component analysis (PCA). Under this configuration, the text-to-speech synthesis system 1000 may modify the reference embedding vector based on attribute values in tags provided by the speech synthesis markup language. For example, the text-to-speech synthesis system 1000 may change weights for a plurality of unit embedding vectors based on attribute values in a received tag.

일 실시예에서, 텍스트-음성 합성 시스템(1000)은 수신된 음성 합성 마크업 언어에서 제공하는 태그 내의 속성값을 기초로 기준 임베딩 벡터를 수정하도록 구성될 수 있다. 예를 들어, 텍스트-음성 합성 시스템(1000)은 수신된 속성값에 따라 변경된 가중치를 복수의 단위 임베딩 벡터에 곱하여 더함으로써, 순차적 운율 특징에 대응하는 임베딩 벡터를 재합성할 수 있다. 텍스트-음성 합성 시스템(1000)은 변경된 순차적 운율 특징 정보에 대한 임베딩 벡터를 출력할 수 있다. 텍스트-음성 합성 시스템(1000)은 수정된 임베딩 벡터를 인공신경망 텍스트-음성 합성 모델에 입력하여, 출력 음성 데이터를 음성 합성 마크업 언어에서 제공하는 태그 내의 속성값에 포함된 정보가 반영된 입력 텍스트에 대한 음성 데이터로 변환할 수 있다.In one embodiment, the text-to-speech synthesis system 1000 may be configured to modify the reference embedding vector based on an attribute value in a tag provided by the received speech synthesis markup language. For example, the text-to-speech synthesis system 1000 may regenerate embedding vectors corresponding to sequential prosody features by multiplying and adding a plurality of unit embedding vectors by a weight changed according to the received attribute value. The text-to-speech synthesis system 1000 may output an embedding vector for the changed sequential prosody characteristic information. The text-to-speech synthesis system 1000 inputs the modified embedding vector to an artificial neural network text-to-speech synthesis model, and outputs speech data to input text reflecting information included in attribute values in tags provided by a speech synthesis markup language. can be converted into voice data.

도 11은 본 개시의 일 실시예에 따른 텍스트-음성 합성 시스템(1100)의 블록도이다. 11 is a block diagram of a text-to-speech synthesis system 1100 according to an embodiment of the present disclosure.

도 11을 참조하면, 일 실시예에 따른 텍스트-음성 합성 시스템(1100)은 데이터 학습부(1110) 및 데이터 인식부(1120)를 포함할 수 있다. 도 11의 텍스트-음성 합성 시스템의 데이터 학습부(1110) 및 데이터 인식부(1120)의 각각은 도 4의 텍스트-음성 합성 시스템(400)이 사용하는 데이터 학습부(450) 및 데이터 인식부(455)의 각각에 대응될 수 있다. Referring to FIG. 11 , a text-to-speech synthesis system 1100 according to an embodiment may include a data learning unit 1110 and a data recognizing unit 1120. Each of the data learning unit 1110 and data recognizing unit 1120 of the text-speech synthesis system of FIG. 11 is the data learning unit 450 and data recognizing unit used by the text-speech synthesis system 400 of FIG. 455) may correspond to each of them.

데이터 학습부(1110)는 데이터를 입력하여 기계학습모델을 획득할 수 있다. 또한 데이터 인식부(1120)는 데이터를 기계학습모델에 적용하여 출력 음성을 생성할 수 있다. 상술한 바와 같은 텍스트-음성 합성 시스템(1100)은 프로세서 및 메모리를 포함할 수 있다.The data learning unit 1110 may obtain a machine learning model by inputting data. Also, the data recognizing unit 1120 may generate an output voice by applying data to a machine learning model. The text-to-speech synthesis system 1100 as described above may include a processor and a memory.

데이터 학습부(1110)는 텍스트에 대한 음성 학습할 수 있다. 데이터 학습부(1110)는 텍스트에 따라 어떤 음성을 출력할지에 관한 기준을 학습할 수 있다. 또한, 데이터 학습부(1110)는 어떤 음성의 특징을 이용하여 음성을 출력할지에 관한 기준을 학습할 수 있다. 음성의 특징은 음소의 발음, 사용자의 어조, 억양 또는 강세 중 적어도 하나를 포함할 수 있다. 데이터 학습부(1110)는 학습에 이용될 데이터를 획득하고, 획득된 데이터를 후술할 데이터 학습모델에 적용함으로써, 텍스트에 따른 음성을 학습할 수 있다.The data learning unit 1110 may perform voice learning on text. The data learning unit 1110 may learn a criterion for which voice to output according to the text. Also, the data learner 1110 may learn a criterion for outputting a voice using which voice characteristics. Voice characteristics may include at least one of phoneme pronunciation, user's tone, intonation, or stress. The data learning unit 1110 acquires data to be used for learning and applies the acquired data to a data learning model to be described later, thereby learning speech according to text.

데이터 인식부(1120)는 텍스트에 기초하여 텍스트에 대한 음성을 출력할 수 있다. 데이터 인식부(1120)는 학습된 데이터 학습모델을 이용하여, 소정의 텍스트로부터 음성을 출력할 수 있다. 데이터 인식부(1120)는 학습에 의한 미리 설정된 기준에 따라 소정의 텍스트(데이터)를 획득할 수 있다. 또한, 데이터 인식부(1120)는 획득된 데이터를 입력 값으로 하여 데이터 학습모델을 이용함으로써, 소정의 데이터에 기초한 음성을 출력할 수 있다. 또한, 획득된 데이터를 입력 값으로 하여 데이터 학습모델에 의해 출력된 결과 값은, 데이터 학습모델을 갱신하는데 이용될 수 있다.The data recognizing unit 1120 may output voice for the text based on the text. The data recognizing unit 1120 may output voice from predetermined text using the learned data learning model. The data recognizing unit 1120 may obtain predetermined text (data) according to a preset criterion through learning. In addition, the data recognizer 1120 may output a voice based on predetermined data by using the data learning model by using the obtained data as an input value. In addition, result values output by the data learning model using the acquired data as input values may be used to update the data learning model.

데이터 학습부(1110) 또는 데이터 인식부(1120) 중 적어도 하나는, 적어도 하나의 하드웨어 칩 형태로 제작되어 전자 장치에 탑재될 수 있다. 예를 들어, 데이터 학습부(1110) 또는 데이터 인식부(1120) 중 적어도 하나는 인공 지능(AI; artificial intelligence)을 위한 전용 하드웨어 칩 형태로 제작될 수도 있고, 또는 기존의 범용 프로세서(예: CPU 또는 application processor) 또는 그래픽 전용 프로세서(예: GPU)의 일부로 제작되어 이미 설명한 각종 전자 장치에 탑재될 수도 있다.At least one of the data learning unit 1110 and the data recognizing unit 1120 may be manufactured in the form of at least one hardware chip and mounted in an electronic device. For example, at least one of the data learning unit 1110 and the data recognizing unit 1120 may be manufactured in the form of a dedicated hardware chip for artificial intelligence (AI), or an existing general-purpose processor (eg, CPU). Alternatively, it may be manufactured as a part of an application processor) or a graphics-only processor (eg GPU) and mounted in various electronic devices described above.

또한 데이터 학습부(1110) 및 데이터 인식부(1120)는 별개의 전자 장치들에 각각 탑재될 수도 있다. 예를 들어, 데이터 학습부(1110) 및 데이터 인식부(1120) 중 하나는 전자 장치에 포함되고, 나머지 하나는 서버에 포함될 수 있다. 또한, 데이터 학습부(1110) 및 데이터 인식부(1120)는 유선 또는 무선으로 통하여, 데이터 학습부(1110)가 구축한 모델 정보를 데이터 인식부(1120)로 제공할 수도 있고, 데이터 인식부(1120)로 입력된 데이터가 추가 학습 데이터로써 데이터 학습부(1110)로 제공될 수도 있다.Also, the data learner 1110 and the data recognizer 1120 may be mounted on separate electronic devices. For example, one of the data learner 1110 and the data recognizer 1120 may be included in the electronic device, and the other may be included in the server. In addition, the data learning unit 1110 and the data recognizing unit 1120 may provide model information constructed by the data learning unit 1110 to the data recognizing unit 1120 through a wired or wireless connection, and the data recognizing unit ( Data input to 1120) may be provided to the data learning unit 1110 as additional learning data.

한편, 데이터 학습부(1110) 또는 데이터 인식부(1120) 중 적어도 하나는 소프트웨어 모듈로 구현될 수 있다. 데이터 학습부(1110) 및 데이터 인식부(1120) 중 적어도 하나가 소프트웨어 모듈(또는, 인스트럭션(instruction)을 포함하는 프로그램 모듈)로 구현되는 경우, 소프트웨어 모듈은 메모리 또는 컴퓨터로 읽을 수 있는 판독 가능한 비일시적 판독 가능 기록매체(non-transitory computer readable media)에 저장될 수 있다. 또한, 이 경우, 적어도 하나의 소프트웨어 모듈은 OS(Operating System)에 의해 제공되거나, 소정의 애플리케이션에 의해 제공될 수 있다. 이와 달리, 적어도 하나의 소프트웨어 모듈 중 일부는 OS(Operating System)에 의해 제공되고, 나머지 일부는 소정의 애플리케이션에 의해 제공될 수 있다. Meanwhile, at least one of the data learning unit 1110 and the data recognizing unit 1120 may be implemented as a software module. When at least one of the data learning unit 1110 and the data recognizing unit 1120 is implemented as a software module (or a program module including instructions), the software module is a memory or a computer-readable non-transitory module. It may be stored in a temporary readable recording medium (non-transitory computer readable media). Also, in this case, at least one software module may be provided by an Operating System (OS) or a predetermined application. Alternatively, some of the at least one software module may be provided by an Operating System (OS), and the other part may be provided by a predetermined application.

본 개시의 일 실시예에 따른 데이터 학습부(1110)는 데이터 획득부(1111), 전처리부(1112), 학습 데이터 선택부(1113), 모델 학습부(1114) 및 모델 평가부(1115)를 포함할 수 있다.The data learning unit 1110 according to an embodiment of the present disclosure includes a data acquisition unit 1111, a pre-processing unit 1112, a learning data selection unit 1113, a model learning unit 1114, and a model evaluation unit 1115. can include

데이터 획득부(1111)는 기계학습에 필요한 데이터를 획득할 수 있다. 학습을 위해서는 많은 데이터가 필요하므로, 데이터 획득부(1111)는 복수의 텍스트 및 그에 대응되는 음성을 수신할 수 있다. The data acquisition unit 1111 may acquire data necessary for machine learning. Since a lot of data is required for learning, the data acquisition unit 1111 may receive a plurality of texts and voices corresponding thereto.

전처리부(1112)는 사용자의 심리 상태 판단을 위하여 획득된 데이터가 기계학습에 이용될 수 있도록, 획득된 데이터를 전처리할 수 있다. 전처리부(1112)는 후술할 모델 학습부(1114)가 이용할 수 있도록, 획득된 데이터를 미리 설정된 포맷으로 가공할 수 있다. 예를 들어 전처리부(1112)는 텍스트 및 음성을 형태소 분석하여 형태소 임베딩을 획득할 수 있다.The pre-processing unit 1112 may pre-process the acquired data so that the acquired data can be used for machine learning in order to determine the user's mental state. The pre-processing unit 1112 may process the acquired data into a preset format so that the model learning unit 1114 to be described later can use it. For example, the preprocessor 1112 may morpheme-analyze text and voice to obtain morpheme embeddings.

학습 데이터 선택부(1113)는 전처리된 데이터 중에서 학습에 필요한 데이터를 선택할 수 있다. 선택된 데이터는 모델 학습부(1114)에 제공될 수 있다. 학습 데이터 선택부(1113)는 기 설정된 기준에 따라, 전처리된 데이터 중에서 학습에 필요한 데이터를 선택할 수 있다. 또한, 학습 데이터 선택부(1113)는 후술할 모델 학습부(1114)에 의한 학습에 의해 기 설정된 기준에 따라 데이터를 선택할 수도 있다.The learning data selection unit 1113 may select data necessary for learning from preprocessed data. The selected data may be provided to the model learning unit 1114 . The learning data selection unit 1113 may select data necessary for learning from preprocessed data according to a predetermined criterion. In addition, the learning data selection unit 1113 may select data according to a predetermined criterion by learning by the model learning unit 1114 to be described later.

모델 학습부(1114)는 학습 데이터에 기초하여 텍스트에 따라 어떤 음성을 출력할 지에 관한 기준을 학습할 수 있다. 또한, 모델 학습부(1114)는 텍스트에 따라 음성을 출력하는 학습모델을 학습 데이터로써 이용하여 학습시킬 수 있다. 이 경우, 데이터 학습모델은 미리 구축된 모델을 포함할 수 있다. 예를 들어, 데이터 학습모델은 기본 학습 데이터(예를 들어, 샘플 이미지 등)을 입력 받아 미리 구축된 모델을 포함할 수 있다.The model learning unit 1114 may learn a criterion for what kind of voice to output according to the text based on the training data. In addition, the model learning unit 1114 may perform learning by using a learning model that outputs voice according to text as learning data. In this case, the data learning model may include a pre-built model. For example, the data learning model may include a model built in advance by receiving basic training data (eg, a sample image, etc.).

데이터 학습모델은, 학습모델의 적용 분야, 학습의 목적 또는 장치의 컴퓨터 성능 등을 고려하여 구축될 수 있다. 데이터 학습모델은, 예를 들어, 신경망(Neural Network)을 기반으로 하는 모델을 포함할 수 있다. 예컨대, Deep Neural Network (DNN), Recurrent Neural Network (RNN), Long Short-Term Memory models (LSTM), BRDNN (Bidirectional Recurrent Deep Neural Network), Convolutional Neural Networks (CNN) 등과 같은 모델이 데이터 학습모델로써 사용될 수 있으나, 이에 한정되지 않는다.The data learning model may be constructed in consideration of the application field of the learning model, the purpose of learning, or the computer performance of the device. The data learning model may include, for example, a model based on a neural network. For example, models such as Deep Neural Network (DNN), Recurrent Neural Network (RNN), Long Short-Term Memory models (LSTM), Bidirectional Recurrent Deep Neural Network (BRDNN), Convolutional Neural Networks (CNN), etc. can be used as data learning models. may, but is not limited thereto.

다양한 실시예에 따르면, 모델 학습부(1114)는 미리 구축된 데이터 학습모델이 복수 개가 존재하는 경우, 입력된 학습 데이터와 기본 학습 데이터의 관련성이 큰 데이터 학습모델을 학습할 데이터 학습모델로 결정할 수 있다. 이 경우, 기본 학습 데이터는 데이터의 타입 별로 기 분류되어 있을 수 있으며, 데이터 학습모델은 데이터의 타입 별로 미리 구축되어 있을 수 있다. 예를 들어, 기본 학습 데이터는 학습 데이터가 생성된 지역, 학습 데이터가 생성된 시간, 학습 데이터의 크기, 학습 데이터의 장르, 학습 데이터의 생성자, 학습 데이터 내의 오브젝트의 종류 등과 같은 다양한 기준으로 기 분류되어 있을 수 있다. According to various embodiments, the model learning unit 1114 may determine a data learning model having a high correlation between input learning data and basic learning data as a data learning model to be learned when a plurality of pre-built data learning models exist. there is. In this case, the basic learning data may be pre-classified for each type of data, and the data learning model may be pre-built for each type of data. For example, the basic training data is pre-classified according to various criteria such as the region where the training data was created, the time the training data was created, the size of the training data, the genre of the training data, the creator of the training data, and the type of object in the training data. may have been

또한, 모델 학습부(1114)는, 예를 들어, 오류 역전파법(error back-propagation) 또는 경사 하강법(gradient descent)을 포함하는 학습 알고리즘 등을 이용하여 데이터 학습모델을 학습시킬 수 있다.In addition, the model learning unit 1114 may train the data learning model using a learning algorithm including, for example, error back-propagation or gradient descent.

또한, 모델 학습부(1114)는, 예를 들어, 학습 데이터를 입력 값으로 하는 지도 학습(supervised learning)을 통하여, 데이터 학습모델을 학습할 수 있다. 또한, 모델 학습부(1114)는, 예를 들어, 별다른 지도없이 상황 판단을 위해 필요한 데이터의 종류를 스스로 학습함으로써, 상황 판단을 위한 기준을 발견하는 비지도 학습(unsupervised learning)을 통하여, 데이터 학습모델을 학습할 수 있다. 또한, 모델 학습부(1114)는, 예를 들어, 학습에 따른 상황 판단의 결과가 올바른 지에 대한 피드백을 이용하는 강화 학습(reinforcement learning)을 통하여, 데이터 학습모델을 학습할 수 있다.In addition, the model learning unit 1114 may learn a data learning model through, for example, supervised learning using learning data as an input value. In addition, the model learning unit 1114, for example, data learning through unsupervised learning that discovers the criteria for determining the situation by self-learning the type of data necessary for determining the situation without any guidance. model can be trained. In addition, the model learning unit 1114 may learn a data learning model, for example, through reinforcement learning using feedback about whether a result of situation judgment according to learning is correct.

또한, 데이터 학습모델이 학습되면, 모델 학습부(1114)는 학습된 데이터 학습모델을 저장할 수 있다. 이 경우, 모델 학습부(1114)는 학습된 데이터 학습모델을 데이터 인식부(1120)를 포함하는 전자 장치의 메모리에 저장할 수 있다. 또는, 모델 학습부(1114)는 학습된 데이터 학습모델을 전자 장치와 유선 또는 무선 네트워크로 연결되는 서버의 메모리에 저장할 수도 있다.Also, when the data learning model is learned, the model learning unit 1114 may store the learned data learning model. In this case, the model learning unit 1114 may store the learned data learning model in the memory of the electronic device including the data recognizing unit 1120 . Alternatively, the model learning unit 1114 may store the learned data learning model in the memory of a server connected to the electronic device through a wired or wireless network.

이 경우, 학습된 데이터 학습모델이 저장되는 메모리는, 예를 들면, 전자 장치의 적어도 하나의 다른 구성요소에 관계된 명령 또는 데이터를 함께 저장할 수도 있다. 또한, 메모리는 소프트웨어 및/또는 프로그램을 저장할 수도 있다. 프로그램은, 예를 들면, 커널, 미들웨어, 어플리케이션 프로그래밍 인터페이스(API) 및/또는 어플리케이션 프로그램(또는 '어플리케이션') 등을 포함할 수 있다.In this case, the memory in which the learned data learning model is stored may also store, for example, commands or data related to at least one other component of the electronic device. Also, the memory may store software and/or programs. The program may include, for example, a kernel, middleware, an application programming interface (API), and/or an application program (or 'application').

모델 평가부(1115)는 데이터 학습모델에 평가 데이터를 입력하고, 평가 데이터로부터 출력되는 결과가 소정 기준을 만족하지 못하는 경우, 모델 학습부(1114)로 하여금 다시 학습하도록 할 수 있다. 이 경우, 평가 데이터는 데이터 학습모델을 평가하기 위한 기 설정된 데이터를 포함할 수 있다. The model evaluation unit 1115 may input evaluation data to the data learning model, and may cause the model learning unit 1114 to learn again when a result output from the evaluation data does not satisfy a predetermined criterion. In this case, the evaluation data may include preset data for evaluating the data learning model.

예를 들어, 모델 평가부(1115)는 평가 데이터에 대한 학습된 데이터 학습모델의 결과 중에서, 인식 결과가 정확하지 않은 평가 데이터의 개수 또는 비율이 미리 설정된 임계치를 초과하는 경우 소정 기준을 만족하지 못한 것으로 평가할 수 있다. 예컨대, 소정 기준이 비율 2%로 정의되는 경우, 학습된 데이터 학습모델이 총 1000개의 평가 데이터 중의 20개를 초과하는 평가 데이터에 대하여 잘못된 인식 결과를 출력하는 경우, 모델 평가부(1115)는 학습된 데이터 학습모델이 적합하지 않은 것으로 평가할 수 있다.For example, the model evaluator 1115 determines that a predetermined criterion is not satisfied when the number or ratio of evaluation data for which the recognition result is not accurate among the results of the learned data learning model for the evaluation data exceeds a preset threshold. can be evaluated as For example, when a predetermined criterion is defined as a ratio of 2%, and a learned data learning model outputs an erroneous recognition result for evaluation data exceeding 20 out of a total of 1000 evaluation data, the model evaluation unit 1115 performs learning It can be evaluated that the applied data learning model is not suitable.

한편, 학습된 데이터 학습모델이 복수 개가 존재하는 경우, 모델 평가부(1115)는 각각의 학습된 동영상 학습모델에 대하여 소정 기준을 만족하는지를 평가하고, 소정 기준을 만족하는 모델을 최종 데이터 학습 모델로써 결정할 수 있다. 이 경우, 소정 기준을 만족하는 모델이 복수 개인 경우, 모델 평가부(1115)는 평가 점수가 높은 순으로 미리 설정된 어느 하나 또는 소정 개수의 모델을 최종 데이터 학습 모델로써 결정할 수 있다.On the other hand, when there are a plurality of learned data learning models, the model evaluation unit 1115 evaluates whether each learned video learning model satisfies a predetermined criterion, and uses a model that satisfies the predetermined criterion as a final data learning model. can decide In this case, when there are a plurality of models that satisfy a predetermined criterion, the model evaluation unit 1115 may determine one or a predetermined number of models preset in order of high evaluation scores as the final data learning model.

한편, 데이터 학습부(1110) 내의 데이터 획득부(1111), 전처리부(1112), 학습 데이터 선택부(1113), 모델 학습부(1114) 또는 모델 평가부(1115) 중 적어도 하나는, 적어도 하나의 하드웨어 칩 형태로 제작되어 전자 장치에 탑재될 수 있다. 예를 들어, 데이터 획득부(1111), 전처리부(1112), 학습 데이터 선택부(1113), 모델 학습부(1114) 또는 모델 평가부(1115) 중 적어도 하나는 인공 지능(AI; artificial intelligence)을 위한 전용 하드웨어 칩 형태로 제작될 수도 있고, 또는 기존의 범용 프로세서(예: CPU 또는 application processor) 또는 그래픽 전용 프로세서(예: GPU)의 일부로 제작되어 전술한 각종 전자 장치에 탑재될 수도 있다.On the other hand, at least one of the data acquisition unit 1111, the preprocessing unit 1112, the training data selection unit 1113, the model learning unit 1114, and the model evaluation unit 1115 in the data learning unit 1110 is at least one It can be manufactured in the form of a hardware chip and mounted in an electronic device. For example, at least one of the data acquisition unit 1111, the preprocessor 1112, the training data selection unit 1113, the model learning unit 1114, and the model evaluation unit 1115 is artificial intelligence (AI). It may be manufactured in the form of a dedicated hardware chip for the computer, or may be manufactured as a part of an existing general-purpose processor (eg, CPU or application processor) or graphics-only processor (eg, GPU) and mounted in various electronic devices described above.

또한, 데이터 획득부(1111), 전처리부(1112), 학습 데이터 선택부(1113), 모델 학습부(1114) 및 모델 평가부(1115)는 하나의 전자 장치에 탑재될 수도 있으며, 또는 별개의 전자 장치들에 각각 탑재될 수도 있다. 예를 들어, 데이터 획득부(1111), 전처리부(1112), 학습 데이터 선택부(1113), 모델 학습부(1114) 및 모델 평가부(1115) 중 일부는 전자 장치에 포함되고, 나머지 일부는 서버에 포함될 수 있다.In addition, the data acquisition unit 1111, the pre-processing unit 1112, the training data selection unit 1113, the model learning unit 1114, and the model evaluation unit 1115 may be installed in one electronic device, or may be installed in separate electronic devices. It may also be mounted on each electronic device. For example, some of the data acquisition unit 1111, the pre-processing unit 1112, the training data selection unit 1113, the model learning unit 1114, and the model evaluation unit 1115 are included in the electronic device, and the others are included in the electronic device. can be included in the server.

또한, 데이터 획득부(1111), 전처리부(1112), 학습 데이터 선택부(1113), 모델 학습부(1114) 또는 모델 평가부(1115) 중 적어도 하나는 소프트웨어 모듈로 구현될 수 있다. 데이터 획득부(1111), 전처리부(1112), 학습 데이터 선택부(1113), 모델 학습부(1114) 또는 모델 평가부(1115) 중 적어도 하나가 소프트웨어 모듈(또는, 인스트럭션(instruction) 포함하는 프로그램 모듈)로 구현되는 경우, 소프트웨어 모듈은 컴퓨터로 읽을 수 있는 판독 가능한 비일시적 판독 가능 기록매체(non-transitory computer readable media)에 저장될 수 있다. 또한, 이 경우, 적어도 하나의 소프트웨어 모듈은 OS(Operating System)에 의해 제공되거나, 소정의 애플리케이션에 의해 제공될 수 있다. 이와 달리, 적어도 하나의 소프트웨어 모듈 중 일부는 OS(Operating System)에 의해 제공되고, 나머지 일부는 소정의 애플리케이션에 의해 제공될 수 있다.In addition, at least one of the data acquisition unit 1111, the preprocessing unit 1112, the training data selection unit 1113, the model learning unit 1114, and the model evaluation unit 1115 may be implemented as a software module. At least one of the data acquisition unit 1111, the pre-processing unit 1112, the training data selection unit 1113, the model learning unit 1114, and the model evaluation unit 1115 is a software module (or a program including instructions) module), the software module may be stored in a computer-readable, non-transitory computer readable recording medium (non-transitory computer readable media). Also, in this case, at least one software module may be provided by an Operating System (OS) or a predetermined application. Alternatively, some of the at least one software module may be provided by an Operating System (OS), and the other part may be provided by a predetermined application.

본 개시의 일 실시예에 따른 데이터 인식부(1120)는 데이터 획득부(1121), 전처리부(1122), 인식 데이터 선택부(1123), 인식 결과 제공부(1124) 및 모델 갱신부(1125)를 포함할 수 있다.The data recognition unit 1120 according to an embodiment of the present disclosure includes a data acquisition unit 1121, a preprocessing unit 1122, a recognition data selection unit 1123, a recognition result providing unit 1124, and a model update unit 1125. can include

데이터 획득부(1121)는 음성을 출력하기 위해 필요한 텍스트를 획득할 수 있다. 반대로 데이터 획득부(1121)는 텍스트를 출력하기 위해 필요한 음성을 획득할 수 있다. 전처리부(1122)는 음성 또는 텍스트를 출력하기 위해 획득된 데이터가 이용될 수 있도록, 획득된 데이터를 전처리할 수 있다. 전처리부(1122)는 후술할 인식 결과 제공부(1124)가 음성 또는 텍스트를 출력하기 위해 획득된 데이터를 이용할 수 있도록, 획득된 데이터를 기 설정된 포맷으로 가공할 수 있다. The data acquisition unit 1121 may acquire text necessary for outputting voice. Conversely, the data acquisition unit 1121 may obtain voice necessary for outputting text. The pre-processor 1122 may pre-process the acquired data so that the acquired data can be used to output voice or text. The pre-processing unit 1122 may process the acquired data into a preset format so that the recognition result providing unit 1124 to be described later may use the acquired data to output voice or text.

인식 데이터 선택부(1123)는 전처리된 데이터 중에서 음성 또는 텍스트를 출력하기 위해 필요한 데이터를 선택할 수 있다. 선택된 데이터는 인식 결과 제공부(1124)에게 제공될 수 있다. 인식 데이터 선택부(1123)는 음성 또는 텍스트를 출력하기 위한 기 설정된 기준에 따라, 전처리된 데이터 중에서 일부 또는 전부를 선택할 수 있다. 또한, 인식 데이터 선택부(1123)는 모델 학습부(1114)에 의한 학습에 의해 기 설정된 기준에 따라 데이터를 선택할 수도 있다.The recognition data selection unit 1123 may select data necessary for outputting voice or text from among preprocessed data. The selected data may be provided to the recognition result provider 1124 . The recognition data selector 1123 may select some or all of the preprocessed data according to a predetermined criterion for outputting voice or text. In addition, the recognition data selection unit 1123 may select data according to a standard set by learning by the model learning unit 1114 .

인식 결과 제공부(1124)는 선택된 데이터를 데이터 학습모델에 적용하여 음성 또는 텍스트를 출력할 수 있다. 인식 결과 제공부(1124)는 인식 데이터 선택부(1123)에 의해 선택된 데이터를 입력 값으로 이용함으로써, 선택된 데이터를 데이터 학습모델에 적용할 수 있다. 또한, 인식 결과는 데이터 학습모델에 의해 결정될 수 있다.The recognition result providing unit 1124 may output voice or text by applying the selected data to the data learning model. The recognition result provider 1124 may apply the selected data to the data learning model by using the data selected by the recognition data selector 1123 as an input value. Also, the recognition result may be determined by a data learning model.

모델 갱신부(1125)는 인식 결과 제공부(1124)에 의해 제공되는 인식 결과에 대한 평가에 기초하여, 데이터 학습모델이 갱신되도록 할 수 있다. 예를 들어, 모델 갱신부(1125)는 인식 결과 제공부(1124)에 의해 제공되는 인식 결과를 모델 학습부(1114)에게 제공함으로써, 모델 학습부(1114)가 데이터 학습모델을 갱신하도록 할 수 있다.The model updating unit 1125 may update the data learning model based on the evaluation of the recognition result provided by the recognition result providing unit 1124 . For example, the model updater 1125 may provide the recognition result provided by the recognition result provider 1124 to the model learner 1114 so that the model learner 1114 updates the data learning model. there is.

한편, 데이터 인식부(1120) 내의 데이터 획득부(1121), 전처리부(1122), 인식 데이터 선택부(1123), 인식 결과 제공부(1124) 또는 모델 갱신부(1125) 중 적어도 하나는, 적어도 하나의 하드웨어 칩 형태로 제작되어 전자 장치에 탑재될 수 있다. 예를 들어, 데이터 획득부(1121), 전처리부(1122), 인식 데이터 선택부(1123), 인식 결과 제공부(1124) 또는 모델 갱신부(1125) 중 적어도 하나는 인공 지능(AI; artificial intelligence)을 위한 전용 하드웨어 칩 형태로 제작될 수도 있고, 또는 기존의 범용 프로세서(예: CPU 또는 application processor) 또는 그래픽 전용 프로세서(예: GPU)의 일부로 제작되어 전술한 각종 전자 장치에 탑재될 수도 있다.Meanwhile, at least one of the data acquisition unit 1121, the preprocessing unit 1122, the recognition data selection unit 1123, the recognition result providing unit 1124, or the model updating unit 1125 in the data recognizing unit 1120, at least It is manufactured in the form of a single hardware chip and can be mounted in an electronic device. For example, at least one of the data acquisition unit 1121, the preprocessing unit 1122, the recognition data selection unit 1123, the recognition result providing unit 1124, or the model update unit 1125 is artificial intelligence (AI). ), or may be manufactured as a part of an existing general-purpose processor (eg, CPU or application processor) or graphics-only processor (eg, GPU) and mounted in various electronic devices described above.

또한, 데이터 획득부(1121), 전처리부(1122), 인식 데이터 선택부(1123), 인식 결과 제공부(1124) 및 모델 갱신부(1125)는 하나의 전자 장치에 탑재될 수도 있으며, 또는 별개의 전자 장치들에 각각 탑재될 수도 있다. 예를 들어, 데이터 획득부(1121), 전처리부(1122), 인식 데이터 선택부(1123), 인식 결과 제공부(1124) 및 모델 갱신부(1125) 중 일부는 전자 장치에 포함되고, 나머지 일부는 서버에 포함될 수 있다.In addition, the data acquisition unit 1121, the pre-processing unit 1122, the recognition data selection unit 1123, the recognition result providing unit 1124, and the model update unit 1125 may be mounted in one electronic device, or may be separately installed. may be mounted on each of the electronic devices. For example, some of the data acquisition unit 1121, the pre-processing unit 1122, the recognition data selection unit 1123, the recognition result providing unit 1124, and the model update unit 1125 are included in the electronic device, and the remaining part is included in the electronic device. may be included in the server.

또한, 데이터 획득부(1121), 전처리부(1122), 인식 데이터 선택부(1123), 인식 결과 제공부(1124) 또는 모델 갱신부(1125) 중 적어도 하나는 소프트웨어 모듈로 구현될 수 있다. 데이터 획득부(1121), 전처리부(1122), 인식 데이터 선택부(1123), 인식 결과 제공부(1124) 또는 모델 갱신부(1125) 중 적어도 하나가 소프트웨어 모듈(또는, 인스트럭션(instruction) 포함하는 프로그램 모듈)로 구현되는 경우, 소프트웨어 모듈은 컴퓨터로 읽을 수 있는 판독 가능한 비일시적 판독 가능 기록매체(non-transitory computer readable media)에 저장될 수 있다. 또한, 이 경우, 적어도 하나의 소프트웨어 모듈은 OS(Operating System)에 의해 제공되거나, 소정의 애플리케이션에 의해 제공될 수 있다. 이와 달리, 적어도 하나의 소프트웨어 모듈 중 일부는 OS(Operating System)에 의해 제공되고, 나머지 일부는 소정의 애플리케이션에 의해 제공될 수 있다.In addition, at least one of the data acquisition unit 1121, the pre-processing unit 1122, the recognition data selection unit 1123, the recognition result providing unit 1124, and the model update unit 1125 may be implemented as a software module. At least one of the data acquisition unit 1121, the preprocessor 1122, the recognition data selection unit 1123, the recognition result providing unit 1124, or the model update unit 1125 includes a software module (or an instruction) When implemented as a program module), the software module may be stored in a computer-readable, non-transitory computer readable recording medium (non-transitory computer readable media). Also, in this case, at least one software module may be provided by an Operating System (OS) or a predetermined application. Alternatively, some of the at least one software module may be provided by an Operating System (OS), and the other part may be provided by a predetermined application.

일반적으로, 본 명세서에 설명된 텍스트-음성 합성 시스템 및 텍스트-음성 합성 서비스를 제공하는 사용자 단말기는, 무선 전화기, 셀룰러 전화기, 랩탑 컴퓨터, 무선 멀티미디어 디바이스, 무선 통신 PC (personal computer) 카드, PDA, 외부 모뎀이나 내부 모뎀, 무선 채널을 통해 통신하는 디바이스 등과 같은 다양한 타입들의 디바이스들을 나타낼 수도 있다. 디바이스는, 액세스 단말기 (access terminal; AT), 액세스 유닛, 가입자 유닛, 이동국, 모바일 디바이스, 모바일 유닛, 모바일 전화기, 모바일, 원격국, 원격 단말, 원격 유닛, 유저 디바이스, 유저 장비 (user equipment), 핸드헬드 디바이스 등과 같은 다양한 이름들을 가질 수도 있다. 본 명세서에 설명된 임의의 디바이스는 명령들 및 데이터를 저장하기 위한 메모리, 뿐만 아니라 하드웨어, 소프트웨어, 펌웨어, 또는 이들의 조합들을 가질 수도 있다. In general, the text-to-speech synthesis system described in this specification and a user terminal providing the text-to-speech synthesis service include a wireless telephone, a cellular telephone, a laptop computer, a wireless multimedia device, a wireless communication PC (personal computer) card, a PDA, It may represent various types of devices, such as an external modem, an internal modem, or a device that communicates through a wireless channel. A device includes an access terminal (AT), an access unit, a subscriber unit, a mobile station, a mobile device, a mobile unit, a mobile telephone, a mobile, a remote station, a remote terminal, a remote unit, a user device, user equipment, It may have various names such as handheld device and the like. Any device described herein may have memory for storing instructions and data, as well as hardware, software, firmware, or combinations thereof.

본 명세서에 기술된 기법들은 다양한 수단에 의해 구현될 수도 있다. 예를 들어, 이러한 기법들은 하드웨어, 펌웨어, 소프트웨어, 또는 이들의 조합으로 구현될 수도 있다. 본 명세서의 개시와 연계하여 설명된 다양한 예시 적인 논리적 블록들, 모듈들, 회로들, 및 알고리즘 단계들은 전자 하드웨어, 컴퓨터 소프트웨어, 또는 양자의 조합들로 구현될 수도 있음을 당업자들은 더 이해할 것이다. 하드웨어 및 소프트웨어의 이러한 상호교환성을 명확하게 설명하기 위해, 다양한 예시 적인 컴포넌트들, 블록들, 모듈들, 회로들, 및 단계들이 그들의 기능성의 관점에서 일반적으로 위에서 설명되었다. 그러한 기능이 하드웨어로서 구현되는지 또는 소프트웨어로서 구현되는 지의 여부는, 특정 애플리케이션 및 전체 시스템에 부과되는 설계 제약들에 따라 달라진다. 당업자들은 각각의 특정 애플리케이션을 위해 다양한 방식들로 설명된 기능을 구현할 수도 있으나, 그러한 구현 결정들은 본 개시의 범위로부터 벗어나게 하는 것으로 해석되어서는 안된다. The techniques described herein may be implemented by various means. For example, these techniques may be implemented in hardware, firmware, software, or combinations thereof. Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends on the particular application and the design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.

하드웨어 구현에서, 기법들을 수행하는 데 이용되는 프로세싱 유닛들은, 하나 이상의 ASIC들, DSP들, 디지털 신호 프로세싱 디바이스들 (digital signal processing devices; DSPD들), 프로그램가능 논리 디바이스들 (programmable logic devices; PLD들), 필드 프로그램가능 게이트 어레이들 (field programmable gate arrays; FPGA들), 프로세서들, 제어기들, 마이크로제어기들, 마이크로프로세서들, 전자 디바이스들, 본 명세서에 설명된 기능들을 수행하도록 설계된 다른 전자 유닛들, 컴퓨터, 또는 이들의 조합 내에서 구현될 수도 있다. In a hardware implementation, the processing units used to perform the techniques may include one or more ASICs, DSPs, digital signal processing devices (DSPDs), programmable logic devices (PLDs) ), field programmable gate arrays (FPGAs), processors, controllers, microcontrollers, microprocessors, electronic devices, and other electronic units designed to perform the functions described herein. , a computer, or a combination thereof.

따라서, 본 명세서의 개시와 연계하여 설명된 다양한 예시 적인 논리 블록들, 모듈들, 및 회로들은 범용 프로세서, DSP, ASIC, FPGA나 다른 프로그램 가능 논리 디바이스, 이산 게이트나 트랜지스터 로직, 이산 하드웨어 컴포넌트들, 또는 본 명세서에 설명된 기능들을 수행하도록 설계된 것들의 임의의 조합으로 구현되거나 수행될 수도 있다. 범용 프로세서는 마이크로프로세서일 수도 있지만, 대안에서, 프로세서는 임의의 종래의 프로세서, 제어기, 마이크로제어기, 또는 상태 머신일 수도 있다. 프로세서는 또한 컴퓨팅 디바이스들의 조합, 예를 들면, DSP와 마이크로프로세서, 복수의 마이크로프로세서들, DSP 코어와 연계한 하나 이상의 마이크로프로세서들, 또는 임의의 다른 그러한 구성의 조합으로써 구현될 수도 있다. Accordingly, the various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein may be implemented in a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or may be implemented or performed in any combination of those designed to perform the functions described herein. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, eg, a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.

펌웨어 및/또는 소프트웨어 구현에 있어서, 기법들은 랜덤 액세스 메모리 (random access memory; RAM), 판독 전용 메모리 (read-only memory; ROM), 불휘발성 RAM (non-volatile random access memory; NVRAM), PROM (programmable read-only memory), EPROM (erasable programmable read-only memory), EEPROM (electrically erasable PROM), 플래시 메모리, 컴팩트 디스크 (compact disc; CD), 자기 또는 광학 데이터 스토리지 디바이스 등과 같은 컴퓨터 판독가능 매체 상에 저장된 명령들로써 구현될 수도 있다. 명령들은 하나 이상의 프로세서들에 의해 실행 가능할 수도 있고, 프로세서(들)로 하여금 본 명세서에 설명된 기능의 특정 양태들을 수행하게 할 수도 있다. In firmware and/or software implementation, the techniques include random access memory (RAM), read-only memory (ROM), non-volatile random access memory (NVRAM), PROM ( on a computer-readable medium, such as programmable read-only memory (EPROM), erasable programmable read-only memory (EPROM), electrically erasable PROM (EEPROM), flash memory, compact disc (CD), magnetic or optical data storage device, or the like. It can also be implemented as stored instructions. Instructions may be executable by one or more processors and may cause the processor(s) to perform certain aspects of the functionality described herein.

소프트웨어로 구현되면, 상기 기능들은 하나 이상의 명령들 또는 코드로서 컴퓨터 판독 가능한 매체 상에 저장되거나 또는 컴퓨터 판독 가능한 매체를 통해 전송될 수도 있다. 컴퓨터 판독가능 매체들은 한 장소에서 다른 장소로 컴퓨터 프로그램의 전송을 용이하게 하는 임의의 매체를 포함하여 컴퓨터 저장 매체들 및 통신 매체들 양자를 포함한다. 저장 매체들은 컴퓨터에 의해 액세스될 수 있는 임의의 이용 가능한 매체들일 수도 있다. 비제한적인 예로서, 이러한 컴퓨터 판독가능 매체는 RAM, ROM, EEPROM, CD-ROM 또는 다른 광학 디스크 스토리지, 자기 디스크 스토리지 또는 다른 자기 스토리지 디바이스들, 또는 소망의 프로그램 코드를 명령들 또는 데이터 구조들의 형태로 이송 또는 저장하기 위해 사용될 수 있으며 컴퓨터에 의해 액세스될 수 있는 임의의 다른 매체를 포함할 수 있다. 또한, 임의의 접속이 컴퓨터 판독가능 매체로 적절히 칭해진다. If implemented in software, the functions may be stored on or transmitted over a computer readable medium as one or more instructions or code. Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. By way of non-limiting example, such computer readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or desired program code in the form of instructions or data structures. It can be used for transport or storage to and can include any other medium that can be accessed by a computer. Also, any connection is properly termed a computer-readable medium.

예를 들어, 소프트웨어가 동축 케이블, 광섬유 케이블, 연선, 디지털 가입자 회선 (DSL), 또는 적외선, 무선, 및 마이크로파와 같은 무선 기술들을 사용하여 웹사이트, 서버, 또는 다른 원격 소스로부터 전송되면, 동축 케이블, 광섬유 케이블, 연선, 디지털 가입자 회선, 또는 적외선, 무선, 및 마이크로파와 같은 무선 기술들은 매체의 정의 내에 포함된다. 본 명세서에서 사용된 디스크 (disk) 와 디스크 (disc)는, CD, 레이저 디스크, 광 디스크, DVD (digital versatile disc), 플로피디스크, 및 블루레이 디스크를 포함하며, 여기서 디스크들 (disks) 은 보통 자기적으로 데이터를 재생하고, 반면 디스크들 (discs) 은 레이저를 이용하여 광학적으로 데이터를 재생한다. 위의 조합들도 컴퓨터 판독가능 매체들의 범위 내에 포함되어야 한다. For example, if the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, the coaxial cable , fiber optic cable, twisted pair, digital subscriber line, or wireless technologies such as infrared, radio, and microwave are included within the definition of medium. Disk and disc, as used herein, include CDs, laser discs, optical discs, digital versatile discs (DVDs), floppy disks, and blu-ray discs, where disks are usually It reproduces data magnetically, whereas discs reproduce data optically using a laser. Combinations of the above should also be included within the scope of computer readable media.

소프트웨어 모듈은 RAM 메모리, 플래시 메모리, ROM 메모리, EPROM 메모리, EEPROM 메모리, 레지스터들, 하드 디스크, 이동식 디스크, CD-ROM, 또는 공지된 임의의 다른 형태의 저장 매체 내에 상주할 수도 있다. 예시 적인 저장 매체는, 프로세가 저장 매체로부터 정보를 판독하거나 저장 매체에 정보를 기록할 수 있도록, 프로세서에 커플링 될 수 있다. 대안으로, 저장 매체는 프로세서에 통합될 수도 있다. 프로세서와 저장 매체는 ASIC 내에 존재할 수도 있다. ASIC은 유저 단말 내에 존재할 수도 있다. 대안으로, 프로세서와 저장 매체는 유저 단말에서 개별 컴포넌트들로써 존재할 수도 있다. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium can be coupled to the processor such that the processor can read information from or write information to the storage medium. Alternatively, the storage medium may be integral to the processor. The processor and storage medium may reside within an ASIC. An ASIC may exist within a user terminal. Alternatively, the processor and storage medium may exist as separate components in a user terminal.

본 개시의 앞선 설명은 당업자들이 본 개시를 행하거나 이용하는 것을 가능하게 하기 위해 제공된다. 본 개시의 다양한 수정예들이 당업자들에게 쉽게 자명할 것이고, 본 명세서에 정의된 일반적인 원리들은 본 개시의 취지 또는 범위를 벗어나지 않으면서 다양한 변형예들에 적용될 수도 있다. 따라서, 본 개시는 본 명세서에 설명된 예들에 제한되도록 의도된 것이 아니고, 본 명세서에 개시된 원리들 및 신규한 특징들과 일관되는 최광의의 범위가 부여되도록 의도된다. The previous description of the present disclosure is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications of this disclosure will be readily apparent to those skilled in the art, and the general principles defined herein may be applied in various modifications without departing from the spirit or scope of the disclosure. Thus, this disclosure is not intended to be limited to the examples set forth herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

비록 예시 적인 구현예들이 하나 이상의 독립형 컴퓨터 시스템의 맥락에서 현재 개시된 주제의 양태들을 활용하는 것을 언급할 수도 있으나, 본 주제는 그렇게 제한되지 않고, 오히려 네트워크나 분산 컴퓨팅 환경과 같은 임의의 컴퓨팅 환경과 연계하여 구현될 수도 있다. 또 나아가, 현재 개시된 주제의 양상들은 복수의 프로세싱 칩들이나 디바이스들에서 또는 그들에 걸쳐 구현될 수도 있고, 스토리지는 복수의 디바이스들에 걸쳐 유사하게 영향을 받게 될 수도 있다. 이러한 디바이스들은 PC들, 네트워크 서버들, 및 핸드헬드 디바이스들을 포함할 수도 있다. Although example implementations may refer to utilizing aspects of the presently disclosed subject matter in the context of one or more stand-alone computer systems, the subject matter is not so limited, but rather in conjunction with any computing environment, such as a network or distributed computing environment. may be implemented. Further, aspects of the presently-disclosed subject matter may be implemented in or across a plurality of processing chips or devices, and storage may be similarly affected across a plurality of devices. Such devices may include PCs, network servers, and handheld devices.

비록 본 주제가 구조적 특징들 및/또는 방법론적 작용들에 특정한 언어로 설명되었으나, 첨부된 청구항들에서 정의된 주제가 위에서 설명된 특정 특징들 또는 작용들로 반드시 제한되는 것은 아님이 이해될 것이다. 오히려, 위에서 설명된 특정 특징들 및 작용들은 청구항들을 구현하는 예시 적인 형태로서 설명된다. Although subject matter has been described in language specific to structural features and/or methodological acts, it will be understood that subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are described as example forms of implementing the claims.

이 명세서에서 언급된 방법은 특정 실시예들을 통하여 설명되었지만, 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의해 읽힐 수 있는 데이터가 저장되는 모든 종류의 기록장치를 포함한다. 컴퓨터가 읽을 수 있는 기록매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크, 광데이터 저장장치 등이 있다. 또한, 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다. 그리고, 실시예들을 구현하기 위한 기능적인(functional) 프로그램, 코드 및 코드 세그먼트들은 본 발명이 속하는 기술분야의 프로그래머들에 의해 용이하게 추론될 수 있다. Although the methods mentioned in this specification have been described through specific embodiments, it is possible to implement them as computer readable codes on a computer readable recording medium. A computer-readable recording medium includes all types of recording devices in which data readable by a computer system is stored. Examples of computer-readable recording media include ROM, RAM, CD-ROM, magnetic tape, floppy disk, and optical data storage devices. In addition, the computer-readable recording medium is distributed in computer systems connected through a network, so that computer-readable codes can be stored and executed in a distributed manner. In addition, functional programs, codes, and code segments for implementing the embodiments can be easily inferred by programmers in the technical field to which the present invention belongs.

본 명세서에서는 본 개시가 일부 실시예들과 관련하여 설명되었지만, 본 발명이 속하는 기술분야의 통상의 기술자가 이해할 수 있는 본 개시의 범위를 벗어나지 않는 범위에서 다양한 변형 및 변경이 이루어질 수 있다는 점을 알아야 할 것이다. 또한, 그러한 변형 및 변경은 본 명세서에 첨부된 특허청구의 범위 내에 속하는 것으로 생각되어야 한다. Although the present disclosure has been described in relation to some embodiments in this specification, it should be noted that various modifications and changes can be made without departing from the scope of the present disclosure that can be understood by those skilled in the art. something to do. Moreover, such modifications and variations are intended to fall within the scope of the claims appended hereto.

110: 음성 합성기 120: 입력 텍스트
130: 순차적 운율 특징 140: 합성 음성
210: 순차적 운율 특징 220: 음성 신호 또는 음성 샘플
230: 순차적 운율 특징 추출기 240: 합성 음성
310: 발성 특징 추출기 320: 음성 신호 또는 음성 샘플
330: 화자의 발성 특징 340: 출력 음성
110: voice synthesizer 120: input text
130: Sequential prosody feature 140: Synthetic voice
210 Sequential prosody feature 220 Voice signal or voice sample
230: sequential prosody feature extractor 240: synthesized voice
310: vocalization feature extractor 320: voice signal or voice sample
330 speaker's vocalization characteristics 340 output voice

Claims (13)

텍스트-음성 합성 시스템에 의해 수행되는, 순차적 운율 특징을 기초로 기계학습을 이용한 텍스트-음성 합성(text-to-speech synthesis) 방법으로서,
입력 텍스트를 수신하는 단계;
상기 수신된 입력 텍스트에 포함된 프레임, 글자, 음소, 음절 또는 단어 중 적어도 하나의 단위에 대응되는 운율 정보를 시간 순으로 포함한 순차적 운율(sequential prosody) 특징을 수신하는 단계; 및
상기 입력 텍스트 및 상기 수신된 순차적 운율 특징을 인공신경망 텍스트-음성 합성 모델에 입력하여, 상기 수신된 순차적 운율 특징이 반영된 상기 입력 텍스트에 대한 출력 음성 데이터를 생성하는 단계
를 포함하고,
상기 순차적 운율 특징은 상기 시간 순으로 포함된 운율 정보를 나타내는 복수의 임베딩 벡터를 포함하고,
상기 시간 순으로 포함된 운율 정보를 나타내는 복수의 임베딩 벡터의 각각은, 인공신경망 텍스트-음성 합성 모델의 복수의 시간 단계(time-steps)의 각각에 순차적으로 인가되는, 텍스트-음성 합성 방법.
A text-to-speech synthesis method using machine learning based on sequential prosody characteristics, performed by a text-to-speech synthesis system, comprising:
receiving input text;
Receiving a sequential prosody feature including prosody information corresponding to at least one unit of a frame, a letter, a phoneme, a syllable, or a word included in the received input text in chronological order; and
generating output voice data for the input text in which the received sequential prosody features are reflected by inputting the input text and the received sequential prosody features to an artificial neural network text-speech synthesis model;
including,
The sequential prosody feature includes a plurality of embedding vectors representing prosody information included in the chronological order,
Each of the plurality of embedding vectors representing the prosody information included in the chronological order is sequentially applied to each of a plurality of time-steps of the artificial neural network text-speech synthesis model.
제1항에 있어서,
상기 인공신경망 텍스트-음성 합성 모델은, 복수의 학습 텍스트 및 상기 복수의 학습 텍스트에 대응하는 학습 음성을 나타내는 데이터에 기초하여 기계학습을 수행하여 생성되고,
상기 학습 음성을 나타내는 데이터는 상기 학습 음성의 순차적 운율 특징을 포함하는, 텍스트-음성 합성 방법.
According to claim 1,
The artificial neural network text-speech synthesis model is generated by performing machine learning based on data representing a plurality of learning texts and a learning voice corresponding to the plurality of learning texts,
The text-to-speech synthesis method of claim 1 , wherein the data representing the learning voice includes sequential prosody characteristics of the learning voice.
제1항에 있어서,
상기 운율 정보는, 소리의 크기에 대한 정보, 상기 소리의 높이에 대한 정보, 상기 소리의 길이에 대한 정보, 상기 소리의 휴지 기간에 대한 정보 또는 상기 소리의 스타일에 대한 정보 중 적어도 하나를 포함하는, 텍스트-음성 합성 방법.
According to claim 1,
The prosody information includes at least one of information about the loudness of the sound, information about the height of the sound, information about the length of the sound, information about the rest period of the sound, or information about the style of the sound , text-to-speech synthesis method.
제1항에 있어서,
상기 인공신경망 텍스트-음성 합성 모델은 인코더 및 디코더를 포함하고,
상기 복수의 임베딩 벡터를 어텐션 모듈에 입력하여, 상기 인코더에 제공된 입력 텍스트의 각 부분들과 대응되는 복수의 변환 임베딩 벡터를 생성하는 단계 - 상기 복수의 변환 임베딩 벡터의 길이는 상기 입력 텍스트의 길이에 따라 가변적임 -를 더 포함하고,
상기 입력 텍스트에 대한 출력 음성 데이터를 생성하는 단계는,
상기 생성된 복수의 변환 임베딩 벡터를 상기 인공신경망 텍스트-음성 합성 모델의 인코더에 입력하는 단계; 및
상기 복수의 변환 임베딩 벡터가 반영된 상기 입력 텍스트에 대한 출력 음성 데이터를 생성하는 단계
를 포함하는, 텍스트-음성 합성 방법.
According to claim 1,
The artificial neural network text-speech synthesis model includes an encoder and a decoder,
generating a plurality of transform embedding vectors corresponding to respective parts of the input text provided to the encoder by inputting the plurality of embedding vectors to an attention module, wherein the lengths of the plurality of transform embedding vectors correspond to the length of the input text Depending on the variable - further including,
Generating output voice data for the input text,
inputting the generated plurality of transformation embedding vectors to an encoder of the artificial neural network text-speech synthesis model; and
generating output speech data for the input text in which the plurality of transform embedding vectors are reflected;
Including, text-to-speech synthesis method.
제1항에 있어서,
상기 인공신경망 텍스트-음성 합성 모델은 인코더 및 디코더를 포함하고,
상기 입력 텍스트에 대한 출력 음성 데이터를 생성하는 단계는,
상기 복수의 임베딩 벡터를 상기 인공신경망 텍스트-음성 합성 모델의 디코더에 입력하는 단계; 및
상기 복수의 임베딩 벡터가 반영된 상기 입력 텍스트에 대한 출력 음성 데이터를 생성하는 단계
를 포함하는, 텍스트-음성 합성 방법.
According to claim 1,
The artificial neural network text-speech synthesis model includes an encoder and a decoder,
Generating output voice data for the input text,
inputting the plurality of embedding vectors to a decoder of the artificial neural network text-speech synthesis model; and
generating output speech data for the input text in which the plurality of embedding vectors are reflected;
Including, text-to-speech synthesis method.
제1항에 있어서,
화자의 발성 특징을 수신하는 단계를 더 포함하고,
상기 입력 텍스트에 대한 출력 음성 데이터를 생성하는 단계는 상기 화자의 음성을 모사하고 상기 복수의 임베딩 벡터가 반영된 상기 입력 텍스트에 대한 출력 음성 데이터를 생성하는 단계를 포함하는, 텍스트-음성 합성 방법.
According to claim 1,
further comprising the step of receiving vocalization characteristics of a speaker;
Wherein the generating of output voice data for the input text comprises generating output voice data for the input text in which the voice of the speaker is copied and the plurality of embedding vectors are reflected.
제6항에 있어서,
상기 화자의 발성 특징을 수신하는 단계는, 상기 화자의 순차적 운율 특징을 수신하는 단계를 포함하고,
상기 방법은,
상기 화자의 순차적 운율 특징에 기초하여 상기 복수의 임베딩 벡터를 정규화하는 단계를 더 포함하고,
상기 입력 텍스트에 대한 출력 음성 데이터를 생성하는 단계는 상기 화자의 음성을 모사하고 상기 정규화된 복수의 임베딩 벡터가 반영된 상기 입력 텍스트에 대한 출력 음성 데이터를 생성하는 단계를 포함하는, 텍스트-음성 합성 방법.
According to claim 6,
The step of receiving vocalization characteristics of the speaker includes receiving sequential prosodic characteristics of the speaker;
The method,
Normalizing the plurality of embedding vectors based on sequential prosodic characteristics of the speaker;
Wherein the generating of output speech data for the input text includes generating output speech data for the input text in which the voice of the speaker is simulated and the plurality of normalized embedding vectors are reflected. .
제7항에 있어서,
상기 복수의 임베딩 벡터를 정규화하는 단계는,
각 시간 단계에서 상기 화자의 순차적 운율 특징을 나타내는 임베딩 벡터의 평균값을 산출하는 단계; 및
상기 복수의 임베딩 벡터를 상기 각 시간 단계에서 산출된 임베딩 벡터의 평균값으로 감산하는 단계
를 포함하는, 텍스트-음성 합성 방법.
According to claim 7,
Normalizing the plurality of embedding vectors,
calculating an average value of embedding vectors representing sequential prosody characteristics of the speaker at each time step; and
Subtracting the plurality of embedding vectors by the average value of the embedding vectors calculated at each time step
Including, text-to-speech synthesis method.
제1항에 있어서,
상기 순차적 운율 특징을 수신하는 단계는, 상기 입력 텍스트의 적어도 일부에 대한 운율 정보를 사용자 인터페이스를 통해 수신하는 단계를 포함하고,
상기 수신된 순차적 운율 특징이 반영된 상기 입력 텍스트에 대한 출력 음성 데이터를 생성하는 단계는 상기 입력 텍스트의 적어도 일부에 대한 운율 정보가 반영된 상기 입력 텍스트에 대한 출력 음성 데이터를 생성하는 단계를 포함하는, 텍스트-음성 합성 방법.
According to claim 1,
Receiving the sequential prosody features includes receiving prosody information for at least a portion of the input text through a user interface;
The step of generating output voice data for the input text in which the received sequential prosody characteristic is reflected includes generating output voice data for the input text in which prosody information for at least a part of the input text is reflected. - Speech synthesis method.
제9항에 있어서,
상기 입력 텍스트의 적어도 일부에 대한 운율 정보는 음성 합성 마크업 언어에서 제공되는 태그를 통해 입력되는, 텍스트-음성 합성 방법.
According to claim 9,
Wherein the prosody information for at least part of the input text is input through a tag provided in a speech synthesis markup language.
제1항에 있어서,
상기 입력 텍스트의 적어도 일부에 대한 운율 정보를 사용자 인터페이스를 통해 수신받는 단계; 및
상기 수신된 입력 텍스트의 적어도 일부에 대한 운율 정보를 기초로 상기 수신된 순차적 운율 특징을 변경하는 단계를 더 포함하고,
상기 수신된 순차적 운율 특징이 반영된 상기 입력 텍스트에 대한 출력 음성 데이터를 생성하는 단계는, 상기 변경된 순차적 운율 특징이 반영된 상기 입력 텍스트에 대한 출력 음성 데이터를 생성하는 단계를 포함하는, 텍스트-음성 합성 방법.
According to claim 1,
receiving prosody information for at least a portion of the input text through a user interface; and
further comprising changing the received sequential prosody characteristic based on prosody information for at least a portion of the received input text;
The step of generating output voice data for the input text in which the received sequential prosody feature is reflected includes generating output voice data for the input text in which the changed sequential prosody feature is reflected. .
제11항에 있어서,
상기 수신된 순차적 운율 특징을 변경하는데 사용되는, 상기 입력 텍스트의 적어도 일부에 대한 운율 정보는 음성 합성 마크업 언어에서 제공되는 태그를 통해 입력되는, 텍스트-음성 합성 방법.
According to claim 11,
The text-to-speech synthesis method of claim 1 , wherein prosody information for at least a portion of the input text, which is used to change the received sequential prosody characteristic, is input through a tag provided in a speech synthesis markup language.
제1항 내지 제12항 중 어느 한 항의 순차적 운율 특징을 이용한 기계학습을 이용한 텍스트-음성 합성 방법에 따른 각각의 단계를 수행하는 명령어를 포함하는 프로그램이 기록된, 컴퓨터 판독가능 저장매체.A computer-readable storage medium in which a program including instructions for performing each step according to the text-speech synthesis method using machine learning using sequential prosody features according to any one of claims 1 to 12 is recorded.
KR1020230035285A 2018-08-02 2023-03-17 Method and computer readable storage medium for performing text-to-speech synthesis using machine learning based on sequential prosody feature KR20230043084A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
KR1020180090134 2018-08-02
KR20180090134 2018-08-02
KR1020190094065A KR20200015418A (en) 2018-08-02 2019-08-01 Method and computer readable storage medium for performing text-to-speech synthesis using machine learning based on sequential prosody feature

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020190094065A Division KR20200015418A (en) 2018-08-02 2019-08-01 Method and computer readable storage medium for performing text-to-speech synthesis using machine learning based on sequential prosody feature

Publications (1)

Publication Number Publication Date
KR20230043084A true KR20230043084A (en) 2023-03-30

Family

ID=69231829

Family Applications (2)

Application Number Title Priority Date Filing Date
KR1020210184938A KR20220000391A (en) 2018-08-02 2021-12-22 Method and computer readable storage medium for performing text-to-speech synthesis using machine learning based on sequential prosody feature
KR1020230035285A KR20230043084A (en) 2018-08-02 2023-03-17 Method and computer readable storage medium for performing text-to-speech synthesis using machine learning based on sequential prosody feature

Family Applications Before (1)

Application Number Title Priority Date Filing Date
KR1020210184938A KR20220000391A (en) 2018-08-02 2021-12-22 Method and computer readable storage medium for performing text-to-speech synthesis using machine learning based on sequential prosody feature

Country Status (2)

Country Link
KR (2) KR20220000391A (en)
WO (1) WO2020027619A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113470615B (en) * 2020-03-13 2024-03-12 微软技术许可有限责任公司 Cross-speaker style transfer speech synthesis
CN111738437B (en) * 2020-07-17 2020-11-20 支付宝(杭州)信息技术有限公司 Training method, text generation device and electronic equipment
CN112309366B (en) * 2020-11-03 2022-06-14 北京有竹居网络技术有限公司 Speech synthesis method, speech synthesis device, storage medium and electronic equipment
CN112581963B (en) * 2020-11-23 2024-02-20 厦门快商通科技股份有限公司 Voice intention recognition method and system
CN112532439B (en) * 2020-11-24 2022-08-23 山东科技大学 Network flow prediction method based on attention multi-component space-time cross-domain neural network model
CN112530403B (en) * 2020-12-11 2022-08-26 上海交通大学 Voice conversion method and system based on semi-parallel corpus
CN112712789B (en) * 2020-12-21 2024-05-03 深圳市优必选科技股份有限公司 Cross-language audio conversion method, device, computer equipment and storage medium
CN112750419B (en) * 2020-12-31 2024-02-13 科大讯飞股份有限公司 Speech synthesis method, device, electronic equipment and storage medium
US11676571B2 (en) * 2021-01-21 2023-06-13 Qualcomm Incorporated Synthesized speech generation
CN112885328A (en) * 2021-01-22 2021-06-01 华为技术有限公司 Text data processing method and device
CN113096634B (en) * 2021-03-30 2024-03-01 平安科技(深圳)有限公司 Speech synthesis method, device, server and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7983910B2 (en) * 2006-03-03 2011-07-19 International Business Machines Corporation Communicating across voice and text channels with emotion preservation
KR20170107683A (en) * 2016-03-16 2017-09-26 한국전자통신연구원 Text-to-Speech Synthesis Method using Pitch Synchronization in Deep Learning Based Text-to-Speech Synthesis System
KR20180071029A (en) * 2016-12-19 2018-06-27 삼성전자주식회사 Method and apparatus for speech recognition

Also Published As

Publication number Publication date
KR20220000391A (en) 2022-01-03
WO2020027619A1 (en) 2020-02-06

Similar Documents

Publication Publication Date Title
US11929059B2 (en) Method, device, and computer readable storage medium for text-to-speech synthesis using machine learning on basis of sequential prosody feature
KR102401512B1 (en) Method and computer readable storage medium for performing text-to-speech synthesis using machine learning
KR102265972B1 (en) Method and apparatus for voice translation using a multilingual text-to-speech synthesis model
KR20230043084A (en) Method and computer readable storage medium for performing text-to-speech synthesis using machine learning based on sequential prosody feature
US20230043916A1 (en) Text-to-speech processing using input voice characteristic data
US11410684B1 (en) Text-to-speech (TTS) processing with transfer of vocal characteristics
US11443733B2 (en) Contextual text-to-speech processing
US20160379638A1 (en) Input speech quality matching
KR102062524B1 (en) Voice recognition and translation method and, apparatus and server therefor
KR102668866B1 (en) Method and computer readable storage medium for performing text-to-speech synthesis using machine learning
Klabbers Text-to-Speech Synthesis
CN113439301A (en) Reconciling between analog data and speech recognition output using sequence-to-sequence mapping

Legal Events

Date Code Title Description
A107 Divisional application of patent
E902 Notification of reason for refusal