![]() |
![]()
| ![]() |
![]()
NAMEAI::Categorizer::Category - A named category of documents SYNOPSISmy $category = AI::Categorizer::Category->by_name("sports"); my $name = $category->name; my @docs = $category->documents; my $num_docs = $category->documents; my $features = $category->features; $category->add_document($doc); if ($category->contains_document($doc)) { ... DESCRIPTIONThis simple class represents a named category which may contain zero or more documents. Each category is a "singleton" by name, so two Category objects with the same name should not be created at once. METHODS
AUTHORKen Williams, ken@mathforum.org COPYRIGHTCopyright 2000-2003 Ken Williams. All rights reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSOAI::Categorizer(3), Storable(3)
|