Skip to content

Conversation

@po4tion
Copy link
Collaborator

@po4tion po4tion commented May 11, 2025

Overview

fix #327 이슈건을 해결하는 PR입니다.

배경

제30항 1, 2번 규칙은 이미 제18항의 규칙과 경음화 처리 로직을 통해 정상적으로 적용되고 있어 별도의 추가 처리가 필요하지 않습니다.

그러나 제30항 3번 규칙은 예외적인 케이스로, '사이시옷' 여부를 판단해야 하는 문제가 있습니다. 이 규칙을 적용하려면, 해당 'ㅅ'이 단순 받침이 아니라 두 단어가 결합되며 생긴 사이시옷인지를 구분할 수 있어야 합니다.

이 차이는 제13항과 비교해 보면 더 명확해지는데요. 예를 들어 '옷이'라는 단어는 단일어이기 때문에 제13항의 규칙에 따라 '오시'로 발음되는 것이 맞습니다. 반면, 제30항 3번의 적용 대상인 합성어라면 '온니'처럼 처리되어야 하지만, '옷이'는 합성어가 아니므로 해당되지 않습니다.

문제는, 현재 es-hangul이 합성어 여부를 스스로 판단할 수 있는 기능이 없기 때문에 30항 3번 규칙을 일반화된 로직으로 처리하는 것은 사실상 불가능하다는 점입니다.

이러한 이유로, 별도의 예외 단어 목록을 상수로 정의해 관리하는 방식이 현실적인 해결책이라고 판단됩니다.

#341 건이 먼저 해결되고 난 후에, 문서에 사이시옷 관련 예외사항을 추가하도록 하겠습니다.

PR Checklist

  • I read and included theses actions below
  1. I have read the Contributing Guide
  2. I have written documents and tests, if needed.

@po4tion po4tion self-assigned this May 11, 2025
@po4tion po4tion requested review from okinawaa and raon0211 as code owners May 11, 2025 13:53
@po4tion po4tion added the bug Something isn't working label May 11, 2025
@changeset-bot
Copy link

changeset-bot bot commented May 11, 2025

🦋 Changeset detected

Latest commit: 710822d

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented May 11, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
es-hangul Ready Ready Preview Comment Sep 27, 2025 6:24am

@okinawaa okinawaa merged commit ec26b5f into toss:main Sep 27, 2025
6 of 10 checks passed
@github-actions github-actions bot mentioned this pull request Sep 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: standardizePronunciation 사이시옷 오류 발생

2 participants