Normalize after replacing UN
This commit is contained in:
parent
8b097dc4e0
commit
838fcecb56
|
@ -26,6 +26,8 @@ def generate_side_identifier(title, authors, subtitle=None):
|
|||
title_normalized = re.sub(r'^LA ', '', title_normalized)
|
||||
title_normalized = re.sub(r'^LES ', '', title_normalized)
|
||||
title_normalized = re.sub(r'^L\'', '', title_normalized)
|
||||
title_normalized = re.sub(r'^UN ', '', title_normalized)
|
||||
title_normalized = re.sub(r'^UNE ', '', title_normalized)
|
||||
title_normalized = re.sub(r'^THE ', '', title_normalized)
|
||||
title_normalized = re.sub(r'Œ', 'OE', title_normalized)
|
||||
title_normalized = title_normalized.replace(' ', '')
|
||||
|
|
Loading…
Reference in New Issue