clarin-eric / ParlaMint

ParlaMint: Comparable Parliamentary Corpora
https://clarin-eric.github.io/ParlaMint/
41 stars 52 forks source link

make vertana #638

Closed nemeek closed 1 year ago

nemeek commented 1 year ago

Should make vertana-XX work (with full data)? I tried vertana-EE and got


Can't find href in xi:include!
WARNING skipping/failing vertana-EE
´´´
matyaskopp commented 1 year ago

my guess is that you don't have attribute href or empty href="" because it is failing on this line: https://github.com/clarin-eric/ParlaMint/blob/937681cf012cc7330025a8052c60cb05b1bc25ae/Scripts/parlamint-tei2vert.pl#L30-L31

TomazErjavec commented 1 year ago

You don't need to bother with generating the vertical files, I will do that. As for the error, this could be my fault, because the program is a Perl, which processes the XML directly, i.e. witout making DOM first. And it assumes that the whole tag is on one line, but EE has tags split over several lines. So, closing the issue & will look into it.

nemeek commented 1 year ago

Thank you. It was some commented out includes that broke the script.