Machine translation of indirect speech
First Claim
1. A method performed by data processing apparatus, the method comprising:
- receiving a voice input corresponding to an utterance;
determining that the transcription of the utterance includes a first segment comprising a command to initiate a communication to a user;
classifying a second segment of the transcription as indirect speech;
in response to determining that the transcription of the utterance includes the command and the second segment that is classified as indirect speech;
providing the second segment that is classified as indirect speech as input to a machine translator that is configured to convert the second segment that is classified as indirect speech into a direct speech segment by replacing at least one word of the second segment with a different word that communicates direct speech, such that at least a grammatical structure, a tense of one or more words, or both, of the second segment is changed;
in response to providing the second segment that is classified as indirect speech to the machine translator, receiving the direct speech segment from the machine translator; and
initiating a communication that includes the direct speech segment.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for generating direct speech messages based on voice commands that include indirect speech messages. In one aspect, a method includes receiving a voice input corresponding to an utterance. A determination is made whether a transcription of the utterance includes a command to initiate a communication to a user and a segment that is classified as indirect speech. In response to determining that the transcription of the utterance includes the command and the segment that is classified as indirect speech, the segment that is classified as indirect speech is provided as input to a machine translator. In response to providing the segment that is classified as indirect speech to the machine translator, a direct speech segment is received from the machine translator. A communication is initiated that includes the direct speech segment.
-
Citations
18 Claims
-
1. A method performed by data processing apparatus, the method comprising:
-
receiving a voice input corresponding to an utterance; determining that the transcription of the utterance includes a first segment comprising a command to initiate a communication to a user; classifying a second segment of the transcription as indirect speech; in response to determining that the transcription of the utterance includes the command and the second segment that is classified as indirect speech; providing the second segment that is classified as indirect speech as input to a machine translator that is configured to convert the second segment that is classified as indirect speech into a direct speech segment by replacing at least one word of the second segment with a different word that communicates direct speech, such that at least a grammatical structure, a tense of one or more words, or both, of the second segment is changed; in response to providing the second segment that is classified as indirect speech to the machine translator, receiving the direct speech segment from the machine translator; and initiating a communication that includes the direct speech segment. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system, comprising:
-
a processing apparatus; a memory storage apparatus in data communication with the data processing apparatus, the memory storage apparatus storing instructions executable by the data processing apparatus and that upon such execution cause the data processing apparatus to perform operations comprising; receiving a voice input corresponding to an utterance; determining that the transcription of the utterance includes a first segment comprising a command to initiate a communication to a user; classifying a second segment of the transcription as indirect speech; in response to determining that the transcription of the utterance includes the command and the second segment that is classified as indirect speech; providing the second segment that is classified as indirect speech as input to a machine translator that is configured to convert the second segment that is classified as indirect speech into a direct speech segment by replacing at least one word of the second segment with a different word that communicates direct speech, such that at least a grammatical structure, a tense of one or more words, or both, of the second segment is changed; in response to providing the second segment that is classified as indirect speech to the machine translator, receiving the direct speech segment from the machine translator; and initiating a communication that includes the direct speech segment. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. A non-transitory computer storage medium encoded with a computer program, the program comprising instructions that when executed by a data processing apparatus cause the data processing apparatus to perform operations comprising:
-
receiving a voice input corresponding to an utterance; determining that the transcription of the utterance includes a first segment comprising a command to initiate a communication to a user; classifying a second segment of the transcription as indirect speech; in response to determining that the transcription of the utterance includes the command and the second segment that is classified as indirect speech; providing the second segment that is classified as indirect speech as input to a machine translator that is configured to convert the second segment that is classified as indirect speech into a direct speech segment by replacing at least one word of the second segment with a different word that communicates direct speech, such that at least a grammatical structure, a tense of one or more words, or both, of the second segment is changed; in response to providing the second segment that is classified as indirect speech to the machine translator, receiving the direct speech segment from the machine translator; and initiating a communication that includes the direct speech segment. - View Dependent Claims (18)
-
Specification