summaryrefslogtreecommitdiffstats
path: root/utils/segment
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2010-11-02 15:32:42 +0800
committerPeng Wu <alexepico@gmail.com>2010-11-02 15:32:42 +0800
commit8557003bd3695ad23982958d94ec34ac60ea72f1 (patch)
treedff3719a02dc7d7a0f968d204bff432e1662e440 /utils/segment
parent59f26f62a8a73fa139e2553f47a3935e0512bd14 (diff)
downloadlibpinyin-8557003bd3695ad23982958d94ec34ac60ea72f1.tar.gz
libpinyin-8557003bd3695ad23982958d94ec34ac60ea72f1.tar.xz
libpinyin-8557003bd3695ad23982958d94ec34ac60ea72f1.zip
begin to write ngseg
Diffstat (limited to 'utils/segment')
-rw-r--r--utils/segment/Makefile.am6
-rw-r--r--utils/segment/ngseg.cpp26
2 files changed, 31 insertions, 1 deletions
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 <stdio.h>
+
+int main(int argc, char * argv[]){
+ return 0;
+}