Skip to content

Notes on webservice installation

Pieter van Beek edited this page Jun 18, 2013 · 1 revision

Requirements

  1. The software has been tested with Python 2.7.3 on OS X 2.8

  2. The following Python modules need to be installed (I used pip, which can be installed by running sudo easy_install pip):

    • nltk
    • python-Levenshtein
    • networkx
    • lxml
    • flask
    • scikit-learn
    • scipy; the latter two are only needed if you work with scikit features. Before installing scipy you need to have swig and a fortran compiler installed. I used Homebrew to install both:
brew install swig
brew install gfortran
  1. Run SemanticizerFlaskServer with link to wikipedia data (dload from http://semanticize.uva.nl/nl.tgz):

    --langloc dutch nl /Users/evertlammerts/Downloads/zfs/ilps-plexer/wikipediaminer/nlwiki-20111104

Clone this wiki locally