extract _compute_prefixes
write pinyin_guess_predicted_candidates
write pinyin_choose_predicted_candidate
add methods to public api
add asserts
fixes crash
add filter to guess predicted candidates
update ChangeLog
fixes a typo
fixes pinyin_choose_candidate