{"id":16095893,"url":"https://github.com/joakin/ocaml-random-text-generation","last_synced_at":"2025-10-20T06:49:31.668Z","repository":{"id":141454343,"uuid":"158420221","full_name":"joakin/ocaml-random-text-generation","owner":"joakin","description":"markov chain text generator written in ocaml","archived":false,"fork":false,"pushed_at":"2018-11-20T16:33:25.000Z","size":908,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T20:15:40.818Z","etag":null,"topics":["markov-chain","ocaml"],"latest_commit_sha":null,"homepage":null,"language":"Standard ML","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":"2018-11-20T16:33:09.000Z","updated_at":"2019-05-08T14:25:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"384a681e-7f5d-428d-b6dd-869e267b0075","html_url":"https://github.com/joakin/ocaml-random-text-generation","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"5682296f310d73cba4552b0c878f0d7b9d09a7bb"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/joakin/ocaml-random-text-generation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joakin%2Focaml-random-text-generation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joakin%2Focaml-random-text-generation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joakin%2Focaml-random-text-generation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joakin%2Focaml-random-text-generation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joakin","download_url":"https://codeload.github.com/joakin/ocaml-random-text-generation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joakin%2Focaml-random-text-generation/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265233753,"owners_count":23731825,"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","ocaml"],"created_at":"2024-10-09T17:09:26.456Z","updated_at":"2025-10-07T14:32:43.893Z","avatar_url":"https://github.com/joakin.png","language":"Standard ML","funding_links":[],"categories":[],"sub_categories":[],"readme":"A markov chain text generator written in OCaml, as part of the last exercise of\nthe Paris Diderot MOOC.\n\nInstall OCaml, opam, and dune, then run:\n\n```\nocaml-random-text-generation =\u003e time dune exec bin/random_text_cli.exe\nThere was a royal lot of the earth and with a sob in unison , are expressions of his love for the enjoyment of it ?\n\nHe is looking at the earliest sensations I can hope in this diary right up through the waves were very minute , and there peeping forth from the ball by hearing a cry does us all good again , and dank , and give the speediest intelligence of this dreadful place .\n\nI cannot understand , she came and broke off and they grew whiter .\n\n\" \" No !\n\n- - \" I think I should put them in the face .\n\nCleo , \" she said , leaving me , by ice , and have seen them last month .\n\nBingley of coming to Jonathan , and Numè wandered away from us - - it was what I can see a warning .\n\nBennet , “that you have now had its source in me !\n\n26 October .\n\nThe next instant , however , he found a note of it ; so far as to resent .\n\n” Elizabeth answered only with the free distribution of Project Gutenberg Literary Archive Foundation \" or \" The Westminister Gazette , \" said Omi .\n\n\nreal\t6m8.170s\nuser\t6m5.689s\nsys\t0m1.533s\n```\n\nIt takes a long time because of the whole books I added in `lib`, but changing\n`bin/random_text_cli.ml`'s sources you can make it faster to generate sentences.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoakin%2Focaml-random-text-generation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoakin%2Focaml-random-text-generation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoakin%2Focaml-random-text-generation/lists"}