How can I use CRF in NLTK?

In NLTK, for example, the HMM tag seems to have a CRF tag. But I do not find a textbook or help. How can I do it?

+4
source share
2 answers

Actually a very late answer to this question, but in case you want to have an example, you can find it here . Also note that this CRF interface is not a Mallet interface, but it is a CRFsuite interface

+4
source

Based on this , I understand that the CRF tag in NLTK is just an interface for Mallet CRF . So, I think this tutorial on using Mallet CRF might be useful, as it will give you an idea of ​​the steps necessary for CRF to work in Mallet and the NLTK Module should work in a similar way. I could not find a tutorial on NLTK-CRF, either

+1
source

Source: https://habr.com/ru/post/1435129/


All Articles