platform/upstream/libpinyin.git
11 years agoMerge pull request #28 from maxiaojun/master
Peng Wu [Mon, 8 Oct 2012 03:15:02 +0000 (20:15 -0700)]
Merge pull request #28 from maxiaojun/master

Fix CMakeLists.txt

11 years agoFix CMakeLists.txt
Xiaojun Ma [Sat, 6 Oct 2012 03:53:13 +0000 (22:53 -0500)]
Fix CMakeLists.txt

11 years agobump version 0.7.91 0.7.91
Peng Wu [Mon, 17 Sep 2012 05:10:18 +0000 (13:10 +0800)]
bump version 0.7.91

11 years agofixes code
Peng Wu [Thu, 13 Sep 2012 02:44:37 +0000 (10:44 +0800)]
fixes code

11 years agore-factor phrase_lookup.cpp
Peng Wu [Wed, 12 Sep 2012 01:56:29 +0000 (09:56 +0800)]
re-factor phrase_lookup.cpp

11 years agore-factor pinyin_lookup2.cpp
Peng Wu [Wed, 12 Sep 2012 01:52:35 +0000 (09:52 +0800)]
re-factor pinyin_lookup2.cpp

11 years agoupdate final_step
Peng Wu [Wed, 12 Sep 2012 01:13:41 +0000 (09:13 +0800)]
update final_step

11 years agoimproves get_best_match
Peng Wu [Tue, 11 Sep 2012 11:07:03 +0000 (19:07 +0800)]
improves get_best_match

11 years agoimproves autoconf
Peng Wu [Tue, 11 Sep 2012 08:03:42 +0000 (16:03 +0800)]
improves autoconf

11 years agoremove pinyin_lookup.*
Peng Wu [Tue, 11 Sep 2012 07:55:26 +0000 (15:55 +0800)]
remove pinyin_lookup.*

11 years agoremove winner_tree.*
Peng Wu [Tue, 11 Sep 2012 07:52:35 +0000 (15:52 +0800)]
remove winner_tree.*

11 years agoturn off dump functions
Peng Wu [Tue, 11 Sep 2012 07:33:57 +0000 (15:33 +0800)]
turn off dump functions

11 years agouse pinyin lookup2
Peng Wu [Tue, 11 Sep 2012 06:58:55 +0000 (14:58 +0800)]
use pinyin lookup2

11 years agofixes a typo
Peng Wu [Tue, 11 Sep 2012 06:42:25 +0000 (14:42 +0800)]
fixes a typo

11 years agowrite pinyin_lookup2.*
Peng Wu [Tue, 11 Sep 2012 06:41:37 +0000 (14:41 +0800)]
write pinyin_lookup2.*

11 years agowrite get_best_match
Peng Wu [Tue, 11 Sep 2012 06:11:04 +0000 (14:11 +0800)]
write get_best_match

11 years agofixes get_best_match
Peng Wu [Mon, 10 Sep 2012 08:11:42 +0000 (16:11 +0800)]
fixes get_best_match

11 years agowrite search_unigram2 and search_bigram2
Peng Wu [Mon, 10 Sep 2012 07:48:26 +0000 (15:48 +0800)]
write search_unigram2 and search_bigram2

11 years agowrite get_best_match
Peng Wu [Mon, 10 Sep 2012 05:44:44 +0000 (13:44 +0800)]
write get_best_match

11 years agobegin to write pinyin lookup2
Peng Wu [Mon, 10 Sep 2012 05:08:51 +0000 (13:08 +0800)]
begin to write pinyin lookup2

11 years agowrite aux functions for pinyin lookup2
Peng Wu [Mon, 10 Sep 2012 04:56:34 +0000 (12:56 +0800)]
write aux functions for pinyin lookup2

11 years agoadd dump methods
Peng Wu [Sat, 8 Sep 2012 03:39:07 +0000 (11:39 +0800)]
add dump methods

11 years agofixes compile
Peng Wu [Fri, 7 Sep 2012 07:55:59 +0000 (15:55 +0800)]
fixes compile

11 years agobegin to write pinyin_lookup2.cpp
Peng Wu [Fri, 7 Sep 2012 07:37:44 +0000 (15:37 +0800)]
begin to write pinyin_lookup2.cpp

11 years agowrite pinyin_lookup2.h
Peng Wu [Fri, 7 Sep 2012 06:15:19 +0000 (14:15 +0800)]
write pinyin_lookup2.h

11 years agoremove duplicated defines
Peng Wu [Thu, 6 Sep 2012 08:42:38 +0000 (16:42 +0800)]
remove duplicated defines

11 years agorefactor k_mixture_model_to_interpolation.cpp
Peng Wu [Thu, 6 Sep 2012 08:31:24 +0000 (16:31 +0800)]
refactor k_mixture_model_to_interpolation.cpp

11 years agofixes export_k_mixture_model.cpp
Peng Wu [Thu, 6 Sep 2012 05:57:14 +0000 (13:57 +0800)]
fixes export_k_mixture_model.cpp

11 years agowrite TAGLIB_GET_TAGVALUE
Peng Wu [Thu, 6 Sep 2012 05:46:56 +0000 (13:46 +0800)]
write TAGLIB_GET_TAGVALUE

11 years agowrite TAGLIB_GET_VALUE
Peng Wu [Thu, 6 Sep 2012 05:16:50 +0000 (13:16 +0800)]
write TAGLIB_GET_VALUE

11 years agoupdate import_k_mixture_model.cpp
Peng Wu [Wed, 5 Sep 2012 03:10:21 +0000 (11:10 +0800)]
update import_k_mixture_model.cpp

11 years agoupdate import_interpolation.cpp
Peng Wu [Wed, 5 Sep 2012 03:00:24 +0000 (11:00 +0800)]
update import_interpolation.cpp

11 years agofixes ngseg.cpp
Peng Wu [Tue, 4 Sep 2012 13:22:44 +0000 (21:22 +0800)]
fixes ngseg.cpp

11 years agoremove phrase_large_table.*
Peng Wu [Tue, 4 Sep 2012 05:41:34 +0000 (13:41 +0800)]
remove phrase_large_table.*

11 years agoupdate test cases
Peng Wu [Tue, 4 Sep 2012 05:41:03 +0000 (13:41 +0800)]
update test cases

11 years agoadd clear_tokens call
Peng Wu [Tue, 4 Sep 2012 04:55:13 +0000 (12:55 +0800)]
add clear_tokens call

11 years agoenhance test_phrase_table.cpp
Peng Wu [Tue, 4 Sep 2012 04:32:15 +0000 (12:32 +0800)]
enhance test_phrase_table.cpp

11 years agorefactor code
Peng Wu [Tue, 4 Sep 2012 03:17:04 +0000 (11:17 +0800)]
refactor code

11 years agoremove facade_phrase_table.h
Peng Wu [Tue, 4 Sep 2012 02:48:22 +0000 (10:48 +0800)]
remove facade_phrase_table.h

11 years agoadd clear_ranges/clear_tokens back
Peng Wu [Tue, 4 Sep 2012 02:47:18 +0000 (10:47 +0800)]
add clear_ranges/clear_tokens back

11 years agoadd assert to get_first_token
Peng Wu [Tue, 4 Sep 2012 02:32:01 +0000 (10:32 +0800)]
add assert to get_first_token

11 years agofixes phrase_index.h
Peng Wu [Mon, 3 Sep 2012 10:05:03 +0000 (18:05 +0800)]
fixes phrase_index.h

11 years agoupdate Makefile.am
Peng Wu [Mon, 3 Sep 2012 09:44:29 +0000 (17:44 +0800)]
update Makefile.am

11 years agoupdate gen_ngram.cpp
Peng Wu [Mon, 3 Sep 2012 09:37:18 +0000 (17:37 +0800)]
update gen_ngram.cpp

11 years agoupdate eval_correction_rate.cpp
Peng Wu [Mon, 3 Sep 2012 09:25:53 +0000 (17:25 +0800)]
update eval_correction_rate.cpp

11 years agoupdate gen_k_mixture_model.cpp
Peng Wu [Mon, 3 Sep 2012 09:21:33 +0000 (17:21 +0800)]
update gen_k_mixture_model.cpp

11 years agoupdate import_k_mixture_model.cpp
Peng Wu [Mon, 3 Sep 2012 09:08:05 +0000 (17:08 +0800)]
update import_k_mixture_model.cpp

11 years agoupdate gen_ngram.cpp
Peng Wu [Mon, 3 Sep 2012 08:54:15 +0000 (16:54 +0800)]
update gen_ngram.cpp

11 years agoupdate gen_deleted_ngram.cpp
Peng Wu [Mon, 3 Sep 2012 08:45:07 +0000 (16:45 +0800)]
update gen_deleted_ngram.cpp

11 years agofixes test_phrase_table.cpp
Peng Wu [Mon, 3 Sep 2012 08:33:25 +0000 (16:33 +0800)]
fixes test_phrase_table.cpp

11 years agopolish gen_binary_files.cpp
Peng Wu [Mon, 3 Sep 2012 08:27:03 +0000 (16:27 +0800)]
polish gen_binary_files.cpp

11 years agoupdate utils/storage
Peng Wu [Mon, 3 Sep 2012 08:24:26 +0000 (16:24 +0800)]
update utils/storage

11 years agoupdate tag utility
Peng Wu [Mon, 3 Sep 2012 08:14:09 +0000 (16:14 +0800)]
update tag utility

11 years agoupdate segment to use phrase table ver2
Peng Wu [Mon, 3 Sep 2012 02:54:48 +0000 (10:54 +0800)]
update segment to use phrase table ver2

11 years agoupdate tests to use phrase table ver2
Peng Wu [Mon, 3 Sep 2012 02:40:10 +0000 (10:40 +0800)]
update tests to use phrase table ver2

11 years agoupdate pinyin.cpp to use phrase table ver2
Peng Wu [Mon, 3 Sep 2012 02:26:50 +0000 (10:26 +0800)]
update pinyin.cpp to use phrase table ver2

11 years agoupdate PhraseLookup
Peng Wu [Mon, 3 Sep 2012 02:09:29 +0000 (10:09 +0800)]
update PhraseLookup

11 years agofixes facade_phrase_table2.h
Peng Wu [Mon, 3 Sep 2012 02:08:03 +0000 (10:08 +0800)]
fixes facade_phrase_table2.h

11 years agowrite get_first_token
Peng Wu [Mon, 3 Sep 2012 01:53:19 +0000 (09:53 +0800)]
write get_first_token

11 years agowrite prepare/destroy tokens
Peng Wu [Sat, 1 Sep 2012 03:50:31 +0000 (11:50 +0800)]
write prepare/destroy tokens

11 years agorefactor stl_lite.h
Peng Wu [Sat, 1 Sep 2012 03:27:18 +0000 (11:27 +0800)]
refactor stl_lite.h

11 years agofixes PinyinLookup::search_unigram
Peng Wu [Fri, 31 Aug 2012 09:56:12 +0000 (17:56 +0800)]
fixes PinyinLookup::search_unigram

11 years agodrop FacadePhraseIndex::clear_ranges method
Peng Wu [Fri, 31 Aug 2012 07:00:06 +0000 (15:00 +0800)]
drop FacadePhraseIndex::clear_ranges method

11 years agofixes a typo
Peng Wu [Fri, 31 Aug 2012 02:59:32 +0000 (10:59 +0800)]
fixes a typo

11 years agowrite facade_phrase_table2.h
Peng Wu [Thu, 30 Aug 2012 08:33:24 +0000 (16:33 +0800)]
write facade_phrase_table2.h

11 years agopolish code
Peng Wu [Wed, 29 Aug 2012 05:42:08 +0000 (13:42 +0800)]
polish code

11 years agowrite load/store method
Peng Wu [Wed, 29 Aug 2012 05:31:22 +0000 (13:31 +0800)]
write load/store method

11 years agoupdate comments
Peng Wu [Tue, 28 Aug 2012 06:52:51 +0000 (14:52 +0800)]
update comments

11 years agowrite load_text method
Peng Wu [Tue, 28 Aug 2012 06:50:26 +0000 (14:50 +0800)]
write load_text method

11 years agowrite add/remove index method
Peng Wu [Tue, 28 Aug 2012 06:43:23 +0000 (14:43 +0800)]
write add/remove index method

11 years agorename phrase_compare and phrase_less_than
Peng Wu [Tue, 28 Aug 2012 06:19:21 +0000 (14:19 +0800)]
rename phrase_compare and phrase_less_than

11 years agowrite add/remove index method in progress
Peng Wu [Tue, 28 Aug 2012 03:13:53 +0000 (11:13 +0800)]
write add/remove index method in progress

11 years agobegin to write add/remove index
Peng Wu [Tue, 28 Aug 2012 02:56:12 +0000 (10:56 +0800)]
begin to write add/remove index

11 years agowrite search method
Peng Wu [Mon, 27 Aug 2012 08:08:58 +0000 (16:08 +0800)]
write search method

11 years agochange phrase_length from int to size_t
Peng Wu [Mon, 27 Aug 2012 08:03:57 +0000 (16:03 +0800)]
change phrase_length from int to size_t

11 years agowrite search method in progress
Peng Wu [Mon, 27 Aug 2012 06:31:14 +0000 (14:31 +0800)]
write search method in progress

11 years agobegin to write search method
Peng Wu [Mon, 27 Aug 2012 05:34:40 +0000 (13:34 +0800)]
begin to write search method

11 years agorename PhraseIndexItem to PhraseIndexItem2
Peng Wu [Mon, 27 Aug 2012 02:59:32 +0000 (10:59 +0800)]
rename PhraseIndexItem to PhraseIndexItem2

11 years agofixes compile
Peng Wu [Tue, 21 Aug 2012 06:04:28 +0000 (14:04 +0800)]
fixes compile

11 years agowrite PhraseIndexItem
Peng Wu [Tue, 21 Aug 2012 06:00:14 +0000 (14:00 +0800)]
write PhraseIndexItem

11 years agorefine pinyin.h
Peng Wu [Tue, 21 Aug 2012 03:39:13 +0000 (11:39 +0800)]
refine pinyin.h

11 years agoadd phrase_large_table2.cpp
Peng Wu [Tue, 21 Aug 2012 03:29:06 +0000 (11:29 +0800)]
add phrase_large_table2.cpp

11 years agoadd phrase_large_table2.h
Peng Wu [Mon, 20 Aug 2012 06:07:52 +0000 (14:07 +0800)]
add phrase_large_table2.h

11 years agofixes pinyin_lookup_token
Peng Wu [Fri, 24 Aug 2012 06:20:10 +0000 (14:20 +0800)]
fixes pinyin_lookup_token

12 years agobump version 0.7.1 0.7.1
Peng Wu [Mon, 13 Aug 2012 02:50:34 +0000 (10:50 +0800)]
bump version 0.7.1

12 years agofixes pinyin_load_phrase_library
Peng Wu [Thu, 9 Aug 2012 05:06:05 +0000 (13:06 +0800)]
fixes pinyin_load_phrase_library

12 years agoupdate libpinyin.ver
Peng Wu [Wed, 8 Aug 2012 02:33:30 +0000 (10:33 +0800)]
update libpinyin.ver

12 years agofixes cmake
Peng Wu [Tue, 7 Aug 2012 05:55:21 +0000 (13:55 +0800)]
fixes cmake

12 years agoadd comments for new apis
Peng Wu [Tue, 7 Aug 2012 05:36:16 +0000 (13:36 +0800)]
add comments for new apis

12 years agoadd apis
Peng Wu [Tue, 7 Aug 2012 05:28:26 +0000 (13:28 +0800)]
add apis

12 years agofixes add phrase
Peng Wu [Thu, 2 Aug 2012 09:30:49 +0000 (17:30 +0800)]
fixes add phrase

12 years agoupdate cmake
Peng Wu [Wed, 1 Aug 2012 02:02:14 +0000 (10:02 +0800)]
update cmake

12 years agofixes cmake
Peng Wu [Tue, 31 Jul 2012 05:56:30 +0000 (13:56 +0800)]
fixes cmake

12 years agopolish code
Peng Wu [Tue, 31 Jul 2012 03:32:26 +0000 (11:32 +0800)]
polish code

12 years agoMerge pull request #19 from alick9188/fix-data-dir
Peng Wu [Mon, 30 Jul 2012 05:00:20 +0000 (22:00 -0700)]
Merge pull request #19 from alick9188/fix-data-dir

fix text dat file location when out of tree build

12 years agofixes pinyin_iterator_add_phrase
Peng Wu [Mon, 30 Jul 2012 04:08:04 +0000 (12:08 +0800)]
fixes pinyin_iterator_add_phrase

12 years agofix out of tree build when using git src repo
Alick Zhao [Fri, 27 Jul 2012 10:57:52 +0000 (18:57 +0800)]
fix out of tree build when using git src repo

The out of tree build failure only occurs when using git dev version.
It results from mismatch directory for textual data files.
It does not happen when using distributed tar ball because the textual
data files are distributed in the archive's data directory.

This patch will workaround the problem by uncompressing downloaded
textual data archive into src/data directory.
Note in this way we cannot do VPATH build when developing. Let's just
assume that use case is rare.

12 years agofixes cmake
Peng Wu [Fri, 27 Jul 2012 08:54:10 +0000 (16:54 +0800)]
fixes cmake

12 years agobump version 0.7.0 0.7.0
Peng Wu [Fri, 27 Jul 2012 03:07:58 +0000 (11:07 +0800)]
bump version 0.7.0

12 years agofixes pinyin_reset
Peng Wu [Mon, 9 Jul 2012 04:48:55 +0000 (12:48 +0800)]
fixes pinyin_reset