Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 945 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 945 Bytes

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 compilation of the 1/3 million most frequent English words.

I added dictionary explanation(resources from youdao) for every word in the list.

Generate the translated list by yourself

  1. Register on youdao, 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'
  1. (Optional) Modify the function, processDataCb, to get whatever you want from youdao's response. (The phonetic and explains fields are selected by default)

  2. Run:

  cat 30k.txt | node index.js | tee result.txt

Enjoy!