Configuration options for manga matching behavior.

export interface MatchEngineConfig {
/** Minimum confidence score (0-100) required for auto-matching. */
confidenceThreshold: number;

/** Boost scores for English title matches by 5%. */
shouldPreferEnglishTitles: boolean;
/** Boost scores for Romaji title matches by 5%. */
shouldPreferRomajiTitles: boolean;
/** Include AniList synonyms and alternative titles in scoring. */
shouldUseAlternativeTitles: boolean;

/** Enable extra searches for titles with punctuation or subtitles if no match is found. */
enableExtraTitleSearches: boolean;

/** Preserve case in title comparison. */
isCaseSensitive: boolean;

/** Minimum title length threshold; skip shorter titles to reduce false matches. */
minTitleLength: number;

/** Maximum number of candidate matches to return per search. */
maxMatches: number;
}
interface MatchEngineConfig {
    confidenceThreshold: number;
    shouldPreferEnglishTitles: boolean;
    shouldPreferRomajiTitles: boolean;
    shouldUseAlternativeTitles: boolean;
    enableExtraTitleSearches: boolean;
    isCaseSensitive: boolean;
    minTitleLength: number;
    maxMatches: number;
}

Properties

confidenceThreshold: number

Minimum confidence score (0-100) required for auto-matching.

shouldPreferEnglishTitles: boolean

Boost scores for English title matches by 5%.

shouldPreferRomajiTitles: boolean

Boost scores for Romaji title matches by 5%.

shouldUseAlternativeTitles: boolean

Include AniList synonyms and alternative titles in scoring.

enableExtraTitleSearches: boolean

Enable extra searches for titles with punctuation or subtitles if no match is found.

isCaseSensitive: boolean

Preserve case in title comparison.

minTitleLength: number

Minimum title length threshold; skip shorter titles to reduce false matches.

maxMatches: number

Maximum number of candidate matches to return per search.