Struct alpino_tokenizer::FiniteStateTokenizer
source · pub struct FiniteStateTokenizer { /* private fields */ }
Expand description
Finite state tokenizer and sentence splitter.
This type implements a tokenizer based on a finite-state transducer. In principle, it should work with any tokenizing transducer built with the FSA utilities.
If Alpino’s transducer is used for tokenization, it is strongly recommended
to use the AlpinoTokenizer
data type. AlpinoTokenizer
applies pre- and
post-processing steps that are expected by Alpino’s transducer.
Implementations§
source§impl FiniteStateTokenizer
impl FiniteStateTokenizer
pub fn from_buf_read<R>(read: R) -> Result<Self, TokenizerError>where
R: BufRead,
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for FiniteStateTokenizer
impl Send for FiniteStateTokenizer
impl Sync for FiniteStateTokenizer
impl Unpin for FiniteStateTokenizer
impl UnwindSafe for FiniteStateTokenizer
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