leebird / nlputils Goto Github PK
View Code? Open in Web Editor NEWNLP utils based on protocol buffer
NLP utils based on protocol buffer
The installation fails with the following error if we use Python 3
[CXX] Compiling src/core/lib/gpr/log.cc
[CXX] Compiling src/core/lib/gpr/log_android.cc
[CXX] Compiling src/core/lib/gpr/log_linux.cc
src/core/lib/gpr/log_linux.cc:43:13: error: ambiguating new declaration of ‘long int gettid()’
43 | static long gettid(void) { return syscall(__NR_gettid); }
| ^~~~~~
In file included from /usr/include/unistd.h:1170,
from src/core/lib/gpr/log_linux.cc:41:
/usr/include/x86_64-linux-gnu/bits/unistd_ext.h:34:16: note: old declaration ‘__pid_t gettid()’
34 | extern __pid_t gettid (void) __THROW;
| ^~~~~~
src/core/lib/gpr/log_linux.cc:43:13: error: ‘long int gettid()’ defined but not used [-Werror=unused-function]
43 | static long gettid(void) { return syscall(__NR_gettid); }
| ^~~~~~
cc1plus: all warnings being treated as errors
make: *** [Makefile:2916:
Since Python 2 is deprecated, can we make this tool compatible with Python 3?
[Solved] error when initialization due to not enough disk space
The error looks like below:
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -pthread -DHAVE_PTHREAD=1 -DHAVE_ZLIB=1 -Wall -Wno-sign-compare -O2 -g -std=c++11 -DNDEBUG -MT google/protobuf/compiler/java/java_message_field_lite.lo -MD -MP -MF google/protobuf/compiler/java/.deps/java_message_field_lite.Tpo -c google/protobuf/compiler/java/java_message_field_lite.cc -fPIC -DPIC -o google/protobuf/compiler/java/.libs/java_message_field_lite.o
/tmp/ccGAZ4T3.s: Assembler messages:
/tmp/ccGAZ4T3.s: Fatal error: can't close google/protobuf/compiler/java/.libs/java_message_field_lite.o: No space left on device
Makefile:4008: recipe for target 'google/protobuf/compiler/java/java_message_field_lite.lo' failed
make[2]: *** [google/protobuf/compiler/java/java_message_field_lite.lo] Error 1
make[2]: Leaving directory '/data/Applications/Xihan/nlputils/dep/protobuf/src'
Makefile:1598: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/data/Applications/Xihan/nlputils/dep/protobuf'
Makefile:1505: recipe for target 'all' failed
make: *** [all] Error 2
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.