NormalizeForMatching applies cached full normalization for cross-seed matching: - Unicode normalization (removes diacritics, decomposes ligatures) - Lowercase - Strip apostrophes (including Unicode variants) - Strip colons - Convert commas to spaces - Convert ampersand to "and" - Convert hyphens to
(s string)
| 147 | // - "Spider-Man" → "spider man" |
| 148 | // - "His & Hers" → "his and hers" |
| 149 | func NormalizeForMatching(s string) string { |
| 150 | return matchingNormalizer.Normalize(s) |
| 151 | } |