-
IDEA: Sentence builder
There aren't so many ideas coming in so I'll contribute with some more :).
The task is to write a function that takes a string as an argument then converts it to a sentence.
Have a look at this link and you'll know what I mean:
http://www.cprogramming.com/cboard/s...ghlight=cyborg
The theme this time will be programming.
The function should be able to take at least 10 characters and make them into a reasonable good sentence. The better sentences the higher chance of winning.
Example:
M.A.G.O.S. - Multitasked And Graphical Operative System
...something like that...
-
I don't understand the main idea of the program, unleast we develop an AI type of program that know to create correct and meaningful sentences, the program will be very small and I think we'll have an array of words (or better a dictionary) and start to random, that's all.
Or I'm making a mistake, and your idea goes far than this?
-
Well, I guess it's up to the programmer to decide what kind of algorithm the sentence builder should use. Whether it be random words from a dictionary or something more advanced (just random words doesn't form sentences very well :)).
It doesn't have to be a perfect sentence builder, but it would be nice if some kind of smart solution lies behind.