NAME
Text::SpellChecker::GUI - Implements a user interface to Text::SpellChecker
VERSION
Version 0.0.2
SYNOPSIS
use Text::SpellChecker::GUI;
my $sg = Text::SpellChecker::GUI->new();
...
METHODS
new
This initilizes the object.
args hash
zconf
This is the ZConf object to use. If it is not specified the one in the object for zcrunner will be used. If neither zconf or zcrunner is specified, a new one is created.
zcgui
This is the ZConf::GUI to use. If one is not specified,
check
This checks the specified the specified text for spelling errors.
Only one option is taken and that is the text to be checked.
The returned value is a hash.
returned hash
text
This is the the resulting text.
cancel
If this is defined and true, then the user canceled the check and any changes.
my %returned=$sg->check($text);
if($sg->{error}){
print "Error!\n";
}else{
if($returned{cancel}){
print "The check was canceled.";
}else{
$text=$returned{text};
}
}
errorblank
This blanks the error storage and is only meant for internal usage.
It does the following.
$self->{error}=undef;
$self->{errorString}="";
ERROR CODES
1
Failed to initiate the object.
2
Backend is not initilized.
AUTHOR
Zane C. Bowers, <vvelox at vvelox.net>
BUGS
Please report any bugs or feature requests to bug-text-spellchecker-gui at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Text-SpellChecker-GUI. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Text::SpellChecker::GUI
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Text-SpellChecker-GUI
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2009 Zane C. Bowers, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.