input: Write a function to analyze the sentiment of a given text. The function should categorize the text into positive, negative, and neutral sentiments. If the text is empty, the function should return 'neutral'.
  assert analyze_sentiment("I love this product")=="positive"
  assert analyze_sentiment("I hate this product")=="negative"
  assert analyze_sentiment("This product is okay")=="neutral"
  assert analyze_sentiment("")=="neutral"
output: def analyze_sentiment(text):
      if not text:
          return 'neutral'
      positive_words = ['love', 'good', 'great', 'awesome']
      negative_words = ['hate', 'bad', 'terrible', 'awful']
      words = text.lower().split()
      positive_count = sum(1 for word in words if word in positive_words)
      negative_count = sum(1 for word in words if word in negative_words)
      if positive_count > negative_count:
          return 'positive'
      elif negative_count > positive_count:
          return 'negative'
      else:
          return 'neutral'