README for files in "https://svn.spraakdata.gu.se/sb-arkiv/pub/skript/CMDI/" The Perl program semi-automatically generates CMDI metadata files for Språkbanken's lexical resources by calling a script which uses a template file and a list of resource names to reproduce. Note that the output files should be manually proof-read (skimmed over really) to double checked for correctness (e.g. the license for Kelly needs to be changed to "TBA" since "CC-BY-SA 3.0, LGPL 3.0" is used as default.) To run, type on the command line "perl convert_to_OLAC-CMDI.pl nameReplacements.txt" in the folder where all of the following four files are located: convert_to_OLAC-CMDI.pl // Perl program (developed with perl v5.10.1) resource_to_olac-cmdi.sh // bash script cmdi_template.xml // template file nameReplacements.txt // list of resource names and abbreviations The list in "nameReplacements.txt" should contain two tokens per line where the first is the abbreviation of the resource and the second is the full name of the same resource. However, spaces in names should be represented with two underscores (__). An empty line at the end of the file will produce a new "empty" cmdi metadata file, thus an empty line should not be present. Author: Martha Dís Brandt (martha.brandt@svenska.gu.se) for Språkbanken (http://spraakbanken.gu.se) Date: April 11th 2011