1. A method for learning word pronunciations, comprising: at an electronic device with one or more processors and memory storing one or more programs for execution by the one or more processors: detecting an error in a speech based interaction with a digital assistant based on detecting a user input other than the speech based interaction; in response to detecting the error, receiving a speech input from a user, the speech input including a pronunciation of one or more words; determining, based on the pronunciation of the one or more words, a first set of phonemes from a speech recognition phonetic alphabet and a second set of phonemes from a speech synthesis phonetic alphabet; updating one or more databases to include the first set of phonemes and the second set of phonemes in association with a text string corresponding to the one or more words; and performing speech recognition or speech synthesis using the updated one or more databases.
3. The method of claim 1 , wherein the one or more words were output in a speech output by the electronic device, and wherein the error is an error in speech synthesis of the one or more words.