Project

General

Profile

Task #1212

Feature #551: Lexicon support: Liddell and Scott (Middle)

Create lexicon lookup

Added by Luke Murphey about 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
02/20/2016
Due date:
% Done:

100%

Associated revisions

Revision 909 (diff)
Added by lukemurphey over 5 years ago

Adding rendering of lexicon definitions

Reference #1212

Revision 947 (diff)
Added by lukemurphey over 5 years ago

Adding rendering of lexicon definitions

Reference #1212

History

#1 Updated by Luke Murphey over 5 years ago

See /api/word_parse/

#2 Updated by Luke Murphey over 5 years ago

  • Status changed from New to In Progress
  • Target version set to 3.0

#3 Updated by Luke Murphey over 5 years ago

It needs to work like this:
  1. Take a word form
  2. Find the possible lemmas
  3. Get the list of works that are lexicons
  4. For each lexicon:
    1. For each lemma:
      1. Get the definitions; add to list

#4 Updated by Luke Murphey over 5 years ago

from reader.models import Lemma, LexiconEntry

lemma = LexiconEntry.objects.all()[0].lemma
entries = LexiconEntry.objects.filter(lemma=lemma)

entries.values('work__id', 'work__title', 'verse__original_content', 'lemma__lexical_form')

#5 Updated by Luke Murphey over 5 years ago

  • % Done changed from 0 to 30

Need to get convert_xml_to_html5() to convert the entries in a Greek language block from beta-code

#6 Updated by Luke Murphey over 5 years ago

  • % Done changed from 30 to 50

#7 Updated by Luke Murphey over 5 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100

Also available in: Atom PDF