home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 May / Gamestar_73_2005-05_dvd.iso / Programy / amaya / amaya-WinXP-9.1.exe / doc / WX / SpellChecking.html < prev    next >
Encoding:
Extensible Markup Language  |  2005-02-23  |  5.3 KB  |  120 lines

  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  3.        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head>
  6.   <meta name="GENERATOR" content="amaya 9.1, see http://www.w3.org/Amaya/" />
  7.   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  8.   <title>Checking Spelling in Amaya</title>
  9.   <style type="text/css">
  10.   </style>
  11.   <link href="style.css" rel="stylesheet" type="text/css" />
  12. </head>
  13.  
  14. <body xml:lang="en" lang="en">
  15.  
  16. <div>
  17. <img alt="Amaya" src="../../resources/icons/22x22/logo.png" class="logo" />
  18.  
  19. <p class="nav"><a href="Searching.html" accesskey="p"><img alt="previous"
  20. src="../../resources/icons/misc/left.png" /></a> <a href="Manual.html"
  21. accesskey="t"><img alt="top" src="../../resources/icons/misc/up.png" /></a>
  22. <a href="Publishing.html" accesskey="n"><img alt="next"
  23. src="../../resources/icons/misc/right.png" /></a></p>
  24. </div>
  25.  
  26. <div id="page_body">
  27. <h2>Checking Spelling in Amaya</h2>
  28.  
  29. <p>Amaya provides a multilingual spell checker, and selects the appropriate
  30. language according to the <code>lang</code> attribute. The <code>lang</code>
  31. attribute can be associated with any element in a document, even with a
  32. single word, using the <a
  33. href="Attributes.html"><strong>Attributes</strong></a> tool.</p>
  34.  
  35. <p>To spell check a document, choose <strong>Check spelling</strong> from the
  36. <strong>Edit</strong> menu.</p>
  37.  
  38. <h3>The Personal Dictionary</h3>
  39.  
  40. <p>When you register a new word, the spell checker creates or updates the
  41. <b>user's personal dictionary</b>. A user's personal dictionary is located in
  42. the <code>AmayaHome/dictionary.DCT</code> file. In read-write mode, the spell
  43. checker employs the user dictionary when reviewing all documents, in addition
  44. to the language-specific dictionaries. When you click the <strong>Skip
  45. (+dic)</strong> and <strong>Replace (+dic)</strong> buttons in the
  46. <strong>Spell checking</strong> dialog, the user dictionary is created if
  47. does not exists and automatically updated by the spelling checker.</p>
  48.  
  49. <h3>The Spell Check Dialog</h3>
  50.  
  51. <p>The <strong>Check spelling</strong> option on the <strong>Edit</strong>
  52. menu displays a dialog that enables you to choose parameters and interact
  53. with the spell checker. These parameters are defined below.</p>
  54. <ul>
  55.   <li>The <strong>Spell Checking</strong> field displays incorrect words. The
  56.     list of proposed corrections is displayed in the selector field located
  57.     below the incorrect word. By default, Amaya selects the first proposed
  58.     correction. To select another correction, simply click it. The selected
  59.     correction is displayed below the selector field. This correction can be
  60.     directly edited on the form. The correction is made when you click the
  61.     <strong>Replace and next</strong> or <strong>Replace (+dic)</strong>
  62.     buttons.<br />
  63.     Note that you can perform the correction by double-clicking a proposed
  64.     correction.
  65.     <p></p>
  66.   </li>
  67.   <li>The <strong>language</strong> in which the correction is made is
  68.     specified in the bottom left corner of the form. To change the language,
  69.     apply a <code>lang</code> attribute to the text with the
  70.     <strong>Attributes</strong> tool, and restart the spell-check
  71.   procedure.</li>
  72.   <li>The <strong>Ignore</strong> section tells the spell checker to ignore
  73.     certain words, for example, words that contain only capital letters,
  74.     words that contain digits, Roman numerals or words with special
  75.     characters (you can choose the special characters).
  76.     <p></p>
  77.   </li>
  78.   <li>The <strong>Checking</strong> section, similar to that in the <a
  79.     href="Searching.html">Search dialog</a>, enables you to specify the part
  80.     of document on which the checker will work.
  81.     <p></p>
  82.   </li>
  83. </ul>
  84.  
  85. <h3>Running the Spell Checker</h3>
  86.  
  87. <p>To start the checker, click the <strong>Search/Skip</strong> button at the
  88. bottom of the form. If an error is found, the incorrect word is selected and
  89. highlighted in the document. If no error was detected, Amaya displays a
  90. pop-up "End of spell checking".</p>
  91.  
  92. <p>When an incorrect word is detected, you can use a button on the form to
  93. perform the following operations:</p>
  94. <ul>
  95.   <li><strong>Search/Skip</strong>: Amaya considers the incorrect word as
  96.     acceptable. No change is made in the text or in the dictionaries. The
  97.     checker searches for the next error.
  98.     <p></p>
  99.   </li>
  100.   <li><strong>Skip (+dic)</strong>: Performs the same action as the
  101.     <strong>Skip/Skip</strong> button, except that the word considered
  102.     incorrect is added to the document dictionary, and the checker will
  103.     ignore any subsequent occurrence of this word.
  104.     <p></p>
  105.   </li>
  106.   <li><strong>Replace and next</strong>: Amaya replaces the incorrect word
  107.     with the correct word (optionally edited by the user) and the checker
  108.     searches for the next error.
  109.     <p></p>
  110.   </li>
  111.   <li><strong>Replace (+dic):</strong> Performs the same action as the
  112.     <strong>Replace and next</strong> button, except that the replacement
  113.     word is added to the document dictionary.</li>
  114.   <li><strong>Cancel</strong>: Amaya closes the form and stops spell
  115.     checking. Previous corrections are not canceled.</li>
  116. </ul>
  117. </div>
  118. </body>
  119. </html>
  120.