-
Notifications
You must be signed in to change notification settings - Fork 11
Updates to speaker diarization documentation #126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - 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.