Electronic apparatus and control method thereof
An electronic apparatus includes: at least one processor configured to: receive audio of a voice input of a user; obtain, from a plurality of voice recognizers capable of recognizing the voice input, a plurality of recognition results of the received audio; and perform an operation based on a recognition result of which recognition suitability for the voice input is identified to be high, among the plurality of recognition results.
1. An electronic apparatus comprising:
at least one processor configured to:
receive a user voice input;
obtain, from a plurality of voice recognizers capable of recognizing the user voice input, a plurality of recognition results of the received user voice input;
based on a percentage of the same content among the plurality of recognition results being greater than a threshold, obtain a recognition result of the plurality of recognition results without using a word list, the word list including words previously registered;
based on the percentage not being greater than the threshold, obtain a recognition result of the plurality of recognition results, using the word list; and
perform an operation based on the obtained recognition result.
2. The electronic apparatus according to claim 1 , wherein the word list comprises at least one of a word not included in a previously-registered dictionary, a proper noun, or a word of which recognition failed in a previous recognition result.
3. The electronic apparatus according to claim 1 , wherein the at least one processor is further configured to identify a voice recognizer, among the plurality of voice recognizers, based on a characteristic of a situation in which the user voice input is captured, and to obtain the recognition result from the identified voice recognizer.
4. The electronic apparatus according to claim 1 , wherein:
the user voice input is captured while the electronic apparatus is providing content or a service; and
the at least one processor is further configured to obtain the recognition result, which is related to the provided content or service, among the plurality of recognition results.
5. The electronic apparatus according to claim 1 , wherein the at least one processor is further configured to obtain the recognition result, which is related to the user who provides the user voice input, among the plurality of recognition results.
6. The electronic apparatus according to claim 1 , wherein the at least one processor is further configured to obtain the recognition result, which is related to an external apparatus connectable to the electronic apparatus, among the plurality of recognition results.
7. The electronic apparatus according to claim 1 , further comprising:
a communicator configured to communicate with a plurality of servers respectively comprising the plurality of voice recognizers,
wherein the at least one processor is further configured to control to transmit, via the communicator, the received user voice input to a voice recognizer of which a recognition suitability is identified to be high, among the plurality of voice recognizers, before transmitting the received user voice input to other voice recognizers among the plurality of voice recognizers.
8. A method of controlling an electronic apparatus, the method comprising:
receiving a user voice input;
obtaining a word list including word previously registered;
obtaining, from a plurality of voice recognizers capable of recognizing the user voice input, a plurality of recognition results of the received user voice input;
based on a percentage of the same content among the plurality of recognition results being greater than a threshold, obtain a recognition result of the plurality of recognition results without using the word list;
based on the percentage not being greater than the threshold, obtaining a recognition result of the plurality of recognition results, using the word list; and
performing an operation based on the obtained recognition result.
9. The method according to claim 8 , wherein the word list comprises at least one of a word not included in a previously-registered dictionary, a proper noun, or a word of which recognition failed in a previous recognition result.
10. The method according to claim 8 , further comprising identifying a voice recognizer, among the plurality of voice recognizers, based on a characteristic of a situation in which the user voice input is captured, and obtaining the recognition result from the identified voice recognizer.
11. The method according to claim 8 , wherein:
the voice input is captured while the electronic apparatus is providing content or a service; and
the method further comprises obtaining the recognition result, which is related to the provided content or service, among the plurality of recognition results.
12. The method according to claim 8 , further comprising obtaining the recognition result, which is related to the user who provides the user voice input, among the plurality of recognition results.
13. The method according to claim 8 , further comprising obtaining the recognition result, which is related to an external apparatus connectable to the electronic apparatus, among the plurality of recognition results.
14. The method according to claim 8 , wherein:
the plurality of voice recognizers is respectively provided in a plurality of servers; and
the method further comprises transmitting the received user voice input to a voice recognizer of which a recognition suitability is identified to be high, among the plurality of voice recognizers, before transmitting the received user voice input to other voice recognizers among the plurality of voice recognizers.
15. A non-transitory computer-readable recording medium having recorded thereon instructions executable by at least one processor to perform the method of claim 10 .