Skip to content

melvinSunday/Text-to-Emotion---next-app

Repository files navigation

Text to Emotion Analysis

Text to Emotion Analysis App

Description

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.

Features

  • 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

Technologies Used

Getting Started

To get a local copy up and running, follow these simple steps:

  1. Clone the repository

    git clone https://github.com/melvinSunday/Text-to-Emotion---next-app.git
    
  2. Install NPM packages

    npm install
    
  3. Run the development server

    npm run dev
    
  4. Open http://localhost:3000 with your browser to see the result.

Usage

  1. Enter text in the provided textarea.
  2. Click the send button or press Enter to analyze the text.
  3. View the emotion analysis results displayed in a bar chart.

Usage Example

API

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