13. A speech recognition device, comprising: a receiver, configured to receive speech; a memory configured to store instruction codes; and a processor, upon executing the instruction codes, configured to: perform, according to an acoustic model, a phonation dictionary, and a language model library that are corresponding to a command word library, speech recognition on the speech received by the speech receiver, to obtain a speech recognition result; determine whether the speech recognition result obtained by the recognizing unit is a preset flag command word; it is determined that the speech recognition result is a preset flag command word, acquire a text file corresponding to the preset flag command word; extract, according to a predetermined rule, a command word from the text file corresponding to the preset flag command word, to obtain a command word list; compare the command word list with the command word library, and confirm whether the command word list comprises a new command word, wherein the new command word is a command word that is comprised in the command word list but not comprised in the command word library; if it is determined that the command word list comprises a new command word, generate a corresponding new pronunciation dictionary according to the new command word and perform training to obtain a new language model, and merge the new language model into the language model library corresponding to the command word library.
13. A speech recognition device, comprising: a receiver, configured to receive speech; a memory configured to store instruction codes; and a processor, upon executing the instruction codes, configured to: perform, according to an acoustic model, a phonation dictionary, and a language model library that are corresponding to a command word library, speech recognition on the speech received by the speech receiver, to obtain a speech recognition result; determine whether the speech recognition result obtained by the recognizing unit is a preset flag command word; it is determined that the speech recognition result is a preset flag command word, acquire a text file corresponding to the preset flag command word; extract, according to a predetermined rule, a command word from the text file corresponding to the preset flag command word, to obtain a command word list; compare the command word list with the command word library, and confirm whether the command word list comprises a new command word, wherein the new command word is a command word that is comprised in the command word list but not comprised in the command word library; if it is determined that the command word list comprises a new command word, generate a corresponding new pronunciation dictionary according to the new command word and perform training to obtain a new language model, and merge the new language model into the language model library corresponding to the command word library. 14. The device according to claim 13 , wherein the processor is configured to: if it is determined that the speech recognition result is a preset flag command word, acquire a text file from an address corresponding to the preset flag command word, or acquire a text file that is corresponding to the preset flag command word.