1. A method of recognizing a voice, the method comprising: receiving, as an input, a voice involving multiple languages; recognizing a first voice of the voice by using a voice recognition algorithm matched to a preset primary language; identifying the preset primary language and a non-primary language different from the preset primary language, which are included in the multiple languages; determining a type of the non-primary language based on context information; recognizing a second voice of the voice in the non-primary language by applying a voice recognition algorithm, which is matched to the non-primary language of the determined type, to the second voice; and outputting a result of recognizing the voice which is based on a result of recognizing the first voice and a result of recognizing the second voice.