https://github.com/landerlyoung/dictinoary_node.js
youdao dictionary wrapped in Node.js
https://github.com/landerlyoung/dictinoary_node.js
Last synced: 4 days ago
JSON representation
youdao dictionary wrapped in Node.js
- Host: GitHub
- URL: https://github.com/landerlyoung/dictinoary_node.js
- Owner: LanderlYoung
- License: bsd-3-clause
- Created: 2014-01-05T14:21:37.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-05-12T13:51:11.000Z (over 11 years ago)
- Last Synced: 2025-01-28T21:46:40.390Z (8 months ago)
- Language: JavaScript
- Size: 375 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Dictinoary\_Node.js
==================
youdao dictionary wrapped in Node.jsYoudao dictionary is a good online dictionary.After learn something about awesome Node.js, I'd like use Node.js as a native javascript translator. So, I came up whith the idea that write a javascript script whose job is send query request to [dict.youdao.com](http://dict.youdao.com) and show result in terminal, to be more awesome, make it be able to pronounce!
###INSTALL
to install this tool, just simply move dict.js and pnc.js into some directory, and create a executable soft link of dict.js. At last, at the same times , the most important step, change the pnc\_js\_Path variable of dict.js to the absolute path of pnc.js.this is the test branch.
testing different kind of Node.js API, and some other things.###dependence:
#### [must]
node.js module `xmlreader` which could be installed (and already installed in current directory) by `npm install xmlreader`.#### [alternative]
**in order to be able to prounounce, the following software is required.**sox music player, which could be installed by `sudo apt-get install sox libsox-fmt-all` or `sudo yum install sox libsox-fmt-all`.
for more details, please visit my [blog](http://landerlyoung.github.io/)