TimothyYe / Ydict
Licence: mit
Yet another command-line youdao dictionary for geeks!
Stars: ✭ 318
Programming Languages
go
31211 projects - #10 most used programming language
Projects that are alternatives of or similar to Ydict
Dict
Chinese and English translation tools in the command line(命令行下中英文翻译工具)
Stars: ✭ 243 (-23.58%)
Mutual labels: dict, translate, youdao
Chrome Extensions Youdaowithwordnode
有道词典chrome划词插件,原版不带生词本,在其源码基础上,添加了添加生词本的功能,生词本用的有道官方API
Stars: ✭ 74 (-76.73%)
Mutual labels: dict, translate, youdao
kictor
A dictionary based on the console, 一个基于控制台的词典工具
Stars: ✭ 15 (-95.28%)
Mutual labels: dictionary, translate, youdao
Scalpl
A lightweight wrapper to operate on nested dictionaries seamlessly. 👌
Stars: ✭ 153 (-51.89%)
Mutual labels: dictionary, dict
Copytranslator
Foreign language reading and translation assistant based on copy and translate.
Stars: ✭ 12,787 (+3921.07%)
Mutual labels: dictionary, translate
Translators
🌏🌍🌎Translators🌎🌍🌏 is a library which aims to bring free, multiple, enjoyable translation to individuals and students in Python. Translators是一个旨在用Python为个人和学生带来免费、多样、愉快翻译的库。
Stars: ✭ 295 (-7.23%)
Mutual labels: translate, youdao
AlfredWorkflow YoudaoTranslate
alfred workflow,有道翻译
Stars: ✭ 20 (-93.71%)
Mutual labels: translate, youdao
Dynamictranslator
Instant translation application for windows in .NET 🎪
Stars: ✭ 131 (-58.81%)
Mutual labels: dictionary, translate
Saladict Desktop
✨✨桌面划词与翻译工具,聚合了 N 多词典,功能强大,支持 Windows 、 Mac 和 Linux。
Stars: ✭ 187 (-41.19%)
Mutual labels: dictionary, translate
MrTranslator
📘MrTranslator-A Translation Android APP
Stars: ✭ 16 (-94.97%)
Mutual labels: translate, youdao
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 (-35.85%)
Mutual labels: dictionary, dict
gdict
A command line dictionary written in golang powered by multi engines.
Stars: ✭ 21 (-93.4%)
Mutual labels: dictionary, youdao
██╗ ██╗██████╗ ██╗ ██████╗████████╗
╚██╗ ██╔╝██╔══██╗██║██╔════╝╚══██╔══╝
╚████╔╝ ██║ ██║██║██║ ██║
╚██╔╝ ██║ ██║██║██║ ██║
██║ ██████╔╝██║╚██████╗ ██║
╚═╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═╝
Ydict, another command-line youdao dictionary for geeks!
(中文介绍文档)
Features
- Chinese -> English
- English -> Chinese
- Show hints if word is not found
- Speech
- Show example sentences
- Vim support
Installation
Homebrew
brew tap timothyye/tap
brew install timothyye/tap/ydict
Using Go
go get github.com/TimothyYe/ydict
Manual Installation
Download it from releases, and extract it to /usr/bin.
Integrate with Vim
To query words from Vim, you need another Vim plugin: vim-ydict
Speech
Starting from V0.9, speech feature is available. You need to install mpg123 to enable this feature.
Windows x64
Speech Adaptation by ycrao under
Windows
OS.
- Just copy
bass.dll
andmpg123.exe
(can also withydict.exe
) file toWindows
system path (such asC:\Windows\
orC:\Windows\System32
) . - Or copy
bass.dll
andmpg123.exe
(can also withydict.exe
) file to somewhere in the same directory, and setting that directory inPATH
System Environment Variables .
Mac OS
brew install mpg123
Ubuntu
sudo apt-get install mpg123
CentOS
yum install -y mpg123
Usage
ydict [flags]
Flags:
-c, --cache Query with local cache, and save the query word(s) into the cache.
-d, --delete Remove word(s) from the cache.
-h, --help help for ydict
-l, --list List all the words from the local cache.
-m, --more Query with more example sentences.
-p, --play int Scan and display all the words in local cache.
-q, --quiet Query with quiet mode, don't show spinner.
-r, --reset Clear all the words from the local cache.
-s, --sentence Translation of sentences.
-v, --voice int Query with voice speech, the default voice play count is 0.
- Query
ydict <word(s) to query>
- Query with speech
ydict -v 1 <word(s) to query>
- Query and show more example sentences
ydict -m <word(s) to query>
- Query and add this word into local cache, next time when you query the same word, it will be feched from the local cache and be much more faster.
ydict -c <word(s) to query>
- Query sentence
ydict -s "你觉得咋样?"
SOCKS5 proxy
Starting from V0.5, you can use SOCKS5 proxy. At the same directory of ydict, just create a .env
file:
SOCKS5=127.0.0.1:7070
Now all the queries will go through the specified SOCKS5 proxy.
New words notebook
Starting from ydict V2.0, new words notebook is supported. You can use is to add/delete your new words and play it.
- Add a new word to the notebook
ydict -c hello
- Remove a word from the notebook
ydict -d hello
- List all the words from the notebook
ydict -l
- Display a random word from the notebook for every 10 seconds
ydict -p 10
Help
Just type "ydict" to get help.
Licence
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].