diff --git a/0_speech/index.js b/0_speech/index.js index 344b28c..ea36047 100644 --- a/0_speech/index.js +++ b/0_speech/index.js @@ -136,4 +136,4 @@ function startConverting() { } } -// 2021, copyleft Kamo and Funix +// October 2021, copyleft || Kamome and Funix || Speech-to-Derive * The Myth of Natural Language || Roodkapje, Rotterdam diff --git a/1_pythoning/1-2_NLTKing.py b/1_pythoning/1-2_NLTKing.py index c87e8f8..fd8e3f2 100644 --- a/1_pythoning/1-2_NLTKing.py +++ b/1_pythoning/1-2_NLTKing.py @@ -1,4 +1,6 @@ -# +# October 2021, copyleft || Kamome and Funix || Speech-to-Derive * The Myth of Natural Language || Roodkapje, Rotterdam + + # NLTK (Natural Language ToolKit) is a library for Natural Language Process. # We will use it to get the Part Of Speech (POS) of the speech-to-text results. # @@ -103,4 +105,6 @@ with open('../2_layout/1.html','w') as index: with open('../2_layout/2.html','w') as index: index.write(html2) - index.write(html) \ No newline at end of file + index.write(html) + + \ No newline at end of file diff --git a/1_pythoning/3_imageScraping.py b/1_pythoning/3_imageScraping.py index 5b643f4..d51550d 100644 --- a/1_pythoning/3_imageScraping.py +++ b/1_pythoning/3_imageScraping.py @@ -1,3 +1,5 @@ +# October 2021, copyleft || Kamome and Funix || Speech-to-Derive * The Myth of Natural Language || Roodkapje, Rotterdam + # Scrape images from DuckDuckGo # # With duckduckgo_images_api! @@ -65,4 +67,6 @@ html += ''' html = html.replace(" '", "'") with open(',,/2_layout/3.html','w') as index: # Save the file! - index.write(html) \ No newline at end of file + index.write(html) + + \ No newline at end of file diff --git a/1_pythoning/bonus_imageDownloader.py b/1_pythoning/bonus_imageDownloader.py index 169dcd2..39a1a15 100644 --- a/1_pythoning/bonus_imageDownloader.py +++ b/1_pythoning/bonus_imageDownloader.py @@ -1,3 +1,6 @@ +# October 2021, copyleft || Kamome and Funix || Speech-to-Derive * The Myth of Natural Language || Roodkapje, Rotterdam + + # Bonus! # # Scrape and download images in local from DuckDuckGo diff --git a/README.txt b/README.txt index 3e7b030..f757cd2 100644 --- a/README.txt +++ b/README.txt @@ -1,8 +1,38 @@ -Helloooo +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. -the folder 'layout' contains > +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 @@ -10,9 +40,9 @@ the folder 'layout' contains > https://www.pagedjs.org/about/ the folder 'styles' > there are three different .css files that change - the layout. + the layouts and fonts - the 'index.html' > where you can visualize the rendering of the layout. + [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 > @@ -20,14 +50,4 @@ the folder 'layout' contains > you can use Visual Studio Code with the extension "Live Server" -the folder '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 - -