1. Install perl-devel 2. install Text::Hunspell 3. Use Text::Hunspell like: --------------------------------------------------------------- #!/usr/bin/perl -w # first install perl-devel # then install Text::Hunspell # use Text::Hunspell; use Data::Dumper; my $speller = Text::Hunspell->new("/home/en/tyuk/dtest/qt/examples/richedit2/lang/magyar.aff", "/home/en/tyuk/dtest/qt/examples/richedit2/lang/magyar.dic"); die unless $speller; # Set some options my $word = "lótól"; my $word1 = "lóotól"; my $misspelled = "lóo"; # check a word print $speller->check( $word ) ? "$word found\n" : "$word not found!\n"; print $speller->check( $word1 ) ? "$word1 found\n" : "$word1 not found!\n"; # lookup up words my @suggestions; @suggestions = $speller->suggest( $misspelled ); print Data::Dumper::Dumper( \@suggestions ); $speller->delete($speller); ------------------------------------------------------- 4. Result: ------------------------------------------------ [en@noname aspell]$ perl testhun.pl lótól found lóotól not found! $VAR1 = [ 'ló', 'lót', 'lós', 'lóz', 'lón', 'lóg', 'lók', 'lói', 'lóé', 'lód', 'lóm' ]; [en@noname aspell]$ ---------------------------------------------------