Add Go API for homophone replacer (#2168)
This commit is contained in:
98
.github/workflows/test-go.yaml
vendored
98
.github/workflows/test-go.yaml
vendored
@@ -142,32 +142,31 @@ jobs:
|
||||
name: ${{ matrix.os }}-libs
|
||||
path: to-upload/
|
||||
|
||||
- name: Test speech enhancement (GTCRN)
|
||||
- name: Test streaming decoding files
|
||||
shell: bash
|
||||
run: |
|
||||
cd scripts/go/_internal/speech-enhancement-gtcrn/
|
||||
|
||||
./run.sh
|
||||
|
||||
cd scripts/go/_internal/streaming-decode-files
|
||||
ls -lh
|
||||
go mod tidy
|
||||
cat go.mod
|
||||
go build
|
||||
ls -lh
|
||||
|
||||
- name: Test audio tagging
|
||||
shell: bash
|
||||
run: |
|
||||
cd scripts/go/_internal/audio-tagging/
|
||||
echo "Test zipformer2 CTC"
|
||||
./run-zipformer2-ctc-with-hr.sh
|
||||
./run-zipformer2-ctc.sh
|
||||
rm -rf sherpa-onnx-streaming-zipformer-ctc-multi-zh-hans-2023-12-13
|
||||
|
||||
./run.sh
|
||||
echo "Test transducer"
|
||||
./run-transducer.sh
|
||||
rm -rf sherpa-onnx-streaming-zipformer-en-2023-06-26
|
||||
|
||||
ls -lh
|
||||
./run-transducer-itn.sh
|
||||
rm -rf sherpa-onnx-streaming-*
|
||||
|
||||
- name: Test Keyword spotting
|
||||
shell: bash
|
||||
run: |
|
||||
cd scripts/go/_internal/keyword-spotting-from-file/
|
||||
|
||||
./run.sh
|
||||
|
||||
ls -lh
|
||||
echo "Test paraformer"
|
||||
./run-paraformer.sh
|
||||
rm -rf sherpa-onnx-streaming-paraformer-bilingual-zh-en
|
||||
|
||||
- name: Test non-streaming decoding files
|
||||
shell: bash
|
||||
@@ -179,6 +178,11 @@ jobs:
|
||||
go build
|
||||
ls -lh
|
||||
|
||||
echo "Test SenseVoice ctc"
|
||||
./run-sense-voice-small-with-hr.sh
|
||||
./run-sense-voice-small.sh
|
||||
rm -rf sherpa-onnx-sense-*
|
||||
|
||||
echo "Test Dolphin CTC"
|
||||
./run-dolphin-ctc-base.sh
|
||||
rm -rf sherpa-onnx-dolphin-*
|
||||
@@ -191,10 +195,6 @@ jobs:
|
||||
./run-moonshine.sh
|
||||
rm -rf sherpa-onnx-*
|
||||
|
||||
echo "Test SenseVoice ctc"
|
||||
./run-sense-voice-small.sh
|
||||
rm -rf sherpa-onnx-sense-*
|
||||
|
||||
echo "Test telespeech ctc"
|
||||
./run-telespeech-ctc.sh
|
||||
rm -rf sherpa-onnx-telespeech-ctc-*
|
||||
@@ -224,6 +224,33 @@ jobs:
|
||||
./run-tdnn-yesno.sh
|
||||
rm -rf sherpa-onnx-tdnn-yesno
|
||||
|
||||
- name: Test speech enhancement (GTCRN)
|
||||
shell: bash
|
||||
run: |
|
||||
cd scripts/go/_internal/speech-enhancement-gtcrn/
|
||||
|
||||
./run.sh
|
||||
|
||||
ls -lh
|
||||
|
||||
- name: Test audio tagging
|
||||
shell: bash
|
||||
run: |
|
||||
cd scripts/go/_internal/audio-tagging/
|
||||
|
||||
./run.sh
|
||||
|
||||
ls -lh
|
||||
|
||||
- name: Test Keyword spotting
|
||||
shell: bash
|
||||
run: |
|
||||
cd scripts/go/_internal/keyword-spotting-from-file/
|
||||
|
||||
./run.sh
|
||||
|
||||
ls -lh
|
||||
|
||||
- name: Test adding punctuation
|
||||
shell: bash
|
||||
run: |
|
||||
@@ -301,28 +328,3 @@ jobs:
|
||||
with:
|
||||
name: tts-waves-${{ matrix.os }}
|
||||
path: tts-waves
|
||||
|
||||
- name: Test streaming decoding files
|
||||
shell: bash
|
||||
run: |
|
||||
cd scripts/go/_internal/streaming-decode-files
|
||||
ls -lh
|
||||
go mod tidy
|
||||
cat go.mod
|
||||
go build
|
||||
ls -lh
|
||||
|
||||
echo "Test zipformer2 CTC"
|
||||
./run-zipformer2-ctc.sh
|
||||
rm -rf sherpa-onnx-streaming-zipformer-ctc-multi-zh-hans-2023-12-13
|
||||
|
||||
echo "Test transducer"
|
||||
./run-transducer.sh
|
||||
rm -rf sherpa-onnx-streaming-zipformer-en-2023-06-26
|
||||
|
||||
./run-transducer-itn.sh
|
||||
rm -rf sherpa-onnx-streaming-*
|
||||
|
||||
echo "Test paraformer"
|
||||
./run-paraformer.sh
|
||||
rm -rf sherpa-onnx-streaming-paraformer-bilingual-zh-en
|
||||
|
||||
Reference in New Issue
Block a user