Fix split_conllu file creation to circumvent problems in mounted docker volumes
Change-Id: I37778812ebd5f1fa5fa466370c8932aafbcb0c05
diff --git a/benchmarks/ud_sentences.pl b/benchmarks/ud_sentences.pl
index c5f80c6..f7973a2 100644
--- a/benchmarks/ud_sentences.pl
+++ b/benchmarks/ud_sentences.pl
@@ -4,7 +4,6 @@
# Comparison path
my $cmd = '/euralex/corpus/empirist_gold_cmc/tools/compare_tokenization.perl';
-# my $cmd = '/euralex/corpus/deep-eos/eval.py';
my $cleanup = 'perl /euralex/benchmarks/cleanup/';
my $tokenize_eos = $cleanup . 'tokenize_eos.pl';
@@ -18,11 +17,11 @@
# Split files
chdir '/euralex/corpus/';
-system 'perl /euralex/benchmarks/cleanup/split_conllu.pl /euralex/corpus/' . $base;
+system 'perl /euralex/benchmarks/cleanup/split_conllu.pl /euralex/corpus/' . $base . ' ' . $ud_path;
chdir '/euralex';
-my $gold = '/euralex/corpus/' . $base . '.eos';
-my $raw = '/euralex/corpus/' . $base . '.raw';
+my $gold = $ud_path . '/' . $base . '.eos';
+my $raw = $ud_path . '/' . $base . '.raw';
my %tools = (
waste => sub {