def METHOD_NAME(self, pinyins, rhy_pre):
    final_py = []
    j = 0
    for i in range(len(rhy_pre)):
        if rhy_pre[i] in self.rhy_dict:
            final_py.append(self.rhy_dict[rhy_pre[i]])
        else:
            final_py.append(pinyins[j])
            j += 1
    return final_py