Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
fnl opened this issue Jan 13, 2014 · 4 comments
Closed

Comments

@fnl
Copy link

fnl commented Jan 13, 2014

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
Copy link
Member

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
Copy link
Author

fnl commented Jan 13, 2014

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
Copy link

irifki commented Jul 11, 2017

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
Copy link
Author

fnl commented Jul 12, 2017

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants