Test::SpellCheck::Plugin::PrimaryDictionary - Test::SpellCheck plugin override for the primary dictionary
version 0.02
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
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.
The Hunspell affix file.
The Hunspell dictionary file.
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.
Graham Ollis <plicease@cpan.org>
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.