Tie::IspellTies an hash with an ispell dictionary | |
Download |
Tie::Ispell Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Publisher Name:
- Alberto Simoes and Jose Joao Almeida
- Publisher web site:
- http://search.cpan.org/~ambs/
Tie::Ispell Tags
Tie::Ispell Description
Ties an hash with an ispell dictionary Tie::Ispell is a Perl module implements a way to deal with ispell dictionaries using a hash. It tries to work also with aspell.SYNOPSIS use Tie::Ispell; tie %dict, 'Tie::Ispell', "english"; if ($dict{dog}) { print "dog is a word" } if (exists($dict{dog})) { print "dog is a word" } $dict{foo} = "now is a word :-)"; # using nearmisses feature tie %dict, 'Tie::Ispell', "english", 1; if (exists($dict{dog})) { print "dog is a word" } if ($x = $dict{doj}) { if (ref($x) eq "ARRAY") { # doj is not a word, but I have a list of nearmisses @nearmisses = @$x; } else { # doj is a word } } Requirements: · Perl
Tie::Ispell Related Software