NAME

Treex::Block::Read::Sentences

VERSION

version 2.20160629

SYNOPSIS

Read::Sentences from='!dir*/file*.txt' skip_empty=1

DESCRIPTION

Document reader for plain text format, one sentence per line. The sentences are stored into bundles in the document.

ATTRIBUTES

from

space or comma separated list of filenames See Treex::Core::Files for full syntax.

skip_empty

If set to 1, ignore empty lines (don't create empty sentences).

METHODS

next_document

Loads a document.

SEE

Treex::Block::Read::BaseTextReader Treex::Core::Document Treex::Core::Bundle Treex::Block::Read::AlignedSentences Treex::Block::Read::SentencesTSV

AUTHOR

Martin Popel

COPYRIGHT AND LICENSE

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.