1. A computer-implemented method comprising: receiving by a language model service in a preprocessing mode of operation a range within a document from a statistical-recognition handler for a device receiving stochastic input; generating by the language model service advice regarding text under consideration by the statistical-recognition handler to insert at an insertion point within the document at the range based on the characters or words within the range that are proximate to the insertion point; providing by the language model service the advice to the statistical-recognition handler, wherein the advice identifies a next best character to insert at the insertion point within the document at the range; soliciting suggestions by the language model service in a correction mode from the statistical-recognition handler for the device receiving stochastic input and from a second handler for a second input device; receiving by the language model service suggestions from the statistical-recognition handler and the second handler; determining by the language model service corrections to make based upon the received suggestions and a language model of the language model service; and pushing the determined corrections back to respective appropriate handlers by the language model service for implementation by the respective appropriate handlers.