Struct sentiment::Analysis
[−]
[src]
pub struct Analysis { pub score: f32, pub comparative: f32, pub positive: Sentiment, pub negative: Sentiment, }
Struct for return the outcome of analysis
Fields
score: f32
The sentiment score
comparative: f32
The score compared with total tokens analysed
positive: Sentiment
Positivity score
negative: Sentiment
Negativity score