| 1 | package AI::Categorizer::Document::Text; | ||
| 2 | |||
| 3 | 8 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 8 | ▶ | use AI::Categorizer::Document; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 8 | ▶ | use base qw(AI::Categorizer::Document); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | #use Params::Validate qw(:types); | ||
| 8 | #use AI::Categorizer::ObjectSet; | ||
| 9 | #use AI::Categorizer::FeatureVector; | ||
| 10 | |||
| 11 | ### Constructors | ||
| 12 | |||
| 13 | 4 | ▶ | sub parse { |
|
Subroutine
parse: called CC=1 SCAR=0.0
Pod
documented
| |||
| 14 | 4 | my ($self, %args) = @_; | |
| 15 | 4 | $self->{content} = { body => $args{content} }; | |
| 16 | } | ||
| 17 | |||
| 18 | 8 | 1; | |