公告板
版本库
filestore
活动
搜索
登录
python
/
FunASR-XL
FUNASR训练
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
fix:添加音频码率验证以防止模型异常 (#2219)
pointerhacker
2024-11-20
37d6930561f4e798e76f81c37d912906c97b6bea
[python/FunASR-XL.git]
/
fun_text_processing
/
inverse_text_normalization
/
en
/
verbalizers
/
fraction.py
1
2
3
4
5
6
7
8
9
10
from fun_text_processing.text_normalization.en.graph_utils import GraphFst
class FractionFst(GraphFst):
"""
Finite state transducer for verbalizing fraction,
"""
def __init__(self):
super().__init__(name="fraction", kind="verbalize")