An electronic device, comprising: a voice reception unit configured to receive a user voice input; and a processor configured to: receive the user voice input through the voice reception unit, based on a predetermined voice input being identified in the user voice input by performing a function corresponding to a voice recognition through a voice recognition model which is configured to recognise only the predetermined voice input, obtain a text corresponding to a part of the user voice input excluding the predetermined voice input by performing a function corresponding to a voice recognition through a general voice recognition model which is configured to recognise the user voice input, based on the predetermined voice input not being identified in the user voice input by performing the function corresponding to the voice recognition through the voice recognition model which is configured to recognise only the predetermined voice input, obtain a text corresponding to the user voice input by performing the function corresponding to the voice recognition through the general voice recognition model which is configured to recognise the user voice input, and perform a function corresponding to the obtained text. a voice reception unit configured to receive a user voice input; and a processor configured to: receive the user voice input through the voice reception unit, based on a predetermined voice input being identified in the user voice input by performing a function corresponding to a voice recognition through a voice recognition model which is configured to recognise only the predetermined voice input, obtain a text corresponding to a part of the user voice input excluding the predetermined voice input by performing a function corresponding to a voice recognition through a general voice recognition model which is configured to recognise the user voice input, based on the predetermined voice input not being identified in the user voice input by performing the function corresponding to the voice recognition through the voice recognition model which is configured to recognise only the predetermined voice input, obtain a text corresponding to the user voice input by performing the function corresponding to the voice recognition through the general voice recognition model which is configured to recognise the user voice input, and perform a function corresponding to the obtained text. receive the user voice input through the voice reception unit, based on a predetermined voice input being identified in the user voice input by performing a function corresponding to a voice recognition through a voice recognition model which is configured to recognise only the predetermined voice input, obtain a text corresponding to a part of the user voice input excluding the predetermined voice input by performing a function corresponding to a voice recognition through a general voice recognition model which is configured to recognise the user voice input, based on the predetermined voice input not being identified in the user voice input by performing the function corresponding to the voice recognition through the voice recognition model which is configured to recognise only the predetermined voice input, obtain a text corresponding to the user voice input by performing the function corresponding to the voice recognition through the general voice recognition model which is configured to recognise the user voice input, and perform a function corresponding to the obtained text.