1. An information processing apparatus comprising: an acquisition unit configured to acquire locus data; a first recognition unit configured to recognize gesture locus data included in a part of the acquired locus data according to the acquired locus data and gesture shape data included in gesture dictionary data; a separation unit configured to separate gesture locus data and locus data other than the gesture locus data from the acquired locus data according to a result of the recognition by the first recognition unit; a second recognition unit configured to recognize the locus data other than the gesture locus data based on condition information associated with the gesture locus data as the result of the recognition by the first recognition unit and information of a character included in character dictionary data.