add core codes of minguo_helper.