From f8e2587add2727c0cf0f30d4b808032e61c40fe2 Mon Sep 17 00:00:00 2001 From: alistairjcbrown <635903+alistairjcbrown@users.noreply.github.com> Date: Mon, 26 Jan 2026 09:31:09 +0000 Subject: [PATCH] Update title normalization test --- common/known-removable-phrases.js | 1 + common/tests/test-titles.json | 88 +++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) diff --git a/common/known-removable-phrases.js b/common/known-removable-phrases.js index 4212020..4cd55d3 100644 --- a/common/known-removable-phrases.js +++ b/common/known-removable-phrases.js @@ -10,6 +10,7 @@ const knownRemovablePhrases = [ "in 35mm", "from 16mm", "from 35mm", + "from VHS", "35mm edition uk charity screening", "UK Charity Screening", "London Gala Screening", diff --git a/common/tests/test-titles.json b/common/tests/test-titles.json index 21f385e..53be1e3 100644 --- a/common/tests/test-titles.json +++ b/common/tests/test-titles.json @@ -50686,5 +50686,93 @@ { "input": "THE KILLER", "output": "killer" + }, + { + "input": "TRANSMISSIONS PRESENTS: Basic Instinct ***FROM VHS***", + "output": "basic instinct" + }, + { + "input": "àkòdì: Small Eyes, Big Worlds", + "output": "akodi small eyes big worlds" + }, + { + "input": "Der Bomberpilot", + "output": "der bomberpilot" + }, + { + "input": "Art + Sound Bath: Mindful Art Workshop + Restorative Sound Bath", + "output": "art" + }, + { + "input": "FILM PREMIERE: BEYOND MAMUSHI & FORGET-ME-NOT", + "output": "beyond mamushi forgetmenot" + }, + { + "input": "Lucy Lombard Presents: A Valentines Concert", + "output": "a valentines concert" + }, + { + "input": "Mystery Giallo Marathon DAy", + "output": "mystery giallo marathon day" + }, + { + "input": "Mystery Italian Horror Marathon Movie Day", + "output": "mystery italian horror marathon movie day" + }, + { + "input": "PEFF26 | HAMLET SCREENING + PANEL", + "output": "hamlet" + }, + { + "input": "War Movie Mystery Movie Marathon Day", + "output": "war movie mystery movie marathon day" + }, + { + "input": "Drink & Dine: \"Wuthering Heights\"", + "output": "wuthering heights" + }, + { + "input": "Drink & Dine: 28 Years Later: The Bone Temple", + "output": "28 years later the bone temple" + }, + { + "input": "Drink & Dine: Bottle Rocket", + "output": "bottle rocket" + }, + { + "input": "Drink & Dine: Bugonia", + "output": "bugonia" + }, + { + "input": "Drink & Dine: Call Me by Your Name", + "output": "call me by your name" + }, + { + "input": "Drink & Dine: F1® The Movie", + "output": "f1" + }, + { + "input": "Drink & Dine: Frankenstein", + "output": "frankenstein" + }, + { + "input": "A Matter of Loaf and Death", + "output": "a matter of loaf death" + }, + { + "input": "Carlito's Way", + "output": "carlitos way" + }, + { + "input": "Slither", + "output": "slither" + }, + { + "input": "The Hidden Fortress [Kakushi-toride no san-akunin]", + "output": "hidden fortress" + }, + { + "input": "White Men Can't Jump", + "output": "white men cant jump" } ]