feat(tagging-system): Add comprehensive tagging system implementation
- Add tagging system Python package with modular architecture (config, core, impl) - Create core interfaces for file discovery, content analysis, and tag generation - Implement content analyzer with language detection and topic extraction - Implement file discovery engine with directory scanning and filtering - Implement tag generator with hierarchical tag creation and consolidation - Add configuration management with example config and validation - Create comprehensive design and requirements documentation in .kiro/specs - Add pytest test suite with unit tests for models, interfaces, and config - Add setup.py, requirements.txt, and pytest.ini for package management - Add README.md with project overview and usage instructions - Update workspace.json with new project structure - Add Excalidraw diagram for system architecture visualization - Establish foundation for automated vault tagging and metadata management
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
# Example configuration for the comprehensive tagging system
|
||||
# Copy this file to config.yaml and customize as needed
|
||||
|
||||
# Directories to exclude from processing
|
||||
excluded_directories:
|
||||
- ".obsidian"
|
||||
- ".git"
|
||||
- ".smart-env"
|
||||
- "node_modules"
|
||||
- "__pycache__"
|
||||
|
||||
# File patterns to exclude
|
||||
excluded_file_patterns:
|
||||
- "*.pyc"
|
||||
- "*.log"
|
||||
- "*.tmp"
|
||||
- ".DS_Store"
|
||||
|
||||
# Tag formatting rules
|
||||
tag_format_rules:
|
||||
case: "kebab" # Use kebab-case for tags
|
||||
max_length: 50
|
||||
allowed_chars: "abcdefghijklmnopqrstuvwxyz0123456789-/"
|
||||
hierarchy_separator: "/"
|
||||
|
||||
# Language detection settings
|
||||
language_detection:
|
||||
chinese_threshold: 0.1 # Minimum ratio of Chinese characters to detect Chinese
|
||||
mixed_threshold: 0.3 # Threshold for mixed language detection
|
||||
min_content_length: 50 # Minimum content length for reliable detection
|
||||
Reference in New Issue
Block a user