pub struct LexiconData {
pub nouns: Vec<NounEntry>,
pub verbs: Vec<VerbEntry>,
pub adjectives: Vec<AdjectiveEntry>,
}Expand description
Deserialized lexicon data from lexicon.json.
Fields§
§nouns: Vec<NounEntry>All noun entries including proper nouns and common nouns.
verbs: Vec<VerbEntry>All verb entries with Vendler class and features.
adjectives: Vec<AdjectiveEntry>All adjective entries with gradability info.
Trait Implementations§
Source§impl Debug for LexiconData
impl Debug for LexiconData
Source§impl<'de> Deserialize<'de> for LexiconData
impl<'de> Deserialize<'de> for LexiconData
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LexiconData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LexiconData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LexiconData
impl RefUnwindSafe for LexiconData
impl Send for LexiconData
impl Sync for LexiconData
impl Unpin for LexiconData
impl UnwindSafe for LexiconData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more