Struct rsmorphy::opencorpora::dictionary::Dictionary [] [src]

pub struct Dictionary {
    pub meta: HashMap<String, Value>,
    pub grammemes: HashMap<Grammeme, GrammemeReg>,
    pub grammeme_metas: HashMap<Grammeme, GrammemeMeta>,
    pub gramtab: Vec<OpencorporaTagReg>,
    pub suffixes: Vec<String>,
    pub paradigms: Vec<Vec<ParadigmEntry>>,
    pub words: WordsDawg,
    pub prediction_prefixes: Dawg,
    pub prediction_suffixes_dawgs: Vec<PredictionSuffixesDAWG>,
    pub paradigm_prefixes: Vec<String>,
    pub paradigm_prefixes_rev: Vec<(u16, String)>,
    pub prediction_splits: Vec<usize>,
    pub char_substitutes: BTreeMap<String, String>,
}

Open Corpora dictionary wrapper class.

Fields

Methods

impl Dictionary
[src]

Return tag as a string

Return a list of (prefix, tag, suffix) tuples representing the paradigm.

Return a tuple (prefix, tag, suffix) tuples representing the paradigm entry.

Return word stem (given a word, paradigm and the word index).

Build a normal form.

Write a normal form.

Trait Implementations

impl Debug for Dictionary
[src]

Formats the value using the given formatter.

impl Clone for Dictionary
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more