feat(03-01): implement ASRProcessor with official subtitle download

- Create processors module with ASRProcessor class
- Implement _try_official_subtitle for B站字幕下载
- Support process() method with subtitle-first strategy
- Add helper functions for whisper.cpp integration

- All 5 processor tests passing

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-13 19:22:23 +08:00
parent b2330c32c8
commit 406c6cbbc6
2 changed files with 584 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
"""Processors module for KB Pipeline
This module contains processors for various content transformation tasks:
- ASRProcessor: Audio-to-text conversion (subtitle download + Whisper.cpp)
"""
from .asr import ASRProcessor
__all__ = ["ASRProcessor"]