Blob Blame History Raw
<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" id="tech-spell-checking" xml:lang="zh-CN">

  <info>
    <link type="guide" xref="tech" group="spell-checking"/>

    <credit type="author copyright">
      <name>Federico Mena Quintero</name>
      <email its:translate="no">federico@gnome.org</email>
      <years>2013</years>
    </credit>
    <credit type="author copyright">
      <name>Sébastien Wilmet</name>
      <email its:translate="no">swilmet@gnome.org</email>
      <years>2017</years>
    </credit>

    <include xmlns="http://www.w3.org/2001/XInclude" href="cc-by-sa-3-0.xml"/>

    <desc>Spell-checking for text widgets</desc>
  </info>

<title>Spell-checking</title>

  <p>
    Several libraries are available to do spell-checking related tasks: Enchant
    and gspell.
  </p>

  <p>
    Enchant provides a low-level API.  You can ask it if a word is misspelled,
    or ask for suggestions for a misspelled word.  On a higher level, gspell
    integrates spell-checking for GTK+ text widgets (both <code>GtkEntry</code>
    and <code>GtkTextView</code>).
  </p>

  <p>
    In GNOME, those libraries get used in text-heavy applications like gedit (a
    text editor) and Epiphany (a web browser, for text entry in web forms).
  </p>

  <list style="compact">
    <item><p><link href="https://www.abisource.com/projects/enchant/">Enchant home page</link></p></item>
    <item><p><link href="https://wiki.gnome.org/Projects/gspell">gspell home page</link></p></item>
  </list>

</page>