Project

General

Profile

Task #472

Feature #466: Lemma lookup

Lemma lookup REST API

Added by Luke Murphey over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
12/22/2012
Due date:
% Done:

100%


Description

Create the API for provided lemma lookup information.


Subtasks

Bug #480: Make morphology lookups insenstive to browser differencesClosedLuke Murphey

Bug #481: Make morphology lookups not dependent on caseClosedLuke Murphey

Bug #482: Do not list spaces as words for morphology lookupsClosedLuke Murphey

Bug #483: Do not include puncutation as part of in words for morphological lookupsClosedLuke Murphey

Task #484: Set style of word morphology linksClosedLuke Murphey

History

#1 Updated by Luke Murphey over 11 years ago

  • Status changed from New to In Progress

#2 Updated by Luke Murphey over 11 years ago

  • % Done changed from 0 to 60

#3 Updated by Luke Murphey over 11 years ago

Some of these lookups are not succeeding. For example, κατὰ in "De bello Judaico libri vii" 2.4.3 (http://127.0.0.1:8080/work/de-bello-judaico-libri-vii/2/4/3) does not find anything even though it is indeed defined (do a search in the admin for prepositions, http://127.0.0.1:8080/admin/reader/worddescription/?q=down&part_of_speech__exact=5).

#4 Updated by Luke Murphey over 11 years ago

I see the problem, the accents are different. Josephus has κατὰ but the index has κατά.

#5 Updated by Luke Murphey over 11 years ago

I need to derive a better solution for querying the database such that the content is normalized. Both of the following should be treated as the same:

κατά
κατά

However, these are different queries to the database:

http://127.0.0.1:8080/api/word_parse/%CE%BA%CE%B1%CF%84%CE%AC
http://127.0.0.1:8080/api/word_parse/%CE%BA%CE%B1%CF%84%E1%BD%B1

#6 Updated by Luke Murphey over 11 years ago

Normalizing worked. However, many words lookups are still failing; need to look into these. See ἐγὼ in De bello Judaico libri vii.

Also, some words get multiple entries that are identical. For example, a lookup on πρῶτα in the first chapter of De bello Judaico libri vii provides two identical parses.

#7 Updated by Luke Murphey over 11 years ago

Participles don't seem to be getting listed correctly too.

#8 Updated by Luke Murphey over 11 years ago

Participles are fixed.

#9 Updated by Luke Murphey over 11 years ago

  • Status changed from In Progress to Closed

#10 Updated by Luke Murphey over 11 years ago

  • Assignee set to Luke Murphey

Also available in: Atom PDF