6. A text generation device for generating text of a sentence or paragraph in a predetermined language, comprising: input means for inputting one or more words as keywords into the text generation device; character-unit candidate generation means for generating phrase candidates from the keywords in the text generation device by searching for and extracting from a corpus sentences or phrases containing each keyword; text candidate generation means for generating text candidates of a sentence or paragraph assuming a syntactic dependency relation among the phrase candidates; evaluation means for evaluating the text candidates; means for converting the text candidates generated in the text generation device to surface sentences; and output means for outputting at least one of the surface sentences.
6. A text generation device for generating text of a sentence or paragraph in a predetermined language, comprising: input means for inputting one or more words as keywords into the text generation device; character-unit candidate generation means for generating phrase candidates from the keywords in the text generation device by searching for and extracting from a corpus sentences or phrases containing each keyword; text candidate generation means for generating text candidates of a sentence or paragraph assuming a syntactic dependency relation among the phrase candidates; evaluation means for evaluating the text candidates; means for converting the text candidates generated in the text generation device to surface sentences; and output means for outputting at least one of the surface sentences. 7. The text generation device according to claim 6 , wherein, in the input means, a word having a dependency relation to the input word is extracted from a database of the predetermined language and input as an additional keyword.