{"id":22012447,"url":"https://github.com/nikitaeverywhere/edu-texts-analyzer","last_synced_at":"2025-03-23T08:16:14.068Z","repository":{"id":69125134,"uuid":"103970247","full_name":"nikitaeverywhere/edu-texts-analyzer","owner":"nikitaeverywhere","description":"Analyzes texts for compliance with the second Zipf's and Heaps law.","archived":false,"fork":false,"pushed_at":"2017-09-19T08:20:14.000Z","size":4543,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T14:48:39.649Z","etag":null,"topics":["analysis","education","heaps","law","statistical-analysis","statistics","text","zipf"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nikitaeverywhere.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-18T17:29:44.000Z","updated_at":"2024-03-01T00:36:59.000Z","dependencies_parsed_at":"2023-05-13T03:00:44.740Z","dependency_job_id":null,"html_url":"https://github.com/nikitaeverywhere/edu-texts-analyzer","commit_stats":null,"previous_names":["nikitaeverywhere/edu-texts-analyzer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikitaeverywhere%2Fedu-texts-analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikitaeverywhere%2Fedu-texts-analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikitaeverywhere%2Fedu-texts-analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikitaeverywhere%2Fedu-texts-analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikitaeverywhere","download_url":"https://codeload.github.com/nikitaeverywhere/edu-texts-analyzer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245072266,"owners_count":20556353,"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":["analysis","education","heaps","law","statistical-analysis","statistics","text","zipf"],"created_at":"2024-11-30T03:12:53.194Z","updated_at":"2025-03-23T08:16:14.039Z","avatar_url":"https://github.com/nikitaeverywhere.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Texts Statistical Analysis\n\nAnalyzes texts for compliance with the Zipf's second law and Heaps' law.\n\nPrerequisites\n-------------\n\nHaving Python 3 installed, clone the project and install its dependencies:\n\n```bash\ngit clone git@github.com:ZitRos/edu-texts-analyzer.git\ncd edu-texts-analyzer\npip3 install -r requirements.txt\n```\n\nTexts for analysis are taken from `texts` directory.\nEvery file in this directory and its subdirectories will be treated as a text file.\nThere are already some articles, but you may place your own.\n\nZipf's Law\n----------\n\nHaving Python 3 installed, install dependencies and run the program: \n\n```bash\npy index.py\n```\n\nIt will generate `Zipf.xlsx` file with word ranks/frequencies data.\n\n![Zipf's Law](https://user-images.githubusercontent.com/4989256/30581003-a1c5072e-9cec-11e7-90da-6376ddd9198d.png)\n\nHeaps' Law\n-----------\n\nOutput will go to `Heaps.xlsx` file.\n\n![Heaps Law](https://user-images.githubusercontent.com/4989256/30581002-a1a844f4-9cec-11e7-8470-6a13a006d92e.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikitaeverywhere%2Fedu-texts-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikitaeverywhere%2Fedu-texts-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikitaeverywhere%2Fedu-texts-analyzer/lists"}