[][src]Trait lumberjack::AnnotatePOS

pub trait AnnotatePOS {
    fn annotate_pos<S>(
        &mut self,
        pos_iter: impl IntoIterator<Item = S>
    ) -> Result<(), Error>
    where
        S: Into<String>
; }

Trait to annotate Part of Speech tags.

Returns:

  • Error if length of self and pos_iter don't match.
  • Ok otherwise.

Required methods

fn annotate_pos<S>(
    &mut self,
    pos_iter: impl IntoIterator<Item = S>
) -> Result<(), Error> where
    S: Into<String>, 

Loading content...

Implementors

impl AnnotatePOS for Tree[src]

Loading content...