commit | 9b67b93e0209063f28892a91da83ee20a4f39fbd | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Tue Jul 04 20:11:46 2017 +0200 |
committer | Akron <nils@diewald-online.de> | Tue Jul 04 20:11:46 2017 +0200 |
tree | 641b5ab051f5637178564bf50a98179e8c6aa822 | |
parent | 9a062ce106f9616c7485dcde473c2ffe767149a7 [diff] |
Fix attribute generation for DeReKo Change-Id: I22be35749b00d684f8df4f69bdf6cbd58250e507
diff --git a/lib/KorAP/XML/Annotation/DeReKo/Structure.pm b/lib/KorAP/XML/Annotation/DeReKo/Structure.pm index 7bd12f2..769e629 100644 --- a/lib/KorAP/XML/Annotation/DeReKo/Structure.pm +++ b/lib/KorAP/XML/Annotation/DeReKo/Structure.pm
@@ -101,7 +101,7 @@ # Add attributes $mtt->add( term => - '@:dereko/s:' . $_->{'-name'} . ':' . $_->{'#text'}, + '@:dereko/s:' . $_->{'-name'} . ($_->{'#text'} ? ':' . $_->{'#text'} : ''), p_start => $p_start, pti => 17, payload => '<s>' . $tui .