NAME

Test::SpellCheck::Plugin::PrimaryDictionary - Test::SpellCheck plugin override for the primary dictionary

VERSION

version 0.02

SYNOPSIS

spell_check ['PrimaryDictionary', affix => '/foo/bar/baz.aff', dictionary => '/foo/bar/baz.dic'];

Or from spellcheck.ini:

[PrimaryDictionary]
affix      = /foo/bar/baz.aff
dictionary = /foo/bar/baz.dic

DESCRIPTION

This plugin sets the primary dictionary to what is specified. It is useful if you have a dictionary at an arbitrary path that you want to use.

OPTIONS

affix

The Hunspell affix file.

dictionary

The Hunspell dictionary file.

CONSTRUCTOR

new

my $plugin = Test::SpellCheck::Plugin::PrimaryDictionary->new(%options);

This creates a new instance of the plugin. Any of the options documented above can be passed into the constructor.

SEE ALSO

Test::SpellCheck
Test::SpellCheck::Plugin

AUTHOR

Graham Ollis <plicease@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2021-2024 by Graham Ollis.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.