Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

Get node-bindings for mitie to work on Linux (CentOS 6)? #1

Open
herbyme opened this issue Sep 17, 2015 · 3 comments
Open

Get node-bindings for mitie to work on Linux (CentOS 6)? #1

herbyme opened this issue Sep 17, 2015 · 3 comments
Assignees

Comments

@herbyme
Copy link

herbyme commented Sep 17, 2015

Hi,

It appears that the mitie node-bindings is specifically targeted at Mac OS X (via homebrew).
Just wondering if you had any success in getting this to work in Linux?

I have done something similar to homebrew https://github.com/Homebrew/linuxbrew/blob/master/Library/Formula/mitie.rb:

wget https://github.com/mit-nlp/MITIE/archive/master.zip
unzip master.zip
cd MITIE-master
make
sudo cp mitielib/libmitie.* /usr/local/lib/
sudo cp -R mitielib/include/* /usr/local/include/

I noticed that with the repo I was getting a -fno-rtti error as described in the fork I did (Linux branch):
herbyme@e829290

However, I am still getting errors to do with dlib as shown here: http://pastebin.com/18XyE057

If you can suggest any way to get it working in Linux (in particular CentOS 6) that would be greatly appreciated.

Thanks for your assistance,
Herbert

@bhelx bhelx self-assigned this Jan 10, 2016
@bhelx
Copy link
Owner

bhelx commented Jan 10, 2016

Sorry @herbyme, just seeing this. The homebrew formula is specific to os x, so you may want to check mitie's install instructions: https://github.com/mit-nlp/MITIE

@maxmert
Copy link

maxmert commented Jul 5, 2016

Also can't make it work on Debian.
While node-gyp I get:

../src/entity_extractor.cc: In static member function 'static void EntityExtractor::Predict(const Nan::FunctionCallbackInfo<v8::Value>&)':
../src/entity_extractor.cc:77:13: error: 'class mitie::named_entity_extractor' has no member named 'predict'
   obj->ner_.predict(tokens, chunks, chunk_tags, chunk_scores);
             ^

@herbyme Did you make it work?

@bhelx
Copy link
Owner

bhelx commented Jul 5, 2016

@maxmert @herbyme Please let me know if you get it working, would like to add to README

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

No branches or pull requests

3 participants