The software linked patterns of specific voice features with PTSD, including less clear speech and a lifeless, metallic tone, both of which had long been reported anecdotally as helpful in diagnosis. To detect emotion in the written word, sentiment analysis processing software can analyze text to conclude if a statement is generally positive or negative based on keywords and their valence index. Lastly, sonic algorithms have been produced that analyze recorded speech for both tone and word content.
Active2 years, 3 months ago
I know how to detect speech with Python but this question is more specific:How can I make Python listening for only one word and then returns True if Python could recognize the word.
I know, I could just let Python listen all the Time and then make something like thatPseudocode:
I have already made that and the program is hanging up after some minutes of always listening (See at the end). So I need a way to only listen for one specific word.
What does 'hang up' mean? The program is not crashing but not responding. It isn't listening to my voice anymore and when I press
STRG + C
it does nothing.I am searching for something like this:
Hope you understood, Best regards
Noah KrasserNoah Krasser
1 Answer
For more details see http://cmusphinx.sourceforge.net
Nikolay ShmyrevNikolay Shmyrev21.3k44 gold badges3232 silver badges6969 bronze badges