;
close F;
s###sg;
s#$patremovtag##ig;
s#$patremov##ig;
for(split(/$patsep/i,$_)){
$r .= "\n" if $comm;
s/\s*\n\s*/ /g;
$r .= Lingua::PT::pln::xmlsentences({st=>$tag},$_)."\n";
}
$r
}
__END__
=head1 NAME
htmlpairlist2p - file with html pairs list to a single pair of Cs
=head1 SYNOPSIS
htmlpairlist2p [-comm] [-img] [-latin1] file
=head1 DESCRIPTION
C makes a html page with "" with the independent text segments after
dividing it in sentences.
It was designed to help in the process of aligning texts.
The command C should be installed in order to be possible to use
C<-latin1> option.
=head1 AUTHOR
J.Joao Almeida, jj@di.uminho.pt
=head1 SEE ALSO
perl(1).
=cut