public function sentiment( $text, $language = null )
	{
		$data = $this->post_call('/polyglot/sentiment', ['text' => $text, 'lang' => $language ] );

		return ( isset($data['sentiment']) ) ? $data['sentiment'] : null;
	}
public function sentiment( $text, $language = null )
	{
		$data = $this->post_call('/polyglot/sentiment', ['text' => $text, 'lang' => $language ] );

		return ( isset($data['sentiment']) ) ? $data['sentiment'] : null;
	}
public function sentiment ( $ text , $ language = null ) { $ data = $ this -> post_call ( '/polyglot/sentiment' , [ 'text' => $ text , 'lang' => $ language ] ) ; return ( isset ( $ data [ 'sentiment' ] ) ) ? $ data [ 'sentiment' ] : null ; }
Sentiment Analysis by Polyglot
Sentiment Analysis by Polyglot