input: def sentiment_analyzer(text: str) -> dict:
      """ Analyze the sentiment of a given text.
      >>> sentiment_analyzer("I love programming!")
      {'neg': 0.0, 'neu': 0.314, 'pos': 0.686, 'compound': 0.6369}
      >>> sentiment_analyzer("I hate bugs.")
      {'neg': 0.629, 'neu': 0.371, 'pos': 0.0, 'compound': -0.5994}
      """
output:     from vaderSentiment.vaderSentiment import SentimentIntensityAnalyzer
      analyzer = SentimentIntensityAnalyzer()
      sentiment = analyzer.polarity_scores(text)
      return sentiment