https://github.com/rayhanadev/zipf-law
Testing Zipf's law from a Vsauce video I watched!
https://github.com/rayhanadev/zipf-law
here michael vsauce
Last synced: 4 months ago
JSON representation
Testing Zipf's law from a Vsauce video I watched!
- Host: GitHub
- URL: https://github.com/rayhanadev/zipf-law
- Owner: rayhanadev
- Created: 2025-02-09T04:27:18.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-02-09T04:57:08.000Z (5 months ago)
- Last Synced: 2025-02-09T05:27:00.968Z (5 months ago)
- Topics: here, michael, vsauce
- Language: Python
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Zipf's Law
I saw [this](https://youtu.be/fCn8zs912OE) Vsauce video on Zipf's Law
and about five minutes in I was like "I need to test that" so naturally
I loaded up Zed and pulled the text corpus of Macbeth from shakespeare.mit.edu
to see if it held up.## Results
I ran the script on Macbeth and got the following results:

Curiously, it works out pretty well haha! xD