Skip to content

Fix typo, formatting and punctuation#367

Merged
yingang merged 2 commits intoVonng:mainfrom
yhao3:main
Aug 25, 2025
Merged

Fix typo, formatting and punctuation#367
yingang merged 2 commits intoVonng:mainfrom
yhao3:main

Conversation

@yhao3
Copy link
Contributor

@yhao3 yhao3 commented Aug 24, 2025

No description provided.

@yingang
Copy link
Collaborator

yingang commented Aug 25, 2025

你好,感谢指出问题,但这个 PR 暂时无法直接合并,因为本 repo 的繁体中文版本是基于 opencc 从简体中文版本转换过来的,看上去像是一些分词的处理优先级有问题,之前这类问题一般是通过在转换脚本里设置特例来处理的,稍微晚点会统一处理下哈。

@yingang yingang merged commit e8cfb77 into Vonng:main Aug 25, 2025
@yingang
Copy link
Collaborator

yingang commented Aug 25, 2025

好了,应该增加下面几行就可以:

                .replace('瞭解釋', '了解釋')
                .replace('瞭如', '了如')                # 引入了如, 實現了如, 了如何, 了如果, 了如此
                .replace('了如指掌', '瞭如指掌')        # 针对上一行的例外情况
                .replace('明瞭', '明了')                # 闡明了, 聲明了, 指明了

29cd64c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants