NLTK, Random Sentence Generators?

Paulo da Silva psdasilvaX at esotericaX.ptX
Tue Apr 10 14:59:56 EDT 2007


gene tani escreveu:
> On Apr 10, 1:36 am, Passer By <sen... at sender.send> wrote:
>> Has any created or not of examples of random sentence generators using
>> n-gram models (or other models might be interesting).
>>
>> I know of one example from a course at MIT, but besides that nothing.
>>
>> Any help would be great.
> 
> Markov chains e.g.
> http://rubyquiz.com/quiz74.html
> 

Seems interesting ... Is there anybody who masters both python and ruby
to "translate" the code into python?



More information about the Python-list mailing list