简体   繁体   中英

How may I use CRF in NLTK?

In NLTK like HMM tagger, there seems to be CRF tagger also. But I am not finding any tutorial or help. How should I do it?

Really really late answer on this one, but just in case you wanted to have an example, you can find one here . Also note that this CRF interface is not an interface to Mallet , but it is an interface to CRFsuite

Based on this , I gather that the CRF tagger in NLTK is just an interface for Mallet's CRF implementation. So, I think this tutorial on using Mallet's CRF might be helpful as it would give insight into the steps required to get CRF to work in Mallet and the NLTK module should proceed in the same way. I couldn't find any tutorial on NLTK-CRF, either

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM