Python Assignment Voice Audio Mapping with Words

Preferably Python 2.7 or Python 3.4 (open to and

(Free to use any libraries in addition to or instead of SpeechRecognition library)

Read a clear audio file in python using SpeechRecognition library [url removed, login to view]

And a string of words.

(The audio file has a very clear voice, speaking the same sentence as provided in the string).

We just have to map the parts of audio with each word.

So, for example, the string is "i have a baby mitten".

The script will read the string and audio, and return something like:

word="i" begin=100ms end=175ms

word="have" begin=215ms end=265ms

word="a" begin=265ms end=285ms

word="baby" begin=325ms end=400ms

word="mitten" begin=400ms end=450ms

begin and end mean the start and end of the word in the audio file.

Whoever bids $150 or less will be hired immediately. Only if no one bids $150 or less, then I will consider increasing the budget.

This project is for a trusted client with whom I have been working on a few projects in past, and I will be able to award you and pay you for the project only when the client is happy with the work and when he makes payment.


As a coder myself, I can suggest one approach to implement an algorithm to map, although I am not sure if it will work and be accurate. Here is the approach:

There are some pauses in between some words and no pause in between other words at all.

So, for example, if the string is "i have a baby mitten", in the audio, there can be pauses as show below:

"i <pause> have a <pause> baby mitten".

Now, we can slice the audio in chunks around the pauses so that first chunk of audio is "i", second chunk is "have a", and third chunk is "baby mitten". We trim each chunk so that it doesn't have any leading or trailing pauses. Now we parse each chunk into the speechrecognition library. If the speechrecognition library outputs a single word for a chunk, we just match word with words in string, and map the chunk of audio with that word in the string. Otherwise if the speechrecognition produces multiple words, then we can loop through the chunk's length to locate a partition so that the speechrecognition library produces 1 word for the sub-chunk from start to the partition position of the bigger chunk. And once the partition for 1 word is found, we locate the word in the string of unmapped words and map it with it. And so on.

Habilidades: Algoritmo, Programação C#, Python, VB.NET

Veja mais: word match algorithm, vb net algorithm, vb algorithm, use of algorithm in programming, string match algorithm, string library in c, string library c, python programming projects, programming words, programming with python, programming in python 3, programming in python, programming algorithm example, pay for python programming, match 3 algorithm, map string, map begin, example of an algorithm in programming, example of algorithm in programming, c sharp map, clear a string in c, and audio, algorithm, algorithm in c sharp, python end

Acerca do Empregador:
( 77 comentários ) Ghaziabad, India

ID do Projeto: #6835276

2 freelancers estão ofertando em média $172 para esse trabalho


Just give me the job and get it done! I'm a very experienced python developer. Enjoy life while I'm doing the work for you.

$144 USD in 3 dias
(1 Comentário)

Hi, We gone through with the requirement and we have done similar job in past so please contact us for the DEMO ASAP. please contact us ASAP for DEMO :) Delivered To Client, - Everyday reporting Mais

$200 USD in 3 dias
(0 Comentários)

We are experienced in software development, Linux, Java, Python, advanced numerical computations, data analysis, crawler development etc. Our skkype is: solverio. Our website is: s o l ve r . i o

$155 USD in 30 dias
(0 Comentários)