package HTML::Feature::Engine::TsubuanLike;
use strict;
use warnings;
use base qw(HTML::Feature::Engine);
use HTML::TreeBuilder;
use HTML::Feature::Result;
sub run{
my $self = shift;
my $c = shift;
my $html_ref = shift;
$self->_tag_cleaning($c, $html_ref);
return $self->_score($c, $html_ref);
}
sub _tag_cleaning {
my $self = shift;
my $c = shift;
my $html_ref = shift;
return unless $html_ref && $$html_ref;
# preprocessing
$$html_ref =~ s{}{}xmsg;
$$html_ref =~ s{