diff --git a/ox/text.py b/ox/text.py index 83885e8..ef3b5a6 100644 --- a/ox/text.py +++ b/ox/text.py @@ -381,7 +381,7 @@ def find_string(string, string0='', string1=''): return find_re(string, string0 + '(.*?)' + string1) def is_asian_name(name): - names = name.lower().split(' ') + names = name.replace('-', ' ').lower().split(' ') if len(names) != 3: return False if names[0] in ASIAN_FIRST_NAMES and names[1] in ASIAN_FIRST_NAMES: