1
Ukrainian support for Speaker Diarization
Our Speaker Diarization service now supports Ukrainian speech. This update enables automatic speaker labeling for Ukrainian audio files, making transcripts more readable and powering downstream features in multi-speaker contexts.
Here's how you can get started obtaining Ukrainian speaker labels using our Python SDK:
import assemblyai as aai
aai.settings.api_key = "<YOUR_API_KEY>"
audio_file = "/path/to/your/file"
config = aai.TranscriptionConfig(
speaker_labels=True,
language_code="uk"
)
transcript = aai.Transcriber().transcribe(audio_file, config)
for utterance in transcript.utterances:
print(f"Speaker {utterance.speaker}: {utterance.text}")
Check out our Docs for more information.