Skip to content

Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.

TOLD/SOND: add path.sh

志浩edd41f5a3089
diff --git a/egs/callhome/diarization/sond/path.sh b/egs/callhome/diarization/sond/path.sh
new file mode 100644
index 000000000..5721f3f48
--- /dev/null
+++ b/egs/callhome/diarization/sond/path.sh
@@ -0,0 +1,5 @@
+export FUNASR_DIR=$PWD/../../..
+
+# NOTE(kan-bayashi): Use UTF-8 in Python to avoid UnicodeDecodeError when LC_ALL=C
+export PYTHONIOENCODING=UTF-8
+export PATH=$FUNASR_DIR/funasr/bin:$PATH
\ No newline at end of file
diff --git a/egs/callhome/diarization/sond/run.sh b/egs/callhome/diarization/sond/run.sh
index 9f095591b..d4ae10c30 100644
--- a/egs/callhome/diarization/sond/run.sh
+++ b/egs/callhome/diarization/sond/run.sh
@@ -9,7 +9,7 @@
# We recommend you run this script stage by stage.
# environment configuration
-kaldi_root=/home/neo.dzh/kaldi
+kaldi_root=
if [ -z "${kaldi_root}" ]; then
echo "We need kaldi to prepare dataset, extract fbank features, please install kaldi first and set kaldi_root."