Patent Document ID: 7895031
Application ID: 11394099

Base Claim:
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.

---

Claim 5:
5. The method of claim 1 , wherein the advice provided by the language model service to the statistical-recognition handler for the device receiving stochastic input in the pre-processing mode of operation comprises a best path through a lattice maintained by the language model service.