pub struct VerbEntry {
pub lemma: String,
pub class: String,
pub forms: HashMap<String, String>,
pub features: Vec<String>,
}Expand description
A verb entry from the lexicon database.
Fields§
§lemma: StringBase/infinitive form of the verb (e.g., “run”, “give”).
class: StringVendler Aktionsart class: “State”, “Activity”, “Accomplishment”, “Achievement”.
forms: HashMap<String, String>Irregular inflected forms: “past” → “ran”, “participle” → “run”.
features: Vec<String>Grammatical/semantic features: “Transitive”, “Ditransitive”, “Control”.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VerbEntry
impl<'de> Deserialize<'de> for VerbEntry
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<VerbEntry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<VerbEntry, <__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 VerbEntry
impl RefUnwindSafe for VerbEntry
impl Send for VerbEntry
impl Sync for VerbEntry
impl Unpin for VerbEntry
impl UnwindSafe for VerbEntry
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