Description

Serel is a Python framework for recognition relations between annotations in text.

Download

Requirements

  1. Common Pyton modules
       sudo apt-get install python-setuptools python-scipy python-sqlalchemy
     
    Custom Python modules
       wget http://www.nlp.pwr.wroc.pl/download/lexcsd/ltcore-0.2.0.tar.gz
       tar -xvf ltcore-0.2.0.tar.gz
       cd ltcore-0.2.0
       sudo python setup.py install
       cd ..
      
       wget http://www.nlp.pwr.wroc.pl/download/lexcsd/ltlearn-0.2.0.tar.gz
       tar -xvf ltlearn-0.2.0.tar.gz
       cd ltlearn-0.2.0
       sudo python setup.py install
       cd ..
      
  2. corpus2 — data structures & routines for processing annotated corpora with positional tagsets.

    A quick installation instruction (Ubuntu 12.04):
       sudo apt-get install git cmake-curses-gui swig2.0 libboost1.48-all-dev libloki-dev libxml2-dev libicu-dev bison flex libglib2.0-dev libsigc++-2.0-dev libglibmm-2.4-dev libxml++2.6-dev
       git clone http://nlp.pwr.wroc.pl/corpus2.git
       cd corpus2
       mkdir bin
       cd bin
       ccmake ..
       # press c, c and g
       make
       sudo make install
       sudo ldconfig
     
  3. Wccl — a formalism for writing functional expressions evaluated on morpho-syntactically annotated text. These expressions may be used directly as features for Machine Learning classification.

    A quick installation instruction (Ubuntu 12.04):
       sudo apt-get install git libantlr-dev
       git clone http://nlp.pwr.wroc.pl/wccl.git
       cd wccl
       mkdir bin
       cd bin
       ccmake ..
       # press c, c and g
       make
       sudo make install
       sudo ldconfig
     

Installation

  wget http://www.nlp.pwr.wroc.pl/download/serel/serel-0.9.tar.gz
   tar -xvf serel-0.9.tar.gz
   cd serel-0.9
   sudo python setup.py install
   cd ..