Patent ID: 8407040

Claim:
An information processing device, comprising: a reading unit for reading, from a storage device storing a template in a first language and a template in a second language corresponding to the template, said template in the first language and said template in the second language; wherein said template in the first language and said template in the second language include a fixed portion consisting of a prescribed word/phrase and a variable portion replaceable by any of a predetermined plurality of words/phrases, at positions corresponding to each other; said information processing device further comprising: a determining unit for determining, as regards the plurality of templates in said first language read by said reading unit, whether or not a word/phrase included in a sentence input in the first language through an input device matches any of said prescribed word/phrase and said predetermined plurality of words/phrases; a selecting unit for selecting at least one template from said plurality of templates, based on the result of said determination; and a replacing unit, if a template including a variable portion replaceable by said matched word/phrase is selected by said selecting unit, in a template in the second language corresponding to said selected template read by said reading unit, for replacing a variable portion corresponding to said variable portion replaceable by said matched word/phrase by a word/phrase in said second language corresponding to said matched word/phrase; wherein the template in said second language includes, as said variable portion, a first variable portion and a second variable portion; and said replacing unit replaces said first variable portion by a word/phrase in said second language, and determines a word/phrase of said second variable portion in accordance with the replaced word/phrase.