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

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

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

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

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

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

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

12 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

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

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

12 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

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

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

12 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

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

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

12 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

12 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

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

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

12 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

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

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

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

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

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

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

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

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

12 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

12 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

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

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

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

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

12 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

12 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

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

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

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

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

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

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

12 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

12 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

12 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

12 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

12 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

12 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

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

12 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

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

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

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

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

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

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

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

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

12 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

12 years agofixes _prepend_sentence_candidate
Peng Wu [Fri, 6 Jul 2012 06:47:58 +0000 (14:47 +0800)]
fixes _prepend_sentence_candidate

12 years agofixes libpinyin.ver
Peng Wu [Thu, 5 Jul 2012 09:05:12 +0000 (17:05 +0800)]
fixes libpinyin.ver

12 years agofixes ld script
Peng Wu [Wed, 4 Jul 2012 08:05:55 +0000 (16:05 +0800)]
fixes ld script

12 years agofixes _compute_phrase_strings_of_items
Peng Wu [Wed, 4 Jul 2012 05:21:42 +0000 (13:21 +0800)]
fixes _compute_phrase_strings_of_items

12 years agobump version 0.6.92 0.6.92
Peng Wu [Tue, 3 Jul 2012 08:27:02 +0000 (16:27 +0800)]
bump version 0.6.92

12 years agofixes _prepend_sentence_candidate
Peng Wu [Tue, 3 Jul 2012 04:04:31 +0000 (12:04 +0800)]
fixes _prepend_sentence_candidate

12 years agopolish code
Peng Wu [Tue, 3 Jul 2012 02:23:55 +0000 (10:23 +0800)]
polish code

12 years agoadd comments
Peng Wu [Mon, 2 Jul 2012 09:40:19 +0000 (17:40 +0800)]
add comments

12 years agorefine pinyin_free_candidates
Peng Wu [Mon, 2 Jul 2012 05:06:14 +0000 (13:06 +0800)]
refine pinyin_free_candidates

12 years agowrite pinyin_free_candidates
Peng Wu [Mon, 2 Jul 2012 05:01:12 +0000 (13:01 +0800)]
write pinyin_free_candidates