[][src]Crate daumdic

daumdic

Find word (Korean, English, Japanese, Chinese, ...) in Daum Dictionary and returns its meaning and pronuciation.

Examples

let res_future = daumdic::search("독수리");
let res = &rt.block_on(res_future).unwrap().words[0];
assert_eq!(res.word, "독수리");
assert_eq!(res.lang, daumdic::Lang::Korean);
println!("{:?} {}", res.pronounce, res.meaning.join(", "));

Modules

errors

Errors for daumdic crate using failure

Structs

Search

Output of search function.

Word

Result of search function

Enums

Lang

Type of word language

Functions

search

The main function.