To translate multiple English words to Chinese at same time
Currently have a small search bar, which I tried to enlarge but failed due to the complexity of Tkinker (is there a spelling mistake?) module.
There are some requirements: python3, bs4, and Tkinter.
I have been tranforming it to multi-versional, but you know, still working on that.
Using this program:
There are two general ways:
First one:
Click UI.py, and in theory, it will pop a small UI window where you can type words into, separated by spaces. When you finish typing, hit Enter, the search will begin. Just hold a while and you will see a window pop up telling all your translations. But this cannot be copied, therefore if you want to copy this, you will have to go the the "translated" file, and you will find what you just translated, but there might be small lags.
Second:
python3 vocabulary_processor
Then what happens I forget, but it should be intuitive :)
Example output:
-
whilst:['conj. 同时;时时,有时;当…的时候']
-
stumpy:['adj. 多残株的;粗短的', 'n. 矮胖者']
-
fence:['n. 栅栏;围墙;剑术', 'vt. 防护;用篱笆围住;练习剑术', 'vi. 击剑;搪塞;围以栅栏;跳过栅栏']
-
posts:['n. [劳经] 岗位;帖子;邮件(post的复数);[测] 标杆', 'v. 公告(post的三单形式);布置;邮寄']
-
wilderness:['n. 荒地;大量,茫茫一片']
-
growling:['adj. 咆哮的;隆隆响的', 'v. 咆哮(growl的ing形式);怒吠']
This is to save the trouble of coping words and the translation over and over.