develooper Front page | perl.perl5.porters | Postings from March 2000

New module released (should it be added to the standard distribution?)

From:
Damian Conway
Date:
March 31, 2000 16:48
Subject:
New module released (should it be added to the standard distribution?)
Message ID:
200004010048.KAA04939@indy05.csse.monash.edu.au

==============================================================================
            Release of version 1.00 of Lingua::EN::Perl::Paper
==============================================================================

DESCRIPTION

The Lingua::EN::Perl::Paper module exports a single subroutine -- &paper --
that reads a list of Perl-related topics from STDIN and generates an academic
paper on them (in POD markup) to STDOUT.

The module is designed to be called in a one-liner:

	perl -MLingua::EN::Perl::Paper -e 'paper'  < topics  > paper.pod

If &paper is called with the argument '-monitor':

	use Lingua::EN::Perl::Paper;

	*STDIN = *DATA;

	paper( -monitor => [
			     'news://comp.lang.perl.misc',
			     'mail://perl5-porters',
			   ]
	     );

	__DATA__
	switch/case
	graphical user interfaces
	XML coding
	text formatting
	Latin
	OO Perl
	design by contract


then no paper is generated. Instead, the specified list of forums is
monitored for messages containing the topic keywords. Any such messages
are automatically replied to, by quoting the paragraph(s) with the
keyword(s) and appending the sentence:

        "I have a paper on that."

Lingua::EN::Perl::Paper then automatically generates the appropriate
paper and submits it to the next available Perl-related conference (TPC,
YAPC, EuroYAPC, etc.)

For examples of its output see tracks 2 and 3 of this year's Perl
Conference:

        http://conference.oreilly.com/oscon2000/sessions/perl_track2.html
        http://conference.oreilly.com/oscon2000/sessions/perl_track3.html

==============================================================================

DEPENDENCIES

Lingua::EN::Perl::Paper uses the idea generation algorithms from Coy.pm
coupled with stochastic language generation techniques similar to those
of the Dada Engine:

        http://www.elsewhere.org/cgi-bin/postmodern/

and Randal's 'spew' program:

        http://www.stonehenge.com/merlyn/LinuxMag/col04.html

It also requires:

        Lingua::EN::Inflect     (language generation)
        LWP                     (internet monitoring, paper submission)
        Parse::RecDescent       (topic parsing, internet monitoring)
        Text::Autoformat        (paper formatting)

These modules are not included in the distribution and must
be downloaded separately from the CPAN.


==============================================================================

AVAILABILITY

Lingua::EN::Perl::Paper will be uploaded to the CPAN directory:

        http://www.cpan.org/authors/id/CON/

And, of course, I have a paper on it :-)

==============================================================================



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About