Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arstgit/high-frequency-vocabulary
30,000 most common English words with Chinese dictionary explanations in order of frequency.
https://github.com/arstgit/high-frequency-vocabulary
chinese-translation vocabulary
Last synced: about 10 hours ago
JSON representation
30,000 most common English words with Chinese dictionary explanations in order of frequency.
- Host: GitHub
- URL: https://github.com/arstgit/high-frequency-vocabulary
- Owner: arstgit
- License: mit
- Created: 2018-10-22T07:53:51.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-07T09:06:35.000Z (almost 5 years ago)
- Last Synced: 2023-11-07T19:06:45.968Z (about 1 year ago)
- Topics: chinese-translation, vocabulary
- Language: JavaScript
- Homepage:
- Size: 1.49 MB
- Stars: 138
- Watchers: 1
- Forks: 58
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
About This Repo
===============This repo contains a list of the 30,000 most common English words in order of frequency, derived from [Peter Norvig's](http://norvig.com/ngrams/) compilation of the [1/3 million most frequent English words](http://norvig.com/ngrams/count_1w.txt).
I added **dictionary explanation**(resources from [youdao](http://ai.youdao.com/docs/doc-trans-api.s#p01)) for every word in the list.
Generate the translated list by yourself
-----1. Register on [youdao](http://ai.youdao.com/product-fanyi.s), then apply for a appKey and secret.
2. Modify the value of appKey and secret variables in the index.js:
```
const appKey = 'example-Key'
const secret = 'example-secret'
```3. (Optional) Modify the function, processDataCb, to get whatever you want from youdao's response. (The `phonetic` and `explains` fields are selected by default)
4. Run:
```
cat 30k.txt | node index.js | tee result.txt
```Enjoy!