-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
47 lines (37 loc) · 2.04 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
================================================================================
PCRF -- A small and efficient C++ library for supervised sequence labeling
================================================================================
Copyright Thomas Hanneforth, Universität Potsdam & Retresco GmbH, Berlin
License: MIT License
--------------------------------------------------------------------------------
Requirements:
--------------------------------------------------------------------------------
You need the Boost libraries (boost.org). Under Linux, you can install them with
sudo apt-get install libboost-all-dev
--------------------------------------------------------------------------------
Build/installation
--------------------------------------------------------------------------------
$ make -f Makefile.linux install
$ sudo make -f Makefile.linux install
(assuming that you have a directory /usr/local/bin)
--------------------------------------------------------------------------------
Executables
--------------------------------------------------------------------------------
make will create and install the following three binaries:
* crf-annotate: a config-file controlled annotation program for corpus files
and running text
* crf-train: a training program which creates binary CRF models
* crf-apply: a program which applies and evaluates CRF models on corpus
and running text files
--------------------------------------------------------------------------------
Demo
--------------------------------------------------------------------------------
After installing, go to the demo folder and type
$ bash chunk-demo.sh
--------------------------------------------------------------------------------
Documentation
--------------------------------------------------------------------------------
After installation, you find a doxygen source code documentation in doc/html.
Furthermore, a couple of man pages crf-annotate(1), crf-train(1), crf-apply(1),
crf-annotate(5), crf-train(5), and crf-conf(5) are installed under
/usr/local/share/man.