a word processor with a spelling correction function . a spelling error can result from for example , improperly inputted characters or misread characters . when the improperly input or misread characters are not found , for example in a main dictionary or a user &# 39 ; s dictionary of the word processor , characters from a probability table are selected to replace the improper characters which have been caused by the spelling errors . the probability tables can be formed by determining from proper inputting into the word processor the highest frequency of appearance order of two characters . in addition , the probability table can be made by determining the frequency of corrections of an improperly inputted character . when the proper character is added to the improper character which caused the spelling error , the proper character is compared with the main or user dictionary and when it is determined that the character is in the main or user dictionary the character sting is outputted as the correct word from an output portion of the word processor .