From 7b7def3b7888c74e7738bd7b8b9f9b79ac6e54a6 Mon Sep 17 00:00:00 2001 From: jvdhorst Date: Fri, 23 Mar 2018 16:21:23 +0100 Subject: [PATCH 1/3] Added first version of README for Reading the Structure --- README | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/README b/README index bea5d99..60b15d1 100644 --- a/README +++ b/README @@ -48,11 +48,18 @@ run: `make ttssr-human-only` Specific Dependencies: * [pocketsphinx](https://github.com/bambocher/pocketsphinx-python) `sudo pip3 install pocketsphinx` ---> FOLLOW THIS EXAMPLE -* SpeechRecognition 3.8.1 -* PyAudio - - - +* SpeechRecognition 3.8.1 +* 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) From 9be8ba788e56542cdedf1fcf6fff044ac0b9f527 Mon Sep 17 00:00:00 2001 From: Castro0o Date: Fri, 23 Mar 2018 16:24:00 +0100 Subject: [PATCH 2/3] pocket sphinx dependencies --- README | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README b/README index bea5d99..89b4453 100644 --- a/README +++ b/README @@ -47,9 +47,11 @@ Description: Speech recognition feedback loops using the first sentence of a sca run: `make ttssr-human-only` Specific Dependencies: -* [pocketsphinx](https://github.com/bambocher/pocketsphinx-python) `sudo pip3 install pocketsphinx` ---> FOLLOW THIS EXAMPLE -* SpeechRecognition 3.8.1 -* PyAudio +* PocketSphinx pacakge `sudo aptitude install pocketsphinx pocketsphinx-en-us` + +* Speech Recognition: `sudo pip3 install SpeechRecognition` +* TermColor: `sudo pip3 install termcolor` +* PyAudio: `pip3 install pyaudio` From 759fd5a5dfece73333c5a44cc94bfa6e87193401 Mon Sep 17 00:00:00 2001 From: jvdhorst Date: Fri, 23 Mar 2018 16:31:04 +0100 Subject: [PATCH 3/3] Added install links --- README | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README b/README index 60b15d1..d1ec999 100644 --- a/README +++ b/README @@ -58,8 +58,9 @@ where words with a specific label are hidden. Output can be saved as poster, or run: `make output/reading_structure/index.html` Specific Dependencies: -* nltk: nltk.tokenize.punkt, ne_chunk, pos_tag, word_tokenize, sentiment.vader -* weasyprint -* jinja2 +* nltk (http://www.nltk.org/install.html) +* nltk.tokenize.punkt, ne_chunk, pos_tag, word_tokenize, sentiment.vader (https://www.nltk.org/data.html) +* weasyprint (http://weasyprint.readthedocs.io/en/latest/install.html) +* jinja2 (http://jinja.pocoo.org/docs/2.10/intro/#installation) * font: PT Sans (os font https://www.fontsquirrel.com/fonts/pt-serif) * font: Ubuntu Mono (os font https://www.fontsquirrel.com/fonts/ubuntu-mono)