louismullie / treat

Natural language processing framework for Ruby.
Other
1.36k stars 128 forks source link

Natural Language Generation #62

Closed realdoug closed 10 years ago

realdoug commented 10 years ago

I read through the manual and I'm curious, is there any way to use treat to generate English sentences from a set of data? For example if I had a set of weather or sports statistics and I wanted to auto generate an English summary.

If this is something not currently included, is there a good java or python library that can be blatantly ripped off? I think it would be a killer feature. looked through the NLTK Documentation but I didn't find a clear way of doing this. Maybe I just missed it though.

louismullie commented 10 years ago

Hi Doug,

There's no simple way to tackle this problem unfortunately. Perhaps you should look into Markov chains (see e.g. https://github.com/louismullie/emcee). If you have more specific questions I'll see if I can answer them better!

Louis

louismullie commented 10 years ago

Closing this as the scope of the question is too wide to answer here.