eugbyte / tfidf-project

Built with C# ASP Core, React, and Python ML. Predict the sentiment and term frequency of the text (reviews) scrapped from websites. Users can save and manage the evaluation results.

Home Page:http://nlpreactapp.s3-website-ap-southeast-1.amazonaws.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Natural Language Processing application

Overview

  1. This application allow you to scrap websites.
  2. You can then predict the sentiment and cosine similarity of the chosen text within, using tf*idf

Quick overview of the NLP portion

  1. To view only the NLP analysis portion, open the Jupyter Notebook files under the Jupyter folder,

Instructions to run the application

  1. The relevant folders are under the NLP Folder
  2. Make sure you have MSSQL server up and running.
  3. Run the ASP Core application in IIS express. This application is reponsible for scrapping websites and saving the results.
    • Go to appsettings.json. Under ConnectionStrings > MSSQL, change the server name to that of your local server
  4. Run the Fast Api Python application in an IDE of your choice. This application is responsible for the NLP analysis.
    • Activate the virtual environment by first navigating to NLP\fastApi, and then typing venv\Scripts\activate in the terminal
    • Type pip install -r requirements.txt to install the dependencies.
    • Type uvicorn main:app --reload to run the application.
  5. Run the React application in an IDE of your choice.
    • Type npm install to install the dependencies.
    • Then type npm start to run the application

About

Built with C# ASP Core, React, and Python ML. Predict the sentiment and term frequency of the text (reviews) scrapped from websites. Users can save and manage the evaluation results.

http://nlpreactapp.s3-website-ap-southeast-1.amazonaws.com


Languages

Language:Python 35.8%Language:Jupyter Notebook 30.6%Language:C# 10.6%Language:TypeScript 8.8%Language:JavaScript 7.4%Language:Roff 4.3%Language:C 0.7%Language:HTML 0.7%Language:CSS 0.6%Language:PowerShell 0.3%Language:Batchfile 0.2%Language:Shell 0.0%