Skip to content

tgilgs/chat-reduce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recap: Cisco Spark Web Application

Summarise your Spark chatroom conversations into visual wordclouds separated into key topics:

wordcloud

Instructions to get started:

  1. Install python package for virtual environments
pip install virtualenv
  1. Start a virtual environment:
virtualenv -p python3 venv
  1. Activate virtual environment:
source venv/bin/activate

You are now working within the virtual environment

  1. Install packages to the virtual environment:
pip install flask Pillow wordcloud nltk numpy scipy sklearn requests

For nltk, you also need to run dependencies.py to download the models.

  1. Once everything is installed, cd into webserver and:
source credentials.sh
  1. Then just run python recap_v1.2.py from terminal and access the page through localhost:8080 in your browser. Sign in to your Spark account and get started!
Extra notes:
  • to fix an error with python not installed as a backend on OS X go cd ./venv/lib/python3.5/site-packages/matplotlib/mpl-data/ inside the virtual environment and add backend: TkAgg to the "matplotlib.rc" file

Contributors:

Adrian C. Aydan G. Thomas G.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •