/[Lingua-Spelling-Alternative]/Alternative.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /Alternative.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by dpavlin, Tue Feb 12 12:41:31 2002 UTC revision 1.7 by dpavlin, Fri Oct 3 15:35:59 2003 UTC
# Line 179  Alternative.pm - alternative spelling of Line 179  Alternative.pm - alternative spelling of
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 $!;
# Line 202  Only parametar it supports is DEBUG whic Line 202  Only parametar it supports is DEBUG whic
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    
# Line 224  This function returns minimal of all alt Line 223  This function returns minimal of all alt
223  a poor man's version of normalize (because we don't know gramatic of  a poor man's version of normalize (because we don't know gramatic of
224  particular language, just some spelling rules).  particular language, just some spelling rules).
225    
226    =back
227    
228  =head1 PRIVATE METHODS  =head1 PRIVATE METHODS
229    
230  Documented as being not documented.  Documented as being not documented.

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.26