Skip to content

This is a batch translator from English to Chinese. For English learners from China. No longer need to search for meanings one by one. 英语单词批量翻译机,适用于中国的英语学习者,不用再一个一个地查找意思了。

Notifications You must be signed in to change notification settings

Lsccccc/VocabTranslator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

VocabTranslator

Description 介绍

  • English words to Chinese meanings.
  • Including different parts of speech, meanings and forms.
  • Batch translating.
  • Based on dict.youdao.com.

  • 英语生词自动翻译机
  • 多种词性、意思和不同形式
  • 批量翻译
  • 基于有道词典(dict.youdao.com

Requirements 需要的库

  • urllib
  • lxml

Instructions 使用说明

  1. Enter vocab in file: vocab.txt. Single word (or phrase) in one line.
  2. Run translator.py and wait.
  3. Result will be shown in: result.txt.
  4. To translate new words, clear vocab.txt and enter new ones.

  1. 在文件:vocab.txt 里输入生词。 每行限一个词或短语。
  2. 运行 translator.py 并等待。
  3. 结果显示在文件: result.txt 里。
  4. 如果要翻译新的词语,请清空 vocab.txt 再输入新的词语。

Exceptions 问题处理

  • If entering words that do not exist, its meaning will be empty.

  • 如果输入不存在的词,该词的解释将为空。

About

This is a batch translator from English to Chinese. For English learners from China. No longer need to search for meanings one by one. 英语单词批量翻译机,适用于中国的英语学习者,不用再一个一个地查找意思了。

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages