Padre::Plugin::SpellCheck::Engine - Check spelling in Padre, The Perl IDE.
version: 1.33
Create a new engine to be used later on.
my ($word, $pos) = $engine->check( $text );
Spell check $text (according to current speller), and return the first error encountered (undef if no spelling mistake). An error is reported as the faulty $word, as well as the $pos of the word in the text (position of the start of the faulty word).
$text
$word
$pos
$engine->set_ignore_word( $word );
Tell engine to ignore $word for rest of the spell check.
my @dictionaries = $engine->dictionaries;
Return a (reduced) list of dictionaries installed with Aspell. The names returned are the dictionary locale names (e.g. en_US). Note that only plain locales are reported, the variations coming with Aspell are stripped.
en_US
my @suggestions = $engine->get_suggestions( $word );
Return suggestions for $word.
Text::Hunspell hard coded for /usr/share/hunspell/
Padre, Class::XSAccessor and either or ( Text::Hunspell or Text::Aspell )
For all related information (bug reporting, source code repository, etc.), refer to Padre::Plugin::SpellCheck.
See Padre::Plugin::SpellCheck
To install Padre::Plugin::SpellCheck, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Padre::Plugin::SpellCheck
CPAN shell
perl -MCPAN -e shell install Padre::Plugin::SpellCheck
For more information on module installation, please visit the detailed CPAN module installation guide.