{"id":25965201,"url":"https://github.com/rayhanadev/zipf-law","last_synced_at":"2026-06-07T19:32:26.113Z","repository":{"id":276571165,"uuid":"929662667","full_name":"rayhanadev/zipf-law","owner":"rayhanadev","description":"Testing Zipf's law from a Vsauce video I watched!","archived":false,"fork":false,"pushed_at":"2025-02-09T04:57:08.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T05:27:00.968Z","etag":null,"topics":["here","michael","vsauce"],"latest_commit_sha":null,"homepage":"","language":"Python","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/rayhanadev.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":"2025-02-09T04:27:18.000Z","updated_at":"2025-02-09T04:58:09.000Z","dependencies_parsed_at":"2025-02-09T05:27:05.038Z","dependency_job_id":null,"html_url":"https://github.com/rayhanadev/zipf-law","commit_stats":null,"previous_names":["rayhanadev/zipf-law"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayhanadev%2Fzipf-law","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayhanadev%2Fzipf-law/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayhanadev%2Fzipf-law/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayhanadev%2Fzipf-law/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rayhanadev","download_url":"https://codeload.github.com/rayhanadev/zipf-law/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241928473,"owners_count":20043820,"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":["here","michael","vsauce"],"created_at":"2025-03-04T21:37:47.479Z","updated_at":"2026-06-07T19:32:26.076Z","avatar_url":"https://github.com/rayhanadev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zipf's Law\n\nI saw [this](https://youtu.be/fCn8zs912OE) Vsauce video on Zipf's Law\nand about five minutes in I was like \"I need to test that\" so naturally\nI loaded up Zed and pulled the text corpus of Macbeth from shakespeare.mit.edu\nto see if it held up.\n\n## Results\n\nI ran the script on Macbeth and got the following results:\n\n![](./word_frequency_distribution.png)\n\nCuriously, it works out pretty well haha! xD\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayhanadev%2Fzipf-law","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frayhanadev%2Fzipf-law","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayhanadev%2Fzipf-law/lists"}