language model
A language model is a computational model that predicts sequences in natural language. Language models are useful for a variety of tasks, including speech recognition, machine translation, natural language generation (generating more human-like text), optical character recognition, route optimization, handwriting recognition, grammar induction, information retrieval and disaster response. Large language models (LLMs), currently their most advanced form as of 2026, are predominantly based on transformers trained on larger datasets (frequently using texts scraped from the public internet). They have superseded recurrent neural network-based models, which had previously superseded the purely statistical models, such as the word n-gram language model.
A language model is a computational model that predicts sequences in natural language. Language models are useful for a variety of tasks, including speech recognition, machine translation, natural language generation (generating more human-like text), optical character recognition, route optimization, handwriting recognition, grammar induction, information retrieval and disaster response. Large language models (LLMs), currently their most advanced form as of 2026, are predominantly based on transformers trained on larger datasets (frequently using texts scraped from the public internet). They have superseded recurrent neural network-based models, which had previously superseded the purely statistical models, such as the word n-gram language model. P(w_m \mid w_1,\ldots,w_{m-1}) = \frac{1}{Z(w_1,\ldots,w_{m-1})} \exp (a^T f(w_1,\ldots,w_m)) where Z(w_1,\ldots,w_{m-1}) is the partition function, a is the parameter vector, and f(w_1,\ldots,w_m) is the feature function. In the simplest case, the feature function is just an indicator of the presence of a certain n-gram. It is helpful to use a prior on a or some form of regularization. The log-bilinear model is another example of an exponential language model.
References
No reference rows published for this article.
Cite this article
MLA
"language model." encyclopegia.org, 2026, https://encyclopegia.org/wiki/language-model. Accessed 24 November 2026.
Chicago
"language model." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/language-model.
APA
encyclopegia.org. (2026). language model. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/language-model
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON