Difference between revisions of "Spell Check"

From GnuCash
Jump to: navigation, search
(first draft)
 
(Basics: more grouping)
 
Line 9: Line 9:
 
[[Category:Development]][[Category:Documentation Development]]
 
[[Category:Development]][[Category:Documentation Development]]
 
==Basics==
 
==Basics==
*[{{URL:wp}}GNU_Aspell GNU Aspell] is one of many spellchecker. Dictionaries for many languages exist.
+
;Backends: Basic spellcheckers
*[{{URL:wp}}Enchant_(software) Enchant (software)]Enchant is a free software project developed as part of the AbiWord word processor with the aim of unifying access to the various existing spell-checker software.
+
:*[{{URL:wp}}GNU_Aspell GNU Aspell] is one of many spellchecker. Dictionaries for many languages exist.
;Docs:
+
;*Ispell was the anchestor of aspell
:Program 'xml_spellcheck' is present in package 'perl-XML-Twig' <syntaxhighlight lang="sh">
+
;Frontends: can use several backends
 +
:*[{{URL:wp}}Enchant_(software) Enchant (software)]Enchant is a free software project developed as part of the AbiWord word processor with the aim of unifying access to the various existing spell-checker software.
 +
:*Hunspell
 +
;Doc type specific:
 +
:;Codespell: for program code
 +
:;xml_spellcheck: is present in package 'perl-XML-Twig' <syntaxhighlight lang="sh">
 
LANG=${LL} xml_spellcheck ${PART}/${LL}/gnucash-${PART}.xml
 
LANG=${LL} xml_spellcheck ${PART}/${LL}/gnucash-${PART}.xml
 
</syntaxhighlight> like <syntaxhighlight lang="sh">
 
</syntaxhighlight> like <syntaxhighlight lang="sh">

Latest revision as of 21:31, 17 June 2021

Note
This is a first draft.

Typos are annoying –especially if the textx are the source for translation. To avoid typos you can run a spellchecker over both:

Documentation
Code
Messages
Comments

If your preferred editor has none integrated try the instructions here.

Basics

Backends
Basic spellcheckers
  • GNU Aspell is one of many spellchecker. Dictionaries for many languages exist.
  • Ispell was the anchestor of aspell
Frontends
can use several backends
  • Enchant (software)Enchant is a free software project developed as part of the AbiWord word processor with the aim of unifying access to the various existing spell-checker software.
  • Hunspell
Doc type specific
Codespell
for program code
xml_spellcheck
is present in package 'perl-XML-Twig'
LANG=${LL} xml_spellcheck ${PART}/${LL}/gnucash-${PART}.xml
like
LANG=C xml_spellcheck help/C/gnucash-help.xml
Without further parameters the page layout gets lost, you need to run xmllint again.
Parameters
--spellchecker <spellchecker>; default "aspell -c"
--pretty_print <optional_pretty_print_style> as defined in XML::Twig