Electronic apparatus and method for machine translation
AssigneeSamsung Electronics Co., Ltd.
InventorsJoonghoon Kim, Sangha Kim, Jiwan Kim, Sangil Park, Sohyun Park, Taehwan Yoo
Life of this patent
Estimating the term…
Abstract
An electronic apparatus includes a memory configured to store instructions, and a processor configured to execute the instructions to receive a text of a first language, generate, based on the text of the first language, style information indicating a translation style to be applied to the text of the first language and machine-translate the text of the first language into text of a second language based on the generated style information.
Claims20
An electronic apparatus comprising:
- a memory configured to store instructions;
- and
- a processor configured to execute the instructions to:
- receive a text of a first language;
- generate, based on the text of the first language, style information indicating a translation style to be applied to the text of the first language;
- and
- machine-translate the text of the first language into text of a second language based on the generated style information,
- wherein the generated style information comprises an average value style vector or a weighted average value style vector between a first style vector of a first portion of the text of the first language and a second style vector of a second portion of the text of the first language, and
- wherein the processor is further configured to machine-translate the text of the first language based on a beam search method that comprises the operations of:
- determining tokens for the text of the first language;
- determining candidates for the tokens based on candidates matching a value corresponding to the average value style vector or the weighted average value style vector.
A method of an electronic apparatus, comprising:
- receiving a text of a first language;
- generating, based on the text of the first language, style information indicating a translation style to be applied to the text of the first language;
- and
- machine-translating the text of the first language into text of a second language based on the generated style information,
- wherein the generated style information comprises an average value style vector or a weighted average value style vector between a first style vector of a first portion of the text of the first language and a second style vector of a second portion of the text of the first language, and
- wherein machine-translating the text of the first language is performed based on a beam search method that comprises the operations of:
- determining tokens for the text of the first language;
- determining candidates for the tokens based on candidates matching a value corresponding to the average value style vector or the weighted average value style vector.
A non-transitory computer-readable recording medium storing instructions that, when executed by at least one processor, cause the at least one processor to:
- receive a text of a first language;
- generate style information indicating a translation style to be applied to the text of the first language;
- and
- machine-translate the text of the first language into text of a second language based on the generated style information,
- wherein the generated style information comprises an average value style vector or a weighted average value style vector between a first style vector of a first portion of the text of the first language and a second style vector of a second portion of the text of the first language, and
- wherein the instructions, when executed by the at least one processor, cause the at least one processor to machine-translate the text of the first language based on a beam search method that comprises the operations of:
- determining tokens for the text of the first language;
- determining candidates for the tokens based on candidates matching a value corresponding to the average value style vector or the weighted average value style vector.
Dependencies are inferred from the claim text.