Skip to content

Refactor speech processing to use extension points#11

Closed
yncat wants to merge 2 commits intomasterfrom
claude/refactor-extension-points-qcrEc
Closed

Refactor speech processing to use extension points#11
yncat wants to merge 2 commits intomasterfrom
claude/refactor-extension-points-qcrEc

Conversation

@yncat
Copy link
Contributor

@yncat yncat commented Jan 26, 2026

Replace direct function overrides with a clean extension point architecture:

  • Add extensionPoints.py: Filter/Action classes for registering handlers
  • Add textProcessors.py: TextProcessor base class and EnglishToKanaProcessor
  • Add speechHook.py: SpeechHookManager for clean hook lifecycle management

This allows text processors to be registered/unregistered without
monkey-patching, making the code more maintainable and extensible.

Replace direct function overrides with a clean extension point architecture:

- Add extensionPoints.py: Filter/Action classes for registering handlers
- Add textProcessors.py: TextProcessor base class and EnglishToKanaProcessor
- Add speechHook.py: SpeechHookManager for clean hook lifecycle management

This allows text processors to be registered/unregistered without
monkey-patching, making the code more maintainable and extensible.
@yncat
Copy link
Contributor Author

yncat commented Feb 15, 2026

実装見ていると複雑性がやたら増しているので、今のところ解くに要望もないし閉じようと思います。

@yncat yncat closed this Feb 15, 2026
@yncat yncat deleted the claude/refactor-extension-points-qcrEc branch February 15, 2026 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants