LiteratureInContext / LiC-app

Application development for Literature in Context. Staging on development branch (http://anthologydev.lib.virginia.edu), production on master (http://anthology.lib.virginia.edu). Documentation includes more technical aspects of the project.
Other
6 stars 1 forks source link

Data visualization #320

Open tonyahowe opened 11 months ago

tonyahowe commented 11 months ago

Would it be possible to add a timeline of references to a string over the course of:

  1. The collection, from the main page
  2. An individual text, from the text
  3. A coursepack, from the coursepack

This would probably involve tokenization on the fly, which I'm not sure is really worth it, but perhaps something to tinker with when you're bored... :)

wsalesky commented 4 months ago

@tonyahowe Can you clarify what you mean by references? Which TEI element? just the biblStruct elements, something else? If just the biblStruct element, there is only one per text, so on the individual text that doesn't do much. I imagine there are references elsewhere in the text? In the notes perhaps? Thanks!

tonyahowe commented 4 months ago

I'm thinking something like showing in a visual form where a searched string falls in the narrative length of a text, something like:

Image

I'm imagining a separate search option, in an open text, where this visualization could be generated on the fly. This is an enhancement, low priority, but would be super cool.

[ Search the narrative timeline for references to --------- ]

If this could be a fuzzy search, that would be cool, too. Actually, a fuzzy search in the regular search would also be super useful, given the way that spelling changes over time and idiosyncratically between authors.