Struct rsmorphy::container::lex::Lex [−][src]
pub struct Lex { pub stack: StackParticle, }
Fields
stack: StackParticle
Methods
impl Lex
[src]
impl Lex
pub fn from_id<S>(_morph: &MorphAnalyzer, id: S) -> Result<Self, DecodeError> where
S: AsRef<str>,
[src]
pub fn from_id<S>(_morph: &MorphAnalyzer, id: S) -> Result<Self, DecodeError> where
S: AsRef<str>,
pub fn from_stack<S>(_morph: &MorphAnalyzer, stack: S) -> Self where
S: Into<StackParticle>,
[src]
pub fn from_stack<S>(_morph: &MorphAnalyzer, stack: S) -> Self where
S: Into<StackParticle>,
pub fn iter_lexeme<'s: 'i, 'm: 'i, 'i>(
&'s self,
morph: &'m MorphAnalyzer
) -> impl Iterator<Item = Lex> + 'i
[src]
pub fn iter_lexeme<'s: 'i, 'm: 'i, 'i>(
&'s self,
morph: &'m MorphAnalyzer
) -> impl Iterator<Item = Lex> + 'i
pub fn as_seen<'m>(&'m self, morph: &'m MorphAnalyzer) -> Seen<'m>
[src]
pub fn as_seen<'m>(&'m self, morph: &'m MorphAnalyzer) -> Seen<'m>
pub fn get_plural<'m>(
&self,
morph: &'m MorphAnalyzer,
num: usize
) -> Option<Lex>
[src]
pub fn get_plural<'m>(
&self,
morph: &'m MorphAnalyzer,
num: usize
) -> Option<Lex>
pub fn inflect(
&self,
morph: &MorphAnalyzer,
required: &GrammemeSet
) -> Option<Lex>
[src]
pub fn inflect(
&self,
morph: &MorphAnalyzer,
required: &GrammemeSet
) -> Option<Lex>
Trait Implementations
impl Debug for Lex
[src]
impl Debug for Lex
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Lex
[src]
impl Clone for Lex
fn clone(&self) -> Lex
[src]
fn clone(&self) -> Lex
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Lex
[src]
impl PartialEq for Lex
fn eq(&self, other: &Lex) -> bool
[src]
fn eq(&self, other: &Lex) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Lex) -> bool
[src]
fn ne(&self, other: &Lex) -> bool
This method tests for !=
.
impl Source for Lex
[src]
impl Source for Lex
fn score(&self) -> Score
[src]
fn score(&self) -> Score
fn is_lemma(&self) -> bool
[src]
fn is_lemma(&self) -> bool
fn is_known(&self) -> bool
[src]
fn is_known(&self) -> bool
fn get_word(&self) -> Cow<str>
[src]
fn get_word(&self) -> Cow<str>
fn get_normal_form(&self, morph: &MorphAnalyzer) -> Cow<str>
[src]
fn get_normal_form(&self, morph: &MorphAnalyzer) -> Cow<str>
fn get_tag<'m>(&self, morph: &'m MorphAnalyzer) -> &'m OpencorporaTagReg
[src]
fn get_tag<'m>(&self, morph: &'m MorphAnalyzer) -> &'m OpencorporaTagReg
fn try_get_para_id(&self) -> Option<ParadigmId>
[src]
fn try_get_para_id(&self) -> Option<ParadigmId>
fn write_word<W: Write>(&self, f: &mut W) -> Result
[src]
fn write_word<W: Write>(&self, f: &mut W) -> Result
fn write_normal_form<W: Write>(
&self,
f: &mut W,
morph: &MorphAnalyzer
) -> Result
[src]
fn write_normal_form<W: Write>(
&self,
f: &mut W,
morph: &MorphAnalyzer
) -> Result
fn get_lexeme(&self, morph: &MorphAnalyzer) -> Vec<Lex>
[src]
fn get_lexeme(&self, morph: &MorphAnalyzer) -> Vec<Lex>
fn get_lemma(&self, morph: &MorphAnalyzer) -> Lex
[src]
fn get_lemma(&self, morph: &MorphAnalyzer) -> Lex
impl Display for Lex
[src]
impl Display for Lex
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl MorphySerde for Lex
[src]
impl MorphySerde for Lex