Struct wordshk_tools::Entry [−][src]
pub struct Entry {
pub id: usize,
pub variants: Vec<Variant>,
pub poses: Vec<String>,
pub labels: Vec<String>,
pub sims: Vec<String>,
pub ants: Vec<String>,
pub refs: Vec<String>,
pub imgs: Vec<String>,
pub defs: Vec<Def>,
}Expand description
An entry contains some information about a word.
[id] the word’s unique identifier used by words.hk: 116878
[variants] variants of the word: 㗎:gaa3,咖:gaa3,𡃉:gaa3
[pos] grammaticall positions of the word: 動詞, 名詞, 形容詞
[labels] labels on the word: 術語, 俚語, 專名
[sims] synonyms of the word: 武士 is a synonym of 騎士
[ants] antonyms of the word: 放電 is an antonym of 充電
[refs] urls to references for this entry: http://dictionary.reference.com/browse/tart?s=t
[imgs] urls to images for this entry: https://upload.wikimedia.org/wikipedia/commons/7/79/Naihuangbao.jpg
[defs] a list of definitions for this word
Fields
id: usizevariants: Vec<Variant>poses: Vec<String>labels: Vec<String>sims: Vec<String>ants: Vec<String>refs: Vec<String>imgs: Vec<String>defs: Vec<Def>