Text::Perfide::BookSync - The great new Text::Perfide::BookSync!
Quick summary of what the module does.
Perhaps a little code snippet.
use Text::Perfide::BookSync; my $foo = Text::Perfide::BookSync->new(); ...
A list of functions that can be exported. You can delete this section if you don't export anything, such as for a purely object-oriented module.
Generates an HTML file containing a matrix showing the matches between sections of two books.
Given two files FILEL and FILER, creates new versions of these files (FILEL.sync and FILER.sync) with synchronization tags <sync id="x"> marking the points where the texts synchronize.
Given two files FILEL and FILER, splits them by their synchronization points, storing each chunk in a file, where each FILEL.cXX matches FILER.cXX.
Calculates chunks for a given pair of files. A chunk is a set of consecutive sections, which are grouped in order to match the corresponding chunk.
From a given file in which sections have been delimited with Text::Perfide::BookCleaner, creates and returns a list containing information about the sections of this file: id, start offset and end offset.
Calculates metrics on each pair of sections (length in words, ...)
Calculates metrics on each pair of chunks (length in words, ...)
<andrefs at cpan.org>
Please report any bugs or feature requests to
bug-text-perfide-booksync at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Text-Perfide-BookSync. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
You can also look for information at:
Copyright 2011 Andre Santos.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.