Language model constructing method and device

The invention discloses a language model constructing method and device and belongs to the technical field of voice recognition. The method includes: classifying and mining sentences in data samples, acquiring classified training samples and constructing a text classifier; classifying the data samples through the text classifier and acquiring classified vocabularies and classified corpora; acquiring high-frequency language templates from the classified corpora according to the classified vocabularies; respectively training the high-frequency language templates, the classified corpora and the classified vocabularies to obtain classified language template models, classified language models and classified vocabulary language models. Through the classified vocabulary language models, the classified language models and the classified language template models obtained by training the classified vocabularies, the classified corpora and the high-frequency language templates mined from the data samples, number of the language models is increased on the premise that the number of the data samples is not increased, and further accuracy in voice recognition is improved by the aid of the models.