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
score: f32
The sentiment score
comparative: f32
The score compared with total tokens analysed
words: Vec<String>
The matching set of words