Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix some pod errors raised by podchecker #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/AI/Categorizer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ AI::Categorizer - Automatic Text Categorization
print "Assigned categories: ", join ', ', $hypothesis->categories, "\n";
print "Best category: ", $hypothesis->best_category, "\n";
}

=head1 DESCRIPTION

C<AI::Categorizer> is a framework for automatic text categorization.
Expand Down
2 changes: 1 addition & 1 deletion lib/AI/Categorizer/Collection.pm
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ AI::Categorizer::Collection - Access stored documents
...
}
$c->rewind; # For further operations

=head1 DESCRIPTION

This abstract class implements an iterator for accessing documents in
Expand Down
2 changes: 1 addition & 1 deletion lib/AI/Categorizer/Collection/Files.pm
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ AI::Categorizer::Collection::Files - One document per file
...
}
$c->rewind; # For further operations

=head1 DESCRIPTION

This implements a Collection class in which each document exists as a
Expand Down
2 changes: 2 additions & 0 deletions lib/AI/Categorizer/FeatureSelector/DocFrequency.pm
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,5 @@ the KnowledgeSet class.

Creates a new KnowledgeSet and returns it. Accepts the following
parameters:

=back
4 changes: 2 additions & 2 deletions lib/AI/Categorizer/Learner/NaiveBayes.pm
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ L<http://www.cs.cmu.edu/~yiming/publications.html>

"On the Optimality of the Simple Bayesian Classifier under Zero-One
Loss" by Pedro Domingos
L<"http://www.cs.washington.edu/homes/pedrod/mlj97.ps.gz">
L<http://www.cs.washington.edu/homes/pedrod/mlj97.ps.gz>

A simple but complete example of Bayes' Theorem from Dr. Math
L<"http://www.mathforum.com/dr.math/problems/battisfore.03.22.99.html">
L<http://www.mathforum.com/dr.math/problems/battisfore.03.22.99.html>

=cut
4 changes: 3 additions & 1 deletion lib/AI/Categorizer/Storable.pm
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ AI::Categorizer::Storable - Saving and Restoring State
$object->save_state($path);
... time passes ...
$object = Class->restore_state($path);

=head1 DESCRIPTION

This class implements methods for storing the state of an object to a
Expand All @@ -55,6 +55,8 @@ be saved.
This class method reads the file specified by C<$path> and returns the
object that was previously stored there using C<save_state()>.

=back

=head1 SEE ALSO

AI::Categorizer(3), Storable(3)
Expand Down