{"id":17357888,"url":"https://github.com/jd557/poem-generator","last_synced_at":"2025-04-02T02:44:56.568Z","repository":{"id":18550142,"uuid":"21751570","full_name":"JD557/poem-generator","owner":"JD557","description":"A poem generator using two markov chains","archived":false,"fork":false,"pushed_at":"2014-07-11T23:13:12.000Z","size":178,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T18:09:23.876Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JD557.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-11T21:13:17.000Z","updated_at":"2023-04-17T20:17:37.000Z","dependencies_parsed_at":"2022-09-02T03:41:42.304Z","dependency_job_id":null,"html_url":"https://github.com/JD557/poem-generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JD557%2Fpoem-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JD557%2Fpoem-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JD557%2Fpoem-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JD557%2Fpoem-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JD557","download_url":"https://codeload.github.com/JD557/poem-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246746898,"owners_count":20827062,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T19:02:24.019Z","updated_at":"2025-04-02T02:44:56.549Z","avatar_url":"https://github.com/JD557.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"Poem Generator\n==============\n\nA poem generator using two Markov chains:\n* One chain is used to build the endings of each verse - Ending Chain\n* The other chain is used to build the verses (in reverse) - Word Chain\n\nThis allows the program to keep some context between different verses and\neven rhyme (if the author rhymes as well)\n\nExamples\n--------\n\nThe next 4 examples have the following properties:\n* Ex.1 and 2 were generated using a dataset of Shakespeare's works (English, with rhymes)\n* Ex.3 and 4 were generated using a dataset of Caeiro's works (Portuguese, free verse)\n\nAll examples were generated with a word chain of degree 2 and an ending chain of degree 1.\nUnfortunately, due to the small size of verses/strophes, using larger degrees quickly leads\nto overfitting.\n\nExample 1 (Shakespeare):\n\n    The little Love-god lying once asleep,\n    Laid by his side his heart-inflaming brand,\n    And almost thence my nature is subdu'd\n    My mistress' eyes are nothing like the dyer's hand:\n    This wish I were renew'd;\n    \nExample 2 (Shakespeare):\n    \n    When my love excuse the slow offence\n    To thee I speed:\n    Being your slave what should I haste me thence?\n    In our two loves there is no need.\n    \nExample 3 (Alberto Caeiro):\n    \n    Para ver as árvores altas.\n    Agora que sinto na ausência dela.\n    O que me abandona.\n    E que anda com a cara dela no meio.\n    \nExample 4 (Alberto Caeiro):\n\n    Com o primeiro fato merece ao menos a precedência e o mal que me acontece\n    Nos dias certos; nos dias exteriores da minha vida?\n    O Inverno irregular, cujas leis de aparecimento desconheço,\n    Mas que existe em virtude da mesma fatalidade sublime,\n    Da mesma inevitável exterioridade a mim,\n    Que o calor da terra no alto do Verão\n    E o frio da terra no cimo do Inverno.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjd557%2Fpoem-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjd557%2Fpoem-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjd557%2Fpoem-generator/lists"}