Day: September 22, 2020

N-gram language models – Part 1

Background Language modeling — that is, predicting the probability of a word in a sentence — is a fundamental task in natural language processing. It is used in many NLP applications such as autocomplete, spelling correction, or text generation.   Currently, language models based on neural networks, especially transformers, are the state of the art: they predict very accurately a …

N-gram language models – Part 1 Read More »