knmnyn / ParsCit

An open-source CRF Reference String Parsing Package
http://wing.comp.nus.edu.sg/parsCit
GNU Lesser General Public License v3.0
155 stars 47 forks source link

Re: accessing feature function weights in CRF++ #5

Closed knmnyn closed 12 years ago

knmnyn commented 12 years ago

(Reposted from email threads)

Dear Thang,

First of all I hope this email finds you well!

I'm kind of struggling to get a deeper understanding of how CRF++ works, and I thought you may have some insights and/or thoughts about it, as it's being used also within ParsCit. In particular I'm trying to figure out how to access feature function weights.

I also posted a question on the metaoptimize forum which received almost 300 views but no one single reply. Here is the link http://metaoptimize.com/qa/questions/9429/accessing-feature-function-weights-in-crf and I also copied and pasted my question below.

Thanks in advance for any help you could provide.

Best wishes, Matteo

knmnyn commented 12 years ago

(also from email threads; Kairos is a github repo from wing.nus)

HI Min,

I don't know if this helps you further but when I used the Java wrapper for the CRF++ package I had more methods available then the tool prints out after its done generating the model file (if I am not wrong here). It might can help you to find your answer. I have attached my java wrapper code [Ed: not attached here]. If you need more code you can find everything in the Kairos git hub package.

Cheers, Markus