# US 2022/0284018 A1 · Electronic apparatus and method for controlling electronic apparatus

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0284018 A1
- Document ID: US20220284018A1
- Status: Published application
- Kind: A1
- Application number: 17/739,453
- Filed: 2022-05-09
- Published: 2022-09-08
- Earliest claimed: 2021-03-03
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Yoonjung CHOI; Jisang YU; Hyojung HAN; Jonghyun KIM; Hejung YANG
- Web page: https://patentgrep.com/patent/US20220284018A1

## CPC

- G06F 16/2452: Query translation
- G06N 3/08: Learning methods
- G06F 16/33: Querying
- G06F 16/332: Query formulation
- G06F 40/216: using statistical methods
- G06F 40/289: Phrasal analysis, e.g. finite state techniques or chunking
- G06F 40/30: Semantic analysis
- G06F 40/35: Discourse or dialogue representation
- G06F 40/44: Statistical methods, e.g. probability models
- G06F 40/51: Translation evaluation
- G06F 40/58: Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
- G06N 3/02: Neural networks
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/09: Supervised learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method for controlling an electronic apparatus includes: translating a first query text of a first language to acquire a second query text of a second language; transmitting the second query text to an external device; acquiring, from the external device, a first response text of the second language in response to the second query text; acquiring a second response text acquired by translating the first response text into the first language, and identifying whether the second response text semantically matches to the first query text by inputting the second response text and the first query text into a first neural network model configured to identify whether a query and a response semantically match; and acquiring a third query text of the second language by retranslating the first query text based on a result of identifying that the first query text and the second response text do not semantically match.

## Claims

### Claim 1

A method for controlling an electronic apparatus, the method comprising:
translating a first query text of a first language to acquire a second query text of a second language;
transmitting the acquired second query text to an external device;
acquiring, from the external device, a first response text of the second language in response to the second query text;
acquiring a second response text acquired by translating the first response text into the first language, and identifying whether the second response text semantically matches to the first query text by inputting the second response text and the first query text into a first neural network model configured to identify whether a query and a response semantically match; and
acquiring a third query text of the second language by retranslating the first query text based on a result of identifying that the first query text and the second response text do not semantically match.

### Claim 2 (depends on 1)

The method as claimed in claim 1, wherein the acquiring the third query text includes:
identifying a first number of queries included in the first query text and a second number of queries included in the second query text, based on the result of identifying that the first query text and the second response text do not semantically match;
based on a result of identifying that the first number is different from the second number, acquiring a fourth query text of the first language by dividing the first query text based on the first number of queries included in the first query text; and
acquiring the third query text by translating the fourth query text into the second language.

### Claim 3 (depends on 2)

The method as claimed in claim 2, wherein the first number and the second number are identified by respectively inputting the first query text and the second query text into a second neural network model configured to identify a number of queries included in a query text, and
wherein the second neural network model is further configured to perform learning by using a learning text including a plurality of queries as input data, and a number of queries included in the input learning text as output data.

### Claim 4 (depends on 2)

The method as claimed in claim 2, wherein the fourth query text of the first language is acquired by inputting the first query text into a sentence division model configured to divide a query text such that divided query texts respectively correspond a number of queries included in the query text; and
wherein the sentence division model is further configured to perform learning by using a learning query text of the first language and information on a number of queries included in the learning query text as input data, and a learning query text obtained by division to correspond to the number of queries included in the learning query text as output data.

### Claim 5 (depends on 2)

The method as claimed in claim 2, further comprising acquiring the third query text of the second language, which is semantically different from the second query text, by translating the first query text into the second language, based on a result of identifying that the first number is equal to the second number,
wherein the third query text is a posterior translation result of the second query text.

### Claim 6 (depends on 5)

The method as claimed in claim 5, wherein the second query text of the second language is acquired by inputting the first query text into a first translation model configured to translate the first language into the second language, and
wherein the second query text is a highest priority translation result of the first translation model, and the third query text is a posterior translation result of the first translation model.

### Claim 7 (depends on 2)

The method as claimed in claim 2, further comprising:
acquiring a fifth query text of the first language in which the first query text is paraphrased by inputting the first query text into a paraphrase model configured to generate a paraphrased query text, based on a result of identifying that the first number is equal to the second number; and
acquiring the third query text by translating the fifth query text into the second language.

### Claim 8 (depends on 7)

The method as claimed in claim 7, wherein the paraphrase model is further configured to perform learning by using a learning text of the first language as input data, and a text of the first language having a query intention that is same as a query intention of the input learning text as an output text.

### Claim 9 (depends on 1)

The method as claimed in claim 1, further comprising displaying the first query text and the second query text on a display of the electronic apparatus,
wherein the acquiring the first response text and the acquiring the second response text comprise displaying the first response text and the second response text on the display, and
wherein the acquiring the third query text of the second language comprises displaying the third query text on the display.

### Claim 10

An electronic apparatus comprising:
a communication interface;
a memory configured to store at least one instruction; and
a processor configured to execute the at least one instruction stored in the memory to:
translate a first query text of a first language to acquire a second query text of a second language;
control the communication interface to transmit the acquired second query text to an external device;
control the communication interface to receive, from the external device, a first response text of the second language in response to the second query text;
acquire a second response text acquired by translating the first response text into the first language, and identify whether the second response text semantically matches to the first query text by inputting the second response text and the first query text into a first neural network model configured to identify whether a query and a response semantically match; and
acquiring a third query text of the second language by retranslating the first query text based on a result of identifying that the first query text and the second response text do not semantically match.

### Claim 11 (depends on 10)

The electronic apparatus as claimed in claim 10, wherein the processor is further configured to:
identify a first number of queries included in the first query text and a second number of queries included in the second query text, respectively, based on a result of identifying that the first query text and the second response text do not semantically match;
based on a result of identifying that the first number is different from the second number, acquire a fourth query text of the first language by dividing the first query text based on the first number of queries included in the first query text; and
acquire the third query text by translating the fourth query text into the second language.

### Claim 12 (depends on 11)

The electronic apparatus as claimed in claim 11, wherein the processor is further configured to identify the first number and the second number, by respectively inputting the first query text and the second query text into a second neural network model configured to identify a number of queries, and
wherein the second neural network model is further configured to perform learning by using a learning text including a plurality of queries as input data, and a number of queries included in the input learning text as output data.

### Claim 13 (depends on 11)

The electronic apparatus as claimed in claim 11, wherein the processor is further configured to acquire the fourth query text of the first language by inputting the first query text into a sentence division model configured to divide a query text such that divided query texts respectively correspond to a number of queries included in the query text, and
wherein the sentence division model is further configured to perform learning by using a learning query text of the first language and information on a number of queries included in the learning query text as input data, and a learning query text obtained by division to correspond to the number of queries included in the learning query text as output data.

### Claim 14 (depends on 11)

The electronic apparatus as claimed in claim 11, wherein the processor is further configured to acquire the third query text of the second language, which is semantically different from the second query text, by translating the first query text into the second language, based on a result of identifying that the first number is equal to the second number, and
wherein the third query text is a posterior translation result of the second query text.

### Claim 15 (depends on 14)

The electronic apparatus as claimed in claim 14, wherein the processor is further configured to acquire the second query text of the second language by inputting the first query text into a first translation model configured to translate the first language into the second language, and
wherein the second query text is a highest priority translation result of the first translation model, and the third query text is a posterior translation result of the first translation model.
