Crate daumdic

source ·
Expand description

A Rust library that searches for words (Korean, English, Japanese, Chinese, …) in the Daum dictionary and returns their meanings and pronunciations.

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

Structs§

  • A type that contains the search results for words and alternative search terms returned by the search function.
  • A type that contains the meaning, pronunciation, and language of each word returned by the search function.

Enums§

Functions§