US 11,900,073 B2
Partial execution of translation in browser
Geza Kovacs, San Francisco, CA (US); and John DeNero, Berkeley, CA (US)
Assigned to Lilt, Inc., Emeryville, CA (US)
Filed by Lilt, Inc., Portola Valley, CA (US)
Filed on Sep. 7, 2021, as Appl. No. 17/468,524.
Prior Publication US 2023/0070302 A1, Mar. 9, 2023
Int. Cl. G06F 40/58 (2020.01); G06N 3/08 (2023.01); G06N 3/04 (2023.01)
CPC G06F 40/58 (2020.01) [G06N 3/04 (2013.01); G06N 3/08 (2013.01)] 30 Claims
OG exemplary drawing
 
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.