1. A non-transitory computer-readable storage medium storing therein a recognition program that causes a computer to execute a process comprising: recognizing a plurality of characters from handwritten characters in input handwritten data; setting reference positions of a specific handwritten character and an adjacent handwritten character included in the handwritten characters based on recognition results of the recognized characters, the specific handwritten character and the adjacent handwritten character corresponding to a specific character and an adjacent character included in the recognized characters, respectively, the adjacent character being located adjacent to the specific character; determining whether a space is present between the specific character and the adjacent character based on the reference positions; and generating space information indicating a result of the determining, wherein each of the reference positions is a position of a vertical stroke in or a position of a central axis of a corresponding one of the specific handwritten character and the adjacent handwritten character.
1. A non-transitory computer-readable storage medium storing therein a recognition program that causes a computer to execute a process comprising: recognizing a plurality of characters from handwritten characters in input handwritten data; setting reference positions of a specific handwritten character and an adjacent handwritten character included in the handwritten characters based on recognition results of the recognized characters, the specific handwritten character and the adjacent handwritten character corresponding to a specific character and an adjacent character included in the recognized characters, respectively, the adjacent character being located adjacent to the specific character; determining whether a space is present between the specific character and the adjacent character based on the reference positions; and generating space information indicating a result of the determining, wherein each of the reference positions is a position of a vertical stroke in or a position of a central axis of a corresponding one of the specific handwritten character and the adjacent handwritten character. 3. The storage medium as claimed in claim 1 , the process further comprising: comparing a partial character string between a first space and a second space determined to be present with words stored in a dictionary database; and determining whether the second space succeeding the partial character string is actually present based on a result of the comparing.