Struct rsmorphy::analyzer::units::by_analogy::kp::KnownPrefixAnalyzer
[−]
[src]
pub struct KnownPrefixAnalyzer { /* fields omitted */ }
Parse the word by checking if it starts with a known prefix and parsing the reminder.
Example: псевдокошка -> (псевдо) + кошка.
Trait Implementations
impl Debug for KnownPrefixAnalyzer
[src]
impl Clone for KnownPrefixAnalyzer
[src]
fn clone(&self) -> KnownPrefixAnalyzer
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
impl Default for KnownPrefixAnalyzer
[src]
impl Analyzer for KnownPrefixAnalyzer
[src]
fn parse(
&self,
morph: &MorphAnalyzer,
result: &mut ParseResult,
word: &str,
word_lower: &str,
seen_parses: &mut SeenSet
)
&self,
morph: &MorphAnalyzer,
result: &mut ParseResult,
word: &str,
word_lower: &str,
seen_parses: &mut SeenSet
)