0
What do I need to know to do it (small sentence generator l)
Hello world. I'm a philosopher, writer and musician. I'm just starting with programming. As a writing project I want to create sentence generator. It needs to draw from database of examples but I need it to have some basic creativity in transforming source material. I also need it to allow user's input. The user provides names for sentences. The question is, what do I need to learn to pull it off? My friend said I should start with JScript. I'll be grateful for other (maybe little less general suggestions)
1 Odpowiedź
+ 1
For quickly programming something like that use Java or C#.
You will have to create lists of verbs, nouns, adjectives etc.
They have to have connections as to what can be near what (for example it's stupid to say "dry ocean"). Then you will take one of them, and depending on context and other factors choose the next word of your sentence.
The most difficult part will be making it understand what you asked it, and what to respond.