Skip to content

Web application prototype for Quora-like application, that implements grammar corrector, question similarity checker, and topic classification using Deep Learning system, and saving the data into the database.

Notifications You must be signed in to change notification settings

primayoriko/question-classifier-webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Question Classifier WebApp


Web application prototype for Quora-like application, that can post question. But this repo is just the implementation of Machine Learning Systems that implement grammar corrector, question similarity checker, and topic classification, and then saving the data into SQLite.

ML Modules


  1. Linguistic Acceptability - Taufiq Husada
  2. Question Similarity - Naufal Prima Yoriko
  3. Topic Classification - Fatkhan Masruri

The training codes and data link are saved in ml-train directory, while prediction functions that used in backend and trained model links are saved in backend/ml directory.

Screenshots


Here are some screenshots of our app

  • Question creation page

    main-page

    main-page-2

  • Questions list page

    list-page

API Docs


The documentation of the app is written in docs/api directory, but formattted in json, and can be opened properly using Postman app.

Dependency


  1. Python

  2. Libraries for ML

    1. TensorFlow
    2. PyTorch
    3. Transformers
    4. Numpy
    5. Pandas
    6. Matplotlib
    7. NLTK
    8. Keras
  3. Libraries for Backend

    1. Django and it's supporting lib
  4. jQuery (for frontend)

How to Run

Backend


  1. Navigate to backend directory

  2. Install all dependency using pip with

    pip install requirement.txt
    
  3. Migrate (may be needed) the schema with

    python manage.py migrate
    
  4. Run the server with

    python manage.py runserver --noreload
    

Frontend


  1. Host the static files in frontend dir, like using VSCode live server extension

  2. Open index.html file from your browser, the app should be ready to use

Collaborators


About

Web application prototype for Quora-like application, that implements grammar corrector, question similarity checker, and topic classification using Deep Learning system, and saving the data into the database.

Resources

Stars

Watchers

Forks