NaPoGenMo / NaPoGenMo2017

National Poetry Generation Month 2017
13 stars 3 forks source link

plot-to-poem relexification with semantic similarity #13

Open aparrish opened 7 years ago

aparrish commented 7 years ago

I'm using averaged word vectors from Mark Riedl's WikiPlots and my corpus of lines of poetry from Project Gutenberg to rewrite movie/book/video game plots as poetry. Each sentence in the plot gets replaced with the line of poetry closest in meaning. Early results:

When Harry Met Sally...
-----------------------

Before her dread career the good and just
What to him is friend or foeman,
Our statues!--not of those that men desire,
Which is just what a girl would do.
Men doubt no more,
Gran'ma tells me that's the only way to make it right
66   the general intention and meaning, which in the whole
Your last flight went rather low.
12. The woman referred to is Xochiquetzal. See Hymn IX.
That he his premise may not break.
Can be no other answer
There Sansun, then beyond, Gerard the old
That you had not withheld from love,
She will not walk here again
And it was just this time of night
Their blow upon the others, when they see
Where she may all her beauties look;
Are truly friends in need
Was living then; and that same night I went
Her eightieth year; her only child was dead.
Or on, might dread her majesty had not room enough
Thus either Time his sickle brings
And many a happy hour they had,
And love when they should fight,--when such as these
Of one who, in her better days,
Where you walk when day is done,
His leave, with whom I journey, first obtain'd."
What does it find there that knows it again?
Could she clasp her babe again.

(Code TK)

aparrish commented 7 years ago

Done! Code here and more output.