in reply to Natural Language Sentence Production
Haven't you just pretty much described the algorythm? Build tables of words for the various parts of speech, then use templates to select the table to use to select the word for each position in the sentence. If you want to get clever, allow the template to be defined recursively.
A Super Search may help. If you have absolutely no idea how to go about this, Re: Perl can do it, take 1 (sentence generation) may help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Natural Language Sentence Production
by japhy (Canon) on Sep 22, 2005 at 21:30 UTC |