-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
debb1d2
commit e24568e
Showing
17 changed files
with
173 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Android APKs for speaker diarization | ||
==================================== | ||
|
||
You can find Android APKs for speaker diarization at the following page | ||
|
||
`<https://k2-fsa.github.io/sherpa/onnx/speaker-diarization/apk.html>`_ | ||
|
||
For users from China, you can also visit | ||
|
||
`<https://k2-fsa.github.io/sherpa/onnx/speaker-diarization/apk-cn.html>`_ | ||
|
||
|
||
The source code for the APKs can be found at | ||
|
||
`<https://github.com/k2-fsa/sherpa-onnx/tree/master/android/SherpaOnnxSpeakerDiarization>`_ | ||
|
||
You can find the script for building the APKs at | ||
|
||
`<https://github.com/k2-fsa/sherpa-onnx/blob/master/scripts/apk/build-apk-speaker-diarization.sh>`_ | ||
|
||
Please see :ref:`sherpa-onnx-android` for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
C API examples | ||
============== | ||
|
||
Please see | ||
|
||
`<https://github.com/k2-fsa/sherpa-onnx/blob/master/c-api-examples/offline-speaker-diarization-c-api.c>`_ | ||
|
||
and :ref:`sherpa-onnx-c-api`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
C++ API examples | ||
================ | ||
|
||
Please see | ||
|
||
`<https://github.com/k2-fsa/sherpa-onnx/blob/master/sherpa-onnx/csrc/sherpa-onnx-offline-speaker-diarization.cc>`_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
C# API examples | ||
=============== | ||
|
||
Please see | ||
|
||
`<https://github.com/k2-fsa/sherpa-onnx/tree/master/dotnet-examples/offline-speaker-diarization>`_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Dart API examples | ||
================= | ||
|
||
Please see | ||
|
||
`<https://github.com/k2-fsa/sherpa-onnx/tree/master/dart-api-examples/speaker-diarization>`_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Go API examples | ||
=============== | ||
|
||
Please see | ||
|
||
`<https://github.com/k2-fsa/sherpa-onnx/tree/master/go-api-examples/non-streaming-speaker-diarization>`_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
Speaker Diarization | ||
=================== | ||
|
||
This page describes how to use `sherpa-onnx`_ for speaker diarization. | ||
|
||
Pre-trained models for speaker segmentation can be found | ||
at `<https://github.com/k2-fsa/sherpa-onnx/releases/tag/speaker-segmentation-models>`_ | ||
|
||
Pre-trained models for speaker embedding extraction can be found | ||
at `<https://github.com/k2-fsa/sherpa-onnx/releases/tag/speaker-recongition-models>`_ | ||
|
||
.. hint:: | ||
|
||
|
||
|
||
In the following, we describe different programming language APIs for speaker diarization. | ||
|
||
.. toctree:: | ||
:maxdepth: 5 | ||
|
||
./android.rst | ||
./c.rst | ||
./cpp.rst | ||
./csharp.rst | ||
./dart.rst | ||
./go.rst | ||
./java.rst | ||
./javascript.rst | ||
./kotlin.rst | ||
./pascal.rst | ||
./python.rst | ||
./swift.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Java API examples | ||
================= | ||
|
||
Please see | ||
|
||
`<https://github.com/k2-fsa/sherpa-onnx/blob/master/java-api-examples/OfflineSpeakerDiarizationDemo.java>`_ | ||
|
||
and :ref:`sherpa-onnx-java-api`. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
JavaScript API examples | ||
======================= | ||
|
||
We provide two npm packages. | ||
|
||
WebAssembly based npm package | ||
----------------------------- | ||
|
||
You can find the package at | ||
|
||
`<https://www.npmjs.com/package/sherpa-onnx>`_ | ||
|
||
This package does not support multi-threading. | ||
|
||
The example for speaker diarzation can be found at | ||
|
||
`<https://github.com/k2-fsa/sherpa-onnx/blob/master/nodejs-examples/test-offline-speaker-diarization.js>`_ | ||
|
||
node-addon based npm package | ||
---------------------------- | ||
|
||
You can find the package at | ||
|
||
`<https://www.npmjs.com/package/sherpa-onnx-node>`_ | ||
|
||
This package supports multi-threading. | ||
|
||
Please see | ||
|
||
`<https://github.com/k2-fsa/sherpa-onnx/blob/master/nodejs-addon-examples/README.md#introduction>`_ | ||
|
||
for installation. | ||
|
||
The example for speaker diarization can be found at | ||
|
||
`<https://github.com/k2-fsa/sherpa-onnx/blob/master/nodejs-addon-examples/test_offline_speaker_diarization.js>`_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Kotlin API examples | ||
=================== | ||
|
||
Please see | ||
|
||
`<https://github.com/k2-fsa/sherpa-onnx/blob/master/kotlin-api-examples/test_offline_speaker_diarization.kt>`_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Pascal API examples | ||
=================== | ||
|
||
Please see | ||
|
||
`<https://github.com/k2-fsa/sherpa-onnx/tree/master/pascal-api-examples/speaker-diarization>`_ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Python API examples | ||
=================== | ||
|
||
.. note:: | ||
|
||
You need to install `sherpa-onnx>=1.10.28`. | ||
|
||
|
||
Please see `<https://github.com/k2-fsa/sherpa-onnx/blob/master/python-api-examples/offline-speaker-diarization.py>`_ | ||
for usages. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Swift API examples | ||
================== | ||
|
||
Please see | ||
|
||
`<https://github.com/k2-fsa/sherpa-onnx/blob/master/swift-api-examples/speaker-diarization.swift>`_ |