Skip to content

TopicDiff visualises the difference in topic coverage between 2 content. This project is done for a technical demonstration of building a web application with Python.

License

Notifications You must be signed in to change notification settings

kylase/topicdiff

Repository files navigation

TopicDiff Visualisation Application

Test and Deploy on Heroku

Instructions

Windows PowerShell

$env:FLASK_APP = "run.py"

For development: $env:FLASK_ENV = "development"

Linux/macOS

export FLASK_APP="run.py"

For development: export FLASK_APP="development"

Objective

The main objective of this web application is to visualise how 2 documents are similar in terms of the topics that they cover using a topic model.

Technical Design

Topic Model

The topic model is trained with the Wikipedia's page dumps using gensim's LDA implementation.

Web Application

The web application is built with Python.

Flask is used as the back-end framework to handle the processing logic and to serve the data.

jQuery, d3, Bootstrap are used for the front-end design.

API

Refer to the Swagger for the API reference.

About

TopicDiff visualises the difference in topic coverage between 2 content. This project is done for a technical demonstration of building a web application with Python.

Topics

Resources

License

Stars

Watchers

Forks