ik-rs 0.2.0

chinese segment, ik-analyzer for rust
Documentation
1
2
3
4
5
6
use crate::core::lexeme::Lexeme;

pub trait Segmenter {
    fn analyze(&mut self, input: &str) -> Vec<Lexeme>;
    fn name(&self) -> &str;
}