vwkyc / ASSR

sentiment analysis on transcribed speech or text with multilingual capability

Home Page:https://assr.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ASSR - Automatic Speech Sentiment Recognition

speech to text and sentiment analysis Webapp
CSAI308 - Introduction to Natural Language Processing / college project / March 2024.

Overview This web application leverages advanced technologies to provide speech-to-text conversion and comprehensive sentiment analysis. Core functions include:

Technical Foundation

  • Open AI Whisper: Employed for robust multilingual speech-to-text capabilities.
  • Google Cloud Natural Language API: Provides sophisticated sentiment analysis with multilingual compatibility.

Value Proposition ASSR has potential applications in various fields:

  • Customer Service: Analyze call transcripts to gauge customer satisfaction and identify areas for improvement.
  • Market Research: Assess sentiment towards products or brands through recorded interviews and focus groups.
  • Accessibility: Assist individuals with hearing impairments by providing transcriptions enhanced with emotional context.

Project Status This project, developed for a Natural Language Processing course, demonstrates the power of combining AI technologies for nuanced language understanding. Note: This application can be deployed on the internet, allowing users to access it from anywhere.

Screenshots

Screenshot 1 Screenshot 2

Getting Started

Follow these steps to get started with ASSR:

  1. Clone the repository and change current directory:

    git clone https://github.com/M1419/ASSR.git
    cd ASSR
  2. Place a .env file in the root of the project. Add your OpenAI API key and Google application credentials inside it:

    Unix-like:

    echo "OPENAI_API_KEY=your_api_key_here" > .env
    echo "GOOGLE_APPLICATION_CREDENTIALS=\"./application_default_credentials.json\"" >> .env

    PowerShell:

    "OPENAI_API_KEY=your_api_key_here" | Out-File -FilePath .env -Encoding ascii
    "GOOGLE_APPLICATION_CREDENTIALS=\"./application_default_credentials.json\"" | Add-Content .env

    Verify the contents of the .env file:

    Unix-like:

    cat .env

    PowerShell:

    Get-Content .env
  3. Place the application_default_credentials.json file in the root directory. For details, see Google Cloud's documentation.

  4. Change current directory to root of ASSR and create and activate a virtual environment:

    Unix-like:

    python -m venv myenv
    source myenv/bin/activate

    PowerShell:

    py -m venv myenv
    .\myenv\Scripts\Activate
  5. Install the required dependencies from the requirements.txt file:

    Unix-like:

    pip install -r requirements.txt

    PowerShell:

    pip install -r .\requirements.txt
  6. Run the ASSR application:

    python app.py
  7. Open the application in your browser at http://localhost:8080.

About

sentiment analysis on transcribed speech or text with multilingual capability

https://assr.me

License:MIT License


Languages

Language:JavaScript 42.9%Language:CSS 42.9%Language:HTML 8.5%Language:Python 5.8%