write pinyin_accelerator_name function