7. An electronic device for recognizing a voice, the device comprising: a sensor configured to recognize a voice input; a processor configured to: receive an input of a first text through a keypad of the electronic device; receive a voice input through the sensor; transform the voice input into a second text by performing voice recognition; determine at least a part of the second text corresponding to the first text; correct the second text by replacing the at least a part of the second text with the first text; and output the corrected second text.
7. An electronic device for recognizing a voice, the device comprising: a sensor configured to recognize a voice input; a processor configured to: receive an input of a first text through a keypad of the electronic device; receive a voice input through the sensor; transform the voice input into a second text by performing voice recognition; determine at least a part of the second text corresponding to the first text; correct the second text by replacing the at least a part of the second text with the first text; and output the corrected second text. 11. The electronic device of claim 7 , wherein the processor is configured to determine the at least a part of the second text based on a similarity to the first text.