📦 Initialize Geulbeot structure and merge Prompts & test projects

This commit is contained in:
2026-03-05 11:32:29 +09:00
commit 555a954458
687 changed files with 205247 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
def clean_text(text: str) -> str:
"""HTML 엔티티 및 불필요한 태그 제거"""
reps = {
' ': ' ', '‘': "'", '’': "'", '“': '"', '”': '"',
'&amp;': '&', '&lt;': '<', '&gt;': '>', '&#39;': "'", '&quot;': "'", '&middot;': "'"
}
for key, val in reps.items():
text = text.replace(key, val)
return re.sub(r'<[^>]+>', '', text).strip()