Support Agglomerative clustering. (#1384)
We use the open-source implementation from https://github.com/cdalitz/hclust-cpp
This commit is contained in:
@@ -160,6 +160,13 @@ if(SHERPA_ONNX_ENABLE_TTS)
|
||||
)
|
||||
endif()
|
||||
|
||||
if(SHERPA_ONNX_ENABLE_SPEAKER_DIARIZATION)
|
||||
list(APPEND sources
|
||||
fast-clustering-config.cc
|
||||
fast-clustering.cc
|
||||
)
|
||||
endif()
|
||||
|
||||
if(SHERPA_ONNX_ENABLE_CHECK)
|
||||
list(APPEND sources log.cc)
|
||||
endif()
|
||||
@@ -523,6 +530,12 @@ if(SHERPA_ONNX_ENABLE_TESTS)
|
||||
)
|
||||
endif()
|
||||
|
||||
if(SHERPA_ONNX_ENABLE_SPEAKER_DIARIZATION)
|
||||
list(APPEND sherpa_onnx_test_srcs
|
||||
fast-clustering-test.cc
|
||||
)
|
||||
endif()
|
||||
|
||||
list(APPEND sherpa_onnx_test_srcs
|
||||
speaker-embedding-manager-test.cc
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user