Struct sentiment::Sentiment [] [src]

pub struct Sentiment {
    pub score: f32,
    pub comparative: f32,
    pub words: Vec<String>,
}

Struct for return the outcome of individual sentiments

Fields

The sentiment score

The score compared with total tokens analysed

The matching set of words