From 4d596ce01a4041d01e090211b850544a379b2abe Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 25 Feb 2013 13:55:43 +0800 Subject: update comments --- src/pinyin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pinyin.cpp') diff --git a/src/pinyin.cpp b/src/pinyin.cpp index e880bb1..ab0f466 100644 --- a/src/pinyin.cpp +++ b/src/pinyin.cpp @@ -344,7 +344,7 @@ bool pinyin_iterator_add_phrase(import_iterator_t * iter, g_array_free(tokenarray, TRUE); PhraseItem item; - /* check whether it exists in the same sub phrase; */ + /* check whether it exists in the same sub phrase index; */ if (null_token != token && PHRASE_INDEX_LIBRARY_INDEX(token) == iter->m_phrase_index) { /* if so, remove the phrase, add the pinyin for the phrase item, @@ -370,7 +370,7 @@ bool pinyin_iterator_add_phrase(import_iterator_t * iter, result = true; } } else { - /* if not exists in the sub phrase index, + /* if not exists in the same sub phrase index, get the maximum token, then add it directly with maximum token + 1; */ PhraseIndexRange range; -- cgit