pub struct WordEntry {
pub frequency: u64,
pub pos_tags: Vec<String>,
}Expand description
A word entry from the lexicon: (frequency, part-of-speech tags).
Fields§
§frequency: u64Corpus frequency of this word form.
All POS tags observed for this word form (e.g. ["N", "AJ"]).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WordEntry
impl RefUnwindSafe for WordEntry
impl Send for WordEntry
impl Sync for WordEntry
impl Unpin for WordEntry
impl UnsafeUnpin for WordEntry
impl UnwindSafe for WordEntry
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