Patent ID: 11875141
Assignee: INFOSYS LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A computer implemented method for training a neural machine translation model, comprising:
receiving, by a processor, one or more source statements and equivalent target statements;
encoding, by the processor, the one or more source statements and the equivalent target statements using a predefined token dictionary;
creating, by the processor, a source-target map using the encoded one or more source statements and the encoded equivalent target statements;
generating, by the processor, one or more fragments of each of the encoded one or more source statements and the encoded equivalent target statements, iteratively, by applying the source-target map, wherein lengths of fragments of each of the encoded one or more source statements and the encoded equivalent target statements are within a predefined threshold; and
training, by the processor, the neural machine translation model using the generated one or more fragments.