Skip to content

基于有道词典API, 用php实现的命令行翻译工具

Notifications You must be signed in to change notification settings

sursir/dic-in-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

dic-in-php

基于有道词典API, 用php实现的命令行翻译工具

用法比较简单:

dic.php [--help | -h] 查看使用方法 一个demo

demo:

dic.php apple

result:

word: apple

phonetic:
uk: 'æp(ə)l
us: 'æpl

translation: 苹果

explains:
============

n. 苹果,苹果树,苹果似的东西;[美俚]炸弹,手榴弹,(棒球的)球;[美俚]人,家伙。

internet trans:
============

APPLE: 苹果,苹果公司,苹果汁
Apple Store: 苹果商店,苹果零售店,苹果店
Apple green: 苹果绿,苹果绿色,果绿

About

基于有道词典API, 用php实现的命令行翻译工具

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published