Fixed directory traversal for meta files
diff --git a/t/real_goethe_benchmark.t b/t/real_goethe_benchmark.t
index 7c823ea..f119a2b 100644
--- a/t/real_goethe_benchmark.t
+++ b/t/real_goethe_benchmark.t
@@ -12,7 +12,6 @@
use utf8;
use lib 'lib', '../lib';
-
use File::Basename 'dirname';
use File::Spec::Functions 'catdir';
@@ -39,6 +38,7 @@
);
ok($tokens, 'Token Object is fine');
ok($tokens->parse, 'Token parsing is fine');
+
ok($tokens->add('Base', 'Sentences'), 'Add base sentences');
ok($tokens->add('Base', 'Paragraphs'), 'Add base paragraphs');
ok($tokens->add('OpenNLP', 'Sentences'), 'Add opennlp sentences');
@@ -62,4 +62,6 @@
# $tokens->add('XIP', 'Dependency');
ok($tokens->to_json, 'To json');
+is($tokens->doc->to_hash->{title}, 'Autobiographische Einzelheiten');
+
diag timestr(timediff(Benchmark->new, $t));