input: def analyze_sentiment(text: str) -> str:
      """
      Analyzes the sentiment of a given text and categorizes it into positive, negative, or neutral sentiments.
      >>> analyze_sentiment("I love this movie! It's fantastic.")
      'positive'
      >>> analyze_sentiment("This movie is terrible. I hate it.")
      'negative'
      >>> analyze_sentiment("The movie was okay, nothing special.")
      'neutral'
      """
output:     positive_words = ["love", "fantastic", "great", "awesome"]
      negative_words = ["terrible", "hate", "awful", "bad"]
      
      words = text.lower().split()
      positive_count = sum(word in positive_words for word in words)
      negative_count = sum(word in negative_words for word in words)
      
      if positive_count > negative_count:
          return 'positive'
      elif negative_count > positive_count:
          return 'negative'
      else:
          return 'neutral'