Skip to content
/ cohviz Public

CohViz is a research tool that visualizes text cohesion by concept mapping

License

Notifications You must be signed in to change notification settings

ch-bu/cohviz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cohviz

A dockerized web app that visualizes the cohesive structure of a text.

How to run locally

Clone the repository to your machine. You should have Docker and Docker Compose installed. Make sure that you have ownership of all files:

sudo chown -R $USER:$USER .

Make sure you got the Germanet files and installed it put it in /code/cohapp/coherenceanalyzer/GN_V90_XML/.

Afterwards, fire up the application:

docker-compose up

Migrate django models:

docker exec -it cohviz_web_1 /bin/bash
python manage.py migrate

Collectstatic files

docker exec -it cohviz_web_1 /bin/bash
python manage.py collectstatic

Install spacy models:

docker exec -it cohviz_web_1 /bin/bash
pip install -U spacy
python -m spacy download en_core_web_sm
python -m spacy download de_core_news_md

Download the nltk dataset inside your docker web container:

docker exec -it cohviz_web_1 /bin/bash
import nltk
nltk.download()

Setup django super user

python manage.py createsuperuser

Run the mongo dp instance

docker exec -it cohviz_web_1 /bin/bash
cd /code/cohapp/coherenceanalyzer/
mongod --dbpath ./mongod &

Your application should be running on localhost:8080.

In order to stop the application run

docker-compose stop

License

This project is licensed under the MIT License - see the license file for details.

About

CohViz is a research tool that visualizes text cohesion by concept mapping

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published