Menu

How to find and mute specific words?

Help
2018-09-19
2018-09-24
  • Herriman Coder

    Herriman Coder - 2018-09-19

    I apologize I am a total NOOB in this software and forum, but I have tried to read the tutorial and FAQs. Could someone summarize for me the most basic approach to using CMUSphinx to find and mute certain words in an MP3 file? Or at least to find those words and log/report the exact time position where they occur?

    Which sphinx modules exactly do I download, and is there a basic example? I have been looking at this example with great interest (from the FAQ):

    pocketsphinx_continuous -infile file.wav -keyphrase "oh mighty computer" -kws_threshold 1e-20

    What exactly do I need to download and run that? And what exactly does it do when it finds that phrase? Can it mute it? Splice it out? Log where it exists on the mp3 timeline? Can I point it at MP3 instead of WAV?

    I am a software engineer so I'm familiar with running and programming command-line utils, though again, I'm brand new to Sphinx. Thanks in advance.

     

    Last edit: Herriman Coder 2018-09-19
    • Nickolay V. Shmyrev

      Could someone summarize for me the most basic approach to using CMUSphinx to find and mute certain words in an MP3 file?

      1. Convert mp3 file to wav
      2. Recognize the file with large vocabulary recognizer
      3. Find timestamps of the offensive words in transcription
      4. Write the code to mute the corresponding regions
      5. Convert result wav back to mp3.

      I'm brand new to Sphinx

      Hopefully you are familar with Google

       
  • Herriman Coder

    Herriman Coder - 2018-09-19

    Thanks, but I don't see an answer to my main question: Which of the sphinx apps do I download and use? It seems there are several and all do different things?

     
    • Nickolay V. Shmyrev

      You can find details in the tutorial http://cmusphinx.github.io/wiki/tutorial

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.