1. An information processing apparatus comprising: an input device that receives speech and determines an input text string from the speech by a speech recognition function; an output device that displays the input text string; and a control device that determines a plurality of candidate texts to correct a target text which is from the input text string, based on a number value stored in an electronic memory and associated with preceding text located at a position preceding the target text, a number value stored in an electronic memory and associated with succeeding text located at a position succeeding the target text, and a weighting of the number value associated with the preceding text and the number value associated with the succeeding text based on a predetermined ratio, the weighting performed by using a processor to arithmetically apply the predetermined ratio to the number value associated with the preceding text and the number value associated with the succeeding text, such that in determining the plurality of candidate texts one of the value associated with preceding text and the value associated with succeeding text is given greater weight than the other one of the value associated with preceding text and the value associated with succeeding text, wherein the output device displays an image for use in selecting among the candidate texts.