hunkim / word-rnn-tensorflow

Multi-layer Recurrent Neural Networks (LSTM, RNN) for word-level language models in Python using TensorFlow.
MIT License
1.3k stars 494 forks source link

Output format. #66

Open sunsidazzz opened 7 years ago

sunsidazzz commented 7 years ago

So from your sample output, the format looks very good, I mean did the model format this for you or you manually separated the paragraphs?

LEONTES: Why, my Irish time? And argue in the lord; the man mad, must be deserved a spirit as drown the warlike Pray him, how seven in.

KING would be made that, methoughts I may married a Lord dishonour Than thou that be mine kites and sinew for his honour In reason prettily the sudden night upon all shalt bid him thus again. times than one from mine unaccustom'd sir.

LARTIUS: O,'tis aediles, fight! Farewell, it himself have saw.

Becuase mine was like this(without any structure)

LEONTES:Why, my Irish time?And argue in the lord; the man mad, must be deserved a spirit as drown the warlike Pray him, how seven in.KING would be made that, methoughts I may married a Lord dishonourThan thou that be mine kites and sinew for his honour

Meowdoleon commented 6 years ago

You can't have structure with a print() function. You have to do it yourself with a text treatment software like Microsoft Word.

kertase commented 6 years ago

You can print new lines. Other rnn-tensorflow models do learn new lines too…

This is something that should be definitely fixed.