diff --git a/Makefile b/Makefile index 225052b..904acc9 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ SRCDIR = ./src SRCLIB = $(SRCDIR)/libcppjieba.a # remove the objs after compilation -.INTERMEDIATE: $(OBJS) *.o +.INTERMEDIATE: $(OBJS) .PHONY: clean $(SRCLIB) # Main Targets diff --git a/demo.cpp b/demo.cpp index fb76d28..11f9e5c 100644 --- a/demo.cpp +++ b/demo.cpp @@ -8,7 +8,7 @@ using namespace CppJieba; int main() { Segment segment; - /* + if(!segment.init("./dicts/segdict.utf8.v2.1")) { cerr<<"1"<