Re: [Corpora-List] Question

From: Barry Morley (barry@rdues.liv.ac.uk)
Date: Wed Jan 15 2003 - 11:08:41 MET

  • Next message: Heshaam Feili: "[Corpora-List] I need free data set"

    >> I would like to ask you a question: is it possible
    >> to convert a plain document (written in the word
    >> processor 'word') into a XML one??

    > If "plain" means ASCII-text with linefeeds, you can
    > simply write a perl script like
    >
    > while(<>) {
    > chomp;
    > print "\<line>";
    > print $_;
    > print "\</line>\n";
    > }

    For future automated studies, try using the Dublin Core Metadata Schema (See
    http://dublincore.org for the standard) in such a Perl script.

    Barry

    --------------------------------------------------
    Barry Morley
    Research and Development Unit for English Studies
    University of Liverpool
    L69 3BX



    This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 11:11:56 MET