[][src]Struct sticker_utils::SentProcessor

pub struct SentProcessor<'a, W> where
    W: WriteSentence
{ /* fields omitted */ }

Methods

impl<'a, W> SentProcessor<'a, W> where
    W: WriteSentence
[src]

pub fn new(
    tagger: &'a TaggerWrapper,
    writer: W,
    batch_size: usize,
    read_ahead: usize
) -> Self
[src]

pub fn process(&mut self, sent: Sentence) -> Result<(), Error>[src]

Trait Implementations

impl<'a, W> Drop for SentProcessor<'a, W> where
    W: WriteSentence
[src]

Auto Trait Implementations

impl<'a, W> Sync for SentProcessor<'a, W> where
    W: Sync

impl<'a, W> Send for SentProcessor<'a, W> where
    W: Send

impl<'a, W> Unpin for SentProcessor<'a, W> where
    W: Unpin

impl<'a, W> !RefUnwindSafe for SentProcessor<'a, W>

impl<'a, W> !UnwindSafe for SentProcessor<'a, W>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]