commit | 37e5b57a24f350166bd1a26702dfe1368ddb797d | [log] [tgz] |
---|---|---|
author | Nils Diewald <nils@diewald-online.de> | Wed Nov 20 20:26:03 2013 +0000 |
committer | Nils Diewald <nils@diewald-online.de> | Wed Nov 20 20:26:03 2013 +0000 |
tree | 03d3f892645db885f380a997f36b4ff3297cdcc5 | |
parent | d9c166176550052b0ff108077585ce64230170db [diff] [blame] |
changed sentence foundry, foundry selector and textClass serialization
diff --git a/lib/KorAP/Document.pm b/lib/KorAP/Document.pm index 200258a..6153463 100644 --- a/lib/KorAP/Document.pm +++ b/lib/KorAP/Document.pm
@@ -181,10 +181,14 @@ }; }; - foreach ('author', 'text_class') { + for ('author') { $hash{_k($_)} = join(',', @{ $self->$_ }); }; + for ('text_class') { + $hash{_k($_)} = join(' ', @{ $self->$_ }); + }; + return \%hash; };