179 |
|
|
180 |
=head1 SYNOPSIS |
=head1 SYNOPSIS |
181 |
|
|
182 |
use Lingua::Spelling:Alternative; |
use Lingua::Spelling::Alternative; |
183 |
|
|
184 |
my $en = new Alternative; |
my $en = new Alternative; |
185 |
$en->load_affix('/usr/lib/ispell/english.aff') or die $!; |
$en->load_affix('/usr/lib/ispell/english.aff') or die $!; |
202 |
|
|
203 |
=item load_affix |
=item load_affix |
204 |
|
|
205 |
Function load_affix loads ispell's affix file for later usage. |
Function load_affix() loads ispell's affix file for later usage. |
206 |
|
|
207 |
=item load_findaffix |
=item load_findaffix |
208 |
|
|
209 |
This function loads output of findaffix program from ispell package. |
This function loads output of findaffix program from ispell package. |
210 |
This is better idea (if you are creating affix file for particular language |
This is better idea (if you are creating affix file for particular language |
211 |
yourself) because affix file from ispell (which is created from data returned |
yourself or you can get your hands on one) because affix file from ispel |
212 |
by findaffix) is limited to 26 entries (because each entry is denoted by |
is limited to 26 entries (because each entry is denoted by single character). |
|
single character). |
|
213 |
|
|
214 |
=item alternatives |
=item alternatives |
215 |
|
|