CPC G06F 40/58 (2020.01) [G06N 3/04 (2013.01); G06N 3/08 (2013.01)] | 30 Claims |
1. A computer-implemented method executed using a client device that is communicatively coupled to a server device via a data communications network, the method comprising:
using the client device, executing a document opening operation to open a digital electronic document on the client device, the document comprising a first text in a human-readable source language;
loading, onto the client device, from one of client-side persistent digital data storage or the server device, a client-side decoder that is associated with a machine translation;
downloading, from the server device to the client device, pre-computed translation results for the document, the pre-computed translation results comprising a second text in a human-readable target language, the target language being different than the source language;
downloading a plurality of pre-computed encoder outputs comprising intermediate results computed from tensors representing source text tokens associated with the document;
displaying, on a display device of the client device, a machine translation suggestion comprising the pre-computed translation results;
receiving, from the client device, a prefix that deviates from the pre-computed translation results, the prefix containing text in the target language;
applying the client-side decoder to the pre-computed encoder outputs using the prefix as a constraint;
updating the machine translation suggestion with an output of the client-side decoder, to form an updated machine translation suggestion and displaying the updated machine translation suggestion on the display device.
|