From f1d3c317b0142f81c4bb45b23ca85124658da79f Mon Sep 17 00:00:00 2001 From: alistairjcbrown <635903+alistairjcbrown@users.noreply.github.com> Date: Mon, 16 Mar 2026 17:22:20 +0000 Subject: [PATCH] Update title normalization test --- common/known-removable-phrases.js | 4 + common/tests/test-titles.json | 120 ++++++++++++++++++++++++++++++ 2 files changed, 124 insertions(+) diff --git a/common/known-removable-phrases.js b/common/known-removable-phrases.js index 5ff5199..2e280a0 100644 --- a/common/known-removable-phrases.js +++ b/common/known-removable-phrases.js @@ -275,6 +275,7 @@ const knownRemovablePhrases = [ "with Director Intro", "With Directors Live Q and", "with Dr Catherine Lester", + "with Eric Wong", "with Tim Robey", "with tommy wiseau live on stage", "with Sammy Baloji", @@ -388,6 +389,7 @@ const knownRemovablePhrases = [ "AnimeGirlsOnline:", "Animation at War:", "Animation in Love:", + "Animation Screening in London", "Annemarie Jacir:", "April Fool's Day:", "April Fools'", @@ -445,6 +447,7 @@ const knownRemovablePhrases = [ "by Joe Harvey-Whyte", "COLD ISLANDERS:", "Cold War Visions:", + "Mamoru Hosoda's", "Mondays for Members:", "Members' Exclusive:", "Members':", @@ -674,6 +677,7 @@ const knownRemovablePhrases = [ "LAFS:", "Leyton Benta's", "LRB Screen/London Reviewed:", + "LRB Screen x MUBI:", "London Migration Film Festival", "Love... Obsession... Music!:", "BFI LFF: Opening Night Gala", diff --git a/common/tests/test-titles.json b/common/tests/test-titles.json index 4c3f63a..9c1fbaa 100644 --- a/common/tests/test-titles.json +++ b/common/tests/test-titles.json @@ -60430,5 +60430,125 @@ { "input": "THE SWINGING BARMAIDS", "output": "swinging barmaids" + }, + { + "input": "IRIS ON THE MOVE: WHEN LOVE BROKE THE LAW LIVE Q&A", + "output": "iris on the move when love broke the law live" + }, + { + "input": "The ClassicOne Cinema Club: THE REMAINS OF THE DAY", + "output": "remains of the day" + }, + { + "input": "The Hurricane", + "output": "the hurricane" + }, + { + "input": "Bande à part (1964)", + "output": "bande a part (1964)" + }, + { + "input": "Le Beau Serge (1958)", + "output": "le beau serge (1958)" + }, + { + "input": "FANTASIA (Dementia-Friendly Screening)", + "output": "fantasia" + }, + { + "input": "FANTASIA (Relaxed Screening)", + "output": "fantasia" + }, + { + "input": "IT'S NEVER OVER, JEFF BUCKLEY", + "output": "its never over jeff buckley" + }, + { + "input": "LITTLE AMÉLIE OR THE CHARACTER OF RAIN (BiAs screening)", + "output": "little amelie or the character of rain" + }, + { + "input": "Electric Scream! Project Hail Mary", + "output": "project hail mary" + }, + { + "input": "THE BELL JAR ", + "output": "bell jar" + }, + { + "input": "Charlie Shaw's Revenge + Q&A - LIFF", + "output": "charlie shaws revenge" + }, + { + "input": "SMASH Pitching Workshop - LIFF", + "output": "smash pitching workshop" + }, + { + "input": "TERRA + Q&A - LIFF", + "output": "terra" + }, + { + "input": "The Distance We Drift + Q&A - LIFF", + "output": "distance we drift" + }, + { + "input": "The Edge of Existence + Q&A - LIFF", + "output": "edge of existence" + }, + { + "input": "vShowcards Presents: The Relationships That Get Films Made - LIFF", + "output": "relationships that get films made" + }, + { + "input": "24 Hour Cinema — Drop In Anytime (12PM–12PM)", + "output": "24 hour cinema drop in anytime" + }, + { + "input": "Mondays for Members: Mondo Lux", + "output": "mondo lux" + }, + { + "input": "Dinamo Footwork Vs Transphobia: Film screening and kit sale", + "output": "dinamo footwork vs transphobia kit sale" + }, + { + "input": "Shattered Bond - London Red Carpet Premiere", + "output": "shattered bond" + }, + { + "input": "Phoenix Classics + Pizza Night: Wayne's World", + "output": "waynes world" + }, + { + "input": "Oscar the Ferry Cat Animation Screening in London", + "output": "oscar the ferry cat" + }, + { + "input": "Mamoru Hosoda's Belle Film Screening and Q&A with Eric Wong", + "output": "belle" + }, + { + "input": "Reimagining Post-Cinematic Environments", + "output": "reimagining postcinematic environments" + }, + { + "input": "Short film fundraiser event", + "output": "short film fundraiser event" + }, + { + "input": "Word Space presents Kite String Poetry #4: Anthology Launch", + "output": "kite string poetry #4 anthology launch" + }, + { + "input": "D is for Distance + Q&A", + "output": "d is for distance" + }, + { + "input": "LRB Screen x MUBI: Law and Order", + "output": "law order" + }, + { + "input": "Rose of Nevada + George MacKay Q&A", + "output": "rose of nevada" } ]