Struct rsmorphy::analyzer::morph::MorphAnalyzer
[−]
[src]
pub struct MorphAnalyzer { pub dict: Dictionary, pub prob_estimator: SingleTagProbabilityEstimator, pub units: Units, }
Fields
dict: Dictionary
prob_estimator: SingleTagProbabilityEstimator
units: Units
Methods
impl MorphAnalyzer
[src]
fn from_file<P>(p: P) -> Self where
P: AsRef<Path>,
P: AsRef<Path>,
fn parse(&self, word: &str) -> ParseResult
Analyze the word and return a list of :class:pymorphy2.analyzer.Parse
namedtuples:
Parse(word, tag, normal_form, para_id, idx, _score)
(or plain tuples if result_type=None
was used in constructor).
Trait Implementations
impl Debug for MorphAnalyzer
[src]
impl Clone for MorphAnalyzer
[src]
fn clone(&self) -> MorphAnalyzer
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more