{"id":24360425,"url":"https://github.com/dms-codes/letters_counter","last_synced_at":"2025-03-12T08:27:20.186Z","repository":{"id":169618391,"uuid":"540505197","full_name":"dms-codes/letters_counter","owner":"dms-codes","description":"Letter Frequency Analyzer This Python script analyzes the frequency of letters in a given text and returns the top three most frequently occurring letters.","archived":false,"fork":false,"pushed_at":"2023-10-01T10:22:25.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-18T21:20:05.437Z","etag":null,"topics":["frequency","letter","python"],"latest_commit_sha":null,"homepage":"https://github.com/dms-codes/letters_counter","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/dms-codes.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}},"created_at":"2022-09-23T15:30:28.000Z","updated_at":"2023-10-01T10:22:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"4b48a8c5-1344-4bf0-a344-a3fdff85eac3","html_url":"https://github.com/dms-codes/letters_counter","commit_stats":null,"previous_names":["dms-codes/letters_counter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dms-codes%2Fletters_counter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dms-codes%2Fletters_counter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dms-codes%2Fletters_counter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dms-codes%2Fletters_counter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dms-codes","download_url":"https://codeload.github.com/dms-codes/letters_counter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243182893,"owners_count":20249708,"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":["frequency","letter","python"],"created_at":"2025-01-18T21:19:51.247Z","updated_at":"2025-03-12T08:27:20.153Z","avatar_url":"https://github.com/dms-codes.png","language":"Python","readme":"# Letter Frequency Analyzer\n\nThis Python script analyzes the frequency of letters in a given text and returns the top three most frequently occurring letters.\n\n## Usage\n\n1. Replace the `words` variable with the text you want to analyze.\n\n   ```python\n   words = \"The little red fox jumped over a fence and bit a python\"\n   ```\n\n2. Run the script.\n\n3. The script will process the text and create a dictionary (`res`) to store the frequency of each letter (case-insensitive).\n\n4. It then sorts the dictionary items by frequency in descending order and returns the top three most frequently occurring letters along with their frequencies.\n\n5. The result will be displayed in the console.\n\n6. You can adjust the input text in the `words` variable to analyze the letter frequency of different texts.\n\n## Example\n\nFor the given input text:\n```\nThe little red fox jumped over a fence and bit a python\n```\n\nThe script will output the top three most frequently occurring letters and their frequencies:\n```\n[('e', 7), ('t', 5), ('o', 4)]\n```\n\n## License\n\nThis script is provided under the [MIT License](LICENSE).\n```\n\nYou can customize the script and README.md file as needed, and use it to analyze the letter frequency of different texts.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdms-codes%2Fletters_counter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdms-codes%2Fletters_counter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdms-codes%2Fletters_counter/lists"}