Open herbyme opened 8 years ago
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
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?
@maxmert @herbyme Please let me know if you get it working, would like to add to README
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:
I noticed that with the repo I was getting a -fno-rtti error as described in the fork I did (Linux branch): https://github.com/herbyme/mitie/commit/e829290c1bcd27ac88424deaede0725ad2384ae5
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