/** -------------------------------------------------------------------- **/ public MacroscopeLevenshteinAnalysis( MacroscopeDocument msDoc, int SizeDifference, int Threshold, Dictionary <string, bool> CrossCheckList ) : base() { this.SuppressDebugMsg = true; this.msDocOriginal = msDoc; this.Fingerprint = msDoc.GetLevenshteinFingerprint(); this.AnalyzerFingerprint = new Levenshtein(Fingerprint); this.ComparisonSizeDifference = SizeDifference; this.ComparisonThreshold = Threshold; this.CrossCheck = CrossCheckList; this.PercentageDone = null; }
public MacroscopeLevenshteinAnalysis( MacroscopeDocument msDoc, int SizeDifference, int Threshold, Dictionary <string, Boolean> CrossCheckList ) { this.SuppressDebugMsg = true; this.msDocOriginal = msDoc; this.MonstrousText = msDoc.GetDocumentTextRaw().ToLower(); this.Monster = new Levenshtein(MonstrousText); this.ComparisonSizeDifference = SizeDifference; this.ComparisonThreshold = Threshold; this.CrossCheck = CrossCheckList; this.PercentageDone = null; }