10. 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: acquire a text file; extract, according to a predetermined rule, a command word from the text file, and obtain a command word list; compare the command word list with a 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 a language model library corresponding to the command word library; perform, according to an acoustic model, a phonation dictionary, and the merged language model library, speech recognition on the speech; after completing the speech recognition, determine whether the text file changes; if it is determined that the text file changes, acquire a changed text file; and if it is determined that the text file not change, execute an operation.
10. 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: acquire a text file; extract, according to a predetermined rule, a command word from the text file, and obtain a command word list; compare the command word list with a 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 a language model library corresponding to the command word library; perform, according to an acoustic model, a phonation dictionary, and the merged language model library, speech recognition on the speech; after completing the speech recognition, determine whether the text file changes; if it is determined that the text file changes, acquire a changed text file; and if it is determined that the text file not change, execute an operation. 12. The device according to claim 10 , wherein the processor is configured to: read content of the text file; perform word segmentation on the content; and select the command word from a word segmentation result according to the predetermined rule, to obtain the command word list.