Struct rsmorphy::analyzer::units::by_hyphen::hsp::HyphenSeparatedParticleAnalyzer
[−]
[src]
pub struct HyphenSeparatedParticleAnalyzer {}
Parse the word by analyzing it without a particle after a hyphen.
Example: смотри-ка -> смотри + "-ка".
.. note::
This analyzer doesn't remove particles from the result so for normalization you may need to handle particles at tokenization level.
Trait Implementations
impl Default for HyphenSeparatedParticleAnalyzer
[src]
fn default() -> HyphenSeparatedParticleAnalyzer
Returns the "default value" for a type. Read more
impl Debug for HyphenSeparatedParticleAnalyzer
[src]
impl Clone for HyphenSeparatedParticleAnalyzer
[src]
fn clone(&self) -> HyphenSeparatedParticleAnalyzer
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 Analyzer for HyphenSeparatedParticleAnalyzer
[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
)