KR20240048343A - Electronic apparatus and controlling method thereof - Google Patents
Electronic apparatus and controlling method thereof Download PDFInfo
- Publication number
- KR20240048343A KR20240048343A KR1020220128009A KR20220128009A KR20240048343A KR 20240048343 A KR20240048343 A KR 20240048343A KR 1020220128009 A KR1020220128009 A KR 1020220128009A KR 20220128009 A KR20220128009 A KR 20220128009A KR 20240048343 A KR20240048343 A KR 20240048343A
- Authority
- KR
- South Korea
- Prior art keywords
- language
- translation support
- electronic device
- text
- processor
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims description 23
- 238000013519 translation Methods 0.000 claims abstract description 148
- 239000013598 vector Substances 0.000 claims abstract description 72
- 238000004891 communication Methods 0.000 claims abstract description 52
- 230000004044 response Effects 0.000 claims description 4
- 238000013473 artificial intelligence Methods 0.000 description 30
- 238000013528 artificial neural network Methods 0.000 description 18
- 230000006870 function Effects 0.000 description 14
- 238000012545 processing Methods 0.000 description 14
- 238000010586 diagram Methods 0.000 description 10
- 238000004364 calculation method Methods 0.000 description 9
- 230000014509 gene expression Effects 0.000 description 7
- 238000004422 calculation algorithm Methods 0.000 description 4
- 238000004590 computer program Methods 0.000 description 4
- 239000002096 quantum dot Substances 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 238000013527 convolutional neural network Methods 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 238000003062 neural network model Methods 0.000 description 2
- 230000000306 recurrent effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 238000012549 training Methods 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- XUIMIQQOPSSXEZ-UHFFFAOYSA-N Silicon Chemical compound [Si] XUIMIQQOPSSXEZ-UHFFFAOYSA-N 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000002542 deteriorative effect Effects 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001537 neural effect Effects 0.000 description 1
- 229910021420 polycrystalline silicon Inorganic materials 0.000 description 1
- 229920005591 polysilicon Polymers 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000002787 reinforcement Effects 0.000 description 1
- 229910052710 silicon Inorganic materials 0.000 description 1
- 239000010703 silicon Substances 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/40—Processing or translation of natural language
- G06F40/58—Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/167—Audio in a user interface, e.g. using voice commands for navigating, audio feedback
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/263—Language identification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/26—Speech to text systems
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y10—TECHNICAL SUBJECTS COVERED BY FORMER USPC
- Y10S—TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y10S715/00—Data processing: presentation processing of document, operator interface processing, and screen saver display processing
- Y10S715/978—Audio interaction as part of an operator interface
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Artificial Intelligence (AREA)
- Computational Linguistics (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Multimedia (AREA)
- Evolutionary Computation (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Medical Informatics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Molecular Biology (AREA)
- Acoustics & Sound (AREA)
- Machine Translation (AREA)
Abstract
전자 장치가 개시된다. 본 전자 장치는, 마이크, 통신 인터페이스, 복수의 번역 지원 장치에 대한 식별 정보, 제1 언어에 대응되는 인코더와 제1 언어에 대응되는 디코더 및 적어도 하나의 명령어를 저장하는 메모리, 및 메모리와 연결되어 전자 장치를 제어하는 적어도 하나의 프로세서를 포함하고, 적어도 하나의 프로세서는, 적어도 하나의 명령어를 실행함으로써, 복수의 번역 지원 장치 중 기설정된 거리 내에 위치한 번역 지원 장치를 식별하고, 마이크를 통해 제1 언어의 사용자 음성을 획득하고, 제1 언어의 사용자 음성에 대응되는 제1 언어의 제1 텍스트를 획득하고, 제1 텍스트를 제1 언어에 대응되는 인코더에 입력하여 제1 텍스트의 제1 특징 벡터를 획득하고, 통신 인터페이스를 통해 식별된 번역 지원 장치로 제1 특징 벡터를 전송하고, 복수의 번역 지원 장치 각각은 각각의 도메인에 대응되는 번역을 지원한다.An electronic device is disclosed. The electronic device is connected to a memory that stores a microphone, a communication interface, identification information for a plurality of translation support devices, an encoder corresponding to the first language, a decoder corresponding to the first language, and at least one command, and the memory is connected to the memory. It includes at least one processor that controls the electronic device, wherein the at least one processor identifies a translation support device located within a preset distance among the plurality of translation support devices by executing at least one command, and transmits the first signal through a microphone. Obtaining a user voice of a language, obtaining a first text of the first language corresponding to the user voice of the first language, inputting the first text into an encoder corresponding to the first language, and generating a first feature vector of the first text Obtain and transmit the first feature vector to the identified translation support device through a communication interface, and each of the plurality of translation support devices supports translation corresponding to each domain.
Description
본 개시는 전자 장치 및 그 제어 방법에 관한 것으로, 더욱 상세하게는 도메인에 특화된 번역을 수행하는 전자 장치 및 그 제어 방법에 관한 것이다.The present disclosure relates to an electronic device and a control method thereof, and more particularly, to an electronic device that performs domain-specific translation and a control method thereof.
일반적인 도메인(domain)의 번역 모델은 도메인에 특화된(customized) 번역 모델보다 그 성능이 상용화 수준에 미치지 못한다. 이에, 도메인에 특화된 번역 모델이 널리 사용되고 있다.The performance of a general domain translation model is lower than the commercialization level compared to a domain-specific translation model. Accordingly, domain-specific translation models are widely used.
그러나 도메인에 특화된 번역 모델의 번역 지식(translation knowledge)은 해당 도메인에 최적화되어 있다. 따라서, 번역 지원 장치는 복수의 도메인에 특화된 번역을 지원하기 위해 복수의 도메인 각각에 특화된 복수의 번역 모델을 저장하고 있어야 한다.However, the translation knowledge of a domain-specific translation model is optimized for that domain. Therefore, the translation support device must store a plurality of translation models specialized for each of the plurality of domains in order to support translation specialized for the plurality of domains.
본 개시의 일 실시 예에 따른 전자 장치는 마이크; 통신 인터페이스; 복수의 번역 지원 장치에 대한 식별 정보, 제1 언어에 대응되는 인코더와 제1 언어에 대응되는 디코더 및 적어도 하나의 명령어를 저장하는 메모리; 및 상기 메모리와 연결되어 상기 전자 장치를 제어하는 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 적어도 하나의 명령어를 실행함으로써, 상기 복수의 번역 지원 장치 중 기설정된 거리 내에 위치한 번역 지원 장치를 식별하고, 상기 마이크를 통해 제1 언어의 사용자 음성을 획득하고, 상기 제1 언어의 사용자 음성에 대응되는 상기 제1 언어의 제1 텍스트를 획득하고, 상기 제1 텍스트를 상기 제1 언어에 대응되는 인코더에 입력하여 상기 제1 텍스트의 제1 특징 벡터를 획득하고, 상기 통신 인터페이스를 통해 상기 식별된 번역 지원 장치로 상기 제1 특징 벡터를 전송하고, 상기 복수의 번역 지원 장치 각각은 각각의 도메인에 대응되는 번역을 지원한다.An electronic device according to an embodiment of the present disclosure includes a microphone; communication interface; a memory storing identification information for a plurality of translation support devices, an encoder corresponding to a first language, a decoder corresponding to the first language, and at least one command; and at least one processor connected to the memory and controlling the electronic device, wherein the at least one processor supports translation support located within a preset distance among the plurality of translation support devices by executing the at least one command. Identify a device, obtain a user voice in the first language through the microphone, obtain first text in the first language corresponding to the user voice in the first language, and transmit the first text to the first language. Obtain a first feature vector of the first text by inputting it to a corresponding encoder, and transmit the first feature vector to the identified translation support device through the communication interface, and each of the plurality of translation support devices Supports translation corresponding to the domain.
본 개시의 일 실시 예에 따른 전자 장치의 제어 방법은 복수의 번역 지원 장치 중 기설정된 거리 내에 위치한 번역 지원 장치를 식별하는 단계; 제1 언어의 사용자 음성을 획득하는 단계; 상기 제1 언어의 사용자 음성에 대응되는 상기 제1 언어의 제1 텍스트를 획득하는 단계; 상기 제1 텍스트를 상기 제1 언어에 대응되는 인코더에 입력하여 상기 제1 텍스트의 제1 특징 벡터를 획득하는 단계: 및 상기 식별된 번역 지원 장치로 상기 제1 특징 벡터를 전송하는 단계;를 포함하고, 상기 복수의 번역 지원 장치 각각은 각각의 도메인에 대응되는 번역을 지원한다.A method of controlling an electronic device according to an embodiment of the present disclosure includes identifying a translation support device located within a preset distance among a plurality of translation support devices; Obtaining user speech in a first language; Obtaining first text in the first language corresponding to the user's voice in the first language; Inputting the first text into an encoder corresponding to the first language to obtain a first feature vector of the first text: and transmitting the first feature vector to the identified translation support device. And, each of the plurality of translation support devices supports translation corresponding to each domain.
본 개시의 일 실시 예에 따른 전자 장치의 제어 방법을 실행하는 프로그램을 포함하는 비일시적 컴퓨터 판독 가능 기록매체에 있어서, 상기 제어 방법은, 제어 방법은 복수의 번역 지원 장치 중 기설정된 거리 내에 위치한 번역 지원 장치를 식별하는 단계; 제1 언어의 사용자 음성을 획득하는 단계; 상기 제1 언어의 사용자 음성에 대응되는 상기 제1 언어의 제1 텍스트를 획득하는 단계; 상기 제1 텍스트를 상기 제1 언어에 대응되는 인코더에 입력하여 상기 제1 텍스트의 제1 특징 벡터를 획득하는 단계: 및 상기 식별된 번역 지원 장치로 상기 제1 특징 벡터를 전송하는 단계;를 포함하고, 상기 복수의 번역 지원 장치 각각은 각각의 도메인에 대응되는 번역을 지원한다.In a non-transitory computer-readable recording medium including a program for executing a control method of an electronic device according to an embodiment of the present disclosure, the control method includes a translation located within a preset distance among a plurality of translation support devices. identifying a support device; Obtaining user speech in a first language; Obtaining first text in the first language corresponding to the user's voice in the first language; Inputting the first text into an encoder corresponding to the first language to obtain a first feature vector of the first text: and transmitting the first feature vector to the identified translation support device. And, each of the plurality of translation support devices supports translation corresponding to each domain.
도 1은 본 개시의 일 실시예에 따른 전자 장치의 구성을 설명하기 위한 블록도이다.
도 2는 본 개시의 일 실시예에 따른 번역 지원 장치의 구성을 설명하기 위한 도면이다.
도 3은 본 개시의 일 실시예에 따른 타 전자 장치의 구성을 설명하기 위한 도면이다.
도 4는 본 개시의 일 실시예에 따른 인코더 및 디코더의 학습 방법을 설명하기 위한 도면이다.
도 5는 본 개시의 일 실시예에 따른 전자 장치의 동작을 설명하기 위한 도면이다.1 is a block diagram for explaining the configuration of an electronic device according to an embodiment of the present disclosure.
Figure 2 is a diagram for explaining the configuration of a translation support device according to an embodiment of the present disclosure.
FIG. 3 is a diagram for explaining the configuration of another electronic device according to an embodiment of the present disclosure.
Figure 4 is a diagram for explaining a learning method of an encoder and decoder according to an embodiment of the present disclosure.
FIG. 5 is a diagram for explaining the operation of an electronic device according to an embodiment of the present disclosure.
본 실시 예들은 다양한 변환을 가할 수 있고 여러 가지 실시 예를 가질 수 있는 바, 특정 실시 예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나 이는 특정한 실시 형태에 대해 범위를 한정하려는 것이 아니며, 본 개시의 실시 예의 다양한 변경(modifications), 균등물(equivalents), 및/또는 대체물(alternatives)을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다.Since these embodiments can be modified in various ways and have various embodiments, specific embodiments will be illustrated in the drawings and described in detail in the detailed description. However, this is not intended to limit the scope to specific embodiments, and should be understood to include various modifications, equivalents, and/or alternatives to the embodiments of the present disclosure. In connection with the description of the drawings, similar reference numbers may be used for similar components.
본 개시를 설명함에 있어서, 관련된 공지 기능 혹은 구성에 대한 구체적인 설명이 본 개시의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그에 대한 상세한 설명은 생략한다.In describing the present disclosure, if it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the gist of the present disclosure, the detailed description thereof will be omitted.
덧붙여, 하기 실시 예는 여러 가지 다른 형태로 변형될 수 있으며, 본 개시의 기술적 사상의 범위가 하기 실시 예에 한정되는 것은 아니다. 오히려, 이들 실시 예는 본 개시를 더욱 충실하고 완전하게 하고, 당업자에게 본 개시의 기술적 사상을 완전하게 전달하기 위하여 제공되는 것이다.In addition, the following examples may be modified into various other forms, and the scope of the technical idea of the present disclosure is not limited to the following examples. Rather, these embodiments are provided to make the present disclosure more faithful and complete and to completely convey the technical idea of the present disclosure to those skilled in the art.
본 개시에서 사용한 용어는 단지 특정한 실시 예를 설명하기 위해 사용된 것으로, 권리범위를 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다.The terms used in this disclosure are merely used to describe specific embodiments and are not intended to limit the scope of rights. Singular expressions include plural expressions unless the context clearly dictates otherwise.
본 개시에서, "가진다," "가질 수 있다," "포함한다," 또는 "포함할 수 있다" 등의 표현은 해당 특징(예: 수치, 기능, 동작, 또는 부품 등의 구성요소)의 존재를 가리키며, 추가적인 특징의 존재를 배제하지 않는다. In the present disclosure, expressions such as “have,” “may have,” “includes,” or “may include” refer to the presence of the corresponding feature (e.g., component such as numerical value, function, operation, or part). , and does not rule out the existence of additional features.
본 개시에서, "A 또는 B," "A 또는/및 B 중 적어도 하나," 또는 "A 또는/및 B 중 하나 또는 그 이상"등의 표현은 함께 나열된 항목들의 모든 가능한 조합을 포함할 수 있다. 예를 들면, "A 또는 B," "A 및 B 중 적어도 하나," 또는 "A 또는 B 중 적어도 하나"는, (1) 적어도 하나의 A를 포함, (2) 적어도 하나의 B를 포함, 또는 (3) 적어도 하나의 A 및 적어도 하나의 B 모두를 포함하는 경우를 모두 지칭할 수 있다.In the present disclosure, expressions such as “A or B,” “at least one of A or/and B,” or “one or more of A or/and B” may include all possible combinations of the items listed together. . For example, “A or B,” “at least one of A and B,” or “at least one of A or B” (1) includes at least one A, (2) includes at least one B, or (3) it may refer to all cases including both at least one A and at least one B.
본 개시에서 사용된 "제1," "제2," "첫째," 또는 "둘째,"등의 표현들은 다양한 구성요소들을, 순서 및/또는 중요도에 상관없이 수식할 수 있고, 한 구성요소를 다른 구성요소와 구분하기 위해 사용될 뿐 해당 구성요소들을 한정하지 않는다.Expressions such as “first,” “second,” “first,” or “second,” used in the present disclosure can modify various components regardless of order and/or importance, and can refer to one component. It is only used to distinguish from other components and does not limit the components.
어떤 구성요소(예: 제1 구성요소)가 다른 구성요소(예: 제2 구성요소)에 "(기능적으로 또는 통신적으로) 연결되어((operatively or communicatively) coupled with/to)" 있다거나 "접속되어(connected to)" 있다고 언급된 때에는, 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로 연결되거나, 다른 구성요소(예: 제3 구성요소)를 통하여 연결될 수 있다고 이해되어야 할 것이다. A component (e.g., a first component) is “(operatively or communicatively) coupled with/to” another component (e.g., a second component). When referred to as being “connected to,” it should be understood that any component may be directly connected to the other component or may be connected through another component (e.g., a third component).
반면에, 어떤 구성요소(예: 제1 구성요소)가 다른 구성요소(예: 제2 구성요소)에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 상기 어떤 구성요소와 상기 다른 구성요소 사이에 다른 구성요소(예: 제3 구성요소)가 존재하지 않는 것으로 이해될 수 있다.On the other hand, when a component (e.g., a first component) is said to be “directly connected” or “directly connected” to another component (e.g., a second component), It may be understood that no other component (e.g., a third component) exists between other components.
본 개시에서 사용된 표현 "~하도록 구성된(또는 설정된)(configured to)"은 상황에 따라, 예를 들면, "~에 적합한(suitable for)," "~하는 능력을 가지는(having the capacity to)," "~하도록 설계된(designed to)," "~하도록 변경된(adapted to)," "~하도록 만들어진(made to)," 또는 "~를 할 수 있는(capable of)"과 바꾸어 사용될 수 있다. 용어 "~하도록 구성된(또는 정된)"은 하드웨어적으로 "특별히 설계된(specifically designed to)"것만을 반드시 의미하지 않을 수 있다. The expression “configured to” used in the present disclosure may mean, for example, “suitable for,” “having the capacity to,” depending on the situation. ," can be used interchangeably with "designed to," "adapted to," "made to," or "capable of." The term “configured (or determined) to” may not necessarily mean “specifically designed to” in terms of hardware.
대신, 어떤 상황에서는, "~하도록 구성된 장치"라는 표현은, 그 장치가 다른 장치 또는 부품들과 함께 "~할 수 있는" 것을 의미할 수 있다. 예를 들면, 문구 "A, B, 및 C를 수행하도록 구성된(또는 설정된) 프로세서"는 해당 동작을 수행하기 위한 전용 프로세서(예: 임베디드 프로세서), 또는 메모리 장치에 저장된 하나 이상의 소프트웨어 프로그램들을 실행함으로써, 해당 동작들을 수행할 수 있는 범용 프로세서(generic-purpose processor)(예: CPU 또는 application processor)를 의미할 수 있다.Instead, in some contexts, the expression “a device configured to” may mean that the device is “capable of” working with other devices or components. For example, the phrase "processor configured (or set) to perform A, B, and C" refers to a processor dedicated to performing the operations (e.g., an embedded processor), or by executing one or more software programs stored on a memory device. , may refer to a general-purpose processor (e.g., CPU or application processor) capable of performing the corresponding operations.
실시 예에 있어서 '모듈' 혹은 '부'는 적어도 하나의 기능이나 동작을 수행하며, 하드웨어 또는 소프트웨어로 구현되거나 하드웨어와 소프트웨어의 결합으로 구현될 수 있다. 또한, 복수의 '모듈' 혹은 복수의 '부'는 특정한 하드웨어로 구현될 필요가 있는 '모듈' 혹은 '부'를 제외하고는 적어도 하나의 모듈로 일체화되어 적어도 하나의 프로세서로 구현될 수 있다.In an embodiment, a 'module' or 'unit' performs at least one function or operation, and may be implemented as hardware or software, or as a combination of hardware and software. Additionally, a plurality of 'modules' or a plurality of 'units' may be integrated into at least one module and implemented with at least one processor, except for 'modules' or 'units' that need to be implemented with specific hardware.
한편, 도면에서의 다양한 요소와 영역은 개략적으로 그려진 것이다. 따라서, 본 발명의 기술적 사상은 첨부한 도면에 그려진 상대적인 크기나 간격에 의해 제한되지 않는다.Meanwhile, various elements and areas in the drawing are schematically drawn. Accordingly, the technical idea of the present invention is not limited by the relative sizes or spacing drawn in the attached drawings.
이하에서는 첨부한 도면을 참고하여 본 개시에 따른 실시 예에 대하여 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다.Hereinafter, with reference to the attached drawings, embodiments according to the present disclosure will be described in detail so that those skilled in the art can easily implement them.
도 1은 본 개시의 일 실시예에 따른 전자 장치(100)의 구성을 설명하기 위한 블록도이다.FIG. 1 is a block diagram for explaining the configuration of an
전자 장치(100)는 메모리(110), 통신 인터페이스(120), 사용자 인터페이스(130), 마이크(140), 스피커(150), 디스플레이(160), 센서(170) 및 프로세서(180)를 포함할 수 있다. 전자 장치(100)는 상기 구성요소 중 일부가 생략될 수 있으며, 다른 구성요소를 더 포함할 수 있다.
그리고, 전자 장치(100)는 스마트폰으로 구현될 수 있으나, 이는 일 실시예에 불과할 뿐, 태블릿 PC, PC, 서버, 스마트 TV, 휴대폰, PDA(personal digital assistant), 이어폰, 랩톱, 미디어 플레이어, 전자책 단말기, 디지털방송용 단말기, 네비게이션, 키오스크, MP3 플레이어, 디지털 카메라, 웨어러블 장치, 가전기기 및 기타 모바일 또는 비모바일 컴퓨팅 장치 등 다양한 형태로 구현될 수 있다.Additionally, the
메모리(110)는 전자 장치(100)에 관한 적어도 하나의 명령어(instruction)를 저장할 수 있다. 메모리(110)는 전자 장치(100)를 구동시키기 위한 O/S(Operating System)를 저장할 수 있다. 또한, 메모리(110)는 본 개시의 다양한 실시 예들에 따라 전자 장치(100)가 동작하기 위한 각종 소프트웨어 프로그램이나 애플리케이션을 저장할 수 있다. 그리고, 메모리(110)는 플래시 메모리(Flash Memory) 등과 같은 반도체 메모리나 하드디스크(Hard Disk) 등과 같은 자기 저장 매체 등을 포함할 수 있다.The
구체적으로, 메모리(110)는 본 개시의 다양한 실시 예에 따라 전자 장치(100)가 동작하기 위한 각종 소프트웨어 모듈을 저장할 수 있으며, 프로세서(180)는 메모리(110)에 저장된 각종 소프트웨어 모듈을 실행하여 전자 장치(100)의 동작을 제어할 수 있다. 즉, 메모리(110)는 프로세서(180)에 의해 액세스되며, 프로세서(180)에 의한 데이터의 독취/기록/수정/삭제/갱신 등이 수행될 수 있다.Specifically, the
한편, 본 개시에서 메모리(110)라는 용어는 메모리(110), 프로세서(180) 내 롬(미도시), 램(미도시) 또는 전자 장치(100)에 장착되는 메모리 카드(미도시)(예를 들어, micro SD 카드, 메모리 스틱)를 포함하는 의미로 사용될 수 있다.Meanwhile, in the present disclosure, the
특히, 메모리(110)는 복수의 레이어를 포함하는 인공 지능 모델에 관한 정보를 저장할 수 있다. 여기서, 인공 지능 모델에 관한 정보를 저장한다는 것은 인공 지능 모델의 동작과 관련된 다양한 정보, 예를 들어 인공 지능 모델에 포함된 복수의 레이어에 대한 정보, 복수의 레이어 각각에서 이용되는 파라미터(예를 들어, 필터 계수, 바이어스 등)에 대한 정보 등을 저장한다는 것을 의미할 수 있다.In particular, the
구체적으로, 메모리(110)는 제1 언어에 대응되는 인코더(111) 및 제1 언어에 대응되는 디코더(112)를 저장할 수 있으며, 이 때, 제1 언어에 대응되는 인코더(111) 및 제1 언어에 대응되는 디코더(112)는 신경망 모델로 구현될 수 있다. 예를 들어, 제1 언어는 한국어일 수 있다.Specifically, the
제1 언어에 대응되는 인코더(111)는 제1 언어의 제1 텍스트를 입력 데이터로 하고 벡터 공간 상의 특징 벡터를 출력 데이터로 하여 학습된 모델일 수 있다. 즉, 제1 언어에 대응되는 인코더(111)는 제1 언어의 텍스트가 입력되면, 제1 언어의 텍스트의 특징 벡터를 출력하도록 학습된 신경망일 수 있다.The
제1 언어에 대응되는 디코더(112)는 벡터 공간 상의 특징 벡터를 입력 데이터로 하고, 제1 언어의 제1 텍스트를 출력 데이터로 하여 학습된 모델일 수 있다. 즉, 제1 언어에 대응되는 디코더(112)는 특징 벡터가 입력되면, 제1 언어의 텍스트가 출력되도록 학습된 신경망일 수 있다.The
통신 인터페이스(120)는 회로(circuitry)를 포함하며, 외부 기기 및 서버와 통신할 수 있는 구성이다. 통신 인터페이스(120)는 유선 또는 무선 통신 방식에 기초하여 외부 기기 또는 서버와 통신을 수행할 수 있다. 이 경우, 통신 인터페이스(120)는 블루투스 모듈(미도시), 와이파이 모듈(미도시), IR(infrared) 모듈, LAN(Local Area Network) 모듈, 이더넷(Ethernet) 모듈 등을 포함할 수 있다. 여기서, 각 통신 모듈은 적어도 하나의 하드웨어 칩 형태로 구현될 수 있다. 무선 통신 모듈은 상술한 통신 방식 이외에 지그비(zigbee), USB(Universal Serial Bus), MIPI CSI(Mobile Industry Processor Interface Camera Serial Interface), 3G(3rd Generation), 3GPP(3rd Generation Partnership Project), LTE(Long Term Evolution), LTE-A(LTE Advanced), 4G(4th Generation), 5G(5th Generation)등과 같은 다양한 무 통신 규격에 따라 통신을 수행하는 적어도 하나의 통신 칩을 포함할 수 있다. 다만 이는 일 실시 예에 불과하며 통신 인터페이스(120)는 다양한 통신 모듈 중 적어도 하나의 통신 모듈을 이용할 수 있다. 통신 인터페이스(120)는 번역 지원 장치(200) 및 타 전자 장치(300)와 통신을 수행하며 데이터를 송수신할 수 있다.The
사용자 인터페이스(130)는 전자 장치(100)를 제어하기 위한 사용자 명령을 입력받기 위한 구성이다. 버튼, 터치 패드, 마우스 및 키보드와 같은 장치로 구현되거나, 디스플레이 기능 및 조작 입력 기능도 함께 수행 가능한 터치 스크린으로도 구현될 수 있다. 여기서, 버튼은 전자 장치(100)의 본체 외관의 전면부나 측면부, 배면부 등의 임의의 영역에 형성된 기계적 버튼, 터치 패드, 휠 등과 같은 다양한 유형의 버튼이 될 수 있다. 전자 장치(100)는 사용자 인터페이스(130)를 통해 다양한 사용자 입력을 획득할 수 있다.The
마이크(140)는 전자 장치(100)의 상측이나 전면 방향, 측면 방향 등에 일체형으로 형성될 수 있다. 마이크(140)는 아날로그 형태의 사용자 음성을 수집하는 마이크, 수집된 사용자 음성을 증폭하는 앰프 회로, 증폭된 사용자 음성을 샘플링하여 디지털 신호로 변환하는 A/D 변환회로, 변환된 디지털 신호로부터 노이즈 성분을 제거하는 필터 회로 등과 같은 다양한 구성을 포함할 수 있다. 마이크(140)는 사용자 음성 입력을 획득할 수 있다.The
스피커(150)는 오디오 신호를 출력할 수 있다. 예를 들어, 스피커(150)는 오디오 신호를 사용자가 청각적으로 인식할 수 있는 물리적인 진동 신호로 변환함으로써, 아날로그 신호를 출력할 수 있다.The
디스플레이(160)는 자발광 소자를 포함하는 디스플레이 또는, 비자발광 소자 및 백라이트를 포함하는 디스플레이로 구현될 수 있다. 예를 들어, LCD(Liquid Crystal Display), OLED(Organic Light Emitting Diodes) 디스플레이, LED(Light Emitting Diodes), 마이크로 LED(micro LED), Mini LED, PDP(Plasma Display Panel), QD(Quantum dot) 디스플레이, QLED(Quantum dot light-emitting diodes) 등과 같은 다양한 형태의 디스플레이로 구현될 수 있다. 디스플레이(160) 내에는 a-si TFT, LTPS(low temperature poly silicon) TFT, OTFT(organic TFT) 등과 같은 형태로 구현될 수 있는 구동 회로, 백라이트 유닛 등도 함께 포함될 수 있다.The
센서(170)는 전자 장치(100) 및 전자 장치(100) 주변의 환경을 감지할 수 있다. 예를 들어, 센서(170)는 GPS 센서, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 온도 센서, 습도 센서, 또는 조도 센서 중 적어도 하나를 포함할 수 있다. 예를 들어, GPS 센서는 전자 장치(100)의 위치 정보를 획득할 수 있다.The
프로세서(180)는 전자 장치(100)의 전반적인 동작 및 기능을 제어할 수 있다. 구체적으로, 프로세서(180)는 메모리(110)를 포함하는 전자 장치(100)의 구성과 연결되며, 상술한 바와 같은 메모리(110)에 저장된 적어도 하나의 명령어를 실행함으로써, 전자 장치(100)의 동작을 전반적으로 제어할 수 있다.The
프로세서(180)는 다양한 방식으로 구현될 수 있다. 예를 들어, 프로세서(180)는 주문형 집적 회로(Application Specific Integrated Circuit, ASIC), 임베디드 프로세서, 마이크로 프로세서, 하드웨어 컨트롤 로직, 하드웨어 유한 상태 기계(hardware Finite State Machine, FSM), 디지털 신호 프로세서(Digital Signal Processor, DSP) 중 적어도 하나로 구현될 수 있다. 한편, 본 개시에서 프로세서(180)라는 용어는 CPU(Central Processing Unit), GPU(Graphic Processing Unit) 및 MPU(Main Processing Unit)등을 포함하는 의미로 사용될 수 있다.
본 개시의 다양한 실시 예를 구현하기 위한 프로세서(180)의 동작은 복수의 모듈을 통해 구현될 수 있다.Operations of the
구체적으로, 본 개시에 따른 복수의 모듈에 대한 데이터는 메모리(110)에 저장될 수 있고, 프로세서(180)는 메모리(110)에 엑세스하여 복수의 모듈에 대한 데이터를 프로세서(180) 내부의 메모리 또는 버퍼에 로딩한 후, 복수의 모듈을 이용하여 본 개시에 따른 다양한 실시예를 구현할 수 있다. Specifically, data for a plurality of modules according to the present disclosure may be stored in the
다만, 본 개시에 따른 복수의 모듈 중 적어도 하나는 하드웨어로 구현되어 시스템 온 칩(system on chip)의 형태로 프로세서(180)내에 포함될 수도 있다.However, at least one of the plurality of modules according to the present disclosure may be implemented as hardware and may be included in the
도 2는 본 개시의 일 실시예에 따른 번역 지원 장치의 구성을 설명하기 위한 도면이다.Figure 2 is a diagram for explaining the configuration of a translation support device according to an embodiment of the present disclosure.
구체적으로, 번역 지원 장치(200)는 메모리(210), 통신 인터페이스(220), 센서(230) 및 프로세서(240)를 포함할 수 있다. 번역 지원 장치(200)는 상기 구성요소 중 일부가 생략될 수 있으며, 다른 구성요소를 더 포함할 수 있다. 이 때, 번역 지원 장치(200)는 전자 장치(100)에 포함된 구성의 적어도 일부를 더 포함할 수 있으며, 이 때, 번역 지원 장치(200)에 포함된 구성의 동작 중 적어도 일부는 전자 장치(100)에 포함된 구성의 동작과 같을 수 있다.Specifically, the
그리고, 번역 지원 장치(200)는 서버로 구현될 수 있으나, 이는 일 실시예에 불과할 뿐, 스마트폰, 태블릿 PC, PC, 서버, 스마트 TV, 휴대폰, PDA(personal digital assistant), 이어폰, 랩톱, 미디어 플레이어, 전자책 단말기, 디지털방송용 단말기, 네비게이션, 키오스크, MP3 플레이어, 디지털 카메라, 웨어러블 장치, 가전기기 및 기타 모바일 또는 비모바일 컴퓨팅 장치 등 다양한 형태로 구현될 수 있다.In addition, the
메모리(210)는 번역 지원 장치(200)에 관한 적어도 하나의 명령어(instruction)를 저장할 수 있다. 메모리(210)는 번역 지원 장치(200)를 구동시키기 위한 O/S(Operating System)를 저장할 수 있다. 또한, 메모리(210)는 본 개시의 다양한 실시 예들에 따라 번역 지원 장치(200)가 동작하기 위한 각종 소프트웨어 프로그램이나 애플리케이션을 저장할 수 있다. 그리고, 메모리(210)는 플래시 메모리(Flash Memory) 등과 같은 반도체 메모리나 하드디스크(Hard Disk) 등과 같은 자기 저장 매체 등을 포함할 수 있다.The
구체적으로, 메모리(210)는 본 개시의 다양한 실시 예에 따라 번역 지원 장치(200)가 동작하기 위한 각종 소프트웨어 모듈을 저장할 수 있으며, 프로세서(240)는 메모리(210)에 저장된 각종 소프트웨어 모듈을 실행하여 번역 지원 장치(200)의 동작을 제어할 수 있다. 즉, 메모리(210)는 프로세서(240)에 의해 액세스되며, 프로세서(240)에 의한 데이터의 독취/기록/수정/삭제/갱신 등이 수행될 수 있다.Specifically, the
한편, 본 개시에서 메모리(210)라는 용어는 메모리(210), 프로세서(240) 내 롬(미도시), 램(미도시) 또는 번역 지원 장치(200)에 장착되는 메모리 카드(미도시)(예를 들어, micro SD 카드, 메모리 스틱)를 포함하는 의미로 사용될 수 있다.Meanwhile, in the present disclosure, the
특히, 메모리(210)는 복수의 레이어를 포함하는 인공 지능 모델에 관한 정보를 저장할 수 있다. 여기서, 인공 지능 모델에 관한 정보를 저장한다는 것은 인공 지능 모델의 동작과 관련된 다양한 정보, 예를 들어 인공 지능 모델에 포함된 복수의 레이어에 대한 정보, 복수의 레이어 각각에서 이용되는 파라미터(예를 들어, 필터 계수, 바이어스 등)에 대한 정보 등을 저장한다는 것을 의미할 수 있다.In particular, the
구체적으로, 메모리(210)는 제1 도메인에 대응되는 인코더(211) 및 제1 도메인에 대응되는 디코더(212)를 저장할 수 있다.Specifically, the
이 때, 제1 도메인에 대응되는 인코더(211)는 특정 언어(예로, 제1 언어 또는 제2 언어)의 텍스트로부터 획득된 특징 벡터를 입력 데이터로 하고 특정 언어 및 제1 도메인에 대응되는 특징 벡터를 출력 데이터로 하여 학습된 모델일 수 있다. 여기서, 특정 언어 및 제1 도메인에 대응되는 특징 벡터는 특정 언어의 특성과 제1 도메인의 특성이 반영된 특징 벡터일 수 있다. 즉, 제1 도메인에 대응되는 인코더(211)는, 특정 언어의 텍스트로부터 획득된 특징 벡터가 입력되면, 제1 언어의 특성과 제1 도메인의 특성이 반영된 특징 벡터를 출력하도록 학습된 신경망일 수 있다.At this time, the
즉, 제1 도메인에 대응되는 디코더(212)는 제1 도메인에 대응되는 인코더(211)로부터 출력된 제1 언어 및 제1 도메인에 대응되는 특징 벡터를 입력 데이터로 하고, 제1 도메인에 대응되는 특징 벡터를 출력 데이터로 하여 학습된 모델일 수 있다. 여기서, 제1 도메인에 대응되는 특징 벡터는 특정 언어의 특성이 제외되고, 제1 도메인의 특성이 반영된 특징 벡터일 수 있다. 즉, 제1 도메인에 대응되는 디코더(212)는 특정 언어 및 제1 도메인에 대응되는 특징 벡터가 입력되면 제1 도메인에 대응되는 특징 벡터가 출력되도록 학습된 신경망일 수 있다.That is, the
통신 인터페이스(220)는 회로(circuitry)를 포함하며, 외부 기기 및 서버와 통신할 수 있는 구성이다. 통신 인터페이스(220)는 유선 또는 무선 통신 방식에 기초하여 외부 기기 또는 서버와 통신을 수행할 수 있다. 이 경우, 통신 인터페이스(220)는 블루투스 모듈(미도시), 와이파이 모듈(미도시), IR(infrared) 모듈, LAN(Local Area Network) 모듈, 이더넷(Ethernet) 모듈 등을 포함할 수 있다. 여기서, 각 통신 모듈은 적어도 하나의 하드웨어 칩 형태로 구현될 수 있다. 무선 통신 모듈은 상술한 통신 방식 이외에 지그비(zigbee), USB(Universal Serial Bus), MIPI CSI(Mobile Industry Processor Interface Camera Serial Interface), 3G(3rd Generation), 3GPP(3rd Generation Partnership Project), LTE(Long Term Evolution), LTE-A(LTE Advanced), 4G(4th Generation), 5G(5th Generation)등과 같은 다양한 무 통신 규격에 따라 통신을 수행하는 적어도 하나의 통신 칩을 포함할 수 있다. 다만 이는 일 실시 예에 불과하며 통신 인터페이스(220)는 다양한 통신 모듈 중 적어도 하나의 통신 모듈을 이용할 수 있다. 통신 인터페이스(220)는 전자 장치(100) 및 외부 단말 장치(300)와 통신을 수행하며 데이터를 송수신할 수 있다.The
센서(230)는 번역 지원 장치(200) 및 번역 지원 장치(200) 주변의 환경을 감지할 수 있다. 예를 들어, 센서(230)는 GPS 센서, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 온도 센서, 습도 센서, 또는 조도 센서 중 적어도 하나를 포함할 수 있다. 예를 들어, GPS 센서는 번역 지원 장치의 위치 정보를 획득할 수 있다.The
프로세서(240)는 번역 지원 장치(200)의 전반적인 동작 및 기능을 제어할 수 있다. 구체적으로, 프로세서(240)는 메모리(210)를 포함하는 번역 지원 장치(200)의 구성과 연결되며, 상술한 바와 같은 메모리(210)에 저장된 적어도 하나의 명령어를 실행함으로써, 번역 지원 장치(200)의 동작을 전반적으로 제어할 수 있다.The
프로세서(240)는 다양한 방식으로 구현될 수 있다. 예를 들어, 프로세서(240)는 주문형 집적 회로(Application Specific Integrated Circuit, ASIC), 임베디드 프로세서, 마이크로 프로세서, 하드웨어 컨트롤 로직, 하드웨어 유한 상태 기계(hardware Finite State Machine, FSM), 디지털 신호 프로세서(Digital Signal Processor, DSP) 중 적어도 하나로 구현될 수 있다. 한편, 본 개시에서 프로세서(240)라는 용어는 CPU(Central Processing Unit), GPU(Graphic Processing Unit) 및 MPU(Main Processing Unit)등을 포함하는 의미로 사용될 수 있다.
본 개시의 다양한 실시 예를 구현하기 위한 프로세서(240)의 동작은 복수의 모듈을 통해 구현될 수 있다.Operations of the
구체적으로, 본 개시에 따른 복수의 모듈에 대한 데이터는 메모리(210)에 저장될 수 있고, 프로세서(240)는 메모리(210)에 엑세스하여 복수의 모듈에 대한 데이터를 프로세서(240) 내부의 메모리 또는 버퍼에 로딩한 후, 복수의 모듈을 이용하여 본 개시에 따른 다양한 실시예를 구현할 수 있다. Specifically, data for a plurality of modules according to the present disclosure may be stored in the
다만, 본 개시에 따른 복수의 모듈 중 적어도 하나는 하드웨어로 구현되어 시스템 온 칩(system on chip)의 형태로 프로세서(240)내에 포함될 수도 있다.However, at least one of the plurality of modules according to the present disclosure may be implemented as hardware and may be included in the
도 3은 본 개시의 일 실시예에 따른 타 전자 장치(300)의 구성을 설명하기 위한 도면이다.FIG. 3 is a diagram for explaining the configuration of another
타 전자 장치(300)는 메모리(310), 통신 인터페이스(320), 사용자 인터페이스(330), 마이크(340), 스피커(350), 디스플레이(360), 센서(370) 및 프로세서(380)를 포함할 수 있다. 전자 장치(300)는 상기 구성요소 중 일부가 생략될 수 있으며, 다른 구성요소를 더 포함할 수 있다. 이 때, 타 전자 장치(300)에 포함된 구성의 동작 중 적어도 일부는 전자 장치(100)에 포함된 구성의 동작과 같을 수 있다.Other
특히, 메모리(110)는 복수의 레이어를 포함하는 인공 지능 모델에 관한 정보를 저장할 수 있다. 여기서, 인공 지능 모델에 관한 정보를 저장한다는 것은 인공 지능 모델의 동작과 관련된 다양한 정보, 예를 들어 인공 지능 모델에 포함된 복수의 레이어에 대한 정보, 복수의 레이어 각각에서 이용되는 파라미터(예를 들어, 필터 계수, 바이어스 등)에 대한 정보 등을 저장한다는 것을 의미할 수 있다.In particular, the
구체적으로, 메모리(310)는 제2 언어에 대응되는 인코더(311) 및 제2 언어에 대응되는 디코더(312)를 저장할 수 있으며, 이 때, 제2 언어에 대응되는 인코더(311) 및 제2 언어에 대응되는 디코더(312)는 신경망 모델로 구현될 수 있다.Specifically, the
제2 언어에 대응되는 인코더(311)는 제2 언어의 텍스트를 입력 데이터로 하고 벡터 공간 상의 특징 벡터를 출력 데이터로 하여 학습된 모델일 수 있다. 즉, 제2 언어에 대응되는 인코더(311)는 제2 언어의 텍스트가 입력되면, 제2 언어의 텍스트의 특징 벡터를 출력하도록 학습된 신경망일 수 있다.The
제2 언어에 대응되는 디코더(312)는 벡터 공간 상의 특징 벡터를 입력 데이터로 하고, 제2 언어의 텍스트를 출력 데이터로 하여 학습된 모델일 수 있다. 즉, 제2 언어에 대응되는 디코더(312)는 특징 벡터가 입력되면, 제2 언어의 텍스트가 출력되도록 학습된 신경망일 수 있다.The
그리고, 통신 인터페이스(320)는 전자 장치(100) 및 번역 지원 장치(200)와 통신을 수행하며 데이터를 송수신할 수 있다.Additionally, the
도 4는 본 개시의 일 실시예에 따른 제1 언어에 대응되는 인코더(111), 제1 언어에 대응되는 디코더(112), 제1 도메인에 대응되는 인코더(211), 제1 도메인에 대응되는 디코더(212), 제2 언어에 대응되는 인코더(311) 및 제2 언어에 대응되는 디코더(312)가 학습되는 방법을 설명하기 위한 도면이다.Figure 4 shows an
복수의 번역 지원 장치 각각은 도 4a에 도시된 바와 같이, 도메인별 말뭉치(400, 410, 420)에 기초하여 학습된 인코더 및 디코더를 포함할 수 있다.As shown in FIG. 4A, each of the plurality of translation support devices may include an encoder and a decoder learned based on the domain-
이 때, 제1 도메인 말뭉치(400)는 제1 언어의 텍스트(401) 및 제2 언어의 텍스트(402)를 포함할 수 있다. 이 때, 제2 언어의 텍스트(402)는 제1 언어의 텍스트(401)가 제1 도메인에 적합하게 제2 언어로 번역된 텍스트일 수 있다. 또한, 제1 언어의 텍스트(401)는 제2 언어의 텍스트(402)가 제1 도메인에 적합하게 제1 언어로 번역된 텍스트일 수 있다.At this time, the
마찬가지로, 제2 도메인 말뭉치(410)는 제1 언어의 텍스트(411) 및 제2 언어의 텍스트(412)를 포함할 수 있다. 이 때, 제2 언어의 텍스트(412)는 제1 언어의 텍스트(411)가 제2 도메인에 적합하게 제2 언어로 번역된 텍스트일 수 있다. 또한, 제1 언어의 텍스트(411)는 제2 언어의 텍스트(412)가 제2 도메인에 적합하게 제1 언어로 번역된 텍스트일 수 있다.Likewise, the
또한, 제3 도메인 말뭉치(420)는 제1 언어의 텍스트(421) 및 제2 언어의 텍스트(422)를 포함할 수 있다. 이 때, 제2 언어의 텍스트(422)는 제1 언어의 텍스트(421)가 제3 도메인에 적합하게 제2 언어로 번역된 텍스트일 수 있다. 또한, 제1 언어의 텍스트(421)는 제2 언어의 텍스트(422)가 제3 도메인에 적합하게 제1 언어로 번역된 텍스트일 수 있다.Additionally, the
이 때, 제1 언어에 대응되는 인코더(111), 제1 언어에 대응되는 디코더(112), 제1 도메인에 대응되는 인코더(211), 제1 도메인에 대응되는 디코더(212), 제2 언어에 대응되는 인코더(311) 및 제2 언어에 대응되는 디코더(312)는 제1 도메인에 대응되는 말뭉치(400)를 학습 데이터로 하여 학습된 신경망일 수 있다.At this time, an
이 때, 제1 도메인에 대응되는 말뭉치는 제1 언어의 텍스트와 제1 언어의 텍스트가 제1 도메인에 적합하도록 제2 언어로 번역된 텍스트인 제2 언어의 텍스트를 포함할 수 있다.At this time, the corpus corresponding to the first domain may include a text in the first language and a text in the second language, which is a text translated into a second language so that the text in the first language is suitable for the first domain.
구체적으로, 도 4b에 도시된 바와 같이, 제1 언어에 대응되는 인코더(111), 제1 도메인에 대응되는 인코더(211), 제1 도메인에 대응되는 디코더(212) 및 제2 언어에 대응되는 디코더(312)는 제1 도메인에 대응되는 말뭉치에 포함된 제1 언어의 텍스트가 제1 언어에 대응되는 인코더(111)에 입력되었을 때, 제2 언어에 대응되는 디코더(312)에 의해 출력되는 값과 제1 도메인에 대응되는 말뭉치에 포함된 제2 언어의 텍스트 사이의 차이가 최소가 되도록 학습될 수 있다.Specifically, as shown in Figure 4b, an
이 때, 제1 언어의 텍스트(401)는 제1 언어에 대응되는 인코더(111)에 입력될 수 있다. 그리고, 제1 언어에 대응되는 인코더(111)에 의해 출력된 값은 제1 도메인에 대응되는 인코더(211)에 입력될 수 있다. 그리고, 제1 도메인에 대응되는 인코더(211)에 의해 출력된 값은 제1 도메인에 대응되는 디코더(212)에 입력될 수 있다. 그리고, 제1 도메인에 대응되는 디코더(212)에 의해 출력된 값은 제2 언어에 대응되는 디코더(311)에 입력될 수 있다. 그리고, 제2 언어에 대응되는 디코더(311)에 의해 출력된 텍스트(403)가 획득될 수 있다. 이 때, 제1 언어에 대응되는 인코더(111), 제1 도메인에 대응되는 인코더(211), 제1 도메인에 대응되는 디코더(212) 및 제2 언어에 대응되는 디코더(312)는, 제2 언어에 대응되는 디코더(311)에 의해 출력된 텍스트(403)와 제1 도메인에 대응되는 말뭉치(400)에 포함된 제2 언어의 텍스트(402) 사이의 차이가 최소가 되도록 학습된 신경망일 수 있다.At this time, the
또한, 도 4c에 도시된 바와 같이, 제2 언어에 대응되는 인코더(311), 제1 도메인에 대응되는 인코더(211), 제1 도메인에 대응되는 디코더(212) 및 제1 언어에 대응되는 디코더(112)는, 제1 도메인에 대응되는 말뭉치(400)에 포함된 제2 언어의 텍스트(402)가 제2 언어에 대응되는 인코더(311)에 입력되었을 때, 제1 언어에 대응되는 디코더(112)에 의해 출력되는 텍스트(403)와 제1 도메인에 대응되는 말뭉치(400)에 포함된 제2 언어의 텍스트 사이의 차이가 최소가 되도록 학습될 수 있다.Additionally, as shown in FIG. 4C, an
이 때, 제1 언어의 텍스트는 제2 언어에 대응되는 인코더(311)에 입력될 수 있다. 그리고, 제2 언어에 대응되는 인코더(311)에 의해 출력된 값이 제1 도메인에 대응되는 인코더(211)에 입력될 수 있다. 그리고, 제1 도메인에 대응되는 인코더(211)에 의해 출력된 값은 제1 도메인에 대응되는 디코더(212)에 입력될 수 있다. 그리고, 제1 도메인에 대응되는 디코더(212)에 의해 출력된 값은 제1 언어에 대응되는 디코더(212)에 입력될 수 있다. 그리고, 제2 언어에 대응되는 인코더(311), 제1 도메인에 대응되는 인코더(211), 제1 도메인에 대응되는 디코더(212) 및 제1 언어에 대응되는 디코더(112)는, 제1 언어에 대응되는 디코더(212)에 의해 출력된 값과 학습 데이터에 포함된 제2 언어의 텍스트 사이의 차이를 손실 함수로 하고 손실 함수의 값이 최소가 되도록 학습된 신경망일 수 있다.At this time, text in the first language may be input to the
도 5는 본 개시의 일 실시예에 따른 전자 장치의 동작을 설명하기 위한 도면이다.FIG. 5 is a diagram for explaining the operation of an electronic device according to an embodiment of the present disclosure.
프로세서(180)는 복수의 번역 지원 장치(200, 201, 202) 중 전자 장치(100)와 기설정된 거리 내에 위치한 번역 지원 장치(200)를 식별할 수 있다. 이 때, 메모리(110)는 복수의 번역 지원 장치(200, 201, 202)에 대한 식별 정보를 저장할 수 있다. 메모리(110)에 저장된 복수의 번역 지원 장치에 대한 식별 정보에 기초하여, 프로세서(180)는 복수의 번역 지원 장치 중 전자 장치(100)와 기설정된 거리 내에 위치한 번역 지원 장치를 식별할 수 있다.The
여기서, 프로세서(180)는 복수의 번역 지원 장치(200, 201, 202) 각각 과의 신호 연결 세기에 기초하여, 복수의 번역 지원 장치(200, 201, 202) 각각이 기설정된 거리 내에 위치하는지 여부를 식별할 수 있다.Here, the
또는, 프로세서(180)는 복수의 번역 지원 장치(200, 201, 202) 각각 과의 근거리 통신 수단으로 연결되는지 여부에 기초하여 기설정된 거리 내에 위치하는지 여부를 식별할 수 있다. 예를 들어, 복수의 번역 지원 장치(200, 201, 202)중 제1 번역 지원 장치(200)와 근거리 통신 수단을 통해 연결되면, 프로세서(180)는 제1 번역 지원 장치(200)가 기설정된 거리 내에 위치하는 것으로 식별할 수 있다. 여기서, 근거리 통신 수단은 블루투스, Wi-Fi Direct, NFC 등을 이용한 통신 수단을 의미할 수 있으나, 이에 제한되는 것은 아니며, 전자 장치(100) 및 번역 지원 장치(200)가 직접 통신을 수행할 수 있는 다양한 통신 수단을 의미할 수 있다.Alternatively, the
그리고, 복수의 번역 지원 장치(200, 201, 202)중, 두 개 이상의 번역 지원 장치가 전자 장치(100)와 기설정된 거리 내에 위치하면, 프로세서(180)는 가장 가까운 번역 지원 장치를 식별할 수 있다.And, among the plurality of
한편, 복수의 번역 지원 장치(200, 201, 202) 각각은 각 도메인에 특화된 번역 지원 장치일 수 있다. 구체적으로, 제1 번역 지원 장치(200)는 제1 도메인에 특화된 번역 지원 장치일 수 있다. 그리고, 제2 번역 지원 장치(201)는 제2 도메인에 특화된 번역 지원 장치일 수 있다. 그리고, 제3 번역 지원 장치(202)는 제3 도메인에 특화된 번역 지원 장치일 수 있다.Meanwhile, each of the plurality of
이 때, 제1 번역 지원 장치(200)는 제1 도메인에 대응되는 말뭉치로 학습된 인코더(211) 및 디코더(212)를 포함하는 번역 지원 장치이고, 제2 번역 지원 장치(201)는 제2 도메인에 대응되는 말뭉치로 학습된 인코더(211b) 및 디코더(212b)를 포함하는 번역 지원 장치이고, 제3 번역 지원 장치(202)는 제3 도메인에 대응되는 말뭉치로 학습된 인코더(211c) 및 디코더를 포함하는 번역 지원 장치일 수 있다.At this time, the first
그리고, 전자 장치(100)와 기설정된 거리 내에 위치한 번역 지원 장치(200)는 전자 장치(100)가 위치한 장소에 대응되는 도메인에 특화된 번역 지원 장치일 수 있다. 예를 들어, 전자 장치(100)가 위치한 장소에 대응되는 도메인이 제1 도메인이면, 프로세서(180)는 제1 도메인에 특화된 제1 번역 지원 장치(200)를 식별할 수 있다.Additionally, the
예를 들어, 전자 장치(100)의 위치가 쇼핑 센터이면, 식별된 번역 지원 장치(200)는 쇼핑 도메인에 특화된 번역 지원 장치일 수 있다. 또는, 전자 장치(100)의 위치가 공항이면, 식별된 번역 지원 장치(200)는 공항 도메인에 특화된 번역 지원 장치 일 수 있다. 또는, 전자 장치(100)의 위치가 레스토랑이면, 식별된 번역 지원 장치(200)는 레스토랑 도메인에 특화된 번역 지원 장치일 수 있다.For example, if the location of the
그리고, 프로세서(180)는 적어도 하나의 타 전자 장치 중 타 전자 장치(300)를 식별할 수 있다.Additionally, the
이 때, 프로세서(180)는 적어도 하나의 타 전자 장치 중 하나를 선택하기 위한 UI를 디스플레이(160)상에 표시할 수 있다. 이 때, 적어도 하나의 타 전자 장치는 전자 장치(100)와 근거리 통신 수단을 이용하여 연결되는 장치일 수 있다. At this time, the
그리고, 프로세서(180)는 복수의 타 전자 장치 중 하나를 선택하기 위한 사용자 입력을 획득할 수 있다. 이 때, 프로세서(180)는 복수의 타 전자 장치 중 선택된 장치를 타 전자 장치(300)로 식별할 수 있다.Additionally, the
또는, 프로세서(180)는 적어도 하나의 타 전자 장치 중 전자 장치(100)가 가리키는 방향에 위치한 장치를 타 전자 장치(300)로 식별할 수 있다.Alternatively, the
또는, 프로세서(180)는 적어도 하나의 타 전자 장치 중 전자 장치(100)와 가장 근접한 위치에 있는 장치를 타 전자 장치(300)로 식별할 수 있다.Alternatively, the
번역 지원 장치(200) 및 타 전자 장치(300)가 식별되면, 프로세서(180)는 번역 지원 장치(200)의 식별 정보를 타 전자 장치(300)로 전송하고, 타 전자 장치(300)의 식별 정보를 번역 지원 장치(200)로 전송할 수 있다.When the
전송된 식별 정보에 기초하여, 전자 장치(100), 번역 지원 장치(200) 및 타 전자 장치(300)는 통신을 수행하며 데이터를 송수신할 수 있다.Based on the transmitted identification information, the
그리고, 프로세서(180)는 마이크(140)를 통해 제1 사용자(10)로부터 제1 언어의 사용자 음성을 획득할 수 있다. 제1 언어의 사용자 음성이 획득되면, 프로세서(180)는 획득된 제1 언어의 사용자 음성을 STT(Speech to Text) 모델에 입력하여 제1 언어의 제1 텍스트를 획득할 수 있다.Additionally, the
그리고, 프로세서(180)는 제1 언어의 제1 텍스트를 제1 언어에 대응되는 인코더(211)에 입력하여, 제1 언어의 제1 텍스트에 대응되는 제1 특징 벡터를 획득할 수 있다. 이어서, 전자 장치(100)는 제1 특징 벡터를 번역 지원 장치(200)로 전송할 수 있다.Then, the
제1 특징 벡터가 수신되면, 번역 지원 장치(200)는 제1 특징 벡터로부터 제1 도메인의 특징이 반영된 특징 벡터를 획득할 수 있다.When the first feature vector is received, the
구체적으로, 번역 지원 장치(200)는 제1 특징 벡터를 제1 도메인에 대응되는 인코더(211)에 입력하여 제2 특징 벡터를 획득할 수 있다.Specifically, the
그리고, 번역 지원 장치(200)는 제2 특징 벡터를 제1 도메인에 대응되는 디코더(212)에 입력하여 제3 특징 벡터를 획득할 수 있다.Additionally, the
제3 특징 벡터가 획득되면, 번역 지원 장치(200)는 제3 특징 벡터를 타 전자 장치(300)로 전송할 수 있다.When the third feature vector is obtained, the
제3 특징 벡터가 수신되면, 타 전자 장치(300)는 제3 특징 벡터를 제2 언어에 대응되는 디코더(312)에 입력하여 제2 언어의 제1 텍스트를 획득할 수 있다. 이 때, 제2 언어의 텍스트는 제1 언어의 텍스트가 제2 언어로 번역된 텍스트일 수 있다.When the third feature vector is received, the other
제2 언어의 제1 텍스트가 획득되면, 타 전자 장치(300)는 제2 언어의 제1 텍스트를 출력할 수 있다. 이 때, 타 전자 장치(300)는 제2 언어의 제1 텍스트를 타 전자 장치(300)의 디스플레이 상에 표시하거나, 타 전자 장치(300)의 스피커를 통해 출력할 수 있다.When the first text in the second language is obtained, the other
제2 언어의 제1 텍스트가 출력되면, 제2 사용자(30)는 제2 언어의 사용자 음성을 발화할 수 있다. 이 때, 타 전자 장치(300)는 제2 언어의 사용자 음성을 획득할 수 있다. 여기서, 제2 언어의 사용자 음성은 제1 언어의 사용자 음성에 대한 응답일 수 있다.When the first text in the second language is output, the
제2 언어의 사용자 음성이 획득되면, 타 전자 장치(300)는 제2 언어의 사용자 음성을 제2 언어의 제2 텍스트로 변환한 뒤, 제2 언어의 제2 텍스트를 제1 도메인에 대응되는 인코더(311)에 입력할 수 있다. 이 때, 타 전자 장치(300)는 제2 언어의 제2 텍스트를 제1 도메인에 대응되는 인코더에 입력하여, 제4 특징 벡터를 획득할 수 있다.When the user's voice in the second language is acquired, the other
제4 특징 벡터가 획득되면, 타 전자 장치(300)는 제4 특징 벡터를 번역 지원 장치(200)로 전송할 수 있다.When the fourth feature vector is acquired, the other
제4 특징 벡터가 수신되면, 번역 지원 장치(200)는 제4 특징 벡터로부터 제1 도메인의 특징이 반영된 특징 벡터를 획득할 수 있다. When the fourth feature vector is received, the
이 때, 번역 지원 장치(200)가 제4 특징 벡터로부터 제1 도메인의 특징이 반영된 특징 벡터를 획득하는 방법은, 번역 지원 장치(200)가 제1 특징 벡터로부터 도메인의 특징이 반영된 특징 벡터를 획득하는 방법과 같을 수 있다.At this time, the method for the
구체적으로, 번역 지원 장치(200)는 제4 특징 벡터를 제1 도메인에 대응되는 인코더(211)에 입력하여 제5 특징 벡터를 획득할 수 있다.Specifically, the
그리고, 번역 지원 장치(200)는 제5 특징 벡터를 제1 도메인에 대응되는 디코더(212)에 입력하여 제6 특징 벡터를 획득할 수 있다.Additionally, the
제6 특징 벡터가 획득되면, 번역 지원 장치(200)는 제6 특징 벡터를 전자 장치(100)로 전송할 수 있다. When the sixth feature vector is acquired, the
제6 특징 벡터가 수신되면, 전자 장치(100)는 제6 특징 벡터를 제1 언어에 대응되는 디코더(112)에 입력하여 제1 언어의 제2 텍스트를 획득할 수 있다. 이 때, 제1 언어의 제2 텍스트는 제2 언어의 사용자 음성이 제1 언어로 번역된 텍스트일 수 있다.When the sixth feature vector is received, the
제1 언어의 텍스트가 획득되면, 전자 장치(100)는 제1 언어의 텍스트를 출력할 수 있다. 이 때, 전자 장치(100)는 디스플레이(160)를 통해 제1 언어의 텍스트를 표시하거나, 스피커(150)를 통해 제1 언어의 텍스트를 출력할 수 있다.When the text in the first language is obtained, the
종래에는, 도메인에 특화된 번역을 수행하기 위해 서버가 복수의 도메인 별 인코더 및 디코더를 저장하였다. 이 때, 사용자 단말 장치는 번역을 위한 사용자 음성에 대한 정보를 서버로 전송하였다. 그리고, 서버는 획득된 사용자 음성에 대한 정보를 이용하여 사용자의 의도를 파악하고 번역 도메인을 식별하고, 식별된 도메인에 대응되는 인코더 및 디코더를 이용하여 번역을 수행하였다. 이에 따라, 사용자 음성에 대한 정보가 서버로 전송되어 사용자의 개인 정보가 노출될 수 있는 문제가 있었다.Conventionally, servers stored a plurality of domain-specific encoders and decoders to perform domain-specific translation. At this time, the user terminal device transmitted information about the user's voice for translation to the server. Then, the server used the acquired information about the user's voice to determine the user's intention, identified the translation domain, and performed translation using the encoder and decoder corresponding to the identified domain. Accordingly, there was a problem that information about the user's voice was transmitted to the server and the user's personal information could be exposed.
또한, 서버는 복수의 도메인 번역을 위해 복수의 도메인 각각에 대응되는 인코더 및 디코더를 저장하여야 하는 문제가 있었다. 또한, 서버가 사용자의 의도를 파악하여 번역 도메인을 식별하는 과정에서 번역 도메인을 잘못 식별하는 경우, 번역 성능이 저하되는 문제가 있었다.Additionally, there was a problem in that the server had to store encoders and decoders corresponding to each of a plurality of domains in order to translate multiple domains. Additionally, if the server incorrectly identifies the translation domain in the process of identifying the user's intent and identifying the translation domain, there was a problem of degraded translation performance.
또한, 종래에는 제1 언어에서 제2 언어로 사용자 음성을 번역하기 위해, 사용자 단말 장치가 제1 언어에 대응되는 인코더 및 디코더와 제2 언어에 대응되는 인코더 및 디코더를 저장하여야 하는 문제가 있었다. 즉, 번역을 위한 타겟 언어의 수만큼 사용자 단말 장치에 저장된 인코더 및 디코더의 개수가 늘어나는 문제가 있었다.Additionally, in the related art, in order to translate a user's voice from a first language to a second language, there was a problem in that the user terminal device had to store an encoder and decoder corresponding to the first language and an encoder and decoder corresponding to the second language. In other words, there was a problem that the number of encoders and decoders stored in the user terminal device increased as much as the number of target languages for translation.
본 개시는 상술한 종래의 문제를 해결하기 위해 안출된 것으로, 본 개시의 일 실시예에 따른 번역 방법은 복수의 번역 지원 장치는 특정 도메인에 대응되는 인코더 및 디코더만을 저장하고 있어, 번역 도메인을 식별하는 과정이 생략될 수 있다.The present disclosure was created to solve the above-described conventional problem. The translation method according to an embodiment of the present disclosure is to identify the translation domain by storing only encoders and decoders corresponding to a specific domain in a plurality of translation support devices. This process can be omitted.
그리고, 복수의 번역 지원 장치 각각은 복수의 번역 지원 장치 각각이 위치한 장소에 따른 도메인에 대응되는 인코더 및 디코더를 저장하고 있기 때문에 전자 장치(100)는 전자 장치(100)가 위치한 장소에 따른 도메인에 대응되는 인코더 및 디코더를 저장하는 번역 지원 장치와 통신을 수행하며 번역을 수행하기 때문에, 번역 도메인을 잘못 식별되고 번역 성능이 저하되는 문제가 해결될 수 있다.In addition, because each of the plurality of translation support devices stores an encoder and a decoder corresponding to a domain according to the location of each of the plurality of translation support devices, the
또한, 본 개시의 전자 장치(100)는 제1 언어에 대응되는 인코더(111) 및 제1 언어에 대응되는 디코더(112)만을 이용하여 제1 언어의 사용자 음성을 제2 언어의 텍스트로 번역할 수 있다. 이에 따라, 본 개시의 전자 장치(100)는 종래의 번역을 위한 사용자 단말 장치보다 더 적은 자원을 이용하여 번역을 수행할 수 있다.In addition, the
또한, 본 개시의 전자 장치(100)는 사용자 음성으로부터 획득된 특징 벡터만을 번역 지원 장치(200)로 전송하여, 사용자의 개인 정보를 보호할 수 있는 효과가 있다.In addition, the
본 개시에 따른 인공지능과 관련된 기능은 전자 장치(100)의 프로세서(180)와 메모리(110)를 통해 동작된다.Functions related to artificial intelligence according to the present disclosure are operated through the
프로세서(180)는 하나 또는 복수의 프로세서(180)로 구성될 수 있다. 이때, 하나 또는 복수의 프로세서(180)는 CPU(Central Processing Unit), GPU(Graphic Processing Unit), NPU(Neural Processing Unit) 중 적어도 하나를 포함할 수 있으나 전술한 프로세서(180)의 예시에 한정되지 않는다.The
CPU는 일반 연산뿐만 아니라 인공지능 연산을 수행할 수 있는 범용 프로세서(180)로서, 다계층 캐시(Cache) 구조를 통해 복잡한 프로그램을 효율적으로 실행할 수 있다. CPU는 순차적인 계산을 통해 이전 계산 결과와 다음 계산 결과의 유기적인 연계가 가능하도록 하는 직렬 처리 방식에 유리하다. 범용 프로세서(180)는 전술한 CPU로 명시한 경우를 제외하고 전술한 예에 한정되지 않는다.The CPU is a general-
GPU는 그래픽 처리에 이용되는 부동 소수점 연산 등과 같은 대량 연산을 위한 프로세서(180)로서, 코어를 대량으로 집적하여 대규모 연산을 병렬로 수행할 수 있다. 특히, GPU는 CPU에 비해 컨볼루션(Convolution) 연산 등과 같은 병렬 처리 방식에 유리할 수 있다. 또한, GPU는 CPU의 기능을 보완하기 위한 보조 프로세서(180)(co-processor)로 이용될 수 있다. 대량 연산을 위한 프로세서(180)는 전술한 GPU로 명시한 경우를 제외하고 전술한 예에 한정되지 않는다. GPU is a
NPU는 인공 신경망을 이용한 인공지능 연산에 특화된 프로세서(180)로서, 인공 신경망을 구성하는 각 레이어를 하드웨어(예로, 실리콘)로 구현할 수 있다. 이때, NPU는 업체의 요구 사양에 따라 특화되어 설계되므로, CPU나 GPU에 비해 자유도가 낮으나, 업체가 요구하기 위한 인공지능 연산을 효율적으로 처리할 수 있다. 한편, 인공지능 연산에 특화된 프로세서(180)로, NPU 는 TPU(Tensor Processing Unit), IPU(Intelligence Processing Unit), VPU(Vision processing unit) 등과 같은 다양한 형태로 구현 될 수 있다. 인공 지능 프로세서(180)는 전술한 NPU로 명시한 경우를 제외하고 전술한 예에 한정되지 않는다.The NPU is a
또한, 하나 또는 복수의 프로세서(180)는 SoC(System on Chip)으로 구현될 수 있다. 이때, SoC에는 하나 또는 복수의 프로세서(180) 이외에 메모리(110), 및 프로세서(180)와 메모리(110) 사이의 데이터 통신을 위한 버스(Bus)등과 같은 네트워크 인터페이스를 더 포함할 수 있다. Additionally, one or
전자 장치에 포함된 SoC(System on Chip)에 복수의 프로세서(180)가 포함된 경우, 전자 장치는 복수의 프로세서(180) 중 일부 프로세서(180)를 이용하여 인공지능과 관련된 연산(예를 들어, 인공지능 모델의 학습(learning)이나 추론(inference)에 관련된 연산)을 수행할 수 있다. 예를 들어, 전자 장치는 복수의 프로세서(180) 중 컨볼루션 연산, 행렬 곱 연산 등과 같은 인공지능 연산에 특화된 GPU, NPU, VPU, TPU, 하드웨어 가속기 중 적어도 하나를 이용하여 인공지능과 관련된 연산을 수행할 수 있다. 다만, 이는 일 실시예에 불과할 뿐, CPU 등과 범용 프로세서(180)를 이용하여 인공지능과 관련된 연산을 처리할 수 있음은 물론이다. If the SoC (System on Chip) included in the electronic device includes a plurality of
또한, 전자 장치는 하나의 프로세서(180)에 포함된 멀티 코어(예를 들어, 듀얼 코어, 쿼드 코어 등)를 이용하여 인공지능과 관련된 기능에 대한 연산을 수행할 수 있다. 특히, 전자 장치는 프로세서(180)에 포함된 멀티 코어를 이용하여 병렬적으로 컨볼루션 연산, 행렬 곱 연산 등과 같은 인공 지능 연산을 수행할 수 있다. Additionally, the electronic device may perform calculations on functions related to artificial intelligence using multiple cores (eg, dual core, quad core, etc.) included in one
하나 또는 복수의 프로세서(180)는, 메모리(110)에 저장된 기정의된 동작 규칙 또는 인공지능 모델에 따라, 입력 데이터를 처리하도록 제어한다. 기정의된 동작 규칙 또는 인공지능 모델은 학습을 통해 만들어진 것을 특징으로 한다. One or
여기서, 학습을 통해 만들어진다는 것은, 다수의 학습 데이터들에 학습 알고리즘을 적용함으로써, 원하는 특성의 기정의된 동작 규칙 또는 인공지능 모델이 만들어짐을 의미한다. 이러한 학습은 본 개시에 따른 인공지능이 수행되는 기기 자체에서 이루어질 수도 있고, 별도의 서버/시스템을 통해 이루어 질 수도 있다. Here, being created through learning means that a predefined operation rule or artificial intelligence model with desired characteristics is created by applying a learning algorithm to a large number of learning data. This learning may be performed on the device itself that performs the artificial intelligence according to the present disclosure, or may be performed through a separate server/system.
인공지능 모델은, 복수의 신경망 레이어들로 구성될 수 있다. 적어도 하나의 레이어는 적어도 하나의 가중치(weight values)을 갖고 있으며, 이전(previous) 레이어의 연산 결과와 적어도 하나의 정의된 연산을 통해 레이어의 연산을 수행한다. 신경망의 예로는, CNN (Convolutional Neural Network), DNN (Deep Neural Network), RNN (Recurrent Neural Network), RBM (Restricted Boltzmann Machine), DBN (Deep Belief Network), BRDNN(Bidirectional Recurrent Deep Neural Network) 및 심층 Q-네트워크 (Deep Q-Networks), Transformer가 있으며, 본 개시에서의 신경망은 명시한 경우를 제외하고 전술한 예에 한정되지 않는다.An artificial intelligence model may be composed of multiple neural network layers. At least one layer has at least one weight value, and the operation of the layer is performed using the operation result of the previous layer and at least one defined operation. Examples of neural networks include Convolutional Neural Network (CNN), Deep Neural Network (DNN), Recurrent Neural Network (RNN), Restricted Boltzmann Machine (RBM), Deep Belief Network (DBN), Bidirectional Recurrent Deep Neural Network (BRDNN), and Deep Neural Network (BRDNN). There are Q-Networks (Deep Q-Networks) and Transformer, and the neural network in this disclosure is not limited to the above-described examples except where specified.
학습 알고리즘은, 다수의 학습 데이터들을 이용하여 소정의 대상 기기(예컨대, 로봇)을 훈련시켜 소정의 대상 기기 스스로 결정을 내리거나 예측을 할 수 있도록 하는 방법이다. 학습 알고리즘의 예로는, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)이 있으며, 본 개시에서의 학습 알고리즘은 명시한 경우를 제외하고 전술한 예에 한정되지 않는다.A learning algorithm is a method of training a target device (eg, a robot) using a large number of learning data so that the target device can make decisions or make predictions on its own. Examples of learning algorithms include supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, and the learning algorithm in the present disclosure is specified. Except, it is not limited to the examples described above.
한편, 본 개시에서 사용된 용어 "부" 또는 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구성된 유닛을 포함하며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. "부" 또는 "모듈"은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 모듈은 ASIC(application-specific integrated circuit)으로 구성될 수 있다.Meanwhile, the term “unit” or “module” used in the present disclosure includes a unit comprised of hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit, for example. You can. A “part” or “module” may be an integrated part, a minimum unit that performs one or more functions, or a part thereof. For example, a module may be comprised of an application-specific integrated circuit (ASIC).
본 개시의 다양한 실시예들은 기기(machine)(예: 컴퓨터)로 읽을 수 있는 저장 매체(machine-readable storage media)에 저장된 명령어를 포함하는 소프트웨어로 구현될 수 있다. 기기는, 저장 매체로부터 저장된 명령어를 호출하고, 호출된 명령어에 따라 동작이 가능한 장치로서, 개시된 실시예들에 따른 전자 장치(100)를 포함할 수 있다. 상기 명령이 프로세서에 의해 실행될 경우, 프로세서가 직접, 또는 상기 프로세서의 제어 하에 다른 구성요소들을 이용하여 상기 명령에 해당하는 기능을 수행할 수 있다. 명령은 컴파일러 또는 인터프리터에 의해 생성 또는 실행되는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장매체는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장매체가 신호(signal)를 포함하지 않으며 실재(tangible)한다는 것을 의미할 뿐 데이터가 저장매체에 반영구적 또는 임시적으로 저장됨을 구분하지 않는다.Various embodiments of the present disclosure may be implemented as software including instructions stored in a machine-readable storage media (e.g., a computer). The device is a device capable of calling instructions stored from a storage medium and operating according to the called instructions, and may include the
일 실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory (CD-ROM))의 형태로, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 온라인으로 배포될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, methods according to various embodiments disclosed in this document may be provided and included in a computer program product. Computer program products are commodities and can be traded between sellers and buyers. The computer program product may be distributed on a machine-readable storage medium (e.g. compact disc read only memory (CD-ROM)) or online through an application store (e.g. Play Store™). In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or created temporarily in a storage medium such as the memory of a manufacturer's server, an application store's server, or a relay server.
다양한 실시예들에 따른 구성 요소(예: 모듈 또는 프로그램) 각각은 단수 또는 복수의 개체로 구성될 수 있으며, 전술한 해당 서브 구성 요소들 중 일부 서브 구성 요소가 생략되거나, 또는 다른 서브 구성 요소가 다양한 실시예에 더 포함될 수 있다. 대체적으로 또는 추가적으로, 일부 구성 요소들(예: 모듈 또는 프로그램)은 하나의 개체로 통합되어, 통합되기 이전의 각각의 해당 구성 요소에 의해 수행되는 기능을 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따른, 모듈, 프로그램 또는 다른 구성 요소에 의해 수행되는 동작들은 순차적, 병렬적, 반복적 또는 휴리스틱하게 실행되거나, 적어도 일부 동작이 다른 순서로 실행되거나, 생략되거나, 또는 다른 동작이 추가될 수 있다.Each component (e.g., module or program) according to various embodiments may be composed of a single or multiple entities, and some of the above-described sub-components may be omitted or other sub-components may be used. It may be further included in various embodiments. Alternatively or additionally, some components (e.g., modules or programs) may be integrated into a single entity and perform the same or similar functions performed by each corresponding component prior to integration. According to various embodiments, operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or at least some operations may be executed in a different order, omitted, or other operations may be added. It can be.
100: 전자 장치
110: 메모리
120: 통신 인터페이스
130: 사용자 인터페이스
140: 마이크
150: 스피커
160: 디스플레이
170: 센서
180: 프로세서100: electronic device 110: memory
120: communication interface 130: user interface
140: Microphone 150: Speaker
160: display 170: sensor
180: processor
Claims (10)
마이크;
통신 인터페이스;
복수의 번역 지원 장치에 대한 식별 정보, 제1 언어에 대응되는 인코더와 제1 언어에 대응되는 디코더 및 적어도 하나의 명령어를 저장하는 메모리; 및
상기 메모리와 연결되어 상기 전자 장치를 제어하는 적어도 하나의 프로세서를 포함하고,
상기 적어도 하나의 프로세서는, 상기 적어도 하나의 명령어를 실행함으로써,
상기 복수의 번역 지원 장치 중 기설정된 거리 내에 위치한 번역 지원 장치를 식별하고,
상기 마이크를 통해 제1 언어의 사용자 음성을 획득하고,
상기 제1 언어의 사용자 음성에 대응되는 상기 제1 언어의 제1 텍스트를 획득하고,
상기 제1 텍스트를 상기 제1 언어에 대응되는 인코더에 입력하여 상기 제1 텍스트의 제1 특징 벡터를 획득하고,
상기 통신 인터페이스를 통해 상기 식별된 번역 지원 장치로 상기 제1 특징 벡터를 전송하고,
상기 복수의 번역 지원 장치 각각은 각각의 도메인에 대응되는 번역을 지원하는 전자 장치.In electronic devices,
mike;
communication interface;
a memory storing identification information for a plurality of translation support devices, an encoder corresponding to a first language, a decoder corresponding to the first language, and at least one command; and
At least one processor connected to the memory and controlling the electronic device,
The at least one processor executes the at least one instruction,
Identifying a translation support device located within a preset distance among the plurality of translation support devices,
Acquire the user's voice in the first language through the microphone,
Obtaining a first text in the first language corresponding to the user's voice in the first language,
Inputting the first text into an encoder corresponding to the first language to obtain a first feature vector of the first text,
transmitting the first feature vector to the identified translation support device through the communication interface,
Each of the plurality of translation support devices is an electronic device that supports translation corresponding to each domain.
상기 적어도 하나의 프로세서는,
상기 통신 인터페이스를 통해 상기 번역 지원 장치로부터 상기 사용자 음성에 대한 제2 언어의 응답 음성에 대응되는 제2 텍스트의 제2 특징 벡터를 수신하고,
상기 제2 특징 벡터를 상기 제1 언어에 대응되는 디코더에 입력하여 상기 제2 텍스트가 제1 언어로 번역된 제3 텍스트에 대한 정보를 획득하는 전자 장치.According to paragraph 1,
The at least one processor,
Receiving a second feature vector of a second text corresponding to a response voice in a second language to the user voice from the translation support device through the communication interface,
An electronic device that inputs the second feature vector into a decoder corresponding to the first language to obtain information about a third text in which the second text has been translated into the first language.
상기 적어도 하나의 프로세서는,
복수의 번역 지원 장치 중 상기 전자 장치와의 거리가 임계 거리 내에 위치한 장치를 상기 사용자 컨텍스트에 대응되는 도메인에 특화된 번역 지원 장치로 식별하는 전자 장치.According to paragraph 1,
The at least one processor,
An electronic device that identifies a device located within a critical distance from the electronic device among a plurality of translation support devices as a translation support device specialized for a domain corresponding to the user context.
상기 적어도 하나의 프로세서는,
상기 제1 텍스트에 기초하여 사용자 컨텍스트를 식별하고,
상기 복수의 번역 지원 장치 중 사용자 컨텍스트에 대응되는 장치를 상기 번역 지원 장치로 식별하는 전자 장치.According to paragraph 1,
The at least one processor,
identify a user context based on the first text,
An electronic device that identifies a device corresponding to a user context among the plurality of translation support devices as the translation support device.
상기 적어도 하나의 프로세서는,
근거리 통신 방법을 이용하여 식별된 적어도 하나의 타 전자 장치 중 하나를 선택하는 사용자 입력을 획득하고,
상기 통신 인터페이스를 통해 상기 번역 지원장치로부터 상기 선택된 타 전자 장치로부터 획득된 응답 음성에 대한 제2 특징 벡터를 수신하는 전자 장치.According to paragraph 1,
The at least one processor,
Obtain user input for selecting one of at least one other electronic device identified using a short-range communication method,
An electronic device that receives a second feature vector for a response voice obtained from the selected other electronic device from the translation support device through the communication interface.
상기 적어도 하나의 프로세서는,
상기 선택된 외부 장치에 대한 식별 정보를 상기 번역 지원 장치로 전송하는 전자 장치.According to clause 5,
The at least one processor,
An electronic device that transmits identification information about the selected external device to the translation support device.
상기 전자 장치는,
디스플레이;를 더 포함하고,
상기 적어도 하나의 프로세서는,
근거리 통신 방법을 이용하여 식별된 복수의 외부 장치 중 하나를 선택하는 사용자 입력을 획득하는 UI를 표시하도록 상기 디스플레이를 제어하고,
상기 UI를 통해 상기 복수의 외부 장치 중 하나를 선택하는 사용자 입력이 획득되면, 상기 선택된 외부 장치에 대한 식별 정보를 상기 번역 지원 장치로 전송하고,
상기 선택된 외부 장치로부터 획득된 응답 음성에 대한 제2 특징 벡터를 수신하는 전자 장치.According to paragraph 1,
The electronic device is,
It further includes a display;
The at least one processor,
Controlling the display to display a UI that obtains a user input for selecting one of a plurality of external devices identified using a short-range communication method,
When a user input for selecting one of the plurality of external devices is obtained through the UI, identification information for the selected external device is transmitted to the translation support device,
An electronic device that receives a second feature vector for the response voice obtained from the selected external device.
상기 적어도 하나의 프로세서는,
상기 번역 지원 장치는
상기 사용자 컨텍스트에 대응되는 도메인 데이터로 학습된 제1 도메인에 대응되는 인코더와 제1 도메인에 대응되는 디코더를 포함하는 전자 장치.According to paragraph 1,
The at least one processor,
The translation support device is
An electronic device comprising an encoder corresponding to a first domain learned with domain data corresponding to the user context and a decoder corresponding to the first domain.
상기 번역 지원 장치는 상기 제2 언어의 대응되는 제2 언어에 대응되는 인코더와 제2 언어에 대응되는 디코더를 저장하는 전자 장치.In clause 7,
The translation support device is an electronic device that stores an encoder corresponding to the second language and a decoder corresponding to the second language.
복수의 번역 지원 장치 중 기설정된 거리 내에 위치한 번역 지원 장치를 식별하는 단계;
제1 언어의 사용자 음성을 획득하는 단계;
상기 제1 언어의 사용자 음성에 대응되는 상기 제1 언어의 제1 텍스트를 획득하는 단계;
상기 제1 텍스트를 상기 제1 언어에 대응되는 인코더에 입력하여 상기 제1 텍스트의 제1 특징 벡터를 획득하는 단계: 및
상기 식별된 번역 지원 장치로 상기 제1 특징 벡터를 전송하는 단계;를 포함하고,
상기 복수의 번역 지원 장치 각각은 각각의 도메인에 대응되는 번역을 지원하는 제어 방법.
In a method of controlling an electronic device,
Identifying a translation support device located within a preset distance among a plurality of translation support devices;
Obtaining user speech in a first language;
Obtaining first text in the first language corresponding to the user's voice in the first language;
Inputting the first text into an encoder corresponding to the first language to obtain a first feature vector of the first text: and
Transmitting the first feature vector to the identified translation support device,
A control method wherein each of the plurality of translation support devices supports translation corresponding to each domain.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020220128009A KR20240048343A (en) | 2022-10-06 | 2022-10-06 | Electronic apparatus and controlling method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020220128009A KR20240048343A (en) | 2022-10-06 | 2022-10-06 | Electronic apparatus and controlling method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20240048343A true KR20240048343A (en) | 2024-04-15 |
Family
ID=90715903
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020220128009A KR20240048343A (en) | 2022-10-06 | 2022-10-06 | Electronic apparatus and controlling method thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20240048343A (en) |
-
2022
- 2022-10-06 KR KR1020220128009A patent/KR20240048343A/en unknown
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10909982B2 (en) | Electronic apparatus for processing user utterance and controlling method thereof | |
TW201843654A (en) | Image description generation method, model training method, devices and storage medium | |
EP3709294B1 (en) | Electronic device for providing speech recognition service and method thereof | |
WO2020147369A1 (en) | Natural language processing method, training method, and data processing device | |
WO2019052293A1 (en) | Machine translation method and apparatus, computer device and storage medium | |
EP3642838B1 (en) | Method for operating speech recognition service and electronic device and server for supporting the same | |
KR102586014B1 (en) | Electronic apparatus and controlling method thereof | |
US11481965B2 (en) | Electronic device for communicating in augmented reality and method thereof | |
US11803741B2 (en) | Offline detector | |
KR20210028041A (en) | Electronic device and Method for controlling the electronic device thereof | |
WO2022145611A1 (en) | Electronic device and method for controlling same | |
CN110874402A (en) | Reply generation method, device and computer readable medium based on personalized information | |
US11710498B2 (en) | Electronic device and control method therefor | |
KR20240048343A (en) | Electronic apparatus and controlling method thereof | |
US11817097B2 (en) | Electronic apparatus and assistant service providing method thereof | |
US20220405546A1 (en) | Electronic device for converting artificial intelligence model and operating method thereof | |
US11263564B2 (en) | Mobile service robots scheduling utilizing merged tasks | |
KR20240073655A (en) | Electronic device and controlling method of electronic device | |
WO2024106942A1 (en) | Electronic device and method for controlling electronic device | |
US11676580B2 (en) | Electronic device for processing user utterance and controlling method thereof | |
US20230298614A1 (en) | Electronic device for recognizing sound and method thereof | |
KR20230051052A (en) | Electronic apparatus and controlling method thereof | |
US20230197066A1 (en) | Electronic device and method of providing responses | |
WO2024013588A1 (en) | System and method for using residual transformers in natural language processing | |
US20220138628A1 (en) | Electronic device for updating artificial intelligence model and operating method thereof |