Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Home

mromanello edited this page · 28 revisions
Clone this wiki locally

What’s all about?

Currently, the code is a proof of concept for the task of extracting Canonical References as defined here.

Data

Tagging

Training

Installation

After you installed all the depencies, install the CRefEx python module as usually by typing:

python setup.py install

Dependencies

CRefEx relies on the following external modules/libraries:

  • CRF++: a C++ implementation of CRF written by Taku Kudo (I’m using version 0.53) which provides a python bridge.
    For the installation of the python module to call CRF++ please refer to the instruction in the ./python/README file (the path is relative to CRF++’s installation folder)
  • two python scripts for Cross Validation (partitioner.py and crossvalidationconstructor.py) written by Michael G. Noll

Run an example

Before running the code, change set the following variables accordingly with your local settings:

  • EVAL_PATH in eval.py: path to the directory where some data files will be written to
  • LOG_FILE: path to the log file

To run the example provided type:

python test_crex.py 

Training

Something went wrong with that request. Please try again.