# US 2018/0322117 A1 · Contextual language translation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2018/0322117 A1
- Document ID: US20180322117A1
- Status: Published application
- Kind: A1
- Application number: 15/825,276
- Filed: 2017-11-29
- Published: 2018-11-08
- Earliest claimed: 2017-05-03
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Tal Cohen
- Web page: https://patentgrep.com/patent/US20180322117A1

## CPC

- G06F 40/58: Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
- G06F 3/167: {Audio in a user interface, e.g. using voice commands for navigating, audio feedback}
- G06F 9/454: {Multi-language systems; Localisation; Internationalisation}
- G06F 40/30: Semantic analysis
- G06F 40/56: Natural language generation
- G10L 13/02: Methods for producing synthetic speech; Speech synthesisers
- G10L 15/22: Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L 15/26: Speech to text systems (G10L15/08 takes precedence)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for contextual language translation. In one aspect, a method includes the actions of receiving a first text string. The actions further include generating a first translation of the first text string. The actions further include providing, for output, the first translation of the first text string. The actions further include receiving a second text string. The actions further include generating a combined text string by combining the first text string and the second text string. The actions further include generating a second translation of the combined text string. The actions further include providing, for output, a portion of the second translation that includes a translation of the second text string without providing, for output, a portion of the second translation that includes a translation of the first text string.

## Claims

### Claim 1

A computer-implemented method comprising:
receiving a first text string that is in a first language;
generating a first translation of the first text string from the first language to a second language;
providing, for output, the first translation of the first text string;
after providing, for output, the first translation of the first text string, receiving a second text string that is in the first language;
generating a combined text string by combining the first text string that is in the first language and the second text string that is in the first language;
generating a second translation of the combined text string from the first language to the second language; and
providing, for output, a portion of the second translation that includes a translation of the second text string without providing, for output, a portion of the second translation that includes a translation of the first text string.

### Claim 2 (depends on 1)

The method of claim 1, comprising:
receiving a command to enter a mode for translating text strings from the first language to the second language,
wherein the first translation and the second translation are generated based on the command to enter the mode for translating text strings from the first language to the target language.

### Claim 3 (depends on 2)

The method of claim 2, wherein:
the command to enter the mode for translating text strings from the first language to the second language is preceded by a predefined hotword, and
the first text string and the second text string are not preceded by the predefined hotword.

### Claim 4 (depends on 1)

The method of claim 1, wherein generating a second translation of the combined text string from the first language to the second language comprises:
determining a translation context based the first text string, and
generating the second translation based on the translation context.

### Claim 5 (depends on 1)

The method of claim 1, comprising:
receiving a command to exit a mode for translating text strings from the first language to the second language; and
receiving a third text string and not generating a third translation of the third text string based on the command to exit the mode for translating text strings from the first language to the second language.

### Claim 6 (depends on 5)

The method of claim 5, wherein the command to exit the mode for translating text strings from the first language to the second language is preceded by a predefined hotword.

### Claim 7 (depends on 1)

The method of claim 1, wherein generating a combined text string by combining the first text string that is in the first language and the second text string that is in the first language comprises:
concatenating the first text string that is in the first language and the second text string that is in the first language.

### Claim 8

A system comprising:
one or more computers and one or more storage devices storing instructions that are operable, when executed by the one or more computers, to cause the one or more computers to perform operations comprising:
receiving a first text string that is in a first language;
generating a first translation of the first text string from the first language to a second language;
providing, for output, the first translation of the first text string;
after providing, for output, the first translation of the first text string, receiving a second text string that is in the first language;
generating a combined text string by combining the first text string that is in the first language and the second text string that is in the first language;
generating a second translation of the combined text string from the first language to the second language; and
providing, for output, a portion of the second translation that includes a translation of the second text string without providing, for output, a portion of the second translation that includes a translation of the first text string.

### Claim 9 (depends on 1)

The system of claim 1, wherein the operations further comprise:
receiving a command to enter a mode for translating text strings from the first language to the second language,
wherein the first translation and the second translation are generated based on the command to enter the mode for translating text strings from the first language to the target language.

### Claim 10 (depends on 9)

The system of claim 9, wherein:
the command to enter the mode for translating text strings from the first language to the second language is preceded by a predefined hotword, and
the first text string and the second text string are not preceded by the predefined hotword.

### Claim 11 (depends on 1)

The system of claim 1, wherein generating a second translation of the combined text string from the first language to the second language comprises:
determining a translation context based the first text string, and
generating the second translation based on the translation context.

### Claim 12 (depends on 1)

The system of claim 1, wherein the operations further comprise:
receiving a command to exit a mode for translating text strings from the first language to the second language; and
receiving a third text string and not generating a third translation of the third text string based on the command to exit the mode for translating text strings from the first language to the second language.

### Claim 13 (depends on 12)

The system of claim 12, wherein the command to exit the mode for translating text strings from the first language to the second language is preceded by a predefined hotword.

### Claim 14 (depends on 1)

The system of claim 1, wherein generating a combined text string by combining the first text string that is in the first language and the second text string that is in the first language comprises:
concatenating the first text string that is in the first language and the second text string that is in the first language.

### Claim 15

A non-transitory computer-readable medium storing software comprising instructions executable by one or more computers which, upon such execution, cause the one or more computers to perform operations comprising:
receiving a first text string that is in a first language;
generating a first translation of the first text string from the first language to a second language;
providing, for output, the first translation of the first text string;
after providing, for output, the first translation of the first text string, receiving a second text string that is in the first language;
generating a combined text string by combining the first text string that is in the first language and the second text string that is in the first language;
generating a second translation of the combined text string from the first language to the second language; and
providing, for output, a portion of the second translation that includes a translation of the second text string without providing, for output, a portion of the second translation that includes a translation of the first text string.

### Claim 16 (depends on 1)

The medium of claim 1, wherein the operations further comprise:
receiving a command to enter a mode for translating text strings from the first language to the second language,
wherein the first translation and the second translation are generated based on the command to enter the mode for translating text strings from the first language to the target language.

### Claim 17 (depends on 16)

The medium of claim 16, wherein:
the command to enter the mode for translating text strings from the first language to the second language is preceded by a predefined hotword, and
the first text string and the second text string are not preceded by the predefined hotword.

### Claim 18 (depends on 1)

The medium of claim 1, wherein generating a second translation of the combined text string from the first language to the second language comprises:
determining a translation context based the first text string, and
generating the second translation based on the translation context.

### Claim 19 (depends on 1)

The medium of claim 1, wherein the operations further comprise:
receiving a command to exit a mode for translating text strings from the first language to the second language; and
receiving a third text string and not generating a third translation of the third text string based on the command to exit the mode for translating text strings from the first language to the second language.

### Claim 20 (depends on 1)

The medium of claim 1, wherein generating a combined text string by combining the first text string that is in the first language and the second text string that is in the first language comprises:
concatenating the first text string that is in the first language and the second text string that is in the first language.
