NERsuite

A Named Entity Recognition toolkit

Installing Libraries

First, install the libLBFGS library with autotools. You can specify the installation path with --prefix= option. Please use this option if you want to install the library into a different folder, or you do not have a super-user privilege. After the installation, add the installed library path to your LD_LIBRARY_PATH environment variable.


$ ./configure [--prefix=/the/path/to/install]
$ make
$ su
password:
# make install

The installation of CRFsuite can be done in a similar way. But if you did not install the libLBFGS library in the default folder, you need to use the --with-liblbfgs= option. We recommand to use the absolute path for this option.


$ ./configure [--prefix=/the/path/to/install] [--with-liblbfgs=/the/path/to/libLBFGS]
$ make
$ su
password:
# make install

After the installation of the libraries is finished, you need to add the path to these libraries to the LD_LIBRARY_PATH environmental variable.

Installing NERsuite

After two libraries are successfully installed, you can install the NERsuite as follows. You can specify the installation path with --prefix= option (by default, /usr/local/bin), and the library paths where libLBFGS and CRFsuite are installed with --with-liblbfgs and --with-libcrfsuite options.


$ ./configure [--prefix=/the/path/to/install] [--with-liblbfgs=/the/path/to/libLBFGS] [--with-libcrfsuite=/the/path/to/CRFsuite]
$ make
$ su
password:
# make install

The installation of the NERsuite will produce six executable files under the target directory (in addition to the crfsuite command which was installed previously).

$ ls -1 /usr/local/bin/
crfsuite
nersuite
nersuite_correct_mp
nersuite_dic_compiler
nersuite_dic_tagger
nersuite_gtagger
nersuite_tokenizer
$