/python-codebyvoice

talk for programming :loudspeaker: /w google speech recognition

Primary LanguagePythonGNU General Public License v3.0GPL-3.0


The aim of this project is using speech recognition for coding. It contains some templates to make coding easier.

Requirements

Run

  • python listener.py

Change language

  • The commands shown below are from Turkish lexicon. If you want to change language, go to listener.py file and change the language part to yours. (Of course you should also change the commands from Turkish to your language.)

    demao

How to Use

  • python listener.py;
    • F11 to pause, F12 to resume
    • say "KONTROL" to get If/elif/else statement
    • say "ALTA GEÇ" to get a new line
    • say "KÜÇÜKTÜR" to get < sign
    • say "BÜYÜKTÜR" to get > sign
    • say "KÜÇÜK EŞİTTİR" to get <= sign
    • say "BÜYÜK EŞİTTİR" to get >= sign
    • say "BOŞLUK" to get space
    • say "YAZDIR" to get print ""
    • say "RASTGELE SAYI" to get Random number
    • say "PARAGRAF" to get one tab space