Skip to content

sashakmets/SublimeSpeech

Repository files navigation

SublimeSpeech

English speech recognition plugin for Sublime Text 2.
For Windows only.

Installation

Install via Package Control. Or download from here, rename to "Speech" and put it in your "Packages" directory.

Modes

The recognizer can be in three modes:

  • Turned on: self-explanatory
  • Turned off: Totally turned off, doesn't even run in the background. You must manually turn it back on after this
  • Sleeping: In sleep mode the recognizer still runs but doesn't respond to any other commands than "wake up" or "turn off".

Key bindings

ctrl+shift+o Wakes up the recognizer if it's sleeping. Otherwise turns it on/off.

Speech Commands

Full reference sheet is in file reference.txt
You can say "What can i say" to open up this reference.

Here are some example commands you can give:

  • Command: say <text>
    Example: say write this down
    Result: prints write this down
  • Command: minimap
    Result: toggles minimap on/off
  • Command: translate to tabs
    Result: converts indentation to tabs
  • Command: turn off
    Result: turns the recognizer off
  • Command: new file
    Result: opens a new file
  • Command: set syntax <language>
    Example: set syntax python
    Result: sets syntax to python for the current file

Not all functionality is available by speaking but simple application control and basic text editing is implemented.

Remember that you can train the recognizer to understand you better. This done in the control panel for speech recognition in Windows.

Note that status bar shows some info about speech recognition. For example it say "What was that?" if it can't understand you.