CARVIEW |
Select Language
HTTP/2 200
date: Fri, 18 Jul 2025 21:08:12 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"c04ae2ccb83b46dbb322da863f9d7e4a"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=Y8i%2BLGjbPPu9Z2k51dZ%2Fz8%2Ban1y5IWeLkWs4aBZmciXB3o0V5xxQv2RILyHGMrn%2FeOnzTcQ7audqmc%2Bd%2B0%2BwNr1WEVQC22kaxaKr1mdwPM6sN2wTMNU8j3ZR4%2Be7gOT%2BgfYJWQU4%2FUSHVJOnYTG9XQCV9ZRWcZiXYSDt%2FRUEqQK2pkCTXfNiyaomYmJxxx2pA63xpe4%2FvCZAvAkR2Ddt2yTre7c7bBKrp2kdkBIj%2Bd0xDIRFxLNQcTHHdloeG%2BirTy2lQ5gaYewkTwC4hOQhnw%3D%3D--LiL9QJdfmDlg3we5--aIxUdMq89VXXd6AvlZTE5g%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.2076230963.1752872891; Path=/; Domain=github.com; Expires=Sat, 18 Jul 2026 21:08:11 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 18 Jul 2026 21:08:11 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B68E:115935:182989:1F8887:687AB7BB
GitHub - tinyfool/ChineseWithEnglish: 绝对有趣的中文发音引擎 funny chinese text to speech enginee
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12
tinyfool/ChineseWithEnglish
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
王小波说过,“对于一些书来说,有趣是它存在的理由;对于另一些书来说,有趣是它应达到的标准。”这个项目的目的就是有趣,它很难成长为一个有用的项目,那么让我们坚持有趣吧。 项目的来源是,有一天我发现Mac OS X是支持语音输出的,很happy的决定用它来学英语,后来我甚至用语音api加上Xcode里面的PDF阅读器例子结合在一起,写了一个专门帮你在看PDF文件的时候查字典和发声的PDF阅读器Tiny4Reader( https://tiny4.org/prog/diary/2009/12/tiny4readermac.html )。但是这个语音输出只支持英文不支持中文,我想用它写个自动读小说的工具,就没有办法了。这时候我突发奇想干脆用英语来试图拼凑中文,后来我用Mac命令行命令say做了实验,发现这个思路还是可行的。 例如,你可以在Mac命令行键入如下的命令: say ni hao #说:你好 say wo i ni #说:我爱你 等等。 实际上这个项目就是,如果我们能找到一个对应表,中文文字->中文拼音,中文拼音->英文发音,我们可以很轻松的打造一个中文发音引擎。当然,这就是这个项目有趣的地方了,这个效果肯定不会好到哪里去,估计不管我们怎么优化,最后的结果也是像大山老师讲中文,不过已经很有趣是吧? 中文文字->中文拼音相对简单,01年的时候,我的一个师兄做过一个软件叫做白浪语音板,做法就是找了windows全拼输入法的码表作为中文文字->中文拼音的对照表。然后自己录了400多个声音文件(没有声调的话,中文只有400多个发音)。 所以这个项目一开始的目标就是征集中文文字->中文拼音的码表,以及最重要的征集中文拼音->英文发音的对应表,欢迎大家一起努力凑齐所有400多个中文语音,然后这个发音引擎就做好了,哈哈。 中文拼音->英文发音的码表文件叫c2e.txt,目前我只放进去了wo ai ni这三个拼音对应的英文,希望随着大家的一起努力我们可以凑齐所有的码表。 欢迎大家帮我找各种中文拼音->英文发音的匹配,找到的话,请发到 https://github.com/tinyfool/ChineseWithEnglish/issues 里,谢谢。
About
绝对有趣的中文发音引擎 funny chinese text to speech enginee
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
You can’t perform that action at this time.