rsmorphy 0.4.0

Morphological analyzer / inflection engine for Russian and Ukrainian (soon) languages (WIP)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use container::Lex;
use container::Score;

#[derive(Debug, Clone, PartialEq)]
pub struct Parsed {
    pub lex: Lex,
    pub score: Score,
}

impl Parsed {
    pub fn new(lex: Lex, score: Score) -> Self {
        Parsed { lex, score }
    }
}

pub type ParseResult = Vec<Parsed>;