Trait rsmorphy::container::abc::Source[][src]

pub trait Source {
    fn score(&self) -> Score;
fn is_lemma(&self) -> bool;
fn is_known(&self) -> bool;
fn get_word(&self) -> Cow<str>;
fn get_normal_form(&self, morph: &MorphAnalyzer) -> Cow<str>;
fn get_tag<'m>(&self, morph: &'m MorphAnalyzer) -> &'m OpencorporaTagReg;
fn try_get_para_id(&self) -> Option<ParadigmId>;
fn write_word<W: Write>(&self, f: &mut W) -> Result;
fn write_normal_form<W: Write>(
        &self,
        f: &mut W,
        morph: &MorphAnalyzer
    ) -> Result;
fn get_lexeme(&self, morph: &MorphAnalyzer) -> Vec<Lex>;
fn get_lemma(&self, morph: &MorphAnalyzer) -> Lex; }

Required Methods

Important traits for Vec<u8>

Implementors