• R/O
  • HTTP
  • SSH
  • HTTPS

chasen: Commit

The ChaSen legacy source.


Commit MetaInfo

Revisiondd1429e9285ff43aac38e84510ca5ba2f5691255 (tree)
Zeit2008-05-16 13:59:21
Autormasayu-a <masayu-a>
Commitermasayu-a

Log Message

chasen-2.4.3-preview3

Ändern Zusammenfassung

Diff

--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,13 @@ NEWS
44 About detail changes after v.2.2.0, see the file ChangeLog.
55
66 ----------------------------------------------------------------------
7+ChaSen 2.4.3 (2008/05/31)
8+----------------------------------------------------------------------
9+- bug fix
10+ http://sourceforge.jp/tracker/index.php?func=detail&aid=12464&group_id=2619&atid=9708
11+ please use darts-0.32 or higher.
12+
13+----------------------------------------------------------------------
714 ChaSen 2.4.2 (2007/07/23)
815 ----------------------------------------------------------------------
916 - bug fix
--- a/configure.in
+++ b/configure.in
@@ -1,6 +1,6 @@
11 AC_INIT(README)
22 AC_PREREQ(2.59)
3-AM_INIT_AUTOMAKE(chasen, 2.4.2)
3+AM_INIT_AUTOMAKE(chasen, 2.4.3-preview3)
44 AM_CONFIG_HEADER(config.h)
55 AM_MAINTAINER_MODE
66
@@ -23,7 +23,6 @@ AC_PROG_MAKE_SET
2323 LTVERSION="2:4:0"
2424 AC_SUBST(LTVERSION)
2525
26-
2726 dnl Checks for programs.
2827 AC_ISC_POSIX
2928 AC_PROG_INSTALL
@@ -35,7 +34,6 @@ AC_CHECK_HEADERS([fcntl.h limits.h stdlib.h string.h sys/param.h unistd.h])
3534 AC_CHECK_HEADERS([sys/param.h sys/types.h netinet/in.h])
3635 AC_CHECK_HEADERS([io.h windows.h])
3736
38-
3937 # Checks for typedefs, structures, and compiler characteristics.
4038 AC_C_CONST
4139 AC_TYPE_OFF_T
@@ -64,8 +62,12 @@ AC_LANG_CPLUSPLUS
6462
6563 AC_CACHE_VAL(cl_cv_header_darts, [
6664 AC_TRY_COMPILE([#include <darts.h>],[;], [cl_cv_header_darts=yes], [
67- AC_MSG_ERROR(no header of Darts. You need to fetch Darts from http://cl.aist-nara.ac.jp/~taku-ku/software/darts/.)])])
65+ AC_MSG_ERROR(no header of Darts. You need to get darts-0.32 or higher from http://chasen.org/~taku/software/darts/.)])])
6866 AC_MSG_RESULT($cl_cv_header_darts)
67+AC_CACHE_VAL(cl_cv_header_darts_version, [
68+ AC_EGREP_HEADER([DARTS_VERSION \"0.3[23456789]\"],darts.h,cl_cv_header_darts_version=yes,[AC_MSG_ERROR(an old version of darts.h is found. You need to get darts-0.32 or higher from http://chasen.org/~taku/software/darts/.)])])
69+
70+AC_MSG_RESULT(checking for darts.h version >= 0.32... $cl_cv_header_darts_version)
6971 AC_LANG_C
7072
7173 AC_ARG_WITH(libiconv,
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -9,4 +9,4 @@ SUFFIXES= .tex .dvi .pdf
99 platex $<
1010
1111 .dvi.pdf:
12- dvipdf $<
12+ dvipdfmx $<
Binary files a/doc/manual-j.pdf and b/doc/manual-j.pdf differ
--- a/doc/manual-j.tex
+++ b/doc/manual-j.tex
@@ -18,11 +18,11 @@
1818
1919 \title{
2020 \bf 形態素解析システム\\
21- 『茶筌』version 2.4.0 \\
21+ 『茶筌』version 2.4.3 \\
2222 使用説明書}
2323 \author{松本裕治 ~ 高岡一馬 ~ 浅原正幸}
24-\date{平成 19 年 3 月\\
25-\rule{0mm}{110mm} Copyright \copyright\ 2007 奈良先端科学技術大学院大学 情報科学研究科 自然言語処理学講座}
24+\date{平成 20 年 5 月\\
25+\rule{0mm}{110mm} Copyright \copyright\ 2008 奈良先端科学技術大学院大学 情報科学研究科 自然言語処理学講座}
2626
2727 \def\|{\verb|}
2828 \def\*{\verb**}
@@ -43,7 +43,7 @@ Morphological Analysis System ChaSen 2.4.0 Users Manual
4343 Yuji Matsumoto, Kazuma Takaoka and Masayuki Asahara
4444
4545 \noindent
46-Copyright (c) 2007 Nara Institute of Science and Technology
46+Copyright (c) 2008 Nara Institute of Science and Technology
4747 All rights reserved.
4848
4949 \vspace{.5em}
@@ -116,10 +116,16 @@ ChaSen\\
116116 % ~ ~ version 2.3.2 & 1 August 2003\\
117117 % ~ ~ version 2.3.3 & 16 August 2003\\
118118 ~ ~ version 2.4.0 & 30 March 2007\\
119+~ ~ version 2.4.1 & 3 July 2007\\
120+~ ~ version 2.4.2 & 23 July 2007\\
121+~ ~ version 2.4.3 & 30 May 2008\\
119122 ChaSen for Windows\\
120123 ~ ~ version 1.0 & 29 March 1997\\
121124 ~ ~ version 2.0 & 15 December 1999\\
122125 ~ ~ version 2.4.0 & 30 March 2007\\
126+~ ~ version 2.4.1 & 3 July 2007\\
127+~ ~ version 2.4.2-1 & 13 October 2007\\
128+~ ~ version 2.4.3 & 30 May 2008\\
123129 NAIST Technical Report\\
124130 ~ ~ 1st edition(NAIST-IS-TR99008) & 20 April 1999\\
125131 ~ ~ 2nd edition(NAIST-IS-TR99012) & 15 December 1999\\
--- a/lib/dartsdic.cpp
+++ b/lib/dartsdic.cpp
@@ -27,7 +27,7 @@
2727 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
2828 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2929 *
30- * $Id: dartsdic.cpp,v 1.3 2007/03/14 04:01:23 masayu-a Exp $
30+ * $Id: dartsdic.cpp,v 1.4 2008/05/16 04:59:21 masayu-a Exp $
3131 */
3232
3333 #include <string>
@@ -196,7 +196,7 @@ da_build_dump(da_build_t* builder, char* tmpfile, FILE* lexfile)
196196 std::cerr << size << " keys" << std::endl;
197197
198198 DoubleArrayL da;
199- da.build(size, keys, lens, vals);
199+ da.build(size, (const char**) keys, lens, vals);
200200 da.save(builder->path->c_str(), "wb");
201201
202202 return builder->entries->size();
Show on old repository browser