User:Federico/speech2derive/: Difference between revisions
Line 37: | Line 37: | ||
import nltk | import nltk | ||
nltk.download(' | nltk.download('all') | ||
quit() | quit() | ||
Revision as of 15:36, 7 October 2021
Welcome
Hello participants! We would like to ask you to install some stuff in your computer in order to be ready as much as possible, technically speaking, for thursday.
Mac usually don't face problems, but if you use Windows and you face problems, feel free to write us!!
Installation Party
You will need to install:
vscode
It's a code editor (If you have already a code editor, skip it) > https://code.visualstudio.com/
python
it will also autoamtically download pip3, which is the package manager of python' libraries (like plugins)
python libraries
download some python libraries to complexifying a bit the output of the booklets:
NLTK (Natural Language ToolKit)
after installed python, open the terminal/cmd and digit
pip3 install nltk
then digit
python3
it will start python, then digit:
import nltk nltk.download('all') quit()
DuckDuckGoImages API
after installed python, open the terminal/cmd and digit
pip3 install DuckDuckGoImages
easy_booklet (Bonus)
If you want to have a tool to create automatic booklets, not 100% necessary to have it) download easy_booket from git (Thanks to its creator, Tancre! )
if you are comfortable with git, follow >>
https://github.com/Tancre/easy_booklet
otherwise open the terminal (here instructions for mac) and install brew, makefile, PyPDF2 and imageMagick
brew is a package manager, to install easier other softwares in command line
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
makefile is a general purpose workflow program, usually used for compilation.
brew install makefile
pyPDF2 is a python library to manage PDF
pip3 install pyPDF2
imageMagick is a software with various tools to process images
brew install imagemagick
Repo
Then, tomorrow, we will download the repo of the workshop with all the files we prepared to speech, design, layout the output.
(Git is an Open Source Distributed Version Control System || in other words, it's a tool to manage projects, you can use it in local or in servers in order to share and collaborate on the same files) (Repositories in GIT contain a collection of files of various different versions of a project || in other words, a repo contains all the files you need for a project)
Looking forward to seeing you soon!