
Text::Sentence::Alignment - Two Sentence Alignment

Version 0.12

This Module process two sentences (i.e. terms separated by space) alignment. Now it provide two kind of alignment method, Global and Local Alignment.
use Text::Sentence::Alignment;
my $TSA = Text::Sentence::Alignment->new();
# local alignment
$TSA->is_local(1);
my ($result1,$result2) = $TSA->do_alignment($s1,$s2);
# global alignment
$TSA->is_local(0);
my ($result1,$result2) = $TSA->do_alignment($s1,$s2);

Set/get if current algorithm is local alignment
The delimeter() is used to set delimeter of word/tags.

Cheng-Lung Sung, <clsung@cpan.org>

Please report any bugs or feature requests to bug-text-sentence-alignment@rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Text-Sentence-Alignment. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.


Copyright 2005 - 2007 Cheng-Lung Sung, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.