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]>
This commit is contained in:
1 parent
51e0032d14
commit
f6ec993b5f
5 files changed
+527
-34
No files matched your search
@@ -1,8 +1,11 @@
|
||||
export {
|
||||
DEFAULT_MATCH_WEIGHTS,
|
||||
type EvidenceLevel,
|
||||
type IdentityCandidate,
|
||||
type IdentityResolution,
|
||||
type MatchOptions,
|
||||
type MatchWeights,
|
||||
poolGenericNames,
|
||||
queryTitles,
|
||||
type RankedCandidate,
|
||||
rankCandidates,
|
||||
@@ -12,5 +15,6 @@ export {
|
||||
type TypeMatch,
|
||||
type YearMatch,
|
||||
} from "./match.ts";
|
||||
export { normalizeTitle, stripSeasonSuffix } from "./normalize.ts";
|
||||
export { isGenericAliasName, normalizeTitle, stripSeasonSuffix } from "./normalize.ts";
|
||||
export { sequelNumbers } from "./sequel.ts";
|
||||
export { TRAD_TO_SIMP, toSimplified } from "./zh-map.ts";
|
||||
Reference in new issue
Block a user