{"id":15676855,"url":"https://github.com/lingceng/bing_dictionary","last_synced_at":"2025-05-01T02:41:09.102Z","repository":{"id":24462865,"uuid":"27866126","full_name":"lingceng/bing_dictionary","owner":"lingceng","description":"Bing comand line dictionary","archived":false,"fork":false,"pushed_at":"2021-08-22T04:45:17.000Z","size":206,"stargazers_count":25,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-25T03:44:26.876Z","etag":null,"topics":["bing-dictionary","command-line","dictionary","ruby","vim"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/lingceng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-11T10:32:25.000Z","updated_at":"2023-01-20T11:40:09.000Z","dependencies_parsed_at":"2022-08-22T08:20:41.766Z","dependency_job_id":null,"html_url":"https://github.com/lingceng/bing_dictionary","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lingceng%2Fbing_dictionary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lingceng%2Fbing_dictionary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lingceng%2Fbing_dictionary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lingceng%2Fbing_dictionary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lingceng","download_url":"https://codeload.github.com/lingceng/bing_dictionary/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251207189,"owners_count":21552524,"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":["bing-dictionary","command-line","dictionary","ruby","vim"],"created_at":"2024-10-03T16:06:24.270Z","updated_at":"2025-05-01T02:41:09.056Z","avatar_url":"https://github.com/lingceng.png","language":"Ruby","readme":"# BingDictionary\n\nHere is a command line dictionary written with ruby that can\ntranslate English to Chinese or vice versa.\n\nIt uses http://cn.bing.com/dict/ to query.\n![DEMO ](./dict.png)\n\n## Installation\n\n    $ gem install bing_dictionary\n\n## Usage\nA `dict` runable bin file provided.\n\nDEMO：\n\n    $ dict cake\n    $ dict 蛋糕\n\n## Support long sentence\nNow long sentence is supported\n\n    $ dict 你好吗\n    $ dict How old are you\n\n## Support fuzzy query\n\n    $ dict hexxo\n\n    您要找的是不是\n\n    音近词\n    head coach总教练\n    hexose己醣\n    hexode六极管\n    ...\n\n## Support Chinese to English\n\n    $ dict 单片机\n    单片机\n\n    网络 MCU; Single Chip Microcomputer; Microcontroller\n\n    The monolithic integrated circuit occurs the explanation , did not understand may have a look !\n    单片机发生的讲解，不懂得可以看看！\n    ...\n\n## Local cache supported\nAll queried word default cached to ~/.bing_dictionary.db.\nSo it's much faster when you query the word again.\n\n[Here](https://github.com/first20hours/google-10000-english) have the most common English words.\nYou can cache them all with following script:\n\n    curl https://raw.githubusercontent.com/first20hours/google-10000-english/master/google-10000-english-no-swears.txt | while read line; do dict $line; done\n\n## More options\n\n    $ dict --help\n    Example: dict hello\n        -p, --[no-]pronounce             Pronounce the word\n        -c, --[no-]cache                 Use cache from ~/.bing_dictionary.db (Default on)\n        -j, --jump                       Jump to web page\n        -v, --version                    Show the version\n\n## Work with vim\nYou can make it work tegother with Vim with [bing_dictionary.vim](https://github.com/lingceng/bing_dictionary.vim)\n\n## Thanks\nHeavily borrowed from [Command-Line-Youdao-Dictionary](https://github.com/qhwa/Command-Line-Youdao-Dictionary)\n\n## Development\n\n    bundle exec ./bin/dict --no-cache hello\n\n    // Install gem in local\n    rake install\n    // Build new version\n    rake build\n    // Build new gem and publish to https://rubygems.org\n    rake release\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/lingceng/bing_dictionary. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flingceng%2Fbing_dictionary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flingceng%2Fbing_dictionary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flingceng%2Fbing_dictionary/lists"}