You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
贾宝玉
宝玉
这样的方式排列到小说角色文件中去
'''
Synonymous_dict= {}
n = 0
len_name_list = len(self._name_list)
for i in self._name_list:
n += 1
if len(i) > 2 :
if n == len_name_list:
print('- -||')
break
if i[1:] != self._name_list[n]:
continue
Synonymous_dict[self._name_list[n]] = i
print('synoymous :\n{}'.format(Synonymous_dict))
return Synonymous_dict
The text was updated successfully, but these errors were encountered:
def Synonymous_names(self):
'''
对于可能出现类似 贾宝玉、宝玉 两个名字都指同一个人的情况请按照
The text was updated successfully, but these errors were encountered: