mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 09:22:18 +00:00
increase cutoff margin for alias matching
This commit is contained in:
@@ -152,7 +152,7 @@ class Classifier():
|
||||
base_types = {}
|
||||
for incorrect in incorrect_base_types:
|
||||
base_types.update({incorrect: difflib.get_close_matches(
|
||||
incorrect, uorb_msg, n=1, cutoff=0.8)})
|
||||
incorrect, uorb_msg, n=1, cutoff=0.6)})
|
||||
|
||||
if len(base_types) > 0:
|
||||
raise AssertionError(
|
||||
|
||||
Reference in New Issue
Block a user