pub struct UdTag<'d> { /* private fields */ }Expand description
Part of speech, features and labels of Universal Dependencies
Implementations§
Source§impl<'d> UdTag<'d>
impl<'d> UdTag<'d>
Sourcepub fn feats(self) -> impl ExactSizeIterator<Item = (&'d str, &'d str)>
pub fn feats(self) -> impl ExactSizeIterator<Item = (&'d str, &'d str)>
Features in the alphabetical order without regard to case, as in CoNLL-U: (“Gender”, “Fem”)
Sourcepub fn labels(self) -> impl ExactSizeIterator<Item = &'d str>
pub fn labels(self) -> impl ExactSizeIterator<Item = &'d str>
Labels of the dictionary that have no UD feature
Sourcepub fn feats_string(self) -> String
pub fn feats_string(self) -> String
Features in CoNLL-U notation: “Gender=Fem|Number=Sing”
Trait Implementations§
impl<'d> Copy for UdTag<'d>
impl Eq for UdTag<'_>
Auto Trait Implementations§
impl<'d> Forget for UdTag<'d>
impl<'d> Freeze for UdTag<'d>
impl<'d> RefUnwindSafe for UdTag<'d>
impl<'d> Send for UdTag<'d>
impl<'d> Sync for UdTag<'d>
impl<'d> Unpin for UdTag<'d>
impl<'d> UnsafeUnpin for UdTag<'d>
impl<'d> UnwindSafe for UdTag<'d>
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