
Treex::Tutorial::ReadersAndWriters - reading/writing from/to different file formats

version 0.08324

Treex can process data in many formats: plain text, HTML, CoNLL, PDT (PML),... For each supported format there exists a reader block (that converts the given format to Treex in-memory representation) and a writer block (that prints the in-memory representation to the given format).
cat index.html | treex -q -Len Read::HTML Write::Text

Martin Popel <popel@ufal.mff.cuni.cz>

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.