Skip to content

Commit 3742b7b

Browse files
committed
타입별 필터링 추가2
1 parent a470540 commit 3742b7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def mask_text(text: str, mask_char: str = "0") -> str:
190190
"""텍스트를 마스킹 문자로 변환"""
191191
return ''.join(mask_char if c not in [' ', '-', '@', '.'] else c for c in text)
192192

193-
def filter_sensitive_info(text: str, fix_spelling: bool = False) -> Dict[str, Any]:
193+
def filter_sensitive_info(text: str, fix_spelling: bool = False, mask_mapping: Dict[str, str] = None) -> Dict[str, Any]:
194194
"""민감 정보 필터링 (000으로 마스킹) + 오타 교정"""
195195

196196
# 기본 마스킹 매핑 설정

0 commit comments

Comments
 (0)