summaryrefslogtreecommitdiffstats
path: root/packages/meshbay-node/src/meshbay_node/indexer/title_parse.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-node/src/meshbay_node/indexer/title_parse.py')
-rw-r--r--packages/meshbay-node/src/meshbay_node/indexer/title_parse.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/packages/meshbay-node/src/meshbay_node/indexer/title_parse.py b/packages/meshbay-node/src/meshbay_node/indexer/title_parse.py
index 032dc58..beb0d3f 100644
--- a/packages/meshbay-node/src/meshbay_node/indexer/title_parse.py
+++ b/packages/meshbay-node/src/meshbay_node/indexer/title_parse.py
@@ -154,11 +154,12 @@ def sequel_variants(title: str) -> list[str]:
index re-rendered as digit and as Roman numeral, plus (only when there
is no "Part"/"Episode"/… keyword) the bare base.
- The bare base is withheld for a keyword'd index — "Star Wars Episode
- III" → "Star Wars" — because a franchise's bare name is very often a
- real, *different* film (the 1977 original), and that variant matched
- every episode to it (§10.1/V14). Without the keyword ("Jurassic Park 3")
- the number is decoration and "Jurassic Park" is the right base to try.
+ The bare base is withheld for a keyword'd index — "<Saga> Chapter III"
+ → "<Saga>" — because a franchise's bare name is very often a real,
+ *different* film (the series' first entry), and that variant matched
+ every later entry to it (§10.1/V14). Without the keyword ("<Franchise>
+ 3") the number is decoration and the bare base is the right thing to
+ try.
"""
m = _TRAILING_INDEX_RE.match(title.strip())
if not m: