UNPKG

devibe

Version:

Intelligent repository cleanup with auto mode, AI learning, markdown consolidation, auto-consolidate workflow, context-aware classification, and cost optimization

53 lines 1.35 kB
/** * Markdown Analyzer * * Calculates relevance scores using multi-factor analysis. */ import { MarkdownFile, RelevanceAnalysis } from './types'; export declare class MarkdownAnalyzer { /** * Analyze file relevance with 4-factor scoring */ analyzeRelevance(file: MarkdownFile, allFiles: MarkdownFile[]): RelevanceAnalysis; /** * Score based on file recency (0-25 points) */ private scoreRecency; /** * Score based on content quality (0-25 points) */ private scoreContentQuality; /** * Score based on connectivity to other files (0-25 points) */ private scoreConnectivity; /** * Score based on content uniqueness (0-25 points) */ private scoreUniqueness; /** * Count files that link to this file */ private countInboundLinks; /** * Count links from this file to other markdown files */ private countOutboundLinks; /** * Find files with similar titles */ private findSimilarFiles; /** * Calculate Jaccard similarity between titles */ private calculateTitleSimilarity; /** * Determine status based on score */ private determineStatus; /** * Generate human-readable reasoning */ private generateReasoning; } //# sourceMappingURL=markdown-analyzer.d.ts.map