Go to file
2020-01-17 17:47:07 +00:00
__pycache__ contextualise fixes and css nicer 2019-05-29 10:54:46 +01:00
pandoc pdfstuff 2020-01-16 16:54:13 +00:00
scores final css 2019-05-31 16:17:39 +01:00
static test favicon 2020-01-17 17:47:07 +00:00
templates test favicon 2020-01-17 17:47:07 +00:00
.gitignore Secret key generation on the device instead of storing it in git 2019-12-03 13:26:42 +01:00
config.py starting point 2019-04-04 12:48:53 +02:00
contextualise_python2.py app adapted to python2 2019-07-12 17:33:12 +02:00
contextualise.py last score cover edit 2020-01-16 23:29:03 +00:00
generate_links.py changes to fix bugs in generate_links 2019-07-12 17:31:34 +02:00
README.md mobile navigation bar improvements + update to requirements.txt 2020-01-16 22:38:08 +01:00
requirements.txt mobile navigation bar improvements + update to requirements.txt 2020-01-16 22:38:08 +01:00
textedit.py changes to fix bugs in generate_links 2019-07-12 17:31:34 +02:00
wordlist.json cleaning up the git repo 2020-01-11 17:59:35 +01:00

Pushing Scores

The Pushing Scores archival publication

The website was made using Flask, NLTK, Numpy, Pillow, pypandoc, PyPDF2, weasyprint and Python3 and is live at http://pushingscores.deplayer.nl/

How to use the scripts

All of the words on the website have been turned into links. This only needs to be done once, in advance of launching the application. In order to regenerate the links, you must run these two commands in the following order:

python3 textedit.py
python3 generate_links.py

The first script gathers all the files ending in .html, puts them in one single document, and creates wordlist.json, a dictionary that saves the sentences in which every single word appears. The second script goes over the same original files and replaces every word with an appropriate html tag.

Once these two steps have been made, the application can be run using the following command: FLASK_APP=contextualise.py flask run

The generated scores can be found in scores/

The project was developed by Cristina Cochior and Julie Boschat Thorez, as part of Varia.