mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-04 16:14:51 +08:00
Merge branch 'master' into dev
This commit is contained in:
@@ -276,6 +276,7 @@ class Commission:
|
|||||||
"""
|
"""
|
||||||
min_key = ''
|
min_key = ''
|
||||||
min_distance = 100
|
min_distance = 100
|
||||||
|
string = re.sub(' ', '', string)
|
||||||
for key, value in dictionary_jp.items():
|
for key, value in dictionary_jp.items():
|
||||||
for keyword in value:
|
for keyword in value:
|
||||||
distance = Levenshtein.distance(keyword, string)
|
distance = Levenshtein.distance(keyword, string)
|
||||||
|
|||||||
Reference in New Issue
Block a user