Files
UHD_Media_Tool/packages/domain/src/identity/index.ts
T
rootandClaude Opus 5.5 f6ec993b5f feat(identity): weighted evidence table, sequel numbers, generic-name guard (ID-2)
Configurable DEFAULT_MATCH_WEIGHTS; Chinese/English names both count and
corroborate; Chapter/Part/第N章 sequel conflicts reject; missing season
penalised; category words and single-word aliases colliding in the pool
cannot confirm alone; alias-only hits need year or second-script support;
same-level ties broken by exact year then matched name scripts.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 17:41:22 +08:00

21 lines
532 B
TypeScript

export {
DEFAULT_MATCH_WEIGHTS,
type EvidenceLevel,
type IdentityCandidate,
type IdentityResolution,
type MatchOptions,
type MatchWeights,
poolGenericNames,
queryTitles,
type RankedCandidate,
rankCandidates,
resolveIdentity,
scoreCandidate,
type TitleMatch,
type TypeMatch,
type YearMatch,
} from "./match.ts";
export { isGenericAliasName, normalizeTitle, stripSeasonSuffix } from "./normalize.ts";
export { sequelNumbers } from "./sequel.ts";
export { TRAD_TO_SIMP, toSimplified } from "./zh-map.ts";