platform/upstream/libpinyin.git
11 years agopolish code
Peng Wu [Mon, 1 Apr 2013 09:49:41 +0000 (17:49 +0800)]
polish code

11 years agorename gen_chewing_table.cpp to gen_pinyin_table.cpp
Peng Wu [Mon, 1 Apr 2013 08:03:44 +0000 (16:03 +0800)]
rename gen_chewing_table.cpp to gen_pinyin_table.cpp

11 years agoupdate gen_chewing_table.cpp
Peng Wu [Mon, 1 Apr 2013 08:00:44 +0000 (16:00 +0800)]
update gen_chewing_table.cpp

11 years agoupdate gen_binary_files.cpp
Peng Wu [Mon, 1 Apr 2013 07:36:27 +0000 (15:36 +0800)]
update gen_binary_files.cpp

11 years agoupdate ngseg.cpp
Peng Wu [Mon, 1 Apr 2013 05:59:09 +0000 (13:59 +0800)]
update ngseg.cpp

11 years agoupdate spseg.cpp
Peng Wu [Mon, 1 Apr 2013 05:53:23 +0000 (13:53 +0800)]
update spseg.cpp

11 years agoupdate test_parser2.cpp
Peng Wu [Mon, 1 Apr 2013 04:36:57 +0000 (12:36 +0800)]
update test_parser2.cpp

11 years agofixes test_memory_chunk.cpp
Peng Wu [Mon, 1 Apr 2013 03:03:18 +0000 (11:03 +0800)]
fixes test_memory_chunk.cpp

11 years agowrite add_pronunciation
Peng Wu [Thu, 28 Mar 2013 04:21:41 +0000 (12:21 +0800)]
write add_pronunciation

11 years agoadd comments
Peng Wu [Wed, 27 Mar 2013 05:43:54 +0000 (13:43 +0800)]
add comments

11 years agoadd checks for add phrase function
Peng Wu [Tue, 26 Mar 2013 02:22:55 +0000 (10:22 +0800)]
add checks for add phrase function

11 years agoimproves pinyin_get_pinyin_strings
Peng Wu [Mon, 25 Mar 2013 04:02:49 +0000 (12:02 +0800)]
improves pinyin_get_pinyin_strings

11 years agorestore gen_unigram.cpp
Peng Wu [Sat, 23 Mar 2013 08:49:43 +0000 (16:49 +0800)]
restore gen_unigram.cpp

11 years agofixes import dict
Peng Wu [Sat, 23 Mar 2013 01:52:46 +0000 (09:52 +0800)]
fixes import dict

11 years agorename functions
Peng Wu [Fri, 22 Mar 2013 06:44:28 +0000 (14:44 +0800)]
rename functions

11 years agofixes include headers
Peng Wu [Fri, 22 Mar 2013 06:40:04 +0000 (14:40 +0800)]
fixes include headers

11 years agofixes compile
Peng Wu [Fri, 22 Mar 2013 03:18:35 +0000 (11:18 +0800)]
fixes compile

11 years agouse G_BEGIN/END_DECLS
Peng Wu [Fri, 22 Mar 2013 03:06:55 +0000 (11:06 +0800)]
use G_BEGIN/END_DECLS

11 years agoupdate test_phrase.cpp
Peng Wu [Thu, 21 Mar 2013 09:02:22 +0000 (17:02 +0800)]
update test_phrase.cpp

11 years agowrite phrases methods
Peng Wu [Thu, 21 Mar 2013 08:57:30 +0000 (16:57 +0800)]
write phrases methods

11 years agoupdate test_pinyin.cpp
Peng Wu [Thu, 21 Mar 2013 08:42:35 +0000 (16:42 +0800)]
update test_pinyin.cpp

11 years agoupdate libpinyin.ver
Peng Wu [Thu, 21 Mar 2013 08:33:00 +0000 (16:33 +0800)]
update libpinyin.ver

11 years agowrite methods
Peng Wu [Thu, 21 Mar 2013 08:27:01 +0000 (16:27 +0800)]
write methods

11 years agowrite get pinyin key and rest methods
Peng Wu [Thu, 21 Mar 2013 08:16:59 +0000 (16:16 +0800)]
write get pinyin key and rest methods

11 years agowrite candidates methods
Peng Wu [Thu, 21 Mar 2013 07:39:45 +0000 (15:39 +0800)]
write candidates methods

11 years agofixes pinyin_parse_*
Peng Wu [Thu, 21 Mar 2013 05:57:59 +0000 (13:57 +0800)]
fixes pinyin_parse_*

11 years agoclean again
Peng Wu [Thu, 21 Mar 2013 03:13:09 +0000 (11:13 +0800)]
clean again

11 years agoclean up pinyin.h
Peng Wu [Thu, 21 Mar 2013 02:54:18 +0000 (10:54 +0800)]
clean up pinyin.h

11 years agoremove pinyin_free_candidates
Peng Wu [Thu, 21 Mar 2013 02:42:44 +0000 (10:42 +0800)]
remove pinyin_free_candidates

11 years agoupdate candidates methods
Peng Wu [Thu, 21 Mar 2013 02:24:12 +0000 (10:24 +0800)]
update candidates methods

11 years agorename candidates methods
Peng Wu [Thu, 21 Mar 2013 02:15:22 +0000 (10:15 +0800)]
rename candidates methods

11 years agoadd m_candidates
Peng Wu [Thu, 21 Mar 2013 02:10:11 +0000 (10:10 +0800)]
add m_candidates

11 years agohide defines
Peng Wu [Thu, 21 Mar 2013 01:55:59 +0000 (09:55 +0800)]
hide defines

11 years agore-factor ChewingKey*
Peng Wu [Thu, 21 Mar 2013 01:49:21 +0000 (09:49 +0800)]
re-factor ChewingKey*

11 years agobump soname
Peng Wu [Wed, 20 Mar 2013 09:29:07 +0000 (17:29 +0800)]
bump soname

11 years agofixes novel_types.h
Peng Wu [Wed, 20 Mar 2013 08:30:16 +0000 (16:30 +0800)]
fixes novel_types.h

11 years agobump version 0.9.91
Peng Wu [Mon, 18 Mar 2013 06:53:40 +0000 (14:53 +0800)]
bump version 0.9.91

11 years agobump version 0.8.93 0.8.93
Peng Wu [Thu, 14 Mar 2013 05:46:59 +0000 (13:46 +0800)]
bump version 0.8.93

11 years agore-factor pinyin_custom2.h
Peng Wu [Thu, 14 Mar 2013 05:41:31 +0000 (13:41 +0800)]
re-factor pinyin_custom2.h

11 years agoadd back pinyin_clear_constraint
Peng Wu [Wed, 13 Mar 2013 03:44:21 +0000 (11:44 +0800)]
add back pinyin_clear_constraint

11 years agofixes pinyin.h
Peng Wu [Tue, 12 Mar 2013 05:44:35 +0000 (13:44 +0800)]
fixes pinyin.h

11 years agouse model5.text.tar.gz 0.8.92
Peng Wu [Thu, 7 Mar 2013 06:20:40 +0000 (14:20 +0800)]
use model5.text.tar.gz

11 years agoupdate lambda
Peng Wu [Thu, 7 Mar 2013 06:19:19 +0000 (14:19 +0800)]
update lambda

11 years agobump version 0.8.92
Peng Wu [Wed, 6 Mar 2013 10:17:55 +0000 (18:17 +0800)]
bump version 0.8.92

11 years agouse model4.text.tar.gz 0.8.91
Peng Wu [Mon, 4 Mar 2013 04:16:05 +0000 (12:16 +0800)]
use model4.text.tar.gz

11 years agoupdate lambda
Peng Wu [Mon, 4 Mar 2013 03:11:02 +0000 (11:11 +0800)]
update lambda

11 years agofixes pinyin_iterator_add_phrase
Peng Wu [Mon, 4 Mar 2013 03:07:43 +0000 (11:07 +0800)]
fixes pinyin_iterator_add_phrase

11 years agoupdate binary file format version
Peng Wu [Fri, 1 Mar 2013 10:38:23 +0000 (18:38 +0800)]
update binary file format version

as gb_char.table and gbk_char.table has been updated.

11 years agofixes cmake url
Peng Wu [Fri, 1 Mar 2013 09:25:46 +0000 (17:25 +0800)]
fixes cmake url

11 years agofixes download url
Peng Wu [Fri, 1 Mar 2013 09:03:46 +0000 (17:03 +0800)]
fixes download url

11 years agofixes check_format
Peng Wu [Thu, 28 Feb 2013 04:32:46 +0000 (12:32 +0800)]
fixes check_format

11 years agoupdate lambda parameter
Peng Wu [Wed, 27 Feb 2013 03:43:31 +0000 (11:43 +0800)]
update lambda parameter

11 years agoupdate factor
Peng Wu [Wed, 27 Feb 2013 02:45:01 +0000 (10:45 +0800)]
update factor

11 years agoupdate comments
Peng Wu [Mon, 25 Feb 2013 05:55:43 +0000 (13:55 +0800)]
update comments

11 years agofixes gen_unigram.cpp
Peng Wu [Fri, 22 Feb 2013 03:17:58 +0000 (11:17 +0800)]
fixes gen_unigram.cpp

11 years agore-factor tables
Peng Wu [Thu, 21 Feb 2013 10:16:12 +0000 (18:16 +0800)]
re-factor tables

11 years agowrite pinyin_get_pinyin_strings
Peng Wu [Thu, 21 Feb 2013 05:14:55 +0000 (13:14 +0800)]
write pinyin_get_pinyin_strings

11 years agoupdate parser table
Peng Wu [Thu, 21 Feb 2013 03:25:52 +0000 (11:25 +0800)]
update parser table

11 years agoadd get_shengmu/yunmu_string
Peng Wu [Thu, 21 Feb 2013 03:23:21 +0000 (11:23 +0800)]
add get_shengmu/yunmu_string

11 years agoadd shengmu and yunmu to content_table
Peng Wu [Thu, 21 Feb 2013 03:10:46 +0000 (11:10 +0800)]
add shengmu and yunmu to content_table

11 years agoimproves automake
Peng Wu [Tue, 19 Feb 2013 07:44:36 +0000 (15:44 +0800)]
improves automake

11 years agoadd save_dictionary
Peng Wu [Tue, 19 Feb 2013 07:27:46 +0000 (15:27 +0800)]
add save_dictionary

11 years agoupdate automake
Peng Wu [Tue, 19 Feb 2013 06:29:28 +0000 (14:29 +0800)]
update automake

11 years agoadd assert
Peng Wu [Tue, 19 Feb 2013 05:49:08 +0000 (13:49 +0800)]
add assert

11 years agoadd m_dict_index
Peng Wu [Tue, 19 Feb 2013 05:39:01 +0000 (13:39 +0800)]
add m_dict_index

11 years agoadd dictionary support
Peng Wu [Tue, 19 Feb 2013 05:27:38 +0000 (13:27 +0800)]
add dictionary support

11 years agoadd new tables
Peng Wu [Tue, 19 Feb 2013 05:07:08 +0000 (13:07 +0800)]
add new tables

11 years agoadd enum PHRASE_INDEX_LIBRARIES
Peng Wu [Tue, 19 Feb 2013 04:54:35 +0000 (12:54 +0800)]
add enum PHRASE_INDEX_LIBRARIES

11 years agofixes crash
Peng Wu [Mon, 18 Feb 2013 06:36:13 +0000 (14:36 +0800)]
fixes crash

11 years agoFixes issue reported by fundawang:
Peng Wu [Sun, 17 Feb 2013 09:28:43 +0000 (17:28 +0800)]
Fixes issue reported by fundawang:
https://github.com/libpinyin/libpinyin/issues/33

merge libpinyin-0.8.0-link.patch.

11 years agomove data files to libdir
Peng Wu [Sat, 16 Feb 2013 03:40:23 +0000 (11:40 +0800)]
move data files to libdir

11 years agofixes typo
Peng Wu [Tue, 5 Feb 2013 03:41:37 +0000 (11:41 +0800)]
fixes typo

11 years agore-factor load/save
Peng Wu [Mon, 4 Feb 2013 10:11:41 +0000 (18:11 +0800)]
re-factor load/save

11 years agoadd mmap support
Peng Wu [Mon, 4 Feb 2013 09:39:18 +0000 (17:39 +0800)]
add mmap support

11 years agoadd back ng
Peng Wu [Mon, 4 Feb 2013 06:01:40 +0000 (14:01 +0800)]
add back ng

11 years agofixes gen_extra_enter
Peng Wu [Fri, 1 Feb 2013 06:08:57 +0000 (14:08 +0800)]
fixes gen_extra_enter

11 years agoupdate ngseg
Peng Wu [Fri, 1 Feb 2013 04:38:27 +0000 (12:38 +0800)]
update ngseg

11 years agoupdate spseg
Peng Wu [Fri, 1 Feb 2013 04:27:46 +0000 (12:27 +0800)]
update spseg

11 years agoupdate download url
Peng Wu [Wed, 30 Jan 2013 02:52:12 +0000 (10:52 +0800)]
update download url

11 years agofixes incomplete pinyin
Peng Wu [Fri, 25 Jan 2013 04:16:19 +0000 (12:16 +0800)]
fixes incomplete pinyin

11 years agoremove genpinyins.awk
Peng Wu [Mon, 14 Jan 2013 07:15:22 +0000 (15:15 +0800)]
remove genpinyins.awk

11 years agocode re-factor
Peng Wu [Mon, 14 Jan 2013 07:15:05 +0000 (15:15 +0800)]
code re-factor

11 years agowrite genpinyins.py
Peng Wu [Mon, 14 Jan 2013 07:09:18 +0000 (15:09 +0800)]
write genpinyins.py

11 years agocode re-factor
Peng Wu [Mon, 14 Jan 2013 05:55:00 +0000 (13:55 +0800)]
code re-factor

11 years agoclean up configure.ac
Peng Wu [Mon, 31 Dec 2012 02:54:30 +0000 (10:54 +0800)]
clean up configure.ac

11 years agofixes autogen.sh
Peng Wu [Tue, 18 Dec 2012 03:20:25 +0000 (11:20 +0800)]
fixes autogen.sh

11 years agoa safe guard for chewing
Peng Wu [Tue, 11 Dec 2012 06:15:49 +0000 (14:15 +0800)]
a safe guard for chewing

11 years agofixes pinyin_translate_token
Peng Wu [Wed, 5 Dec 2012 03:35:17 +0000 (11:35 +0800)]
fixes pinyin_translate_token

11 years agoremove pinyin_get_pinyins_from_token
Peng Wu [Wed, 5 Dec 2012 03:07:53 +0000 (11:07 +0800)]
remove pinyin_get_pinyins_from_token

11 years agoremove pinyin_translate_token
Peng Wu [Wed, 5 Dec 2012 03:05:05 +0000 (11:05 +0800)]
remove pinyin_translate_token

11 years agoremove pinyin_clear_constraint*
Peng Wu [Wed, 5 Dec 2012 03:01:27 +0000 (11:01 +0800)]
remove pinyin_clear_constraint*

11 years agoadd comments
Peng Wu [Tue, 4 Dec 2012 05:01:01 +0000 (13:01 +0800)]
add comments

11 years agowrite pinyin_token_*
Peng Wu [Tue, 4 Dec 2012 03:05:33 +0000 (11:05 +0800)]
write pinyin_token_*

11 years agoadd comments
Peng Wu [Tue, 4 Dec 2012 02:10:02 +0000 (10:10 +0800)]
add comments

11 years agowrite pinyin_get_chewing/pinyin_string
Peng Wu [Tue, 4 Dec 2012 02:04:09 +0000 (10:04 +0800)]
write pinyin_get_chewing/pinyin_string

11 years agoadd test cases for pinyin_mask_out
Peng Wu [Mon, 3 Dec 2012 04:47:51 +0000 (12:47 +0800)]
add test cases for pinyin_mask_out

11 years agoadd mask out test cases to ngram
Peng Wu [Thu, 29 Nov 2012 06:36:31 +0000 (14:36 +0800)]
add mask out test cases to ngram

11 years agoadd mask out test cases to chewing/pharse table
Peng Wu [Thu, 29 Nov 2012 06:35:08 +0000 (14:35 +0800)]
add mask out test cases to chewing/pharse table

11 years agofixes a typo
Peng Wu [Wed, 28 Nov 2012 02:50:35 +0000 (10:50 +0800)]
fixes a typo

11 years agoadd const modifiers
Peng Wu [Wed, 28 Nov 2012 02:24:10 +0000 (10:24 +0800)]
add const modifiers