wiki:PadrePluginSpellCheck

Version 12 (modified by bowtie, 2 years ago) (diff)

--

<-plug-ins

Padre::Plugin::SpellCheck

To Enable Padre::Plugin::SpellCheck in Padre, go to Tools->Plug-in Manager, select Spell Checker in left area, then click preferences to open dialog and save your chosen dictionary and language.

  • Tip plug-in has to be disabled to set preferences, see top right hand corner of plug-in Manager for status.

Padre Plug-in Manager

Padre Plug-in Manager


Usage F7

  • works against whole file or selected text.
  • you can click on a suggested word to replace.

sample view of checker


Engine's

You need to install either or both of the following, plus a language file.

Text::Aspell

Outline

$ sudo apt-get install aspell libaspell-dev aspell-en

check aspell is installed

$ aspell dump dicts

install current version.

$ cpanm -v http://cpan.metacpan.org/authors/id/H/HA/HANK/Text-Aspell-0.09.tar.gz

Text::Hunspell

Outline

$ sudo apt-get install hunspell libhunspell-dev hunspell-en-GB

check hunspell is installed

$ hunspell -D

install current version.

$ cpanm -v http://cpan.metacpan.org/authors/id/C/CO/COSIMO/Text-Hunspell-2.03.tar.gz

Limitations

  • Hunspell assumes static location
    $speller = Text::Hunspell->new(
        "/usr/share/hunspell/$iso.aff", # Hunspell affix file
        "/usr/share/hunspell/$iso.dic"  # Hunspell dictionary file
    );
    

ToDo


__END__

<-plug-ins

Attachments