Skip to content

Conversation

@chrisw77
Copy link

@chrisw77 chrisw77 commented Oct 7, 2025

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.

@vercel
Copy link

vercel bot commented Oct 7, 2025

@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>
Copy link
Author

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!

@chrisw77
Copy link
Author

chrisw77 commented Oct 7, 2025

Looking to update diarization docs (title casing -> sentence style, some extra detail and context).
@anjz @mnemitz
@stuartw843 @yaiir-a

@vercel
Copy link

vercel bot commented Nov 11, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
docs Ready Ready Preview Comment Nov 11, 2025 3:35pm

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>
Copy link
Collaborator

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';
Suggested change
> <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>

Copy link
Author

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>
Copy link
Collaborator

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>
Copy link
Collaborator

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.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants