公告板
版本库
filestore
活动
搜索
登录
python
/
FunASR-XL
FUNASR训练
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
Merge branch 'main' of github.com:alibaba-damo-academy/FunASR add
游雁
2023-07-21
c542eacb0aadcbc49c63db40429fca4e08f807a4
[python/FunASR-XL.git]
/
fun_text_processing
/
inverse_text_normalization
/
tl
/
verbalizers
/
fraction.py
1
2
3
4
5
6
7
8
9
10
11
from fun_text_processing.inverse_text_normalization.tl.graph_utils import GraphFst
class FractionFst(GraphFst):
"""
Finite state transducer for verbalizing fraction,
"""
def __init__(self):
super().__init__(name="fraction", kind="verbalize")