Added OuNuPo-make README to index.html

master
Castro0o 7 years ago
parent 90de179419
commit b5a3245315

@ -127,6 +127,123 @@
<h2>Credits</h2>
<p>OuNuPo was produced as part of a collaboration between XPUB and WORM. The project was developed by the XPUB practitioners (Natasha Berting, Angeliki Diakrousi, Joca van der Horst, Alexander Roidl, Alice Strete and Zalán Szakács) with the support from Varia special guests (Manetta Berends and Cristina Cochior), the WORM Pirate Bay (Wojtek Szustak and Frederic Van de Velde), diybookscanner.eu (Mark Van den Borre) and XPUB staff and tutors (Delphine Bedel, André Castro, Aymeric Mansoux, Michael Murtaugh, Leslie Robbins and Steve Rushton).</p>
<div class="seperator">
<p>------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
</div>
<h2>OuNuPo-Make Code Repository</h2>
<h1 id="ounupo-make">OuNuPo Make</h1>
<p>Software experiments for the OuNuPo bookscanner, part of Special Issue 5</p>
<p><a href="https://git.xpub.nl/OuNuPo-make/" class="uri">https://git.xpub.nl/OuNuPo-make/</a></p>
<h2 id="authors">Authors</h2>
<p>Natasha Berting, Angeliki Diakrousi, Joca van der Horst, Alexander Roidl, Alice Strete and Zalán Szakács.</p>
<h2 id="clone-repository">Clone Repository</h2>
<p><code>git clone https://git.xpub.nl/repos/OuNuPo-make.git</code></p>
<h2 id="general-depencies">General depencies</h2>
<ul>
<li>Python3</li>
<li>GNU make</li>
<li>Python3 NLTK <code>pip3 install nltk</code></li>
</ul>
<h1 id="make-commands">Make commands</h1>
<h2 id="sitting-inside-a-pocketsphinx-angeliki">Sitting inside a pocket(sphinx): Angeliki</h2>
<p>Speech recognition feedback loops using the first sentence of a scanned text as input</p>
<p>run: <code>make ttssr-human-only</code></p>
<p>Specific Dependencies:</p>
<ul>
<li>PocketSphinx package <code>sudo aptitude install pocketsphinx pocketsphinx-en-us</code></li>
<li>PocketSphinx Python library: <code>sudo pip3 install PocketSphinx</code></li>
<li>Other software packages:<code>sudo apt-get install gcc automake autoconf libtool bison swig python-dev libpulse-dev</code></li>
<li>Speech Recognition Python library: <code>sudo pip3 install SpeechRecognition</code></li>
<li>TermColor Python library: <code>sudo pip3 install termcolor</code></li>
<li>PyAudio Python library: <code>sudo pip3 install pyaudio</code></li>
</ul>
<h3 id="licenses">Licenses:</h3>
<p>© 2018 WTFPL Do What the Fuck You Want to Public License. © 2018 BSD 3-Clause Berkeley Software Distribution</p>
<h2 id="reading-the-structure-joca">Reading the Structure: Joca</h2>
<p>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.</p>
<p>Run: <code>make reading_structure</code></p>
<p>Specific Dependencies:</p>
<ul>
<li><a href="http://www.nltk.org/install.html">NLTK</a> packages: tokenize.punkt, pos_tag, word_tokenize, sentiment.vader, vader_lexicon (python3; import nltk; nltk.download() and select these models)</li>
<li><a href="https://spacy.io/usage/">spaCy</a> Python library</li>
<li>spacy: en_core_web_sm model (python3 -m spacy download en_core_web_sm)</li>
<li><a href="http://weasyprint.readthedocs.io/en/latest/install.html">weasyprint</a></li>
<li><a href="http://jinja.pocoo.org/docs/2.10/intro/#installation">jinja2</a></li>
<li>font: <a href="https://www.fontsquirrel.com/fonts/pt-serif">PT Sans</a></li>
<li>font: <a href="https://www.fontsquirrel.com/fonts/ubuntu-mono">Ubuntu Mono</a></li>
</ul>
<h3 id="license-gnu-agplv3">License: GNU AGPLv3</h3>
<p>Permissions of this license are conditioned on making available complete source code of licensed works and modifications, which include larger works using a licensed work, under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available. See src/reading_structure/license.txt for the full license.</p>
<h2 id="erase-replace-natasha">Erase / Replace: Natasha</h2>
<p>Receives your scanned pages in order, then analyzes each image and its vocabulary. Finds and crops the least common words, and either erases them, or replaces them with the most common words. Outputs a PDF of increasingly distorted scan images.</p>
<p>For erase script run: <code>make erase</code></p>
<p>For replace script run: <code>make replace</code></p>
<p>Specific Dependencies:</p>
<ul>
<li>NLTK English Corpus:
<ul>
<li>run NLTK downloader <code>python -m nltk.downloader</code></li>
<li>select menu &quot;Corpora&quot;</li>
<li>select &quot;stopwords&quot;</li>
<li>&quot;Download&quot;</li>
</ul></li>
<li>Python Image Library (PIL): <code>pip3 install Pillow</code></li>
<li>PDF generation for Python (FPDF): <code>pip3 install fpdf</code></li>
<li>HTML5lib Python Library: <code>pip3 install html5lib</code></li>
</ul>
<h3 id="notes-bugs">Notes &amp; Bugs:</h3>
<p>This script is very picky about the input images it can work with. For best results, please use high resolution images in RGB colorspace. Errors can occur when image modes do not match or tesseract cannot successfully make HOCR files.</p>
<h2 id="carlandre-overunder-alice-strete">carlandre &amp; over/under: Alice Strete</h2>
<p>Person who aspires to call herself a software artist sometime next year.</p>
<h3 id="license">License:</h3>
<p>Copyright © 2018 Alice Strete This work is free. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.</p>
<h3 id="dependencies">Dependencies:</h3>
<ul>
<li><a href="https://docs.pytest.org/en/latest/getting-started.html">pytest</a></li>
</ul>
<p>Programs:</p>
<h3 id="carlandre">carlandre</h3>
<p>Description: Generates concrete poetry from a text file. If you're connected to a printer located in /dev/usb/lp0 you can print the poem.</p>
<p>run: <code>make carlandre</code></p>
<h3 id="overunder">over/under</h3>
<p>Description: Interpreted programming language written in Python3 which translates basic weaving instructions into code and applies them to text.</p>
<p>run: <code>make overunder</code></p>
<h3 id="instructions">Instructions:</h3>
<ul>
<li>over/under works with specific commands which execute specific instructions.</li>
<li>When running, an interpreter will open: <code>&gt;</code></li>
<li>To load your text, type 'load'. This is necessary before any other instructions. Every time you load the text, the previous instructions will be discarded.</li>
<li>To see the line you are currently on, type 'show'.</li>
<li>To start your pattern, type 'over' or 'under', each followed by an integer, separated by a comma. e.g. over 5, under 5, over 6, under 10</li>
<li>To move on to the next line of text, press enter twice.</li>
<li>To see your pattern, type 'pattern'.</li>
<li>To save your pattern in a text file, type 'save'.</li>
<li>To leave the program, type 'quit'.</li>
</ul>
<h2 id="oulibot-alex">oulibot: Alex</h2>
<p>Description: Chatbot that will help you to write a poem based on the text you inserted by giving you constraints.</p>
<p>run: <code>make oulibot</code></p>
<h4 id="dependencies-1">Dependencies:</h4>
<p>Python libraries:</p>
<ul>
<li>irc : <code>pip3 install irc</code></li>
<li>rake_nltk Python library: <code>pip3 install rake_nltk</code></li>
<li>textblob: <code>pip3 install textblob</code></li>
<li>PIL: <code>pip3 install Pillow</code></li>
<li>numpy: <code>pip3 install numpy</code></li>
<li>tweepy: <code>pip3 install tweepy</code></li>
<li>NLTK stopwords:
<ul>
<li>run NLTK downloader <code>python -m nltk.downloader</code></li>
<li>select menu &quot;Corpora&quot;</li>
<li>select &quot;stopwords&quot;</li>
<li>&quot;Download&quot;</li>
</ul></li>
</ul>
</div>
</body>
</html>

Loading…
Cancel
Save