Giter Site home page Giter Site logo

vwkyc / assr Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 1.6 MB

sentiment analysis on transcribed speech or text with multilingual capability

Home Page: https://assr.me

License: MIT License

Python 5.80% HTML 8.47% CSS 42.86% JavaScript 42.87%
asr openai-api sentiment-analysis speech-recognition speech-to-text whisper whisper-api natural-language-understanding nlp nlu google natural-language-api app google-app-engine

assr's Introduction

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.

assr's People

Contributors

vwkyc avatar

Stargazers

Ghaith Fawzi Al Salim avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.