[Corpora-List] Question
Barry Morley
barry at rdues.liv.ac.uk
Wed Jan 15 10:08:41 UTC 2003
>> 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
More information about the Corpora
mailing list