Patent ID: 7506271

Claim:
A method comprising: receiving electronic ink input; generating a list of machine-generated text candidates based on the electronic ink input, the list including a first machine-generated text candidate and alternative machine-generated text candidates; converting the electronic ink input to the first machine-generated text candidate; displaying the first machine-generated text candidate; receiving speech input; converting the speech input to second machine-generated text, wherein the second machine-generated text is one of the alternative machine-generated text candidates and the list of machine-generated text candidates functions as a dictionary used for converting the speech input pursuant to a statistical language model, to generate for every instance of a spoken word d k in the dictionary, the similarity between d k and list of machine-generated text candidates w i,j being represented as afunction defined as the logarithmic value of a count of the matched characters w i,j , d k divided by a value of the sum of the length of w i,j and d k ; analyzing when the string similarity between d k and w i,j is very small, including the optimum constraint, with d k being completely discounted as a candidate of w i for converting the speech into text; and replacing the first machine-generated text candidate with the second machine-generated text.