Firebase Admin
Firebase analytics
Pricing
Privacy and Security
Useful resources
Firebase Extensions
Cloud Run
enableWordTimeOffsets
How to get word level timings
worth noting that time stamps don't come as default, you need to add this attribute to configenableWordTimeOffsets
same thing for punctuaiton with enableAutomaticPunctuation
and speaker diarization enableSpeakerDiarization
1
const config = {
2
enableWordTimeOffsets: true,
3
enableAutomaticPunctuation: true,
4
enableSpeakerDiarization: true,
5
encoding: encoding,
6
sampleRateHertz: sampleRateHertz,
7
languageCode: languageCode,
8
};
Copied!
more details and full code example see
Copy link