Add C++ support for non-streaming NeMo fast conformer hybrid transducer ctc (the ctc branch) (#848)

This commit is contained in:
Fangjun Kuang
2024-05-09 15:32:22 +08:00
committed by GitHub
parent 5ed3ec1c04
commit 5d8c35e44e
8 changed files with 156 additions and 34 deletions

View File

@@ -128,13 +128,13 @@ jobs:
name: release-${{ matrix.build_type }}-with-shared-lib-${{ matrix.shared_lib }}-with-tts-${{ matrix.with_tts }}
path: install/*
- name: Test offline punctuation
- name: Test spoken language identification (C++ API)
shell: bash
run: |
export PATH=$PWD/build/bin:$PATH
export EXE=sherpa-onnx-offline-punctuation
export EXE=sherpa-onnx-offline-language-identification
.github/scripts/test-offline-punctuation.sh
.github/scripts/test-spoken-language-identification.sh
- name: Test C API
shell: bash
@@ -147,13 +147,13 @@ jobs:
.github/scripts/test-c-api.sh
- name: Test Audio tagging
- name: Test offline CTC
shell: bash
run: |
export PATH=$PWD/build/bin:$PATH
export EXE=sherpa-onnx-offline-audio-tagging
export EXE=sherpa-onnx-offline
.github/scripts/test-audio-tagging.sh
.github/scripts/test-offline-ctc.sh
- name: Test online CTC
shell: bash
@@ -163,14 +163,21 @@ jobs:
.github/scripts/test-online-ctc.sh
- name: Test spoken language identification (C++ API)
- name: Test offline punctuation
shell: bash
run: |
export PATH=$PWD/build/bin:$PATH
export EXE=sherpa-onnx-offline-language-identification
export EXE=sherpa-onnx-offline-punctuation
.github/scripts/test-spoken-language-identification.sh
.github/scripts/test-offline-punctuation.sh
- name: Test Audio tagging
shell: bash
run: |
export PATH=$PWD/build/bin:$PATH
export EXE=sherpa-onnx-offline-audio-tagging
.github/scripts/test-audio-tagging.sh
- name: Test transducer kws
shell: bash
@@ -180,7 +187,6 @@ jobs:
.github/scripts/test-kws.sh
- name: Test offline Whisper
if: matrix.build_type != 'Debug'
shell: bash
@@ -192,14 +198,6 @@ jobs:
.github/scripts/test-offline-whisper.sh
- name: Test offline CTC
shell: bash
run: |
export PATH=$PWD/build/bin:$PATH
export EXE=sherpa-onnx-offline
.github/scripts/test-offline-ctc.sh
- name: Test offline TTS
if: matrix.with_tts == 'ON'
shell: bash