{"id":27262940,"url":"https://github.com/xingjian-zhang/cmdictionary","last_synced_at":"2025-04-11T05:58:22.045Z","repository":{"id":52171296,"uuid":"349752622","full_name":"xingjian-zhang/CMDictionary","owner":"xingjian-zhang","description":"A light, pure and convenient command-line dictionary that helps you focus on memorizing words.","archived":false,"fork":false,"pushed_at":"2021-08-18T14:37:08.000Z","size":496,"stargazers_count":15,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T05:58:17.879Z","etag":null,"topics":["cli","demo","dictionary","emojis","python","terminal","terminal-app"],"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/xingjian-zhang.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":"2021-03-20T14:48:06.000Z","updated_at":"2022-10-12T09:23:02.000Z","dependencies_parsed_at":"2022-08-23T21:30:45.338Z","dependency_job_id":null,"html_url":"https://github.com/xingjian-zhang/CMDictionary","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xingjian-zhang%2FCMDictionary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xingjian-zhang%2FCMDictionary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xingjian-zhang%2FCMDictionary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xingjian-zhang%2FCMDictionary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xingjian-zhang","download_url":"https://codeload.github.com/xingjian-zhang/CMDictionary/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248351388,"owners_count":21089271,"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":["cli","demo","dictionary","emojis","python","terminal","terminal-app"],"created_at":"2025-04-11T05:58:21.511Z","updated_at":"2025-04-11T05:58:22.033Z","avatar_url":"https://github.com/xingjian-zhang.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CMDictionary\n\nA **light**, **pure** and **convenient** commandline dictionary that helps you focus on memorizing words.\n\n## Features\n\n### Detailed Help Information\n![demo_help](asset/demo_help.jpg)\n\n### Detailed Explanations and Examples\n![demo_query](asset/demo_query.jpg)\n\n### Track Your Recently-Memorized Words\n![demo_list](asset/demo_list.jpg)\n\n### Auto-Completion (Experiment)\n![demo_auto](asset/demo_auto.jpg)\n**Note**: The suggestions are ranked by word frequencies. Unfortunately, windows system is not compatible with python `tab` completion. See details [here](https://stackoverflow.com/questions/1081405/python-tab-completion-in-windows).\n\n## Note\n\n1. You may need to use [Windows Terminal](https://github.com/microsoft/terminal) to see the emojis.\n2. You need internet connection to get the meanings of words at the first time.\n\n## OS\n1. Linux\n2. Windows\n3. MacOS\n## Install\n\n```\npython setup.py install\n```\n\n**Note**: Do **NOT** use `pip install cmdict` because there is a package called `cmdict` written by others in the pip repo. By doing this you will download the wrong package. I am still looking for workaround for this.\n\n## Run\n\n```\npython -m cmdict\n```\n\n## Customize Your Vocab List\nJust replace `cmdict/data/words.txt` with your own vocab list. The default one is [derekchuank/high-frequency-vocabulary](https://github.com/derekchuank/high-frequency-vocabulary/blob/master/20k.txt)\n\n## TODO List\n- [x] Add cache to reduce requests.\n- [ ] Add args to toggle emoji output.\n- [x] Add vocabulary auto-completion support.\n- [x] Release python module.\n- [ ] Give a prompt to enforce saving OOV words. e.g. `xxxxx seems not an English word. Do you want to save xxxxx ? y/[n]`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxingjian-zhang%2Fcmdictionary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxingjian-zhang%2Fcmdictionary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxingjian-zhang%2Fcmdictionary/lists"}