src/SentimentAnalysis.php
/**
     * Get the confidence of a decision for a result. The closer to 1, the better.
     *
     * @param string $string The given sentence
     *
     * @return float The confidence of a decision for a result. The close to 1, the better
     */
Get the confidence of a decision for a result. The closer to 1, the better.
@param string $string The given sentence

@return float The confidence of a decision for a result. The close to 1, the better
Get the confidence of a decision for a result . The closer to 1 the better . @param string $string The given sentence @return float The confidence of a decision for a result . The close to 1 the better
public function score($string)
    {
        $scores = $this->scores($string);
        return max($scores);
    }
public function score ( $ string ) { $ scores = $ this -> scores ( $ string ) ; return max ( $ scores ) ; }
Get the confidence of a decision for a result.
Get the confidence of a decision for a result .