input: def sentiment_analyzer(text: str) -> dict:
      """ Analyzes the sentiment of a given text and returns the polarity scores.
      >>> sentiment_analyzer("I love this movie!")
      {'neg': 0.0, 'neu': 0.0, 'pos': 1.0, 'compound': 0.6369}
      >>> sentiment_analyzer("This is the worst experience ever.")
      {'neg': 0.694, 'neu': 0.306, 'pos': 0.0, 'compound': -0.7717}
      """
output:     from vaderSentiment.vaderSentiment import SentimentIntensityAnalyzer
      analyzer = SentimentIntensityAnalyzer()
      scores = analyzer.polarity_scores(text)
      return scores