ANNIS is an open source, versatile web browser-based search and visualization architecture for complex multilevel linguistic corpora with diverse types of annotation.
I'm trying to devise a custom HTML visualization for a multi-layer dialogue corpus and I've noticed that the HTML visualization config parser throws an error when the triggering condition contains a digit (which is part of a namespace in my case, so perhaps the issue is restricted to namespaces?).
Here's my vis.config file:
spk0:ort p value
And here's the error:
Perhaps spk0:ort is not a valid namespace + annotation name combination in ANNIS (I thought restricting myself to strings which are also valid XML attribute names would be enough -- maybe it's not?), but in that case it's slightly confusing that the only place this leads to an error is in the HTML visualization module.
I can easily rename my namespaces for the time being, but it would be nice to solve this in a consistent way in the long run :)
I'm using the current release (ANNIS 3.2.3), by the way.
Thank you for reporting this bug. I made a fix to make the parsing of the html visualizer and the normal AQL more consistent and the fix will be included in the next ANNIS release.
Hi,
I'm trying to devise a custom HTML visualization for a multi-layer dialogue corpus and I've noticed that the HTML visualization config parser throws an error when the triggering condition contains a digit (which is part of a namespace in my case, so perhaps the issue is restricted to namespaces?).
Here's my
vis.config
file:And here's the error:
Perhaps
spk0:ort
is not a valid namespace + annotation name combination in ANNIS (I thought restricting myself to strings which are also valid XML attribute names would be enough -- maybe it's not?), but in that case it's slightly confusing that the only place this leads to an error is in the HTML visualization module.I can easily rename my namespaces for the time being, but it would be nice to solve this in a consistent way in the long run :)
I'm using the current release (ANNIS 3.2.3), by the way.