<p>After some research on the internet, I realized that using VOSK toolkit in python, it can be found (detect) any particular word in audio file or real time audio streaming.</p>
<p><a href="https://alphacephei.com/vosk/" rel="nofollow noreferrer">https://alphacephei.com/vosk/</a></p>

CC BY-SA 4.0
2021-01-27T09:02:23.273Z
2021-01-27T09:02:23.273Z
Ali.kavari76
<p>I'm trying to train and use a neural network to detect a specific word in an audio file. The input of the neural network is an audio of 2-3 seconds duration, and the neural network must determine whether the input audio (the voice of a person) contains the word &quot;hello&quot;  or not.</p>
<p>I do not know what kind of network to use. I used the SOM network, but I did not get the desired result. My training data contains a large number of voices that contain the word &quot;hello&quot;.</p>
<p>Is there any python code for dis problem?</p>

CC BY-SA 4.0
2020-08-03T09:42:49.980Z
You can use a CNN or LSTM model. For the CNN one you can try pre-trained models for starting and for the LSTM one you can try bidirectional LSTMs.
Let's try
CC BY-SA 4.0
2020-08-03T13:08:37.600Z
What datasheet should I use to train the class related to "not hello"?
Ali.kavari76
CC BY-SA 4.0
2020-08-03T20:02:48.977Z
Have you tried looking at some models at tensorflow hub? I’m positive there should be some useful stuff
pedrum
<neural-networks><machine-learning><deep-learning><python><audio-processing>
How can I find a specific word in an audio file?
Ali.kavari76
# How can I find a specific word in an audio file?

(Asked by: username_0 on 2020-08-03)

I'm trying to train and use a neural network to detect a specific word in an audio file. The input of the neural network is an audio of 2-3 seconds duration, and the neural network must determine whether the input audio (the voice of a person) contains the word "hello" or not.

I do not know what kind of network to use. I used the SOM network, but I did not get the desired result. My training data contains a large number of voices that contain the word "hello".

Is there any python code for dis problem?

**Tags:** neural-networks, machine-learning, deep-learning, python, audio-processing

> **Comments:**
> **username_1**: You can use a CNN or LSTM model. For the CNN one you can try pre-trained models for starting and for the LSTM one you can try bidirectional LSTMs.  
> **username_0**: What datasheet should I use to train the class related to "not hello"?  
> **username_2**: Have you tried looking at some models at tensorflow hub? I’m positive there should be some useful stuff  

---

## 1 answers

### Answer by username_0 on 2021-01-27. Score: 2

After some research on the internet, I realized that using VOSK toolkit in python, it can be found (detect) any particular word in audio file or real time audio streaming.

<https://alphacephei.com/vosk/>


---

