Treex::Block::Read::BaseAlignedTextReader - abstract ancestor for parallel-corpora document readers
version 2.20151102
This class serves as an common ancestor for document readers, that have parameter from with a space or comma separated list of filenames to be loaded and load the documents from plain text files. It is designed to implement the Treex::Core::DocumentReader interface.
from
In derived classes you need to define the next_document method, and you can use next_document_texts and new_document methods.
next_document
next_document_texts
new_document
Returns a hashref, where keys are zone labels and values are strings representing contents of the files.
Treex::Block::Read::BaseAlignedReader Treex::Block::Read::AlignedSentences
Martin Popel
Copyright © 2011 by Institute of Formal and Applied Linguistics, Charles University in Prague
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in '©'. Assuming UTF-8
To install Treex::Unilang, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Treex::Unilang
CPAN shell
perl -MCPAN -e shell install Treex::Unilang
For more information on module installation, please visit the detailed CPAN module installation guide.