WordPredictor - NVDA Add-on for Proactive Word Prediction

An NVDA add-on that watches what you type and predicts the next word using n-gram analysis. Predictions are announced through NVDA's own speech engine and can be accepted with keyboard shortcuts.

Why This Exists

Existing word prediction tools like Lightkey Pro AT have significant accessibility barriers when used with NVDA:

This add-on solves those problems by working inside NVDA itself. No external TTS, no clipboard pasting, no mouse required. Predictions are spoken through NVDA's speech engine and inserted directly through NVDA's keyboard input system.

Features

Key Bindings

| Key | Action | |-----|--------| | NVDA+Control+1 through NVDA+Control+0 | Accept prediction 1-10 (only intercepts when predictions are active) | | NVDA+Alt+P | Toggle word prediction on/off | | NVDA+Alt+O | Request predictions on demand (partial or full) | | NVDA+Alt+L | Save learning to disk manually |

All key bindings can be remapped in NVDA's Input Gestures dialog under the "Word Predictor" category.

Installation

  1. Download the latest release .nvda-addon file from the releases page.
  2. Open the file from Windows File Explorer to install it through NVDA's add-on installer.
  3. Restart NVDA.

Usage

  1. Start typing in any text field.
  2. When you press space after a word, you'll hear a short beep followed by up to 5 predictions.
  3. Press NVDA+Control+1 to accept the first prediction, NVDA+Control+2 for the second, etc.
  4. The predicted word is typed automatically with a trailing space.
  5. For partial-word prediction, type part of a word and press NVDA+Alt+O.
  6. Press NVDA+Alt+P to toggle prediction on or off.
  7. Configure settings in NVDA Menu > Settings > Word Predictor.

How It Works

The add-on uses n-gram language modeling with Kneser-Ney smoothing:

The n-gram data is stored as a JSON file and loaded at startup. No external Python dependencies are required.

Technical Details

Changelog

See CHANGELOG.md for the full version history.

License

GPL v2, same as NVDA.

Author

Lanie Carmelo-Molinar - lanie.work

A blind NVDA user who built this because existing word prediction tools don't work with screen readers.