[][src]Struct polystem::S

pub struct S;

Trait Implementations

impl Stemmer for S[src]

fn stem(word: &str) -> String[src]

A simple stemmer that strips ies, es and s from terms. Dervied from the s-stemmer in the Atire search engine.

Examples

use polystem::Stemmer;

let term = "flies";
let stem = polystem::S::stem(&term);

assert_eq!("fly", stem);

Auto Trait Implementations

impl Send for S

impl Unpin for S

impl Sync for S

impl UnwindSafe for S

impl RefUnwindSafe for S

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]