Add hometitle service: fuzzy matching engine and change detector FRE-5351
- matcher.service.ts: name/address normalization, Levenshtein distance, geocoding proximity, confidence scoring (0.0-1.0) - change-detector.ts: PropertySnapshot diff engine, severity scoring (minor/moderate/major), configurable thresholds, alert triggering - 57 unit tests with 98%+ coverage across all thresholds
This commit is contained in:
34
services/hometitle/src/index.ts
Normal file
34
services/hometitle/src/index.ts
Normal file
@@ -0,0 +1,34 @@
|
||||
export {
|
||||
matchRecords,
|
||||
getConfigForPropertyType,
|
||||
parseName,
|
||||
normalizeString,
|
||||
normalizeStreetType,
|
||||
levenshteinDistance,
|
||||
similarityScore,
|
||||
} from './matcher.service';
|
||||
|
||||
export {
|
||||
detectChanges,
|
||||
shouldTriggerAlert,
|
||||
classifyFieldChange,
|
||||
determineSeverity,
|
||||
computeChangeConfidence,
|
||||
} from './change-detector';
|
||||
|
||||
export type {
|
||||
PropertyRecord,
|
||||
Address,
|
||||
PropertyType,
|
||||
PropertySnapshot,
|
||||
MatchResult,
|
||||
MatchDetails,
|
||||
FieldMatch,
|
||||
ChangeDetectionResult,
|
||||
ChangeType,
|
||||
Severity,
|
||||
PropertyChange,
|
||||
MatchingConfig,
|
||||
DetectionConfig,
|
||||
NormalizedTokens,
|
||||
} from './types';
|
||||
Reference in New Issue
Block a user