View Full Size Screenshot
GtkSpell provides word-processor-style highlighting and replacement of misspelled words in a GtkTextView widget. Right-clicking a misspelled word pops up a menu of suggested replacements.GtkSpell depends on:
GtkSpell is a library and is mostly of interest to GTK programmers. The 3.x version includes python bindings through GObject-introspection typelibs as well as Vala bindings. C++ bindings are available through the gtkspellmm package. Python bindings for the legacy 2.x version are availble in GnomePythonExtras.
The latest legacy (GTK+ 2 only) 2.x version is 2.0.16, released on 2009-10-22.
2.0.16 Source Tarball
Binary packages are likely available through the repositories of your distribution.
DocumentationTutorials and API reference:
- Latest 3.x release: GtkSpell3 Manual.
- C++ bindings for 3.x release: GtkSpellmm Manual.
- Latest legacy 2.x release: GtkSpell2 Manual.
There have been some concerns about patent violations. Let me address them individually:
- Patent US05576955: This mentions creating an "error unit" for each misspelled word. GtkSpell simply highlights the misspelled words in red. When you right click, it runs the word under the cursor through the spell checker again (and requesting suggestions this time).
- Patent US05787451: GtkSpell checks words as you type. There's no "background" processing.
- Patent US05940847: This seems to only apply to "multi-word" errors. GtkSpell splits the input on word separators and checks each word separately.
Thanks to Mattias From for the research on this.