Question

What is the mechanism to apply speech recognition algorithm on python ! For example if i...

What is the mechanism to apply speech recognition algorithm on python !

For example if i want the system to configure when a person says "help" word , then it will do some reaction ! For example the LED will turn ON
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Speech recognition engine/API

CMU Sphinx (works disconnected)

Google Discourse Acknowledgment

Google Cloud Discourse Programming interface

Wit.ai

Microsoft Bing Voice Acknowledgment

Houndify Programming interface

IBM Discourse to Content

Quickstart: pip introduce SpeechRecognition. See the "Introducing" segment for more subtle elements.

To rapidly give it a shot, run python - m speech_recognition in the wake of introducing.

Quickstart: pip introduce SpeechRecognition. See the "Introducing" segment for more subtle elements.

To rapidly give it a shot, run python - m speech_recognition in the wake of introducing.

Extend joins:

PyPI

Source code

Issue tracker

Library Reference

The library reference reports each openly available question in the library. This report is additionally included under reference/library-reference.rst.

See Notes on utilizing PocketSphinx for data about introducing dialects, accumulating PocketSphinx, and building dialect packs from online assets. This record is likewise included under reference/pocketsphinx.rst.

Cases

See the cases/index in the store pull for utilization illustrations:

Perceive discourse contribution from the receiver

Decipher a sound document

Spare sound information to a sound document

Indicate broadened acknowledgment comes about

Adjust the recognizer vitality edge for encompassing commotion levels (see recognizer_instance.energy_threshold for subtle elements)

Tuning in to a receiver out of sight

Different other helpful recognizer highlights

Introducing

To start with, ensure you have every one of the necessities recorded in the "Prerequisites" area.

The least demanding approach to introduce this is utilizing pip introduce SpeechRecognition.

Something else, download the source dissemination from PyPI, and concentrate the chronicle.

In the envelope, run python setup.py introduce.

Prerequisites

To utilize the majority of the usefulness of the library, you ought to have:

Python 2.6, 2.7, or 3.3+ (required)

PyAudio 0.2.9+ (required just on the off chance that you have to utilize mouthpiece input, Amplifier)

PocketSphinx (required just on the off chance that you have to utilize the Sphinx recognizer, recognizer_instance.recognize_sphinx)

Google Programming interface Customer Library for Python (required just in the event that you have to utilize the Google Cloud Discourse Programming interface, recognizer_instance.recognize_google_cloud)

FLAC encoder (required just if the framework is not x86-based Windows/Linux/OS X)

The accompanying necessities are discretionary, yet can enhance or develop usefulness in a few circumstances:

On Python 2, and just on Python 2, a few capacities (like recognizer_instance.recognize_bing) will run slower in the event that you don't have Monotonic for Python 2 introduced.

In the case of utilizing CMU Sphinx, you might need to introduce extra dialect packs to bolster dialects like Universal French or Mandarin Chinese.

The accompanying areas go over the subtle elements of every prerequisite.

Python

The main programming prerequisite is Python 2.6, 2.7, or Python 3.3+. This is required to utilize the library.

PyAudio (for mouthpiece clients)

PyAudio is required if and just on the off chance that you need to utilize mouthpiece input (Receiver). PyAudio form 0.2.9+ is required, as prior renditions have flood issues with recording on specific machines.

If not introduced, everything in the library will in any case work, aside from endeavoring to instantiate an Amplifier question will raise an AttributeError.

The establishment directions are very great as of PyAudio v0.2.9. For comfort, they are condensed underneath:

On Windows, introduce PyAudio utilizing Pip: execute pip introduce pyaudio in a terminal.

On Debian-inferred Linux disseminations (like Ubuntu and Mint), introduce PyAudio utilizing Adept: execute sudo able get introduce python-pyaudio python3-pyaudio in a terminal.

In the event that the rendition in the vaults is excessively old, introduce the most recent discharge utilizing Pip: execute sudo well-suited get introduce portaudio19-dev python-all-dev python3-all-dev && sudo pip introduce pyaudio (supplant pip with pip3 if utilizing Python 3).

On OS X, introduce PortAudio utilizing Homebrew: blend introduce portaudio && sudo mix interface portaudio. At that point, introduce PyAudio utilizing Pip: pip introduce pyaudio.

On other POSIX-based frameworks, introduce the portaudio19-dev and python-all-dev (or python3-all-dev if utilizing Python 3) bundles (or their nearest reciprocals) utilizing a bundle chief of your decision, and after that introduce PyAudio utilizing Pip: pip introduce pyaudio (supplant pip with pip3 if utilizing Python 3).

PyAudio wheel bundles for 64-bit Python 2.7, 3.4, and 3.5 on Windows and Linux are incorporated for accommodation, under the outsider/catalog in the archive root. To introduce, basically run pip introduce wheel took after by pip introduce ./outsider/WHEEL_FILENAME (supplant pip with pip3 if utilizing Python 3) in the store root index.

PocketSphinx-Python (for Sphinx clients)

PocketSphinx-Python is required if and just on the off chance that you need to utilize the Sphinx recognizer (recognizer_instance.recognize_sphinx).

PocketSphinx-Python wheel bundles for 64-bit Python 2.7, 3.4, and 3.5 on Windows are incorporated for comfort, under the outsider/catalog. To introduce, basically run pip introduce wheel took after by pip introduce ./outsider/WHEEL_FILENAME (supplant pip with pip3 if utilizing Python 3) in the SpeechRecognition envelope.

On Linux and other POSIX frameworks, (for example, OS X), take after the guidelines under "Building PocketSphinx-Python from source" in Notes on utilizing PocketSphinx for establishment directions.

Take note of that the variants accessible in most bundle vaults are obsolete and won't work with the packaged dialect information. Utilizing the packaged wheel bundles or working from source is prescribed.

See Notes on utilizing PocketSphinx for data about introducing dialects, accumulating PocketSphinx, and building dialect packs from online assets. This record is likewise included under reference/pocketsphinx.rst.

Google Programming interface Customer Library for Python (for Google Cloud Discourse Programming interface clients)

Google Programming interface Customer Library for Python is required if and just in the event that you need to utilize the Google Cloud Discourse Programming interface (recognizer_instance.recognize_google_cloud).

If not introduced, everything in the library will at present work, with the exception of calling recognizer_instance.recognize_google_cloud will raise a RequestError.

As indicated by the official establishment directions, the prescribed approach to introduce this is utilizing Pip: execute pip introduce google-programming interface python-customer (supplant pip with pip3 if utilizing Python 3).

On the other hand, you can play out the establishment totally disconnected from the source files under the ./outsider/Source code for Google Programming interface Customer Library for Python and its conditions/catalog.

FLAC (for a few frameworks)

A FLAC encoder is required to encode the sound information to send to the Programming interface. In the event that utilizing Windows (x86 or x86-64), OS X (Intel Macintoshes just, OS X 10.6 or higher), or Linux (x86 or x86-64), this is now packaged with this library - you don't have to introduce anything.

Something else, guarantee that you have the flac summon line instrument, which is frequently accessible through the framework bundle director. For instance, this would normally be sudo able get introduce flac on Debian-subsidiaries, or blend introduce flac on OS X with Homebrew.

Add a comment
Know the answer?
Add Answer to:
What is the mechanism to apply speech recognition algorithm on python ! For example if i...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • plz. I need solving within 1 day please about algorithm we need apply on all 4...

    plz. I need solving within 1 day please about algorithm we need apply on all 4 type of algorithm and apply of two example on 4 type of algorithm and thank you SYNCHRONIZATION or SCHEDUALING If you choose SCHEDUALING you have to do the following: define the SCHEDUALING Concept-1 discuss Why operating system needs process-2 SCHEDUALING 3-discuss the process SCHEDUALING algorithms - How it works - Advantage/disadvantage 4- support your presentation with two examples each has at least three processes...

  • Hi, I need some help finishing the last part of this Python 1 code. The last...

    Hi, I need some help finishing the last part of this Python 1 code. The last few functions are incomplete. Thank you. The instructions were: The program has three functions in it. I’ve written all of break_into_list_of_words()--DO NOT CHANGE THIS ONE. All it does is break the very long poem into a list of individual words. Some of what it's doing will not make much sense to you until we get to the strings chapter, and that's fine--that's part of...

  • in python I have a list of strings, some contain purely numbers while others are dates,...

    in python I have a list of strings, some contain purely numbers while others are dates, names, etc. I am trying to convert the strings containing only numbers into floats. this is the code I am using but it alwyas returns nothing. Python just says restart and nothing goes through. how can I get my code to do what I want? f = open('GOOG-HistoricalQuotest.txt','r+') ff=f.readlines() clean = [] lst = [] for i in range(2,len(ff)+1): try: [float(i) for i in...

  • Hi, I need help with AVR Assembler language I need to do a traffic light project, with a RIP sens...

    Hi, I need help with AVR Assembler language I need to do a traffic light project, with a RIP sensor and 3 LEDs. I guess I have to set the sensor like there is no motion detected at first and the red led on, then when motion detected, turn the yellow led on for some time and then the green. Problem is that it has to be in assembler language and I don't know how to start. This is how...

  • Please Use Python/IDLE language! Also, pleaseee include step by step algorithm. Python 3.4 Hawaiin Words program...

    Please Use Python/IDLE language! Also, pleaseee include step by step algorithm. Python 3.4 Hawaiin Words program help please. Hawaiian words can be intimidating to attempt to pronounce. Words like humuhumunukunukuapua'a look like someone may have fallen asleep on the keyboard. The language is actually very simple and only contains 12 characters; 5 vowels and 7 consonants. We are going to write a program that allows the user to enter a hawaiian word and give the pronunciation of the word or...

  • What is the mechanism for a SN1' reaction and when do I use it compared to...

    What is the mechanism for a SN1' reaction and when do I use it compared to a SN1 reaction?

  • Hi I need some help writing a security code using python mongodb restful api. I just...

    Hi I need some help writing a security code using python mongodb restful api. I just need help on how to provide a security login to user to enter their username and password or to have a block in using extra access once they have logined and they want more access to the databases they will be force to sign out of the server but I just do not know how to start on it can someone show me how...

  • what does the word for mean in accounting? For example “ I received cash for common...

    what does the word for mean in accounting? For example “ I received cash for common stock” How would i know what to journal. and when journaling does it matter if increase or decrease or do i just do normal balance?

  • In trying to apply my knowledge in the real world, I am trying to create a...

    In trying to apply my knowledge in the real world, I am trying to create a realistic retirement schedule. However, I am running into difficulties using both a financial calculator as well as our equations from class in doing this. I am trying to do the following: plan a retirement schedule between the ages of 25 and 70, in which I would deposit 20% of my income each year. The income starts at 80,000 with an annual growth rate of...

  • In the following sentence, identify the part of speech of the italicized word

    1. In the following sentence, identify the part of speech of the italicized word. Large fish swim swiftly in the sea. A. Verb B. Noun C. Adjective D. Adverb 2. In the following sentence, identify the part of speech of the italicized word. Large fish swim swiftly in the sea. 3. Choose the sentence that contains a relative pronoun. A. Mr. Moon, whom you have met, is my assistant. B. Those are not my shoes. C. Someone is coming down...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT