Added malt dependency resource
Change-Id: I9fdd2d4ff7c81631cb0b78cf29d45be2d6bd3335
diff --git a/t/annotation/TestInit.pm b/t/annotation/TestInit.pm
index b03dad2..316dcea 100644
--- a/t/annotation/TestInit.pm
+++ b/t/annotation/TestInit.pm
@@ -8,6 +8,7 @@
sub tokens {
my $file = shift;
+ my $token_foundry = shift;
my $path = catdir(dirname(__FILE__), 'corpus', 'doc', $file);
my $doc = KorAP::XML::Krill->new(
@@ -19,7 +20,7 @@
my $tokens = KorAP::XML::Tokenizer->new(
path => $doc->path,
doc => $doc,
- foundry => 'OpenNLP',
+ foundry => ($token_foundry // 'OpenNLP'),
layer => 'Tokens',
name => 'tokens'
) or return;