From 8557003bd3695ad23982958d94ec34ac60ea72f1 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Tue, 2 Nov 2010 15:32:42 +0800 Subject: begin to write ngseg --- utils/segment/Makefile.am | 6 +++++- utils/segment/ngseg.cpp | 26 ++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 utils/segment/ngseg.cpp (limited to 'utils/segment') diff --git a/utils/segment/Makefile.am b/utils/segment/Makefile.am index 18b9ba4..6317a89 100644 --- a/utils/segment/Makefile.am +++ b/utils/segment/Makefile.am @@ -23,8 +23,12 @@ INCLUDES = -I$(top_srcdir)/src \ -I$(top_srcdir)/src/lookup \ @GLIB2_CPPFLAGS@ -noinst_PROGRAMS = spseg +noinst_PROGRAMS = spseg ngseg spseg_SOURCES = spseg.cpp spseg_LDADD = @GLIB2_LDFLAGS@ ../../src/libpinyin.la + +ngseg_SOURCES = ngseg.cpp + +ngseg_LDADD = @GLIB2_LDFLAGS@ ../../src/libpinyin.la diff --git a/utils/segment/ngseg.cpp b/utils/segment/ngseg.cpp new file mode 100644 index 0000000..536219d --- /dev/null +++ b/utils/segment/ngseg.cpp @@ -0,0 +1,26 @@ +/* + * libpinyin + * Library to deal with pinyin. + * + * Copyright (C) 2010 Peng Wu + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#include + +int main(int argc, char * argv[]){ + return 0; +} -- cgit