Install instructions
This provides instructions for seting up the software on a freshly installed debian 9 system. It will most likely work on any recent ubuntu system too, though there may be some hickup with the python versions.
Installing Debian
This assumes a standard install of debian was made using the smallcd AMD64 debian image. It was tested selecting only the base system with the standard system utilities (which contain python) and no gui. This guide assumes during setup a user named rasa was created, though this shouldn't be too hard to adapt to.
Hypervisor specific steps
Hyper-V
Nothing to do, works out of the box.
KVM
Not tested.
VirtualBox
Works.
Installing sudo
Though not required we'll make rasa a sudoer for convenience reasons.
First log in as root and run
apt-get install sudo
Next we'll make the rasa
user a sudoer
usermod -aG sudo rasa
All done here. exit
and log in as rasa.
Seting up python for cleanNLP
Just to make sure we update the system with. We'll also need gcc nad git, so go ahead and install em.
sudo apt-get update && sudo apt-get dist-upgrade -y && sudo apt-get install gcc git build-essential python-dev -y
Next, install miniconda:
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x84_64.sh
Defaults are fine here.
Log out and back in.
Now we create an environment for spacy and install it:
conda create -n spcy python=3
conda activate spcy
pip install spacy
python -m spacy download en
conda deactivate
Installing R
There is a script that will do all these things for you. If you want to use it skip ahead to Cloning the project and be sure to execute the script as described there
We need to add the cran repository to sources.list as the r packages in the debian repositories are somewhat out of date.