CPC G06F 40/47 (2020.01) [G06F 40/40 (2020.01); G06F 40/45 (2020.01); G06F 40/51 (2020.01); G06N 5/025 (2013.01)] | 8 Claims |
5. A processor-implemented machine translation method, the translation method comprising:
generating mapping information, wherein, in the mapping information, at least one source word in a source sentence is mapped to location information of the f at least one source word; and
encoding the source sentence to generate vectors;
determining feature values based on the generated vectors;
determining a target word by performing decoding based on the determined feature values;
determining whether location information of a maximum feature value, from among the determined features values, is included in the mapping information; and
replacing the determined target word with a source word mapping to the location information of the maximum feature value in response to the location information of the maximum feature value being included in the mapping information.
|