All Projects → lingceng → bing_dictionary

lingceng / bing_dictionary

Licence: MIT license
Bing comand line dictionary

Programming Languages

ruby
36898 projects - #4 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to bing dictionary

Emojipedia
MacOS X Dictionary containing Emoji and their meanings
Stars: ✭ 220 (+780%)
Mutual labels:  dictionary
wikit
Wikit - A universal lookup tool
Stars: ✭ 149 (+496%)
Mutual labels:  dictionary
rimerc
rimerc: rimer's dictionary & config
Stars: ✭ 228 (+812%)
Mutual labels:  dictionary
Core
Elm's core libraries
Stars: ✭ 2,634 (+10436%)
Mutual labels:  dictionary
Turkce Yapay Zeka Terimleri
Çalışmalarınızda kullanabileceğiniz Türkçe Yapay Zeka Terimleri.
Stars: ✭ 248 (+892%)
Mutual labels:  dictionary
ssh brute force
Crack SSH Password using Dictionary and Brute Force Method
Stars: ✭ 51 (+104%)
Mutual labels:  dictionary
Fairydict
FairyDict, a dictionary, a chrome extension
Stars: ✭ 206 (+724%)
Mutual labels:  dictionary
jyut-dict
A free, open-source, offline Cantonese Dictionary for Windows, Mac, and Linux. Qt, SQLite. C++ and Python.
Stars: ✭ 67 (+168%)
Mutual labels:  dictionary
wordhoard
This Python module can be used to obtain antonyms, synonyms, hypernyms, hyponyms, homophones and definitions.
Stars: ✭ 78 (+212%)
Mutual labels:  dictionary
ZXDataHandle
简单易用的数据转换和存储框架,支持一行代码将模型、模型数组、Json字符串、字典互转;支持模型映射到sqlite3数据库,无需书写sql
Stars: ✭ 13 (-48%)
Mutual labels:  dictionary
Collectable
High-performance immutable data structures for modern JavaScript and TypeScript applications. Functional interfaces, deep/composite operations API, mixed mutability API, TypeScript definitions, ES2015 module exports.
Stars: ✭ 233 (+832%)
Mutual labels:  dictionary
Nonblocking
Implementation of a lock-free dictionary on .Net.
Stars: ✭ 237 (+848%)
Mutual labels:  dictionary
jmdict-simplified
JMdict, JMnedict, Kanjidic, KRADFILE/RADKFILE in JSON format
Stars: ✭ 96 (+284%)
Mutual labels:  dictionary
Vocabs
📚 A lightweight online dictionary integration to the command line. No browsers. No paperbacks.
Stars: ✭ 226 (+804%)
Mutual labels:  dictionary
PlainDictionaryAPP
无限词典. An android e-dictionary application mainly parsing mdx / dsl.dz files via mdict-java
Stars: ✭ 71 (+184%)
Mutual labels:  dictionary
Python Benedict
dict subclass with keylist/keypath support, I/O shortcuts (base64, csv, json, pickle, plist, query-string, toml, xml, yaml) and many utilities. 📘
Stars: ✭ 204 (+716%)
Mutual labels:  dictionary
mmappickle
Python 3 library to store memory mappable objects into pickle-compatible files
Stars: ✭ 34 (+36%)
Mutual labels:  dictionary
korean-dict-nikl
국립국어원 사전 / FOSS Korean dictionary by National Institute of Korean Language
Stars: ✭ 71 (+184%)
Mutual labels:  dictionary
Dictionary
A dictionary data type with a fast b-tree based search
Stars: ✭ 39 (+56%)
Mutual labels:  dictionary
xcdat
Fast compressed trie dictionary library
Stars: ✭ 51 (+104%)
Mutual labels:  dictionary

BingDictionary

Here is a command line dictionary written with ruby that can translate English to Chinese or vice versa.

It uses http://cn.bing.com/dict/ to query. DEMO

Installation

$ gem install bing_dictionary

Usage

A dict runable bin file provided.

DEMO:

$ dict cake
$ dict 蛋糕

Support long sentence

Now long sentence is supported

$ dict 你好吗
$ dict How old are you

Support fuzzy query

$ dict hexxo

您要找的是不是

音近词
head coach总教练
hexose己醣
hexode六极管
...

Support Chinese to English

$ dict 单片机
单片机

网络 MCU; Single Chip Microcomputer; Microcontroller

The monolithic integrated circuit occurs the explanation , did not understand may have a look !
单片机发生的讲解,不懂得可以看看!
...

Local cache supported

All queried word default cached to ~/.bing_dictionary.db. So it's much faster when you query the word again.

Here have the most common English words. You can cache them all with following script:

curl https://raw.githubusercontent.com/first20hours/google-10000-english/master/google-10000-english-no-swears.txt | while read line; do dict $line; done

More options

$ dict --help
Example: dict hello
    -p, --[no-]pronounce             Pronounce the word
    -c, --[no-]cache                 Use cache from ~/.bing_dictionary.db (Default on)
    -j, --jump                       Jump to web page
    -v, --version                    Show the version

Work with vim

You can make it work tegother with Vim with bing_dictionary.vim

Thanks

Heavily borrowed from Command-Line-Youdao-Dictionary

Development

bundle exec ./bin/dict --no-cache hello

// Install gem in local
rake install
// Build new version
rake build
// Build new gem and publish to https://rubygems.org
rake release

Contributing

Bug 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 code of conduct.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].