Nuno Carvalho


Structural alignment of plain text books
André Santos | José João Almeida | Nuno Carvalho
Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC'12)

Text alignment is one of the main processes for obtaining parallel corpora. When aligning two versions of a book, results are often affected by unpaired sections ― sections which only exist in one of the versions of the book. We developed Text::Perfide::BookSync, a Perl module which performs books synchronization (structural alignment based on section delimitation), provided they have been previously annotated by Text::Perfide::BookCleaner. We discuss the need for such a tool and several implementation decisions. The main functions are described, and examples of input and output are presented. Text::Perfide::PartialAlign is an extension of the tool bundled with hunalign which proposes an alternative methods for splitting bitexts.