1 Star 0 Fork 0

刘凯 / WeTextProcessing

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
setup.py 1.68 KB
一键复制 编辑 原始数据 按行查看 历史
realjackiexiao 提交于 2023-11-22 23:45 . set pynini==2.1.5 (#167)
# Copyright (c) 2022 Xingchen Song (sxc19@tsinghua.org.cn)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import sys
from setuptools import setup, find_packages
version = sys.argv[-1].split('=')[1]
sys.argv = sys.argv[0:len(sys.argv) - 1]
with open("README.md", "r", encoding="utf8") as fh:
long_description = fh.read()
setup(
name="WeTextProcessing",
version=version,
author="Zhendong Peng, Xingchen Song",
author_email="pzd17@tsinghua.org.cn, sxc19@tsinghua.org.cn",
long_description=long_description,
long_description_content_type="text/markdown",
description="WeTextProcessing, including TN & ITN",
url="https://github.com/wenet-e2e/WeTextProcessing",
packages=find_packages(),
package_data={
"tn": ["*.fst"],
"itn": ["*.fst"],
},
install_requires=['pynini==2.1.5', 'importlib_resources'],
entry_points={
"console_scripts": [
"wetn = tn.main:main",
"weitn = itn.main:main",
]
},
tests_require=['pytest'],
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/MufcLiuKai/WeTextProcessing.git
git@gitee.com:MufcLiuKai/WeTextProcessing.git
MufcLiuKai
WeTextProcessing
WeTextProcessing
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891