{"id":42424714,"url":"https://github.com/tehcyx/gomarkov","last_synced_at":"2026-01-28T03:07:48.069Z","repository":{"id":57519121,"uuid":"141204328","full_name":"tehcyx/gomarkov","owner":"tehcyx","description":"Markov Chain in Go","archived":false,"fork":false,"pushed_at":"2018-07-17T00:06:49.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-23T09:10:07.919Z","etag":null,"topics":["go","golang","markov","markov-chain"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tehcyx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-16T23:08:36.000Z","updated_at":"2018-11-17T10:47:10.000Z","dependencies_parsed_at":"2022-09-06T03:42:45.080Z","dependency_job_id":null,"html_url":"https://github.com/tehcyx/gomarkov","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tehcyx/gomarkov","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tehcyx%2Fgomarkov","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tehcyx%2Fgomarkov/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tehcyx%2Fgomarkov/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tehcyx%2Fgomarkov/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tehcyx","download_url":"https://codeload.github.com/tehcyx/gomarkov/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tehcyx%2Fgomarkov/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28836066,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T02:10:51.810Z","status":"ssl_error","status_checked_at":"2026-01-28T02:10:50.806Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["go","golang","markov","markov-chain"],"created_at":"2026-01-28T03:07:47.258Z","updated_at":"2026-01-28T03:07:48.059Z","avatar_url":"https://github.com/tehcyx.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Markov Chain\nlibrary for using Markov Chain in Go\n\n# Usage\nCreate a dictionary:\n```\ndict := markov.TrainFromFolder(\"training\", 10000000)\n```\n\nAdjust factors on the dictionary via builtin fitness function or roll your own:\n```\ndict = markov.BulkAdjustFactors(dict, 10000, []markov.FitnessFunc{markov.FitnessFunction})\n```\n\nGenerate 20 words from dictionary (startword empty):\n```\nmessage := markov.Generate(dict, 20, \"\")\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftehcyx%2Fgomarkov","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftehcyx%2Fgomarkov","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftehcyx%2Fgomarkov/lists"}