Permalink
Browse files

Bumped to 2.06 for new CPAN release

  • Loading branch information...
1 parent a3a8f81 commit 8fc4510f994e21b94d450755626c40b7291794fa @cosimo committed Mar 9, 2013
Showing with 9 additions and 2 deletions.
  1. +9 −2 Hunspell.pm
View
@@ -5,7 +5,7 @@ require DynaLoader;
use vars qw/ @ISA $VERSION /;
@ISA = 'DynaLoader';
-$VERSION = '2.05';
+$VERSION = '2.06';
bootstrap Text::Hunspell $VERSION;
@@ -66,6 +66,9 @@ Text::Hunspell - Perl interface to the GNU Hunspell library
print " - $_\n";
}
+ # Add dictionaries later
+ $speller->add_dic('dictionary_file.dic');
+
#------------------------------------------
# ADVANCED STUFF FROM HERE
# NOT SURE HOW IT SHOULD WORK
@@ -166,6 +169,10 @@ See the examples in the examples/ folder for now.
Returns the stem list for the word.
+=head2 C<add_dic($path_to_dic)>
+
+Adds a new dictionary to the current C<Text::Hunspell> object.
+
=head2 C<generate2($stem, \@suggestions)>
Returns a morphologically modified stem as defined in
@@ -180,7 +187,7 @@ Returns morphologically modified stem like $word.
TODO WHY IS THIS DIFFERENT FROM generate2() ???
EXPLAIN.
-=head2 C<$speller->delete($speller)>
+=head2 C<< $speller->delete($speller) >>
Deletes the speller class.

0 comments on commit 8fc4510

Please sign in to comment.