#AllenCRF A full features CRF for PyTorch extracted from the AllenNLP Framework
See the AllenNLP documentation about CRF for full API docs.
The CRF implementation in the AllenNLP framework is very good and easy to use. It notably has a convenient API for specifying allowed (and thus forbidden) transitions.
We extracted the CRF implementation from the framework, so that we can use it without the other dependencies that AllenNLP includes.
The original implementation was written by Joel Grus with ongoing work from the good folks at AllenNLP.