platform/upstream/libpinyin.git
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

11 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

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

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

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

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

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

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

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

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

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

11 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

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

11 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.

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

11 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

12 years agorename pinyin_choose_full_pinyin_candidate
Peng Wu [Mon, 2 Jul 2012 04:53:40 +0000 (12:53 +0800)]
rename pinyin_choose_full_pinyin_candidate

12 years agoremove pinyin_choose_candidate
Peng Wu [Mon, 2 Jul 2012 04:51:52 +0000 (12:51 +0800)]
remove pinyin_choose_candidate

12 years agofixes _remove_duplicated_items_by_phrase_string
Peng Wu [Mon, 2 Jul 2012 04:02:31 +0000 (12:02 +0800)]
fixes _remove_duplicated_items_by_phrase_string

12 years agoenable remove duplicated items
Peng Wu [Mon, 2 Jul 2012 03:51:47 +0000 (11:51 +0800)]
enable remove duplicated items

12 years agoupdate test_pinyin
Peng Wu [Mon, 2 Jul 2012 03:42:55 +0000 (11:42 +0800)]
update test_pinyin

12 years agowrite _remove_duplicated_items_by_phrase_string
Peng Wu [Mon, 2 Jul 2012 03:35:57 +0000 (11:35 +0800)]
write _remove_duplicated_items_by_phrase_string

12 years agowrite _compute_strings_of_items
Peng Wu [Mon, 2 Jul 2012 02:39:18 +0000 (10:39 +0800)]
write _compute_strings_of_items

12 years agocomment out _remove_duplicated_items
Peng Wu [Mon, 2 Jul 2012 01:43:14 +0000 (09:43 +0800)]
comment out _remove_duplicated_items

12 years agoupdate spec.in
Peng Wu [Thu, 28 Jun 2012 07:49:49 +0000 (15:49 +0800)]
update spec.in

12 years agoupdate pinyin_get/choose_candidates
Peng Wu [Thu, 28 Jun 2012 07:13:49 +0000 (15:13 +0800)]
update pinyin_get/choose_candidates

12 years agoreduce phrase table size
Peng Wu [Thu, 28 Jun 2012 07:01:39 +0000 (15:01 +0800)]
reduce phrase table size

12 years agoadd comments
Peng Wu [Thu, 28 Jun 2012 06:47:38 +0000 (14:47 +0800)]
add comments

12 years agoadd load/save multiple phrase libraries
Peng Wu [Thu, 28 Jun 2012 06:38:49 +0000 (14:38 +0800)]
add load/save multiple phrase libraries

12 years agorefine pinyin_guess_sentence_with_prefix
Peng Wu [Wed, 27 Jun 2012 07:55:18 +0000 (15:55 +0800)]
refine pinyin_guess_sentence_with_prefix

12 years agowrite pinyin_iterator_add_phrase
Peng Wu [Wed, 27 Jun 2012 07:53:05 +0000 (15:53 +0800)]
write pinyin_iterator_add_phrase

12 years agowrite pinyin begin/end add phrase
Peng Wu [Wed, 27 Jun 2012 03:08:04 +0000 (11:08 +0800)]
write pinyin begin/end add phrase

12 years agobegin to write import iterator
Peng Wu [Tue, 26 Jun 2012 04:34:54 +0000 (12:34 +0800)]
begin to write import iterator

12 years agofixes a typo
Peng Wu [Tue, 26 Jun 2012 03:18:23 +0000 (11:18 +0800)]
fixes a typo

12 years agorefine pinyin.cpp
Peng Wu [Mon, 25 Jun 2012 03:48:25 +0000 (11:48 +0800)]
refine pinyin.cpp

12 years agoupdate utils
Peng Wu [Mon, 25 Jun 2012 03:21:44 +0000 (11:21 +0800)]
update utils

12 years agoupdate tests
Peng Wu [Mon, 25 Jun 2012 03:11:56 +0000 (11:11 +0800)]
update tests

12 years agorefactor pinyin_phrase_files
Peng Wu [Mon, 25 Jun 2012 02:58:39 +0000 (10:58 +0800)]
refactor pinyin_phrase_files

12 years agorefine asserts in large tables
Peng Wu [Thu, 21 Jun 2012 05:18:18 +0000 (13:18 +0800)]
refine asserts in large tables

12 years agoadd ErrorResult
Peng Wu [Thu, 21 Jun 2012 05:06:33 +0000 (13:06 +0800)]
add ErrorResult

12 years agoupdate autoconf
Peng Wu [Thu, 21 Jun 2012 03:25:33 +0000 (11:25 +0800)]
update autoconf

12 years agoupdate autogen.sh
Peng Wu [Thu, 21 Jun 2012 03:13:55 +0000 (11:13 +0800)]
update autogen.sh

12 years agoadd assert
Peng Wu [Thu, 21 Jun 2012 02:25:58 +0000 (10:25 +0800)]
add assert

12 years agoadd comments
Peng Wu [Tue, 19 Jun 2012 06:52:32 +0000 (14:52 +0800)]
add comments

12 years agofixes phrase library load
Peng Wu [Tue, 19 Jun 2012 06:41:18 +0000 (14:41 +0800)]
fixes phrase library load

12 years agoimproves pinyin_save
Peng Wu [Tue, 19 Jun 2012 03:22:08 +0000 (11:22 +0800)]
improves pinyin_save

12 years agofixes pinyin_unload_phrase_library
Peng Wu [Tue, 19 Jun 2012 03:00:46 +0000 (11:00 +0800)]
fixes pinyin_unload_phrase_library

12 years agofixes pinyin_fini
Peng Wu [Tue, 19 Jun 2012 02:57:52 +0000 (10:57 +0800)]
fixes pinyin_fini

12 years agofixes crash
Peng Wu [Mon, 18 Jun 2012 08:53:00 +0000 (16:53 +0800)]
fixes crash

12 years agowrite get_dbin_filename
Peng Wu [Mon, 18 Jun 2012 08:29:22 +0000 (16:29 +0800)]
write get_dbin_filename

12 years agoupdate check_format
Peng Wu [Mon, 18 Jun 2012 08:24:26 +0000 (16:24 +0800)]
update check_format

12 years agowrite load/unload phrase index
Peng Wu [Mon, 18 Jun 2012 08:05:13 +0000 (16:05 +0800)]
write load/unload phrase index

12 years agobegin to write multiple phrase library support
Peng Wu [Mon, 18 Jun 2012 06:59:32 +0000 (14:59 +0800)]
begin to write multiple phrase library support

12 years agorefine tests
Peng Wu [Thu, 14 Jun 2012 03:13:51 +0000 (11:13 +0800)]
refine tests