vitalyvolkov / example-trigram

Generate random sentences with correct grammars
0 stars 1 forks source link

Word spacing #1

Closed davelab6 closed 11 years ago

davelab6 commented 11 years ago

The spaces between words seem incorrect. This is current output:

$ ./gensent.py adhesion
halfnaked drunken slipshod ugly alleys andarchways like a man among therest
itthe spirit he had some nearneighbours house expecting some objected that
scroogeboth very dark empty house having no outline would not muchcaring
andbrood over him in a squeezing wrenching grasping scrapingclutching covetous old
$

This is what I expect in terms of word spacing:

$ ./gensent.py adhesion
half naked drunken slipshod ugly alleys and archways like a man among the rest
it the spirit he had some near neighbours house expecting some objected that
scrooge both very dark empty house having no outline would not much caring
and brood over him in a squeezing wrenching grasping scraping clutching covetous old
$