How do I convert speech to text?
Asked Answered
D

5

45

How could I take MP3 and convert the speech to text?

I've got some recorded notes from a conference and from meetings (there is a single voice on the recording, which is my voice). I thought it would be easier and intellectually interesting to convert to text using speech to text tools rather than simply transcribe by hand. I know there are technologies out there, especially for VoIP applications using Asterisk and Podcasts, but what are they and how can I use them?

Deonnadeonne answered 29/1, 2009 at 13:29 Comment(2)
Maybe pass this on to Joel and Jeff so they can get the text for their wiki transcriptions of the SO podcasts.Shadowgraph
As a work around, one could upload the media to Youtube as a video, as Youtube performs CC service when video is uploaded. It's not a developer's solution, but it may get one by in a pinch. youtube.com/watch?v=yxmfJuC2UnoJacquerie
P
31

Open Source: CMU Sphinx

Shareware: http://www.e-speaking.com/ (Windows)

Commercial: Dragon NaturallySpeaking (Windows)

Pedestrianize answered 29/1, 2009 at 14:2 Comment(1)
I think the three above are good options to give you what you need to get going, but there'll be some coding (no cut n'n paste hack) to get speak to text working. From my very limited experience of using Sphinx with Asterisk PBX, I'd go for that on the free (beer and speech) vote for a small personal project.Deonnadeonne
T
5

.NET can do it with its System.Speech namespace.

You would have to convert to .wav first or capture the audio live from the mic.

Details on implementation can be found here: Transcribing Audio with .NET

Twombly answered 23/3, 2012 at 20:24 Comment(0)
K
4

Dragon NaturallySpeaking seems to support MP3 input.

If you want an open source version (I think there are some Asterisk integration projects based on this one).

Kneehole answered 29/1, 2009 at 13:56 Comment(1)
The first link is broken. I imagine it used to go to this: nuance.com/dragon.htmlDen
P
3

Late to the party, so answering more for future reference.

Advances in the field + Mozilla's mindset and agenda led to these two projects towards that end:

The latter has a 12GB data-set for download. The former allows for training a model with your own audio files to my understanding

Pleven answered 30/11, 2017 at 13:16 Comment(0)
A
0

You can also try Leopard. This article has an overview. But your code essentially looks like this:

from leopard import *
o = create(access_key=${YOUR_ACCESS_KEY})
print(o.process_file(${YOUR_AUDIO_FILE_PATH}))
Abyss answered 1/4, 2022 at 17:54 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.