I implemented conditional random fields in python/numpy/scipy.
This is my study implements, not practical.
– liner-chain CRF, each binary feature function has one observation and one latent variable or two latent variables.
– less 200 lines for CRF module
– It infers the parameters of CRF with fmin_bfgs function of scipy.
– L2 regularization