Skip to content

cfrco/python-cydict

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python-CatYahooDict

A little tool for using yahoo dictionary in CLI. Include a easy-using CLI tool and a API.

Dependence

Usage

$ 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.

Example

$ python dict.py cat
$ python dict.py attend
$ python dict.py "attend to"

About API (yahdict.py)

Field

  • 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

Useful Function

  • YahooDictAPI(word,[space2add=True,url_prefix=[default]])
  • YahooDictAPI.found()
  • YahooDictAPI.autocorrect()

others please read code or help(yahdict)

About

a little tool for using yahoo dictionary in CLI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages