known unknowns

This commit is contained in:
j 2010-05-17 11:09:40 +02:00
parent a5a2780525
commit 8c61808d6e

View file

@ -106,6 +106,8 @@ def canonicalName(name):
# - single surname, composed name: 186604
# (2: 178315, 3: 6573, 4: 1219, 5: 352)
# Don't convert names already in the canonical format.
if name in ('Unknown Director', ):
return name
if name.find(', ') != -1: return name
sname = name.split(' ')
snl = len(sname)