公告板
版本库
filestore
活动
搜索
登录
python
/
FunASR-XL
FUNASR训练
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
Merge pull request #470 from alibaba-damo-academy/dev_apis
Yabin Li
2023-05-08
cf2ac1ff7b628abe6a7b43d41c3c3e0c1f7f470f
[python/FunASR-XL.git]
/
fun_text_processing
/
inverse_text_normalization
/
pt
/
utils.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import os
def get_abs_path(rel_path):
"""
Get absolute path
Args:
rel_path: relative path to this file
Returns absolute path
"""
return os.path.dirname(os.path.abspath(__file__)) + '/' + rel_path