From c8bae0ec85eee25d66de6b1e4502eff74d750b24 Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期四, 21 十二月 2023 13:29:37 +0800
Subject: [PATCH] funasr2
---
setup.py | 39 +++++++++++++++++++++++----------------
1 files changed, 23 insertions(+), 16 deletions(-)
diff --git a/setup.py b/setup.py
index 30e1f1a..ecd3d3d 100644
--- a/setup.py
+++ b/setup.py
@@ -10,33 +10,37 @@
requirements = {
"install": [
- "setuptools>=38.5.1",
- "typeguard>=3.0.1",
- "humanfriendly",
"scipy>=1.4.1",
"librosa",
"jamo", # For kss
"PyYAML>=5.1.2",
- "soundfile>=0.10.2",
- "h5py>=2.10.0",
+ # "soundfile>=0.12.1",
"kaldiio>=2.17.0",
"torch_complex",
- "nltk>=3.4.5",
+ # "nltk>=3.4.5",
# ASR
- "sentencepiece",
+ "sentencepiece", # train
+ "jieba",
+ # "rotary_embedding_torch",
+ # "ffmpeg-python",
# TTS
- "pypinyin>=0.44.0",
- "espnet_tts_frontend",
+ # "pypinyin>=0.44.0",
+ # "espnet_tts_frontend",
# ENH
"pytorch_wpe",
"editdistance>=0.5.2",
- "tensorboard",
- "g2p",
+ # "g2p",
+ # "nara_wpe",
# PAI
"oss2",
- "edit-distance",
- "textgrid",
- "protobuf",
+ # "edit-distance",
+ # "textgrid",
+ # "protobuf",
+ "tqdm",
+ "hdbscan",
+ "umap",
+ "jaconv",
+ "hydra-core",
],
# train: The modules invoked when training only.
"train": [
@@ -98,7 +102,7 @@
name="funasr",
version=version,
url="https://github.com/alibaba-damo-academy/FunASR.git",
- author="Speech Lab of DAMO Academy, Alibaba Group",
+ author="Speech Lab of Alibaba Group",
author_email="funasr@list.alibaba-inc.com",
description="FunASR: A Fundamental End-to-End Speech Recognition Toolkit",
long_description=open(os.path.join(dirname, "README.md"), encoding="utf-8").read(),
@@ -123,4 +127,7 @@
"License :: OSI Approved :: Apache Software License",
"Topic :: Software Development :: Libraries :: Python Modules",
],
-)
\ No newline at end of file
+ entry_points={"console_scripts": [
+ "funasr = funasr.bin.inference:main_hydra",
+ ]},
+)
--
Gitblit v1.9.1