File: 11-generate2.t

package info (click to toggle)
libtext-hunspell-perl 2.16-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,052 kB
  • sloc: perl: 99; makefile: 8
file content (11 lines) | stat: -rw-r--r-- 283 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
use strict;
use warnings;

use Data::Dumper;
use Test::More tests => 1;
use Text::Hunspell;

my $speller = Text::Hunspell->new(qw(./t/morph.aff ./t/morph.dic));
die unless $speller;

is $speller->generate2('phenomenon', ['is:plur']), 'phenomena', ' phenomenon is:plur => phenomena';