|
|
|
October 2021, copyleft || Kamome and Funix || Speech-to-Derive * The Myth of Natural Language || Roodkapje, Rotterdam
|
|
|
|
|
|
|
|
|
|
|
|
Welcome!
|
|
|
|
|
|
|
|
|
|
|
|
This is a little file to explain what's going on in these folders.
|
|
|
|
|
|
|
|
We will follow a workflow which starts with
|
|
|
|
|
|
|
|
using the speech-to-text tool to generate contents,
|
|
|
|
then create html files with the downloaded results,
|
|
|
|
finally render the layouts, customise print and bind them
|
|
|
|
|
|
|
|
|
|
|
|
'0_speech' contains >
|
|
|
|
|
|
|
|
the 'index.html' > in order to visualize which words are recognized by
|
|
|
|
the Speech-to-text
|
|
|
|
|
|
|
|
the 'style.css' > where is written the layout of the html page
|
|
|
|
|
|
|
|
the index.js > where is written the code to use the Speech-to-text app
|
|
|
|
|
|
|
|
'1_pythoning' contains >
|
|
|
|
|
|
|
|
1-2_NLTKing.py > python file for generating html for two booklets based
|
|
|
|
on NLTK (Natural Lanugage ToolKit)
|
|
|
|
|
|
|
|
3_imageScraping.py > python file for generating html for a booklet based
|
|
|
|
on image scraping from duckduckgo
|
|
|
|
|
|
|
|
pythonInstallationParty.txt > instructions for install libraries we'll use
|
|
|
|
|
|
|
|
'2_layout' contains >
|
|
|
|
|
|
|
|
the folder 'pagedjs_files' > the library Paged.js
|
|
|
|
Paged.js is a free and open source JavaScript library that paginates
|
|
|
|
content in the browser to create PDF output from any HTML content.
|
|
|
|
https://www.pagedjs.org/about/
|
|
|
|
|
|
|
|
the folder 'styles' > there are three different .css files that change
|
|
|
|
the layouts and fonts
|
|
|
|
|
|
|
|
[not yet but] html files > where you can visualize the render of the layouts.
|
|
|
|
It works through a live server, that means that you have to simulate a
|
|
|
|
server in your computer: how?
|
|
|
|
you can use python, opening the terminal/cmd and digit >
|
|
|
|
python3 -m http.server
|
|
|
|
you can use Visual Studio Code with the extension "Live Server"
|
|
|
|
|
|
|
|
|
|
|
|
|