input: def sentiment_analyzer(text: str) -> dict:
      """ Analyze the sentiment of a given text.
      >>> sentiment_analyzer("I love this product, but the shipping was slow.")
      {'neg': 0.191, 'neu': 0.627, 'pos': 0.182, 'compound': 0.236}
      >>> sentiment_analyzer("Absolutely fantastic! Couldn't be happier.")
      {'neg': 0.0, 'neu': 0.349, 'pos': 0.651, 'compound': 0.6996}
      """
output:     from vaderSentiment.vaderSentiment import SentimentIntensityAnalyzer
      analyzer = SentimentIntensityAnalyzer()
      sentiment = analyzer.polarity_scores(text)
      return sentiment