Updates to speaker diarization documentation#126
Updates to speaker diarization documentation#126chrisw77 wants to merge 2 commits intospeechmatics:mainfrom
Conversation
…ng further details.
|
@chrisw77 is attempting to deploy a commit to the Speechmatics Team on Vercel. A member of the Team first needs to authorize it. |
|
|
||
| In this case, the above would be corrected to move the speaker change point to match with the end of sentence: | ||
|
|
||
| > <span style={{ color: "red" }}>Hello my name is John.</span> <span style={{ color: "blue" }}> And my name is Alice.</span> |
There was a problem hiding this comment.
Not sure if this is the best way of showing an example, so feedback welcome!
|
Looking to update diarization docs (title casing -> sentence style, some extra detail and context). |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
|
||
| In this case, the above would be corrected to move the speaker change point to match with the end of sentence: | ||
|
|
||
| > <span style={{ color: "red" }}>Hello my name is John.</span> <span style={{ color: "blue" }}> And my name is Alice.</span> |
There was a problem hiding this comment.
I'd recommend using the Text element which should already be available on that page. You can add the following to the top (Line 18):
import { Blockquote, Card, DataList, Text } from '@radix-ui/themes';| > <span style={{ color: "red" }}>Hello my name is John.</span> <span style={{ color: "blue" }}> And my name is Alice.</span> | |
| <Blockquote> | |
| <Text color="red">Hello my name is John.</Text> <Text color="blue"> And my name is Alice.</Text> | |
| </Blockquote> |
There was a problem hiding this comment.
Thanks, makes sense - I'll update here and elsewhere.
|
|
||
| For example, consider a case where the diarization marks a speaker change one word after a full stop: | ||
|
|
||
| > <span style={{ color: "red" }}>Hello my name is John. And</span> <span style={{ color: "blue" }}> my name is Alice.</span> |
There was a problem hiding this comment.
Same as the other suggestion here
| In this case, the above would be corrected to move the speaker change point to match with the end of sentence: | ||
|
|
||
| Speaker diarization uses punctuation to improve accuracy. Small corrections are applied to speaker labels based on sentence boundaries. | ||
| > <span style={{ color: "red" }}>Hello my name is John.</span> <span style={{ color: "blue" }}> And my name is Alice.</span> |
There was a problem hiding this comment.
Same as the other suggestion here
|
|
||
| - Use a [GPU Speech-to-Text container](../../deployments/container/gpu-speech-to-text.mdx). Handling multiple audio streams is computationally intensive and benefits from GPU acceleration. | ||
| - Set the `SM_MAX_CONCURRENT_CONNECTIONS` environment variable to match the number of channels you want to process. | ||
| - Use a [GPU Speech-to-Text container](../../deployments/container/gpu-speech-to-text.mdx). Handling multiple audio streams is computationally intensive and benefits from GPU acceleration. |
There was a problem hiding this comment.
| - Use a [GPU Speech-to-Text container](../../deployments/container/gpu-speech-to-text.mdx). Handling multiple audio streams is computationally intensive and benefits from GPU acceleration. | |
| - Use a [GPU Speech-to-Text container](/deployments/container/gpu-speech-to-text). Handling multiple audio streams is computationally intensive and benefits from GPU acceleration. |
Correct some casing issues in title, and added more information for some of the parameters (prefer current speaker, max speakers). Also gave an example on how the punctuation related correction can look like.