View on
MetaCPAN is shutting down
For details read Perl NOC. After June 25th this page will redirect to
Jeff Kubina > Text-Corpus-VoiceOfAmerica-1.03 >


Annotate this POD


New  1
Open  0
View/Report Bugs

NAME ^ - Script to update VOA news article corpus.

SYNOPSIS ^ [-d corpusDirectory -c -t -h]


The script may be used to create or update a temporary corpus of Voice of America news articles for personal research and testing of information processing techniques. Read the Voice of America's Terms of Use statement to ensure you abide by it when using this script.

All errors and warnings are logged using Log::Log4perl to the file corpusDirectory/log.txt.


-d corpusDirectory

The option -d sets the cache directory for the corpus of documents. If the directory does not exist, it will be created. The default is a directory named 'corpus_voa' in the current working directory.


If the option -t is present, parsing tests will be performed on all the documents in the cache.


If the option -v is present, then after each new document is fetched a message is logged stating the number of documents remaining to fetch and the approximate time to completion.


Causes documentation to be printed.


This script uses xpath expressions to extract links and text which may become invalid as the format of various pages change, causing a lot of bugs.

Please email bugs reports or feature requests to, or through the web interface at The author will be notified and you can be automatically notified of progress on the bug fix or feature request.


 Jeff Kubina<>


Copyright (c) 2009 Jeff Kubina. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.


information processing, english corpus, voa, voice of america


Read the Voice of America's Terms of Use statement to ensure you abide by it when using this module.

CHI, Log::Log4perl, Text::Corpus::VoiceOfAmerica, Text::Corpus::VoiceOfAmerica::Document

syntax highlighting: