Sinch Node.js SDK - v1.5.0
    Preparing search index...

    Interface SentimentResult

    interface SentimentResult {
        score?: number;
        sentiment?: SentimentEnum;
    }
    Index

    Properties

    Properties

    score?: number

    The likelihood that the assigned sentiment represents the emotional context of the analyzed text. 1 is the maximum value, representing the highest likelihood that the message text matches the sentiment, and 0 is the minimum value, representing the lowest likelihood that the message text matches the sentiment.

    sentiment?: SentimentEnum

    SentimentEnum