Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project Update 2 #2

Open
shantanu-555 opened this issue May 15, 2023 · 0 comments
Open

Project Update 2 #2

shantanu-555 opened this issue May 15, 2023 · 0 comments
Labels

Comments

@shantanu-555
Copy link
Owner

shantanu-555 commented May 15, 2023

Project Update 2

More Visualizations

We added more visualizations by making a line-plot for the number of dialogues they spoke broken down by season to show the trends in a character's relative relevance across the show.

dialogues_by_season

A Dialogue Generator based on Markov Chains

A Web-App that hosts our project for users to interact with the data

We created an interactive web app that hosts our project. It allows the users to interact with the data and the models deployed. Specific pages and nuances of the app are described in this section below. The app is created using a python framework called streamlit (https://streamlit.io/). To host the app yourself, clone the repository to your local system and run the following command:

streamlit run .\app\Home.py

Note that for the app to run as expected, you would have to install the following dependencies:

pip install streamlit
pip install markovify
pip install plotly
pip install wordcloud

Currently, the app contains a home page, a wordcloud generator, and a random dialogue generator.

Home page

The home page shows a the preliminary analysis of the data mentioned in Initial analysis of the data and visualizations.

app_wordcloud_page

Dialogue Generator page

This page hosts the dialogue generator described in A Dialogue Generator based on Markov Chains

It allows the user to select a character from the drop-down menu and runs the dialogue generator model. The app caches the data for a particular character when run for the first time so it doesn't have to train the model again when run for the same character.

app_dialogue_generator_page

Word-cloud Generator page

This page hosts the code for generating a word-cloud of the most spoken words by a character as described in Initial analysis of the data and visualizations.

Users can select a character from the drop-down menu and the app caches the model so it can be loaded faster when called again.

app_wordcloud_page

Sentiment Analyzer page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant