Recases input text according to a language model.
Project description
For a given input sentence, combinations of upper, lower, and title cased words are combined into a weighted trigram graph, the weight being the log probability of the trigram on a language model. The optimal casing is the graph path with the highest LM likelihood.