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

Claim 8:
9. A non-transitory computer readable medium having stored thereon instructions for training a neural machine translation model, comprising machine executable code which when executed by at least one processor, causes the at least one processor to perform steps comprising:
receiving one or more source statements and equivalent target statements;
encoding the one or more source statements and the equivalent target statements using a predefined token dictionary;
creating a source-target map using the encoded one or more source statements and the encoded equivalent target statements;
generating 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 the neural machine translation model using the generated one or more fragments.