New structure is KorAP::XML::Krill
Change-Id: I42297512b99acca4ab011306d11c095641397af5
diff --git a/t/index/TestInit.pm b/t/index/TestInit.pm
index f740cad..b03dad2 100644
--- a/t/index/TestInit.pm
+++ b/t/index/TestInit.pm
@@ -3,20 +3,20 @@
use warnings;
use File::Basename 'dirname';
use File::Spec::Functions 'catdir';
-use KorAP::Tokenizer;
-use KorAP::Document;
+use KorAP::XML::Tokenizer;
+use KorAP::XML::Krill;
sub tokens {
my $file = shift;
my $path = catdir(dirname(__FILE__), 'corpus', 'doc', $file);
- my $doc = KorAP::Document->new(
+ my $doc = KorAP::XML::Krill->new(
path => $path . '/'
) or return;
$doc->parse;
- my $tokens = KorAP::Tokenizer->new(
+ my $tokens = KorAP::XML::Tokenizer->new(
path => $doc->path,
doc => $doc,
foundry => 'OpenNLP',