Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
DeepSpeech
提交
03f8accd
D
DeepSpeech
项目概览
PaddlePaddle
/
DeepSpeech
大约 2 年 前同步成功
通知
210
Star
8425
Fork
1598
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
245
列表
看板
标记
里程碑
合并请求
3
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
DeepSpeech
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
245
Issue
245
列表
看板
标记
里程碑
合并请求
3
合并请求
3
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
03f8accd
编写于
1月 05, 2022
作者:
H
Hui Zhang
提交者:
GitHub
1月 05, 2022
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #1262 from JiehangXie/develop
Fix punctuation bug
上级
36c9eaa4
60090b49
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
12 addition
and
1 deletion
+12
-1
README.md
README.md
+5
-0
README_cn.md
README_cn.md
+6
-0
paddlespeech/t2s/frontend/zh_normalization/text_normlization.py
...speech/t2s/frontend/zh_normalization/text_normlization.py
+1
-1
未找到文件。
README.md
浏览文件 @
03f8accd
...
@@ -138,6 +138,11 @@ For more synthesized audios, please refer to [PaddleSpeech Text-to-Speech sample
...
@@ -138,6 +138,11 @@ For more synthesized audios, please refer to [PaddleSpeech Text-to-Speech sample
</div>
</div>
### ⭐ Examples
-
**[PaddleBoBo](https://github.com/JiehangXie/PaddleBoBo): Use PaddleSpeech TTS to generate virtual human voice.**
<div
align=
"center"
><a
href=
"https://www.bilibili.com/video/BV1cL411V71o?share_source=copy_web"
><img
src=
"https://ai-studio-static-online.cdn.bcebos.com/06fd746ab32042f398fb6f33f873e6869e846fe63c214596ae37860fe8103720"
/
width=
"500px"
></a></div>
### 🔥 Hot Activities
### 🔥 Hot Activities
-
2021.12.21~12.24
-
2021.12.21~12.24
...
...
README_cn.md
浏览文件 @
03f8accd
...
@@ -142,6 +142,12 @@ from https://github.com/18F/open-source-guide/blob/18f-pages/pages/making-readme
...
@@ -142,6 +142,12 @@ from https://github.com/18F/open-source-guide/blob/18f-pages/pages/making-readme
</div>
</div>
### ⭐ 应用案例
-
**[PaddleBoBo](https://github.com/JiehangXie/PaddleBoBo): 使用 PaddleSpeech 的语音合成模块生成虚拟人的声音。**
<div
align=
"center"
><a
href=
"https://www.bilibili.com/video/BV1cL411V71o?share_source=copy_web"
><img
src=
"https://ai-studio-static-online.cdn.bcebos.com/06fd746ab32042f398fb6f33f873e6869e846fe63c214596ae37860fe8103720"
/
width=
"500px"
></a></div>
### 🔥 热门活动
### 🔥 热门活动
-
2021.12.21~12.24
-
2021.12.21~12.24
...
...
paddlespeech/t2s/frontend/zh_normalization/text_normlization.py
浏览文件 @
03f8accd
...
@@ -51,7 +51,7 @@ from .quantifier import replace_temperature
...
@@ -51,7 +51,7 @@ from .quantifier import replace_temperature
class
TextNormalizer
():
class
TextNormalizer
():
def
__init__
(
self
):
def
__init__
(
self
):
self
.
SENTENCE_SPLITOR
=
re
.
compile
(
r
'([:,;。?!,;?!][”’]?)'
)
self
.
SENTENCE_SPLITOR
=
re
.
compile
(
r
'([:
、
,;。?!,;?!][”’]?)'
)
def
_split
(
self
,
text
:
str
,
lang
=
"zh"
)
->
List
[
str
]:
def
_split
(
self
,
text
:
str
,
lang
=
"zh"
)
->
List
[
str
]:
"""Split long text into sentences with sentence-splitting punctuations.
"""Split long text into sentences with sentence-splitting punctuations.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录