現状、かおの変換候補表示にタイムラグがある。
rewriter/emoticon_rewriter.cc
bool RewriteCandidate(Segments *segments)
以下の部分を削除する。
// "かお" } else if (key == "\xE3\x81\x8B\xE3\x81\x8A") { // When key is "かお", expand all candidates in conservative way. const EmbeddedDictionary::Token *token = Singleton<EmoticonDictionary>::get()->GetDictionary()->AllToken(); CHECK(token); // first 6 candidates are inserted at 4 th position. // Other candidates are pushed to the buttom. value = token->value; value_size = token->value_size; initial_insert_pos = 4; initial_insert_size = 6;
rewriter/emoticon_rewriter_test.ccに2箇所ほど「かお」の変換をテストしている箇所があるので削除する。