original_string: public function afinn_sentiment( $text, $lang = 'en' )
  	{
  		$data =  $this->post_call('/afinn', ['text' => $text, 'lang' => $lang ] );
  
  		return ( isset($data['afinn']) ) ? $data['afinn'] : null;
  	}
code: public function afinn_sentiment( $text, $lang = 'en' )
  	{
  		$data =  $this->post_call('/afinn', ['text' => $text, 'lang' => $lang ] );
  
  		return ( isset($data['afinn']) ) ? $data['afinn'] : null;
  	}
code_tokens: public function afinn_sentiment ( $ text , $ lang = 'en' ) { $ data = $ this -> post_call ( '/afinn' , [ 'text' => $ text , 'lang' => $ lang ] ) ; return ( isset ( $ data [ 'afinn' ] ) ) ? $ data [ 'afinn' ] : null ; }
docstring: AFINN Sentiment Analysis
docstring_tokens: AFINN Sentiment Analysis