Nothing to do, play python ...
is to use Youdao translation, and then crawl the Web page.
Import Re, urllib url= "http://dict.youdao.com/search?le=eng&q=" Print ("Input Q to Exit") while 1:word = Raw_input ("& Gt;>> ") If word==" Q ": Exit () Else:word = Word.replace (', ' + ') URL + + Word url =" &tab=chn&keyfrom=dict.t " Op "s = Urllib.urlopen (URL). Read () comm1 = Re.compile ('; </td><td class= ' attributem1web ' >.*?</td> ') Result=comm1.findall (s) comm2 = Re.compile (R ' <td class= "dttitle2" ><font color= "#013694" ><b>.*? <//b><//font><//td> ') Related = Comm2.findall (s) #find the result if result:print ' meaning: ' to I in R Esult:temp = I.decode (' UTF8 '). Encode (' cp936 ') temp = temp[33:] temp = temp[:-5] Print temp print ' n ' #fine the matters I F related:print ' Related: ' for i in related:temp = I.decode (' UTF8 '). Encode (' cp936 ') temp = temp[46:] temp = temp[:-16] P Rint temp print '/n ' else:print ' no such word! '