From 40b09bb0706d09dba038e90ebaa178710a816189 Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期日, 23 四月 2023 10:47:09 +0800
Subject: [PATCH] Merge branch 'main' of github.com:alibaba-damo-academy/FunASR add

---
 funasr/runtime/rapidpunc/readme.md |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 49 insertions(+), 0 deletions(-)

diff --git a/funasr/runtime/rapidpunc/readme.md b/funasr/runtime/rapidpunc/readme.md
new file mode 100644
index 0000000..6f7ce13
--- /dev/null
+++ b/funasr/runtime/rapidpunc/readme.md
@@ -0,0 +1,49 @@
+A library for adding punctuations into a piece of text getting from an ASR.
+
+## Build on Linux X64
+
+git clone  https://github.com/alibaba-damo-academy/FunASR.git
+
+cd FunASR/funasr/runtime/rapidpunc
+
+mkdir build
+
+cd build
+
+\# dowload onnxruntime:
+
+wget https://github.com/microsoft/onnxruntime/releases/download/v1.14.1/onnxruntime-linux-x64-1.14.1.tgz
+
+
+
+tar zxf  onnxruntime-linux-x64-1.14.1.tgz
+
+ cmake -DONNXRUNTIME_DIR=/data/linux/FunASR/funasr/runtime/rapidpunc/build/onnxruntime-linux-x64-1.14.1 ..
+
+make -j16
+
+
+
+Then get two files: 
+
+librapidpunc.so   
+
+rapidpunc_tester
+
+
+
+## Download model
+
+```
+閾炬帴锛歨ttps://pan.baidu.com/s/1neFfd6HT4PLvvqeixxvH2w?pwd=y85r 
+鎻愬彇鐮侊細y85r
+```
+
+## run
+
+rapidpunc_tester /path/to/model/dir  /path/to/wave/file
+
+
+
+in a model_dir, it should include: punc.yaml  model.onnx
+

--
Gitblit v1.9.1