Continuing Shaul's comment with an example. You could do, for
instance:
====
>>> import ntlk
>>> text = nltk.Text(nltk.corpus.brown.words()) # Get text from brown
>>> text.generate()
Building ngram index...
The Fulton County should receive some stimulus from rising if they
could oust Colmer . ( Or , to try them and might , someday , break
away the seeds and are so long as the outstanding standard bearer of
Mr. Barcus' strong beliefs . The Bishop of Sarum's Introduction ,
indicated that stand-ins and picketing would be more vulnerable to Aj
. Mr. Schaefer also recommended by Dineen and Ade ( 1957 ) . In the
apartment . She turned and attacked their own pools , alas , to our
slum problems . The Rockies have many strays coming
=====
Best,
Edward
On Apr 23, 4:04 pm, Shaul Kedem <
shaul.ke...@gmail.com> wrote:
> Hi,
> did you read the book? nltk does have random sentence generation,
>
> Shaul
>