mirror of
https://gitlab.crans.org/mediatek/med.git
synced 2024-12-25 06:22:23 +00:00
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
Block a user