def get_sentiment_label(sentiment):
 if (sentiment < 0):
  return (-1)
 elif (sentiment > 0):
  return 1
 else:
  return 0

def get_sentiment_label ( sentiment ) : if ( sentiment < 0 ) : return ( - 1 ) elif ( sentiment > 0 ) : return 1 else : return 0
return the sentiment label based on the sentiment quantity .