diff --git a/README b/README index 89b4453..d848e98 100644 --- a/README +++ b/README @@ -47,6 +47,7 @@ Description: Speech recognition feedback loops using the first sentence of a sca run: `make ttssr-human-only` Specific Dependencies: + * PocketSphinx pacakge `sudo aptitude install pocketsphinx pocketsphinx-en-us` * Speech Recognition: `sudo pip3 install SpeechRecognition` @@ -54,7 +55,15 @@ Specific Dependencies: * PyAudio: `pip3 install pyaudio` +## Reading the Structure: Joca +Description: Uses OCR'ed text as an input, labels each word for Part-of-Speech, stopwords and sentiment. Then it generates a reading interface +where words with a specific label are hidden. Output can be saved as poster, or exported as json featuring the full data set. +run: `make output/reading_structure/index.html` - - +Specific Dependencies: +* nltk: nltk.tokenize.punkt, ne_chunk, pos_tag, word_tokenize, sentiment.vader +* weasyprint +* jinja2 +* font: PT Sans (os font https://www.fontsquirrel.com/fonts/pt-serif) +* font: Ubuntu Mono (os font https://www.fontsquirrel.com/fonts/ubuntu-mono) diff --git a/src/carlandre.py b/src/carlandre.py index 2746f92..9b595f0 100644 --- a/src/carlandre.py +++ b/src/carlandre.py @@ -2,7 +2,6 @@ import pytest from math import ceil import sys from sys import stdout -import time import os.path