{"id":16095868,"url":"https://github.com/joakin/rust-random-text-generation","last_synced_at":"2025-04-12T10:11:55.871Z","repository":{"id":141454621,"uuid":"169464305","full_name":"joakin/rust-random-text-generation","owner":"joakin","description":"markov chain text generator written in rust","archived":false,"fork":false,"pushed_at":"2019-02-21T13:37:02.000Z","size":685,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T05:11:15.644Z","etag":null,"topics":["markov-chain","rust","rust-lang"],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/joakin.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-06T19:31:34.000Z","updated_at":"2024-04-06T16:54:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"e4570835-dded-41fd-81a1-7de72fbbb5ae","html_url":"https://github.com/joakin/rust-random-text-generation","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"cd60a83f4c992fb355498b3c2e198322b302ff91"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joakin%2Frust-random-text-generation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joakin%2Frust-random-text-generation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joakin%2Frust-random-text-generation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joakin%2Frust-random-text-generation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joakin","download_url":"https://codeload.github.com/joakin/rust-random-text-generation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248550633,"owners_count":21122933,"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":["markov-chain","rust","rust-lang"],"created_at":"2024-10-09T17:09:17.156Z","updated_at":"2025-04-12T10:11:55.849Z","avatar_url":"https://github.com/joakin.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"A markov chain text generator written in Rust, a port from my other try at an\n[ocaml-random-text-generator](https://github.com/joakin/ocaml-random-text-generation)\n\nInstall rust stable with rustup and then:\n\n```\nrust-random-text-generation (master #%) =\u003e cargo run books\n   Compiling rust-random-text-generation v0.1.0 (/Users/jkn/dev/learn-rust/rust-random-text-generation)\n    Finished dev [unoptimized + debuginfo] target(s) in 0.53s\n     Running `target/debug/rust-random-text-generation books`\npath: \"books/alice-in-wonderland.txt\"\npath: \"books/frankenstein.txt\"\npath: \"books/dracula.txt\"\npath: \"books/miss-nume.txt\"\nReading \"books/alice-in-wonderland.txt\"\nReading \"books/frankenstein.txt\"\nReading \"books/dracula.txt\"\nReading \"books/miss-nume.txt\"\nHe is beginning to work .\nIt smelt of laudanum , for it was logical and forceful and mysterious .\nOf course , of course , Alice could not stand for long such an unwonted drain to the head .\n\" But do you know what theyre about !\nI will tell him , Jenny .\nThat the Count's arrangements were well made , has been quite \" blowing my trumpet , \" as they term the different classes of boats , would remain in the habitation I had found the harbour , pitched herself on that accumulation of sand and gravel washed by many tides and many storms into the south - west and west .\nM .\nYes , said Alice .\n\" Num� sat in her favorite position , on the miserable death of her youngest darling !\nTo this plan I strenuously objected , and so consulted about it .\n\" Tell me about the lesser carnivora , when I went to the grave of the suicide at Whitby ; still at other time he can only change himself at noon or at exact sunrise or sunset , and so cannot leave the ship .\nWith regard to Miss Westenra's health I hasten to their arms .\nThe Professor stood up and said : \" May I read it , as now , empty .\nI closed not my eyes that night .\n\" \" Yes , \" he answered .\nJenny Davis could only watch her with wide eyes of wonder and agony .\nThe two men sitting on the mats with Koto and Num� , daughter of Watanabe Omi .\nI shall continue my journal concerning the stranger at intervals , should I have any fresh incidents to record .\nSummer passed away in these occupations , and my brain was beginning to conjecture that some fortunate chance had intervened to prevent the execution of Justine , and Henrythey all died by my hands .\nI might be restored to my family in Geneva , and one of the shelves as she passed ; it was as if the mist had turned into his figure , for I thought I was going said : - - \" Oh , my friend and dearest companion , had fallen a victim to me and says : 'Keeper , these wolves seem upset at something .\nhe seldom did that .\nHarker was not down when the maid came to announce dinner , so I answered in the same way as she trusted or tried to make herself believe that Orito's presence would cure Num� , so she felt that she was so sound asleep that for a moment know what to say .\nSEWARD'S DIARY 29 October .\nAs the Count saw my face , turned to answer him , but I was disturbed by the wildest dreams .\nI understood him to mean if we were kittens .\nOh dear , what is it ?\nHaving conquered the violence of his feelings , he appeared to consider it as the ravings of insanity .\n\" I think they must originally have had something to do with it , and these exhibited all the squalidness of the most hardy ventured forth to seize the monster , though there were a thousand men looking on , and I well remembered the words of my father : My dear Victor , gives me a foretaste of those icy climes .\nI have described myself as always having been imbued with a fervent longing to penetrate the secrets of heaven and earth that I desired to see my sweet Elizabeth in some degree consoled .\n\" Hallo !\n^C\n```\n\nThis one is so much faster than the OCaml version... I must have been doing\nsomething wrong over there... Even with all the cloning and noob rust that I'm\ndoing here...\n\nRust is a very enjoyable language. I'm still going through the 13th chapter on\nthe book, so the code I'm sure is terrible.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoakin%2Frust-random-text-generation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoakin%2Frust-random-text-generation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoakin%2Frust-random-text-generation/lists"}