Code Monkey home page Code Monkey logo

larynxcode's Introduction

GitHub Maintenance

GitHub issues GitHub forks GitHub stars



LarynxCode logo


WELCOME TO LARYNXCODE : A CLI application that enables you to code using your voice

Coding is an integral part of a developer's life. Sometimes, due to continuous and rigorous coding without breaks, a person may develop a condition known as Repetitive Strain Injury(RSI), that restricts all finger movements. How will you,then, finish that project that's due in 2 days ?

LarynxCode, based on the functionalities of the dragonfly Python framework, is a CLI appliaction, that fires up voice enabled coding in you system. It also comes with a linked web application that is basic guide on the functions of a few basic commands.


CLI welcome


COMMANDS :

CLI commands


  1. enable-voice-coding --voice --start : Starts Caster and enables you to code via Windows Speech Recognition

Executing the command :

Screenshot (447)

Coding using your voice : Writing print('name') via voice coding :

Screenshot (448)

enable-voice-coding help menu :

Screenshot (449)



2. chelp --casterhelp --google : Launches the voice coding commands guide

Executing the command :

Screenshot (456)

The webapp :

Screenshot (450)

Screenshot (452)

chelp help menu :

Screenshot (454)


SYSTEM REQUIREMENTS :

  1. Python 2.7.18, 64/32 bit, Python 3.7.4 64 bit
  2. Windows OS
  3. Pre-trained Windows Speech Recognition GUI : Make sure you train your WSR 2-3 times properly.

SETTING UP CASTER :

  1. Install dragonfly : pip install dragonfly2
  2. Follow the official docs only till step 2. LarynxCode automates the remaining setup and runs the algorithm. NOTE : Also, instead of installing at C:/Documents, install it in C:/ directly
  3. If you want to change rules/grammar, head over to C:/Caster/castervoice/rules to change the rules.

SETTING UP LARYNXCODE :

  1. Download this repository as zip, Extract it at C:/
  2. cd to the directory : cd LarynxCode\cli_scripts
  3. Setup a virtual environment : py -m virtualenv venv, and activate it : venv\Scripts\activate
  4. Install required libraries : pip install -r requirements.txt
  5. Run LarynxCode : py voice_coding_cli.py enable-voice-coding --voice --start (refer to the commands explained above)

SHORTCOMINGS AND FUTURE SCOPE :

  1. Curently runs only on Windows OS.
  2. Windows Speech Recognition is poor in terms of identifying dictation, so it takes a lot of time and 5-6 attempts to get the correct command executed. In the future, we aim to shift to Dragon Naturally Speaking (DNS) speech recognition engine, which works the best in voice coding.
  3. Voice coding is heavily dependant on Python 2.7.18 till date.

SHOUTOUTS :

Leshna Balara, for collaborating with me to build the CLI. Shoutout to one of the most dedicated Pod mates ever.

Gabriel Cruz, for being an exceptional Pod leader.

CONTRIBUTE :

Feel free to raise an Issue if you feel like improving our CLI. LarynxCode is open sourced under the MIT License.

To contribute to the web application (frontend/backend) : Raise an Issue at this repository



~ LarynxCode, developed by Balaka Biswas and Leshna Balara

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.