Monday, July 20, 2015

Canterbury Tales Neural Network

I trained another RNN (multi-layer recurrent neural network), this time to generate poems in Middle English in the style of Canterbury Tales. It started generating interesting stuff after just a few minutes of training, but I let it finish anyway. I noticed in one of the samples that it had generated a title, so I seeded it with that title, and sure enough, it closed the poem eventually and started a new one. Kinda cool. The numbers are line numbers (you can see they're obviously not accurate), and it generates footnotes, too, since they were in the source text. The indentation and spacing is all generated by the neural net, too.

AUCCIATES TALE,

  This walmeth have,' quod Melibee, 'by see                   760
  For it was grave, and of my voys I may,
  To hir, with-outen fond to wedden she                         285
  How that a man unto pituk than;                              1160
  Til that were I his messaille aboghnis.
  For, in the sovereyntes ful marchant
  To me, night · ordeyned his peyne.
  This no-mune answerde, as in the mille!
  Ther ny spak, with many a special massthe.
  His body frelet mot I telle as fan?
  Ther was the bus he dide him in share;
  Lest is goddesse and his mulligat
  But he ne ben a fete wolde cosindyse,                         1890
  This fro the wrokes and his cours, and drinke,                  3820
  For men tolde love--bit he was of anhto                            1555
  Than scal, unto the north, wys '-bounder doute,
  Whan thoughte gon me in the bixardes,
  That to hem don to take now heer burde,
  And I remel for to mete for us,
  Out of my proverbe, 'as they, lokkes as,
  Of avento to your octileince
  Of whiche may the hawe of avoutry,'

    184. Hl. for; _rest_ thus.   140, 4. Cm. mak; Cp. Pt. Ln. Hl. maner.

    Lold carus, eft he mighte nat to yow hir lawe.                         1710
  Er he may wedded by his messes weyle!
  For later, she was fete · stinten it usave
  Reed right to him as fond in his care.
  And hydeth, was thy streng · turneth a claye aferve,
  That owne praye bounseth wery awey.'

    3684. Cm. Hl. Thansh.

  This Palamon he bitide, here up I woot?
  With whot his name turned to stroke,
  God wake and from obeyes also a best;
  Up werketh under burel in his tonge.                         610
  Ne made scondre for an eketh al
  And bad a marchal worthy and sent at daye
  Which never sinne, this is te biforn to ben
  With dwilkketh wel; Meclege answerde.                       10
  I yeve me yow to vysed and pleyn,
  That his gite is hadde an half, no violed ende.
  And forth wol I, than ther hanneth in a clere,
  And of Mavounses hadde a stoond fempcethe,               (720)
  Me verraunt on his hors, the Irw and shirke
  As, by the fleisons of a dignitee,                           140
  She wel ful of nature, and sone can,
  God save hom al that ech man y-comen noon,
  And sprikketh and therfore of place of bedde;
  The peple is in drank for to be my three!'

    3588. E. is; _rest_ lyf.   475. E.
    of; _rest_ Sumbiald (-now _is an est godesse                                615
  No brother him unturs he hath colessoun,                   165
  My ricersable, if ye had espyed me,                           95
  Up-on hory grete floor, wher was on yow preye;
  And I comth by biholde a litel wit.
  Ful ofte tyme, thurk he comen of hem be mighte,                 (390)
  Of silknesse my lord first caste throwe.
  Allas! the kin he bar to other wente,                        800
  Be comuned but ful often save, o writ
  That, if yow puccheth thus, his host at me.
  And leyne of his deeth, hir Boundes shape,
  Hir lady speke mete, and my turned al,
  Sow that, with-outen same the worthy finde;
  Therforthe why? faste yow y-woke,                        : 2950
  This lak may may be doun · of shewing bifore                     (311)
  That thilke, and smyle that I igive I;                     310

  This hand, ther is no croyn, if that my cave!
  In hering rancour wasship of twenty yong,
  The laste tokinge wonder yow yow wel,
  That him encheseth us a tecen or bath;                         (410)
  That I sin Penitence is so greet mercy.'
  For Nothewe menelly the book seith,
  'By procest'ded, 'is," quod this povreteon,'
  Somme be your wyf, bothe as wel lemed--
  Nat who-no coude castle youre foule;
  And in this siker Countel on his might
  The mighty siker, as it be desyre;
  Al were I here woot thus, he nolde secree!

    3. Ln, heer; E. on wompath, wink, un-toon, namidye.

[ OUDun
  Biforn that ben weren knightes Cristsaryd,                        1150
  'Biforen on him-self, her lyf was bindinge,               1145
  And vertuous and bisogeth him ful man,
  And hadded he so muche, or of my smoot!
  But with his song though he sat doun wisnesse;                    195
  Eut of the carage and of his dampnacioun.
  Dan him the eres on the livete or love,
  Another dyeth she on hir wille served.
  The Iange wyf, made also wolde hem;
  Yit in my cors of Attenaces
  Of feet at Almachius lerned by,
  His wyf hadde hong, on heven, by fleer lewe.
  Now wel enqueringe, by it, and for to fron,
  That he loked hid no mone his preyere,
  Ne feete, on his parfit up or mayde.

    445. E. Pt. barment; E. Ln. camully.   386. Cm. capede; _rest_
    allone.

  [424: T. 9095-90x7.]
  And al his sterĂ«s dyed, he made uttinge.

    1901. E. _omits_ a.
    1167. Cp. Pt. Pt; Hl. nought.

    'Thing we knowe it axe a parcour,                    1275
  That thus of lord I shal bigentes here.                         1680
  For which he hath no wight han I shal falle!                    735
  Under the goddes hous, and artow for no wymes,
  Werre is we demen hangoghtes to be.
  It never sette up-on the tendrely terke,                         3605
  Gan-coven his maistrie, with-outen crye,
  And elles by any corrymed to tweye
  Of an apgoterus of our lede,                                 1430
  For elles is ful ofte of peyne of noon,
  That they doon his gonsel and a belia blarde,
  Of good have fortuth, and leef and freends,                          830
  The hous wyse world, or wroght, out ofte, is swour.                  160
  [60: T. 3043-4394.]
  Both bything is best in this matere.                              1240
  Daunce, and thanke he iman with Gellige,
  Him thoughte his aventure he hadded it his shap,
  And whan men was as ever he put right wel;
  This litel of my wyf, it sholde breke bifil;                       1060
  Ne goode and only for swich a grace.

  O, Reder was y-presed, for the booghte,                      1525
  Reed giltly, and pouce, was on hir hewe.

    133, 1. Cm. goode.

    'Now, fyr a blake is vers muche hir governarnce;
  A mour, by this word of may reverich
  But-if that under troithe men also,
  Shul no maner mannes now in Cristet softe.                   1315
  This is a cartimwest, by-ooven save.
  For as your owene lord yet knowe he,                      OUT""    HERE ENDAT. AUCCIATES TALE.

       *       *       *       *       *

THE SEIPES THE MEMELIUM OF PISB.

HERE UDORES PERCUIS TIS ThiT BKERE.

      NEiBIGIEES TALE.

  By god, to daunge other in heven gentris.'                         4265
  And that they cart but o wol nat suffreth hone
  Withwomth an ydel purposour
and have this castel do.                      1550
  Ther shal me al my declared al this:                          1365
  [480: T. 9548-9753.]
  How we povre and al his aventure,
  If that oon on a mayde shewe aspecioun
  To slone in clot or to doon in vryde.
  And Whan they wolde y gebstable and blisdes,
  Whan that he bigilde me nat othing swate!

  Hir heigh but thou sholde have a knight
  [389: T. 1307-11200.]
  Lat thing, ne in your-self, far waries in the sinne.,
  Lenk in a partee in foryefelleden;
  Til he carled som · if they he loked me.
  God seile, umbarie, quod he, 'and fals so streng,                  2315
  Madler deer, gan vertu and of [Sa],
  And semblonwes and in he restenbed,
  Ne nat, now whan he neysed is me soot;                     (630)
  This Gamelyn is the ciftiesse of sonne,
  That stirme feendes weren as deed in bondes.                   1165
  With-outen hewed here meyne y-nough bityde,
  [88: T. 2904-2522.]
  Than litel hert be mawed alwey bigonne;
  I mighte men mene, as Envitatee                               595

  And seyde, 'it shal never falsly also;                               235

...

And so on.

Here's another, with no seed text:

Of Caunterboures deboname, and cloth,
  That hath hir housbond in the walles tale,
  His fruit I seye, his liste, lay, laughed                          4090
  Of his stories wroothly for to we;
  Which that hir mokle in this tresor foon,
  They looke y-nat usente I, foo dide or enfore
  Thou art to haven ful many a yere hond.                     (810)
  And up answakned and in his thoght!
  But natheler swete of this manere,
  Who, I luve me whul be mighte nat teille;                   (470)
  [404: T. 3148-9454.]
  To telle hir herm; me in his muncen save.
  For muche after any good of gyle,                    75
  Wol can, wrastthe thus, and my good rekne,
  And lyk to the game a that can paleme.
  With prively servaunt the sire,                              [T. 153.

    Leurne in this prove 'another coste,
  With wounes maken him herte any reve.
  O doketh frend His same swoken rorie,
  That half that he toweling of thilke lyf
  Purstaunce, came, thus no wight so geste him bothe?                 120
  Ful often man was fully of hye a knee,                   (625)
  An al be in, 'fer right anon atto,
  And that my daf to stille in sideraynesse.               (890)

  And al a fille aboute hir herte I quikke,
  For yeven maken herke, bothe gay the to see.                        1310
  And if thou me that gerle sone quat he;                 1155
  [201: T. 11211-12202.]
  Thy minstry, out of honour · trewely unlost,'
  'Who sente be faire, of his cherl no bere.             435
  This syde-ward she trusteth over he wente,                   (10)
  For in this curture riche; and the firste knight
  She schul I lyke gay be thoght and ay.
  And Auchaus han devaunce buk minde,
  That I was lye, and warisshe for to preite.
  This walken as the cladres wilcow attenly
  As he wentweth er, they tendren bisinesse
  Witnesse, avyseth to the hevenes sighte,
  Til colandre al this carpenteres fade,
  Yit nored_, as he was a greet dayes--
  'Adam,' quod she, 'E. manying in the rook was rede;
  As Plutage mayntaccioun heend pais.
  But this this cocauntilitee of Diendrye,
  And hoom was three, as repetse as hir therfonge,                      1250
  But soth the cherl-pirgrew wel he lay
  Bireveth man; and after his weddes say;
  With-inne his come a geyn with preching is,
  Dien in so fair, as laughed lecherye
  The dissembre it nosperie flasoun that malence
    Another beste, I saystom blessed and roune;
  In whiche they mo broon arrogeth you blak.'

...

No comments:

Post a Comment