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