将单词翻译成荷兰语或从荷兰语翻译出来
Kees的Python项目详细描述
#基斯
kees查找荷兰语单词的翻译或同义词,并将它们传递到您的命令行。它目前使用[mijnwoordenboek.nl](http://www.mijnwoordenboek.nl),但以后可能会添加其他源代码。
##安装
安装时使用:
pip install kees
##用法
usage: kees [-h] [-f FROM] [-t TO] [-a] [WORD [WORD …]]
translate words to or from Dutch
- positional arguments:
- WORD word to be translated
- optional arguments:
-h, --help show this help message and exit -f FROM, --from FROM available languages: NL, EN, DE, FR, SP (default: NL) -t TO, --to TO available languages: NL, EN, DE, FR, SP (default: EN) -a, --all return all translations (default 1)
##要求
安装时使用:
$ pip install BeautifulSoup4
还有(惊喜!):
$ pip install lxml
##可靠性
Kees的结果可能会有所不同。有时你会得到你所需要的:
$ kees hond canine
其他时间,不要太多:
$ kees hond dickhead
这只是意味着:
$ kees hond dickhead
$ kees hond dickhead
$ kees hond shit
认真的:
$ kees hond dog
$ kees hond shit
Kees在多种语言中可能不友好:
$ kees hond -t fr salop
这就是生活。使用风险自负。