finished demo

This commit is contained in:
gwdwyy 2013-07-11 17:48:30 +08:00
parent e5f4d05777
commit e43aee058a
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -8,7 +8,7 @@ using namespace CppJieba;
int main()
{
Segment segment;
/*
if(!segment.init("./dicts/segdict.utf8.v2.1"))
{
cerr<<"1"<<endl;
@ -35,6 +35,6 @@ int main()
segment.extract(title, res);
segment.destroy();
*/
return 0;
}