alpheios-project / alpheios_nemo_ui

Alpheios Reader
https://texts.alpheios.net
GNU General Public License v3.0
3 stars 0 forks source link

update treebank texts to use sentence level alignment #314

Open balmas opened 4 years ago

balmas commented 4 years ago

Agree it's an edge case. I think we can mitigate it after the release by improving the markup of our treebanked texts to use sentence level alignment rather than word level, eliminating the spans around each word. I'll create a new issue for that.

Originally posted by @balmas in https://github.com/alpheios-project/alpheios-core/issues/383#issuecomment-638164726

balmas commented 4 years ago

To clarify: using spans around each word creates difficulty for browser selection - sometimes the word in a span is selected and sometimes the parent element. With the 3.3.0 release we can put the treebank attributes on a parent sentence element, and eliminate the word level spans.

balmas commented 4 years ago

this hopefully can be accomplished via a change to the xslt transform of the underlying XML