xingdi-eric-yuan / named-entity-recognition Goto Github PK
View Code? Open in Web Editor NEWA simple NER model in C++
A simple NER model in C++
I had an issue during make.
here is the error
"/usr/local/include/opencv2/core/persistence.hpp:793:17: error: no matching
function for call to 'read'
read(**it, vec[i], _Tp());"
.....
"1 error generated.
make[2]: *** [CMakeFiles/NER.dir/src/weights_IO.cc.o] Error 1
make[1]: *** [CMakeFiles/NER.dir/all] Error 2
make: *** [all] Error 2"
did anyone else have a similar issue or know what is going on?
Hi,
when I come to do make on this I get the following error:
/usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
My gcc compiler is up to date, not sure how to fix.
Any help would be appreciated
Dean
I'm trying to debug the segfault now and AFAIK it's happening when data.ATD(i,j) is being written to pOut in the save2txt method in weights_IO.cc.
So;
Next I'm going to try and figure out if it's because data.ATD(i,j) is null or there's a problem trying to write the file. AFAIK the file isn't being created, so theres that...
Hi Eric,
Thanks for your great work and docs.
I'd like to train your CNN by my data in Persian.
I formatted my data as you did on news_tagged_data.txt dataset with new tags like B-PERS, B-ORG, B-LOC ant etc. Then I made wordvecs.txt on my data used gensim and formatted my wordvecs.txt as you did.
I traind CNN successfully:
Test training data:
######################################
######################################
Test testing data:
######################################
######################################
######################################
######################################
but when I test my sentences using ./NER 4 I get wrong responses. Actually I get only "O" tags in response.
alich@Alich:~/named-entity-recognition$ ./NER 4
Type a query... (end with )
شهر رشت در کشور ایران قرار دارد و احمد میرهاشمی به آنجا سفر کرده
Successfully read network information from network/info_80.xml...
شهر : O
رشت : O
در : O
کشور : O
ایران : O
قرار : O
دارد : O
و : O
احمد : O
میرهاشمی : O
به : O
آنجا : O
سفر : O
کرده : O
Totally used time: 0.503745 second
would you please to help me?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.