Text to Emotion Analysis is a Next.js application that uses advanced Natural Language Processing (NLP) algorithms to analyze the emotional content of text. This app provides insights into the nuanced feelings expressed in your input, detecting emotions such as happiness, surprise, anger, sadness, and fear.
- Real-time emotion analysis of input text
- Visual representation of emotion scores using bar charts
- Responsive design for various screen sizes
- Animated UI components for enhanced user experience
- Error handling and loading states
To get a local copy up and running, follow these simple steps:
-
Clone the repository
git clone https://github.com/melvinSunday/Text-to-Emotion---next-app.git
-
Install NPM packages
npm install
-
Run the development server
npm run dev
-
Open http://localhost:3000 with your browser to see the result.
- Enter text in the provided textarea.
- Click the send button or press Enter to analyze the text.
- View the emotion analysis results displayed in a bar chart.
This project uses the Text to Emotion API for analyzing text. The API endpoint and configuration can be found in: https://apilayer.com/marketplace/text_to_emotion-api#documentation-tab