nlplab / nersuite

http://nersuite.nlplab.org/
Other
26 stars 12 forks source link

nersuite.cpp:154:10: error: no member named 'set_bias' in 'CRFSuite::Tagger' #23

Closed fnl closed 10 years ago

fnl commented 10 years ago

Got this error while trying to compile (./configure && make of the default download) NERsuite 1.2.1 using CRFsuite 0.12 (and libLBFGS). A function called CRFSuite::Tagger.set_bias(string) doesn't seem to exist in either codebase (NER/CRFsuite). After commenting out line 154, the suite compiles.

priancho commented 10 years ago

Hi,

I am sorry for the trouble.

Could you please try it with the CRFsuite from https://github.com/priancho/crfsuite ? I added set_bias member function into the forked version of the CRFsuite, but it has not been incorporated into the original CRFsuite.

If you have any trouble after using this version, please tell me :-)

Best wishes,

Han-Cheol,

fnl commented 10 years ago

Hi Han-Cheol,

I just tried to use your version of the CRFsuite you linked to. Had to fiddle around with autogen.sh and configure.in to run with the latest autotools on my Mac (stuff like de-ANSI-fication, libtoolize issues, etc.), but otherwise it was no problem to install that version of CRFsuite. Now, NERsuite compiles without that error, so yes, using this version of CRFsuite fixes the issue (but you have to know how autotools work on a Mac or you will get stuck...).

Thanks, Florian

irifki commented 7 years ago

Can you please tell us what you modified in autogen.sh and configure.in ? I'm having some issues similar to what you had but can seem to fix it!

fnl commented 7 years ago

As I didn't post the changes here, I assume there had been several issues. And I'm very sorry, but I long since have moved on and no longer have the files for that around. Overall, I guess you're better off opening a new issue with NERsuite here and asking Han-Cheol for help. Sorry I cannot give any better advice!