š°ļø Precision Redefined: Introducing Word Timestamps!
9 months ago
Step into the world of temporal precision with our latest API upgrade! Meet the words
parameter ā a powerful addition that delivers exact start and end times for each word in your anonymized transcription.
š ļø How to Harness Temporal Insight
Set the words
parameter to True
in your API request, and receive your anonymized transcription enriched with the addition of precise timestamps for each word.
params = {
'language':'english_16',
'gender':'f',
'robotic':'false',
'mask':'silence',
'voice':True,
'content':True,
'entities': 'Name,Organization,Location,City,Country,Numbers,Age,Date,Credit Card Number,Email,Concept,Product,Event,Technology,Group,Medical Condition,Characteristic,Research,County',
'words': True
}
will give:
{
'path/to/audio.wav': {
'audio': b'RIFFb\\x12\\x03\\x00WAVEfmt \\x10\\x00\[...]\\xff\\xeb\\xff\\xe6\\xff',
'transcription': 'Hey my name is <Name> I am from <City> ...',
'words': \[{'end': 1.14, 'start': 0.56, 'text': ' Hey'},
{'end': 1.32, 'start': 1.14, 'text': ' my'},
{'end': 1.48, 'start': 1.32, 'text': ' name'},
{'end': 1.76, 'start': 1.48, 'text': ' is'},
{'end': 1.92, 'start': 1.76, 'text': ' <Name>'},
[...]]
}
}
Master time ā Word Timestamps bring temporal precision to your fingertips! ā°