- or download this
wordA wordB wordC
wordD wordA wordE wordF
- or download this
my $pos_file = '/path/to/positive.txt';
my $neg_file = '/path/to/negative.txt';
...
close($fh);
$categorizer->train;
- or download this
my $sentence_file = '/path/to/sentence.txt';
...
# do what you need with $probability
}
close($fh);