1. An information-processing device comprising: an analysis unit configured to analyze speech-recognition-grammar data; a generation unit configured to generate data on a template used to input speech data based on a result of the analysis by the analysis unit; and a display-control unit configured to display speech-input-template data generated by the generation unit, wherein the analysis unit includes a first acquisition unit configured to acquire data on number N of at least one word shown in at least one section of the speech-recognition-grammar data, wherein each of the sections share previous and subsequent connections, and wherein the generation unit determines a mode of displaying the at least one section based on word-number-N data acquired by the first acquisition unit.