- Django 1.9 (Python 2.7)
- Freeling 4.0
- Stemmer-es
- Lematizador-es in R
- NLTK
- Stanford Parser
- Stanford Postagger
- Dan Bikel's Parser
To install Freeling with Python, please refer here
Installation of PHP for the Stemmer-es
- We recommend to install aptitude
$ sudo apt-get install -y aptitude
- Install PHP5 and Python RPY2
$ sudo aptitude install -y php5-cli python-rpy2
- Update the repositories
$ sudo aptitude update
Installation of R for the Lematizador-es
- Install R and dependencies with:
$ sudo aptitude install -y r-base r-base-dev r-recommended libxml2-dev r-cran-xml
- Install fastmatch package in R
$ R
install.packages("fastmatch",,"http://rforge.net/",type="source")
$ q()
- Install the NodeJS framework
$ curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
$ sudo aptitude install -y nodejs
- Install bower
$ npm install -g bower
$ pip install virtualenv
$ virtualenv env
$ source env/bin/activate
$ pip install -r npl_project/requirements.txt
$ bower install
$ sudo pip install -U nltk
$ python -c "import nltk; nltk.download('all')"
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo aptitude update
$ sudo aptitude install -y oracle-java8-installer
Create the directories static/stanford-parser
, static/stanford-postagger
and static/dbparser
And place the contents of the libraries in the corresponding directories
Download from:
$ python manage.py runserver
Go to URL /morpho_app/
Go to URL /syntactic_app/