https://github.com/akabe/ocaml-crf
A simple library for conditional random field (CRF) in OCaml
https://github.com/akabe/ocaml-crf
Last synced: 8 months ago
JSON representation
A simple library for conditional random field (CRF) in OCaml
- Host: GitHub
- URL: https://github.com/akabe/ocaml-crf
- Owner: akabe
- Created: 2015-07-14T04:09:23.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-12-08T03:56:59.000Z (over 10 years ago)
- Last Synced: 2025-04-10T05:14:04.816Z (about 1 year ago)
- Language: OCaml
- Size: 89.8 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
OCaml-CRF
=========
OCaml-CRF is a simple library for conditional random field in
[OCaml](http://ocaml.org/).
*Conditional random field* (CRF) is a graphical model widely used in natural language
processing, image processing, bioinformatics, etc.
This library provides several functions for *cyclic* CRF:
- Approximation of conditional probabilities, likelihood, and
L2-regularized posterior by Gibbs sampling
- Inference of output labels by simulated annealing
Install
-------
### Dependencies
OCaml-CRF depends on [SLAP](http://akabe.github.io/slap/) and
[GSL-OCaml](https://github.com/mmottl/gsl-ocaml).
```
$ opam install slap gsl
```
### Install OCaml-CRF
```
$ ./configure
$ make
$ make install
```