Is there a popular implementation of Conditional Random Fields in Python?
I can't seem to find any that is widely used and popular!
|
Is there a popular implementation of Conditional Random Fields in Python? I can't seem to find any that is widely used and popular! |
||||
|
|
|
CRF++ is a popular choice in general, and has Python bindings. CRFSuite also has bindings documented here, but doesn't seem to have seen as much widespread use as CRF++. As of this writing, higher level machine learning frameworks such as scikit-learn lack CRF support (see this pull request). |
||||
|
|
|
CRF++ has more incoming links because it is an older library.
If you are looking for Python bindings CRFSuite is also better because you can train a model in Python, while in CRF++ you can only test existing models in Python. (That was the deal breaker for me.) CRFSuite also comes with a bunch of example code in Python, such as NER, Chunking, and POS tagging. |
|||
|
|