Struct analiticcl::vocab::VocabValue[][src]

pub struct VocabValue {
    pub text: String,
    pub norm: NormString,
    pub frequency: u32,
    pub tokencount: u8,
    pub lexweight: f32,
    pub lexindex: u8,
}

Fields

text: Stringnorm: NormString

A version of the text normalized to the alphabet

frequency: u32

The absolute frequency count

tokencount: u8

The number of words

lexweight: f32

The weight assigned by the lexicon as a whole (usually 1.0 for validated lexicons and 0.0 for backgrond corpora)

lexindex: u8

The first lexicon index which matches

Trait Implementations

impl Clone for VocabValue[src]

impl Debug for VocabValue[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.