Home | Notifications | New Note | Local | Federated | Search | Logout

Note Detail


Reply to @hongminhee@hollo.social
洪 民憙 (Hong Minhee) :nonbinary:@hongminhee@hollo.social (2026-10-24 04:28:47)
#Gukhanmun 0.3.0 is out with Han character variants, reading selection from following particles, punctuation profiles, and a bundled loanword dictionary.

沖縄県 (shinjitai) now finds 沖繩縣 (Kanxi form) in the dictionary and reads 오키나와현, while --hanja-variant-set re-emits hanja in shinjitai or Kanxi form. 一切 defaults to 일절, but a following particle such as 一切를 selects 일체, and --punctuation modern turns 하나、둘。 into 하나, 둘.. The National Institute of Korean Language's loanword spelling examples are bundled into the ko-kr preset as well, which is why 香港 now reads 홍콩.

Upgrading from v0.2.x changes ko-kr output and moves the bundled dictionaries to format v2, so upgrade the bindings and data packages together.

https://github.com/dahlia/gukhanmun/discussions/32

#hanja #hangul #korean #國漢文 #國漢文混用 #國漢文混用體 #국한문 #국한문혼용 #국한문혼용체
---Reply--- 洪 民憙 (Hong Minhee) :nonbinary:@hongminhee@hollo.social (2026-10-24 04:32:11) #Gukhanmun 0.3.0をリリースしました。漢字の異体字認識、後ろに続く助詞による読みの選択、句読点プロファイル、外来語表記用例の同梱が入っています。

沖縄県(新字体)は、辞書にある沖繩縣(康熙字典体)と照合して오키나와현と読みます。--hanja-variant-setは漢字を新字体や康熙字典体で出力し直します。一切は既定で일절ですが、一切를のように後ろに付く助詞によって일체を選びます。--punctuation modernは하나、둘。を하나, 둘.に変えます。国立国語院の『外来語表記用例』を辞書としてko-krプリセットに同梱したので、香港が홍콩と読まれるようになりました。

v0.2.xからアップグレードする場合は、ko-krプリセットの出力が変わり、同梱辞書ファイルが形式v2になるので、バインディングとデータパッケージを一緒に上げてください。

https://github.com/dahlia/gukhanmun/discussions/32

#国漢文 #国漢文混用 #国漢文混用体 #漢字 #異体字 #韓国語 #ハングル
Reply