feat(postagger): POSExtractor 단계 조립 방식 유연화 - #252
Merged
Conversation
- pos_extractor.py: ExtractorStepProtocol(Protocol) 추가 - extract(sentences, context: dict) -> dict 인터페이스 정의 - _NounExtractorStep, _PredicatorExtractorStep 어댑터 클래스 추가 - POSExtractor에 extra_steps 파라미터 추가 - 명사 추출 직후, 용언 추출 직전에 실행되는 사용자 정의 단계 - context dict로 단계 간 상태(nouns, lrgraph 등) 공유 - __init__.py: ExtractorStepProtocol export 추가 - test_postagger.py: Protocol 준수, context 주입 테스트 추가 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This was referenced Mar 9, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
관련 이슈
closes #239
변경 내용
POSExtractor의 단계 조립을 유연화하여 도메인 특화 추출기를 삽입할 수 있도록 한다.ExtractorStepProtocol
POSExtractor.extra_steps
실행 순서
context: dict를 통해 이전 단계 결과(nouns, lrgraph 등)를 공유🤖 Generated with Claude Code