deep-philology / DeepReader

a highly modular, Vue.js-based framework designed for building online reading environments for deep reading of texts with rich annotations and integrated learning tools
MIT License
133 stars 14 forks source link

GNT lexicons - Abbott-Smith, Mounce? #30

Open jonathanrobie opened 7 years ago

jonathanrobie commented 7 years ago

I would like Abbott-Smith and Mounce lexicons in the MorphGNT reader.

jtauber commented 7 years ago

In the case of Mounce, there's JSON available at: https://github.com/billmounce/dictionary

but I don't think it's served up via an API anywhere.

It's easy enough for me to set up a server the provides a more granular lookup of this dictionary but there are a couple of design questions:

  1. do we just support one off lookups and make the API call when a work is selected (like word-info); or

  2. do we vectorise like frequency widget where we query all the words in a passage at once

Brian and I had a discussion today about separating widgets that annotate a passage from those that display those annotations (either in-line, or in a separate widget).

If we strictly go down that path then what we really want is a Mounce dictionary API that supports vectorised lookups that we call for a passage and just annotate in the store (without display). Then a separate widget can display that information (either a dedicated widget or just an existing one like word info, updated to show all annotations).

Note that my greek-lemma-mappings work is relevant here so lexemes can be looked up even if they differ slightly in lemma choice from Mounce.