pub struct SentimentIntensityAnalyzer<'a> { /* private fields */ }Implementations§
Source§impl SentimentIntensityAnalyzer<'_>
impl SentimentIntensityAnalyzer<'_>
pub fn new() -> SentimentIntensityAnalyzer<'static>
pub fn polarity_scores(&self, text: &str) -> SentimentIntensity
pub fn append_emoji_descriptions(&self, text: &str) -> String
Trait Implementations§
Source§impl<'a> Clone for SentimentIntensityAnalyzer<'a>
impl<'a> Clone for SentimentIntensityAnalyzer<'a>
Source§fn clone(&self) -> SentimentIntensityAnalyzer<'a>
fn clone(&self) -> SentimentIntensityAnalyzer<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for SentimentIntensityAnalyzer<'a>
impl<'a> RefUnwindSafe for SentimentIntensityAnalyzer<'a>
impl<'a> Send for SentimentIntensityAnalyzer<'a>
impl<'a> Sync for SentimentIntensityAnalyzer<'a>
impl<'a> Unpin for SentimentIntensityAnalyzer<'a>
impl<'a> UnwindSafe for SentimentIntensityAnalyzer<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more