Commit 2b86c0a3 authored by Tomaž Erjavec's avatar Tomaž Erjavec
Browse files

Minor improvements.

parent 014cca09
......@@ -14,8 +14,8 @@ bug:
nohup:
nohup time make all > nohup.all &
all: cnv text ana tei val-ana
xall: get move val-dariah cnv val-text text ana tei val-ana
all: clean cnv text ana tei val-ana
xall: get move val-dariah clean cnv val-text text ana tei val-ana
val-ana:
$j schema/tei_clarin.rng CLARIN/*.ana.xml
......@@ -54,6 +54,8 @@ cnv:
$s -xsl:bin/tei2ana.xsl DARIAH/UstVol.xml > CLARIN/UstVol.xml
$s -xsl:bin/tei2ana.xsl DARIAH/ZKP.xml > CLARIN/ZKP.xml
$s -xsl:bin/tei2ana.xsl DARIAH/ZKP1929.xml > CLARIN/ZKP1929.xml
clean:
rm -f CLARIN/*
val-dariah:
$j schema/tei_clarin.rng DARIAH/*.xml
move:
......
......@@ -48,6 +48,7 @@ while (<>) {
$conllu_ab = shift(@connlu);
($conllu_incipit) = $conllu_ab =~ /\n# text = (.+)\n/
or die "WEIRD2: $conllu_ab";
$conllu_incipit = &xml_encode($conllu_incipit);
die "Out of synch:\n$conllu_incipit\n$text\n"
unless $text =~ /^\Q$conllu_incipit\E/;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment