pub struct NormalizationLowercase {}
Expand description
Will lowercase anything that can be lowercased using the rust builtin lowercasing methods.
This will skip the token if the token kind indicates that the token doesn’t contain any letters to lowercase.
Implementations§
Trait Implementations§
Source§impl Augmenter for NormalizationLowercase
impl Augmenter for NormalizationLowercase
Source§fn augment<'a>(&self, token: SegmentedToken<'a>) -> SegmentedToken<'a>
fn augment<'a>(&self, token: SegmentedToken<'a>) -> SegmentedToken<'a>
Apply augmentation function to the given token and return it.
Source§impl Clone for NormalizationLowercase
impl Clone for NormalizationLowercase
Source§fn clone(&self) -> NormalizationLowercase
fn clone(&self) -> NormalizationLowercase
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NormalizationLowercase
impl Debug for NormalizationLowercase
Source§impl Default for NormalizationLowercase
impl Default for NormalizationLowercase
Source§fn default() -> NormalizationLowercase
fn default() -> NormalizationLowercase
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NormalizationLowercase
impl RefUnwindSafe for NormalizationLowercase
impl Send for NormalizationLowercase
impl Sync for NormalizationLowercase
impl Unpin for NormalizationLowercase
impl UnwindSafe for NormalizationLowercase
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Segmenter for Twhere
T: Augmenter,
impl<T> Segmenter for Twhere
T: Augmenter,
Source§type SubdivisionIter<'a> = IntoIter<SegmentedToken<'a>>
type SubdivisionIter<'a> = IntoIter<SegmentedToken<'a>>
The iterator type returned by the
subdivide
function if it has multiple results. Read moreSource§fn subdivide<'a>(
&self,
token: SegmentedToken<'a>,
) -> UseOrSubdivide<SegmentedToken<'a>, <T as Segmenter>::SubdivisionIter<'a>> ⓘ
fn subdivide<'a>( &self, token: SegmentedToken<'a>, ) -> UseOrSubdivide<SegmentedToken<'a>, <T as Segmenter>::SubdivisionIter<'a>> ⓘ
A method that should split the given
token
into zero, one or more subtokens. Read more