Keyboard Automatic Language Identification and Reconfiguration
Abstract
A keyboard is described that determines, using a first decoder and based on a selection of keys of a graphical keyboard, text. Responsive to determining that a characteristic of the text satisfies a threshold, a model of the keyboard identifies the target language of the text, and determines whether the target language is different than a language associated with the first decoder. If the target language of the text is not different than the language associated with the first decoder, the keyboard outputs, for display, an indication of first candidate words determined by the first decoder from the text. If the target language of the text is different: the keyboard enables a second decoder, where a language associated with the second decoder matches the target language of the text, and outputs, for display, an indication of second candidate words determined by the second decoder from the text.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A method comprising:
outputting, by a keyboard application executing at a computing device, for display, a graphical keyboard comprising a first layout of keys associated with a first language, the keyboard application utilizing a first decoder associated with the first language; receiving, by the keyboard application and based on a first selection of one or more keys of the first layout of keys, text; determining, by a machine-learned model of the keyboard application executing at the computing device, a target language of the text, the machine-learned model using rules trained on previous inputs to infer the target language of the text from the first selection of the one or more keys; determining, by the machine-learned model executing at the computing device, that the target language is different than a language associated with the first decoder; and responsive to the determination that the target language of the text is different than the language associated with the first decoder:
enabling, by the keyboard application, a second decoder, wherein a second language associated with the second decoder matches the target language of the text; and
outputting, by the keyboard application, for display, an indication of one or more first candidate words determined by the second decoder from the text.
2 . The method of claim 1 , further comprising:
receiving, by the keyboard application and based on a second selection of one or more keys of the first layout of keys, other text; determining, by the machine-learned model executing at the computing device, that a second target language of the other text is different than the first language and the second language; and responsive to the determination that the second target language of the other text is different than the first language and the second language:
enabling, by the keyboard application, a third decoder associated with a third language, wherein the third language matches the second target language of the other text; and
outputting, by the keyboard application and for display, an indication of one or more second candidate words determined by the third decoder from the other text.
3 . The method of claim 1 , further comprising:
receiving, by the keyboard application and based on a third selection of one or more keys of the first layout of keys, different text; determining, by the machine-learned model executing at the computing device, that a third target language of the different text is the same as the first language; and responsive to the determination that the third target language of the different text is the same as the first language:
outputting, by the keyboard application and for display, an indication of one or more third candidate words determined by the first decoder from the different text.
4 . The method of claim 1 , further comprising:
responsive to the determination that the target language of the text is different than the first language, outputting, by the keyboard application and for display, a different graphical keyboard associated with the second language that replaces the graphical keyboard, the different graphical keyboard having a second layout of keys associated with the second language that is different than the first layout of keys.
5 . The method of claim 1 , wherein the first selection of keys is based on a swiping gesture received by the keyboard application.
6 . The method of claim 1 , wherein the first selection of keys is based on one or more tapping gestures received by the keyboard application.
7 . The method of claim 1 , wherein the indication of the one or more first candidate words is displayed above the graphical keyboard.
8 . The method of claim 1 , further comprising:
determining that a characteristic of the text satisfies a threshold for determining the target language of the text, wherein the determining the target language of the text is responsive to determining that the characteristic of the text satisfies the threshold.
9 . A mobile device comprising:
a presence-sensitive display; at least one processor; and a memory that stores instructions for a keyboard application and a machine-learned model of the keyboard application that, when executed at the mobile device, cause the at least one processor to:
output, by the keyboard application and for display at the presence-sensitive display, a graphical keyboard comprising a first layout of keys associated with a first language, the keyboard application utilizing a first decoder associated with the first language;
receive, by the keyboard application and based on a first selection of one or more keys of the first layout of keys, text;
determine, by the machine-learned model, a target language of the text, the machine-learned model using rules trained on previous inputs to infer the target language of the text from the first selection of the one or more keys;
determine, by the machine-learned model, that the target language is different than a language associated with the first decoder; and
responsive to the determination that the target language of the text is different than the language associated with the first decoder:
enable a second decoder, wherein a second language associated with the second decoder matches the target language of the text; and
output, for display at the presence-sensitive display, an indication of one or more first candidate words determined by the second decoder from the text.
10 . The mobile device of claim 9 , wherein the instructions, when executed, further cause the at least one processor to:
receive, based on a second selection of one or more keys of the first layout of keys, other text; determine, by the machine-learned model, that a second target language of the other text is different than the first language and the second language; and responsive to the determination that the second target language of the other text is different than the first language and the second language:
enable a third decoder associated with a third language, wherein the third language matches the second target language of the other text; and
output, for display at the presence-sensitive display, an indication of one or more second candidate words determined by the third decoder from the other text.
11 . The mobile device of claim 9 , wherein the instructions, when executed, further cause the at least one processor to:
receive, based on a third selection of one or more keys of the first layout of keys, different text; determine, by the machine-learned model, that a third target language of the different text is the same as the first language; and responsive to the determination that the third target language of the different text is the same as the first language:
output, for display at the presence-sensitive display, an indication of one or more third candidate words determined by the first decoder from the different text.
12 . The mobile device of claim 9 , wherein the instructions, when executed, further cause the at least one processor to:
responsive to the determination that the target language of the text is different than the first language, output, for display at the presence-sensitive display, a different graphical keyboard associated with the second language that replaces the graphical keyboard, the different graphical keyboard having a second layout of keys associated with the second language that is different than the first layout of keys.
13 . The mobile device of claim 9 , wherein the first selection of keys is based on a swiping gesture received at the presence-sensitive display.
14 . The mobile device of claim 9 , wherein the first selection of keys is based one or more tapping gestures received at the presence-sensitive display.
15 . The mobile device of claim 9 , wherein the instructions, when executed, further cause the at least one processor to:
determining that a characteristic of the text satisfies a threshold for determining the target language of the text, wherein the determination that the target language of the text is responsive to the determination that the characteristic of the text satisfies the threshold.
16 . The mobile device of claim 9 , wherein the indication of the one or more first candidate words is displayed above the graphical keyboard.
17 . The mobile device of claim 9 , wherein the mobile device comprises a computerized watch.
18 . The mobile device of claim 9 , wherein the keyboard application is installed on the mobile device during production of the mobile device.
19 . A non-transitory computer-readable storage media storing computer-readable instructions that, when executed by at least one processor, cause the at least one processor to:
output, by a keyboard application and for display, a graphical keyboard comprising a first layout of keys associated with a first language, the keyboard application utilizing a first decoder associated with the first language; receive, by the keyboard application and based on a first selection of one or more keys of the first layout of keys, text; determine, by a machine-learned model of the keyboard application, a target language of the text, the machine-learned model using rules trained on previous inputs to infer the target language of the text from the first selection of the one or more keys; determine, by the machine-learned model, that the target language is different than a language associated with the first decoder; and responsive to the determination that the target language of the text is different than the language associated with the first decoder:
enable a second decoder, wherein a second language associated with the second decoder matches the target language of the text; and
output, for display, an indication of one or more first candidate words determined by the second decoder from the text.
20 . The non-transitory computer-readable storage media of claim 19 , wherein the instructions, when executed, further cause the at least one processor to:
receive, based on a second selection of one or more keys of the first layout of keys, other text; determine, by the machine-learned model, that a second target language of the other text is different than the first language and the second language; and responsive to the determination that the second target language of the other text is different than the first language and the second language:
enable a third decoder associated with a third language, wherein the third language matches the second target language of the other text; and
output, for display, an indication of one or more second candidate words determined by the third decoder from the other text.Join the waitlist — get patent alerts
Track US2022229548A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.