Using Spellcheck in NeoOffice

From NeoWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 23:10, 24 January 2009 (edit)
Sardisson (Talk | contribs)
(moving this to Selecting the Dictionary to be Used in a Document or Section)
← Previous diff
Current revision (20:05, 16 October 2013) (edit) (undo)
Sardisson (Talk | contribs)
(add and above now that we're well post-10.5)
 
(9 intermediate revisions not shown.)
Line 1: Line 1:
-{{Fixme}}+==Spellcheck and Writing Tools in NeoOffice==
-'''''N.B.''' This article covers the steps required to activate writing tools in '''NeoOffice 3.0 Early Access and later'''; for the steps to use in '''NeoOffice 2.x''', see [[Activating Dictionaries and Configuring Spellcheck in NeoOffice 2.x]] instead.''+NeoOffice will correctly configure your preferences to use the language tools (spellcheck, thesaurus, etc.) for the language and region that are set as the defaults in the International pane of the System Preferences when you first launch NeoOffice, provided you have the appropriate writing tools installed.
-NeoOffice will correctly configure your preferences to use the language tools (spell check, thesaurus, etc.) for the language that is set as the default in the System Preferences when you launch NeoOffice, provided you have the appropriate writing tools installed. +NeoOffice 3.x will automatically use the native Mac OS X spelling dictionaries if they match the language of the text to be checked. See [[Troubleshooting Spellcheck#Issues_with_Locale_Variants_of_Languages|Issues with Locale Variants of Languages]] for more details.
-Note that '''all the writing tools''' (dictionary, thesaurus, hyphenation) '''may not be available for all languages'''; some languages may have only one (usually the dictionary), and some may not have any tools at all.+However, if you add a word to the dictionary in NeoOffice, it will be added to your NeoOffice user dictionary, <code>~/Library/Preferences/NeoOffice-3.0/user/wordbook/standard.dic</code> (where ~ represents your home folder), not your Mac OS X user dictionary. See [[Exporting the Word List from a User Dictionary]] for information on syncing the contents of '''standard.dic''' to your Mac OS X user dictionary.
-If you want the '''NeoOffice user interface''' (and in some cases the Help) to be in your native language, you must '''install the appropriate [http://download.neooffice.org/neojava/download.php#installlanguages language pack]''' separately; see [[Changing the Language of the User Interface]] for more information.+NeoOffice also ships with a very limited number of OpenOffice.org writing tools (spelling dictionary, thesaurus, hyphenation), with many of the dictionaries and thesauri formerly found in NeoOffice 2.x omitted; if your language is not supported by the Mac OS X spelling system nor by the OpenOffice.org dictionaries shipped in NeoOffice, see [[Adding Additional Dictionaries]] for information on installing writing tools for your language. (If you want to disable unnecessary writing tools, see [[Adding Additional Dictionaries#Disabling Writing Tools for Unnecessary Languages|Disabling Writing Tools for Unnecessary Languages]].)
-==Activating the Writing Tools for Your Preferred Language==+On Mac OS X 10.5 and above, NeoOffice also includes support for the Mac OS X grammar checker (which on 10.5 supports only US English and only a limited subset of English grammar, at that); this can be activated by opening the {{Menu|Tools}} menu, selecting the {{menu|Add-Ons}} sub-menu, and choosing one of the options from the {{menu|Check Grammar}} sub-menu.
-NeoOffice 3.x will automatically use the native Mac OS X spelling dictionaries if they match the language of the text to be checked. See [[#Issues_with_Locale_Variants_of_Languages|Issues with Locale Variants of Languages]] below for more details.+===Additional Information about Spellcheck and Writing Tools===
-===Note for users of non-US or non-UK English (and possibly other languages with regional variants)===+* [[Adding Additional Dictionaries]]
 +** Explains various methods of adding dictionaries that NeoOffice can use, as well as how to disable unused writing tools
 +* [[Selecting the Dictionary to be Used in a Document or Section]]
 +** Explains how to make sure NeoOffice is using the correct dictionary and provides methods for automating the process
 +* [[Exporting the Word List from a User Dictionary]]
 +** Explains how to get the contents out of the NeoOffice user dictionary
 +* [[Troubleshooting Spellcheck]]
 +** Lists solutions to common problems with spell-checking
 +* [[Activating Dictionaries and Configuring Spellcheck in NeoOffice 2.x]]
 +** Spellcheck-related instructions for NeoOffice 2.x
 +* [[Activating Dictionaries in NeoOffice 1.x]]
 +** Spellcheck-related instructions for NeoOffice 1.x
 +<!-- do we want these descriptions, or just the article titles? -->
-The language tools system in NeoOffice 3.x does not map other English variants to the US or UK English tools; you must install the dictionary, etc., for your language to have working writing tools.+==Changing the language of the NeoOffice user interface==
 +NeoOffice uses the topmost language in the list in the International pane of the System Preferences to determine the interface language. If you want the '''NeoOffice user interface''' (and in some cases the Help) to be in your native language, you must '''install the appropriate [http://www.neooffice.org/neojava/download.php#installlanguages language pack]''' separately.
-==Enabling Writing Tools for Additional Languages==+For details on using an interface language other than the one specified in the System Preferences, consult [[Changing the Language of the User Interface]].
- +
-To install and activate writing tools for additional languages in NeoOffice, simply repeat the steps in the previous section for any additional languages you wish to use.+
- +
-==Disabling Writing Aids for Languages that aren't Needed==+
- +
-#Under the {{Menu|NeoOffice}} menu choose {{Menu|Preferences}}.+
-#In the dialog that appears, doulbe click on {{Section|Language Settings}}+
-#Cllick on {{Section|Writing Aids}}+
-#In the panel that appears, highlight (but don't uncheck) {{prefName|NeoOffice Mac OS X Spellcheck with Hunspell}} and click the {{Button|Edit button}} to the right of the this item.+
-#In the dialog that appears, select a language from the drop down list and uncheck {{prefName|NeoOffice Mac OS X Spellcheck with Hunspell}}. +
-#Repeat this step for all languages that you want to disable and click {{Button|Close}} when you are finished.+
-#To save your changes, click {{Button|OK}} and the dialog will close.+
- +
-=="Exporting" the Word List from a User Dictionary==+
-When spellchecking a document, you have the option of adding unrecognized words to a user dictionary. The default user dictionary is '''standard.dic'''. If you want to export these words, you can do so as follows:+
-*Locate the dictionary file. It can be found at the following path <tt>~/Library/Preferences/NeoOffice-2.2/user/wordbook/standard.dic </tt> where ~ is your home folder.+
-*Copy this file to the desktop or another location+
-*Edit the name of this file (the copy) so that the extension reads <tt>.txt</tt>+
-*Open this txt file in NeoOffice. (if asked which filter to use, chose UTF)+
-*You will see a list of words separated by <tt>#</tt> characters. You can use a global search and replace to format the file as you need to.+
-*You may also need to remove some hard page returns.+
- +
-'''does NeoOffice read the Mac OS X user dictionary, or just regular dictionaries? DictEdit'''+
- +
-==Troubleshooting==+
-Sometimes this process gets convoluted; there is a [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=1357 trinity thread] that attempts to walk through troubleshooting why language (and thus dictionary) settings "don't stick" sometimes.+
- +
-===Auto Spellcheck doesn't work in .doc Files===+
-.doc files (from MS Word) often don't include a setting for the language of the document. If autospell check is not working in a .doc file, there are two options:+
-*Select the entire text of the document;+
-*Cntrl or Right Click in the selection and choose {{menu|Character}} from the contextual menu.+
-*Click on the {{Section|Font}} tab and set the language drop-down to the correct language.+
-Or+
-*Go to the {{Menu|NeoOffice}} menu and choose {{Menu|Preferences}}+
-*Click on {{Section|Language Settings}} and then {{Section|Languages}}+
-*Set the {{prefName|Default Language for document}} to the correct language+
-*If necessary, check {{prefName|For the current document only}}+
- +
-===If Autocorrect and Replacement Settings Don't Work===+
-'''is this relevant/the same for 3.x? if not, move to the 2.x page'''+
- +
-In [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=4065 this thread at trinity], Bill offers the following experience:+
- +
-I installed Canadian English in my copy of NeoOffice 2.0 (patch 15) so that spell checking would happen that way, and the autocorrect replace list and exceptions list stopped working.+
- +
-There seemed to be no easy way to replicate the USA English versions of these lists, and typing them all in again (after selecting "English (Canada)" at the top of the autocorrect dialog) was way too tedious.+
- +
-But I managed to populate these lists using this method.+
- +
-Right-click on the NeoOffice application and choose "Show Package Contents". Navigate to "Contents/share/autocorr/". Find the "acor_en-US.dat" file - this apparently contatins the replace and exceptions lists.+
- +
-In a new Finder window (just to make copying easier), navigate to+
-"~/Library/Preferences/NeoOffice-2.x/user/autocorr/". If "acor_en-US.dat" exists in this folder, temporarily rename it. The "acor ..." files in this folder seem to contain additions you've made to the replace and exceptions lists.+
- +
-Copy the "acor_en-US.dat" file from autocorr folder deep in the NeoOffice application to the autocorr folder deep in the Preferences folder. In the Preferences folder rename the copied file to "autocorr_en-CA.dat". If necessary, reset the name of the "autocorr_en-US.dat" file.+
- +
-Launch NeoOffice, go to the AutoCorrection dialog, choose "English (Canada)" from the pop-up, and the lists will be there.+
- +
-Choose a different file name if you're using an English variant other than Canadian, UK, or USA, and (I assume) you have installed that language in NeoOffice.+
- +
-==="Could Not Contact Spell Checker" Error Message===+
- +
-If you see this error while you are checking spelling (or while auto-spell checking is on), you may have encountered a conflict caused by third-party spelling services (either cocoAspell or Spell Catcher have been reported to cause this problem). +
- +
-Some users have experienced success by upgrading their cocoAspell or Spell Catcher installations, or by removing the '''cocoAspell.service''' or '''Spell Catcher Services.service''' items from <tt>~/Library/Services</tt> or <tt>/Library/Services</tt>. A reboot will be required after upgrading or upgrading the files.+
- +
-'''Note:''' Be sure to only '''move''' the <tt>.service</tt> file, '''not delete it''', in case the approach does not work for you.+
- +
-If you still get the same error after doing the above steps, try doing the following steps:+
- +
-# Move any <tt>/Library/Caches/com.apple.LaunchServices*.csstore</tt> files to the Trash but do not empty the Trash+
-# Reboot your machine+
-# Immediately empty the Trash+
- +
-For more information, see [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=4836 this thread at trinity], [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&p=39103#39103 this thread at trinity], or [http://discussions.apple.com/thread.jspa?threadID=1087917 these] [http://discussions.apple.com/thread.jspa?messageID=5166006 three] [http://discussions.apple.com/thread.jspa?messageID=5178233 threads] at Apple Discussions.+
- +
-===Issues with Locale Variants of Languages===+
- +
-NeoOffice looks for an available dictionary for the fictitious language "ab_CD" in the following places (and in that order):+
-#Is "ab_CD" available with the OS X spellchecking services?+
-#Is "ab_CD" provided as a OpenOffice Hunspell dictionary?+
-#Is "ab" available with the OS X spellchecking services?+
- +
-When NeoOffice is not using the Mac OS X spellchecking services for language "ab" (because an "ab_CD" dictionary is part of the default install of NeoOffice), and the preferred behavior is to use the Mac OS X dictionary, a workaround is available by removing or commenting out the "ab_CD" line from the <tt>NeoOffice.app/Contents/share/dict/ooo/dictionary.lst</tt> file. +
- +
-'''FIXME - how do we achieve this in 3.x'''+
- +
-See [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=5085&postdays=0&postorder=asc&start=0 this thread in trinity] for more details about this issue and for potential interaction with CocoASpell.+
- +
-==Changing the language of the NeoOffice user interface==+
-NeoOffice uses the topmost language in the list in the International pane of the System Preferences to determine the interface language. For details on using an interface language other than the one specified in the System Preferences, consult [[Changing the Language of the User Interface]].+
{{botlangbarEN|[[Fr:Installer_des_Dictionnaires|Français]] [[It:Attivare_i_dizionari_e_configurare_il_controllo_ortografico|Italiano]]}} {{botlangbarEN|[[Fr:Installer_des_Dictionnaires|Français]] [[It:Attivare_i_dizionari_e_configurare_il_controllo_ortografico|Italiano]]}}
[[Category:Tips and Hints]][[Category:NeoOffice]] [[Category:Tips and Hints]][[Category:NeoOffice]]

Current revision

Spellcheck and Writing Tools in NeoOffice

NeoOffice will correctly configure your preferences to use the language tools (spellcheck, thesaurus, etc.) for the language and region that are set as the defaults in the International pane of the System Preferences when you first launch NeoOffice, provided you have the appropriate writing tools installed.

NeoOffice 3.x will automatically use the native Mac OS X spelling dictionaries if they match the language of the text to be checked. See Issues with Locale Variants of Languages for more details.

However, if you add a word to the dictionary in NeoOffice, it will be added to your NeoOffice user dictionary, ~/Library/Preferences/NeoOffice-3.0/user/wordbook/standard.dic (where ~ represents your home folder), not your Mac OS X user dictionary. See Exporting the Word List from a User Dictionary for information on syncing the contents of standard.dic to your Mac OS X user dictionary.

NeoOffice also ships with a very limited number of OpenOffice.org writing tools (spelling dictionary, thesaurus, hyphenation), with many of the dictionaries and thesauri formerly found in NeoOffice 2.x omitted; if your language is not supported by the Mac OS X spelling system nor by the OpenOffice.org dictionaries shipped in NeoOffice, see Adding Additional Dictionaries for information on installing writing tools for your language. (If you want to disable unnecessary writing tools, see Disabling Writing Tools for Unnecessary Languages.)

On Mac OS X 10.5 and above, NeoOffice also includes support for the Mac OS X grammar checker (which on 10.5 supports only US English and only a limited subset of English grammar, at that); this can be activated by opening the Tools menu, selecting the Add-Ons sub-menu, and choosing one of the options from the Check Grammar sub-menu.

Additional Information about Spellcheck and Writing Tools

Changing the language of the NeoOffice user interface

NeoOffice uses the topmost language in the list in the International pane of the System Preferences to determine the interface language. If you want the NeoOffice user interface (and in some cases the Help) to be in your native language, you must install the appropriate language pack separately.

For details on using an interface language other than the one specified in the System Preferences, consult Changing the Language of the User Interface.


This article in other languages: Français Italiano
Personal tools