A little tool for using yahoo dictionary in CLI. Include a easy-using CLI tool and a API.
- Python 2.7+
- BeautifulSoup 4.0.5+
$ python dict.py {word} {word} ... $ ./dict.py {word} {word} .. # @word : a word you want to search # # [!] please use `"` when the word contains space(` `) # like "attend to" $ ./dict.py -v {word} {word} ... # [!] show all information.
$ python dict.py cat $ python dict.py attend $ python dict.py "attend to"
- YahooDictAPI.summary
- YahooDictAPI.summary_word
- YahooDictAPI.summary_desc
- YahooDictAPI.summary_pron
- YahooDictAPI.summary_related
- YahooDictAPI.summary_synonym
- YahooDictAPI.summary_antonym
- YahooDictAPI.summary_variation
- YahooDictAPI.defition
- YahooDictAPI(word,[space2add=True,url_prefix=[default]])
- YahooDictAPI.found()
- YahooDictAPI.autocorrect()
others please read code or help(yahdict)