Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 添加sentenceFull,支持保留其他字符 #198

Merged
merged 2 commits into from
Oct 27, 2023

Conversation

libook
Copy link
Contributor

@libook libook commented Oct 24, 2023

在中文语句本身就是对外文字符进行讲解的场景,有可能需要在转拼音后保留这些外文字符,如:

ル是片假名,π是希腊字母

故需要增加可以保留任何外文字符的模式。

根据现有的程序结构来看,添加参数可能会导致程序结构较大的变化,故采取添加method的方式来实现。

提交的时候触发hook,虽然测试通过但提示phpunit.xml的格式过时,必须迁移至最新格式才允许提交,于是使用./vendor/bin/phpunit --migrate-configuration进行自动迁移。迁移后移除了三个过时的convert...ToExceptions的属性,请根据需要再寻找新的属性添加。

@overtrue overtrue self-assigned this Oct 27, 2023
@overtrue overtrue merged commit fc79c87 into overtrue:master Oct 27, 2023
5 checks passed
overtrue added a commit that referenced this pull request Oct 27, 2023
@overtrue
Copy link
Owner

@libook 感谢你的贡献,我做了一点修改:cd40f24

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