libchise 0.4.0 released

守岡知彦 / MORIOKA Tomohiko tomo @ kanji.zinbun.kyoto-u.ac.jp
2006年 5月 12日 (金) 00:01:44 JST


The CHISE Library (libchise) 0.4.0 is released.

It is available at

http://kanji.zinbun.kyoto-u.ac.jp/projects/chise/dist/libchise/libchise-0.4.0.tar.gz


What is libchise
================

libchise is a fundamental library to use CHISE character database.


PREREQUISITES
=============
 - Berkeley DB Version 3 or later
 - CONCORD


Major Changes
=============

 - Now libchise is based on CONCORD.


Changes
=======
2006-05-11  MORIOKA Tomohiko  <tomo @ kanji.zinbun.kyoto-u.ac.jp>

	* libchise 0.4.0 released.

2005-06-24  MORIOKA Tomohiko  <tomo @ kanji.zinbun.kyoto-u.ac.jp>

	* sample.c (test_map_func): Use <CHISE_Feature> instead of
	<CHISE_Feature_Table *>.
	(test_radical_func): Likewise.

2005-06-24  MORIOKA Tomohiko  <tomo @ kanji.zinbun.kyoto-u.ac.jp>

	* chise.c (chise_char_set_feature_value): Use
	`concord_obj_put_feature_value_str' instead of
	`concord_stroid_set_feature_str'.
	(chise_char_load_feature_value): Use
	`concord_obj_get_feature_value_string' instead of
	`concord_stroid_get_feature_string'.
	(chise_char_gets_feature_value): Use
	`concord_obj_gets_feature_value' instead of
	`concord_stroid_gets_feature'.
	(chise_feature_foreach_char_with_value): Use
	`concord_feature_foreach_obj_string' instead of
	`concord_feature_foreach_object_string'.
	(chise_ccs_decode): Use `concord_index_strid_get_obj_string'
	instead of `concord_index_strid_get_object_string'.
	(chise_ccs_set_decoded_char): Use `concord_index_strid_put_obj'
	instead of `concord_index_strid_set_object_str'.
	(chise_feature_set_property_value): Use
	`concord_obj_put_feature_value_str' instead of
	`concord_stroid_set_feature_str'.
	(chise_feature_load_property_value): Use
	`concord_obj_get_feature_value_string' instead of
	`concord_stroid_get_feature_string'.
	(chise_feature_gets_property_value): Use
	`concord_obj_gets_feature_value' instead of
	`concord_stroid_gets_feature'.

2005-06-24  MORIOKA Tomohiko  <tomo @ kanji.zinbun.kyoto-u.ac.jp>

	* chise.c (CHISE_DS_close): Use `concord_close_ds' instead of
	`CONCORD_DS_close'.

2005-06-24  MORIOKA Tomohiko  <tomo @ kanji.zinbun.kyoto-u.ac.jp>

	* chise.h, chise.c (chise_db_format_version): New constant.

	* Makefile.in (CHISE_CFLAGS): Add new macro
	`CHISE_DB_FORMAT_VERSION'.
	(distclean): Delete autom4te.cache, autoscan.log, configure.scan
	and libtool.

2005-06-23  MORIOKA Tomohiko  <tomo @ kanji.zinbun.kyoto-u.ac.jp>

	* chise.h: Don't include <db.h> and <errno.h>.
	(CHISE_DS_Type): Use <CONCORD_Backend_Type> instead of <enum
	CONCORD_Backend_Type>.

2005-06-23  MORIOKA Tomohiko  <tomo @ kanji.zinbun.kyoto-u.ac.jp>

	* README.en (PREREQUISITES): Add `CONCORD'.

	* configure.in:
	- Update version to 0.4.0.
	- Don't link Berkeley DB.
	- Use `AC_CHECK_LIB' to link CONCORD.

	* chise.h: Use concord.h.
	(CHISE_DS_Type): Use <enum CONCORD_Backend_Type> instead of <enum
	CHISE_DS_Type>.
	(CHISE_DS_Berkeley_DB): New macro to wrap
	`CONCORD_Backend_Berkeley_DB'.
	(CHISE_DS): Use <CONCORD_Genre_Table> instead of <struct
	CHISE_DS>.
	(CHISE_Value): Use <CONCORD_String_Tank> instead of <DBT>.
	(chise_value_size): Changed to non-inline function.
	(chise_value_data): Likewise.
	(chise_value_to_c_string): Likewise.
	(struct CHISE_Feature_Table): Abolished.
	(CHISE_Feature): Use <CONCORD_Feature> instead of
	<CHISE_Feature_Table*>.
	(struct CHISE_CCS_Table): Abolished.
	(CHISE_CCS): Use <CONCORD_INDEX> instead of <CHISE_CCS_Table*>.
	(struct CHISE_Property_Table): Abolished.
	(CHISE_Property): Use <CONCORD_Feature> instead of
	<CHISE_Property_Table*>.

	* chise.c: Don't use "chise-name.h".
	(chise_ds_open_feature_table): Deleted.
	(chise_ft_close): Deleted.
	(chise_ds_open_ccs_table): Deleted.
	(chise_ccst_close): Deleted.
	(chise_ds_open_property_table): Deleted.
	(chise_pt_close): Deleted.
	(CHISE_Attribute_Table): Deleted.
	(CHISE_Attribute_Table_open): Deleted.
	(CHISE_Attribute_Table_close): Deleted.
	(chise_attribute_table_get): Deleted.
	(chise_attribute_table_put): Deleted.
	(chise_value_size): New function.
	(chise_value_data): New function.
	(chise_value_to_c_string): New function.
	(struct CHISE_DS): Abolished.
	(CHISE_DS_open): New implementation; use `concord_open_ds' and
	`concord_ds_get_genre'.
	(CHISE_DS_close): New implementation; use `CONCORD_DS_close' and
	`concord_genre_get_data_source'.
	(chise_ds_location): New implementation; use `concord_ds_location'
	and `concord_genre_get_data_source'.
	(chise_ds_get_feature): New implementation; use
	`concord_genre_get_feature'.
	(chise_ds_get_ccs): New implementation; use
	`concord_genre_get_index'.
	(chise_ds_get_property): New implementation; use
	`concord_ds_get_genre', `concord_genre_get_data_source' and
	`concord_genre_get_feature'.
	(chise_ds_foreach_char_feature_name): New implementation; use
	`concord_genre_foreach_feature_name'.
	(struct CHISE_Feature_Table): Abolished.
	(chise_feature_setup_db): New implementation; use
	`concord_feature_setup_db'.
	(chise_feature_sync): New implementation; use
	`concord_feature_sync'.
	(chise_char_set_feature_value): New implementation; use
	`concord_stroid_set_feature_str'.
	(chise_char_load_feature_value): New implementation; use
	`concord_stroid_get_feature_string'.
	(chise_char_gets_feature_value): New implementation; use
	`concord_stroid_gets_feature'.
	(chise_feature_for_a_char_with_value_func): New variable.
	(chise_feature_foreach_char_with_value_wrapper): New function.
	(chise_feature_foreach_char_with_value): New implementation; use
	`chise_feature_for_a_char_with_value_func',
	`chise_feature_foreach_char_with_value_wrapper' and
	`concord_feature_foreach_object_string'.
	(struct CHISE_CCS_Table): Abolished.
	(chise_ccs_setup_db): New implementation; use
	`concord_index_setup_db'.
	(chise_ccs_sync): New implementation; use `concord_index_sync'.
	(chise_ccs_decode): Use `concord_index_strid_get_object_string'
	instead of `chise_attribute_table_get'.
	(chise_ccs_set_decoded_char): Use
	`concord_index_strid_set_object_str' instead of
	`concord_index_strid_set_object_str'.
	(struct CHISE_Property_Table): Abolished.
	(chise_ds_open_property_table): Deleted.
	(chise_pt_close): Deleted.
	(chise_property_setup_db): New implementation; use
	`concord_feature_setup_db'.
	(chise_property_sync): New implementation; use
	`concord_feature_sync'.
	(chise_feature_set_property_value): New implementation; use
	`concord_stroid_set_feature_str' and `concord_feature_get_name'.
	(chise_feature_load_property_value): New implementation; use
	`concord_stroid_get_feature_string' and
	`concord_feature_get_name'.
	(chise_feature_gets_property_value): New implementation; use
	`concord_stroid_gets_feature' and `concord_feature_get_name'.

2005-06-22  MORIOKA Tomohiko  <tomo @ kanji.zinbun.kyoto-u.ac.jp>

	* chise-name.h, name.c: Deleted.

	* Makefile.in (CHISE_DIR_VERSION): Update to 1.0.
	(ABI_VERSION): Update to 3:0:2.
	(HEADERS): Delete chise-name.h.
	(OBJS): Delete name.lo.

-- 
tomo.




More information about the CHISE-ja mailing list