latin-language-toolkit/arethusa — pull request #254 by LFDM (2014-07-11 22:59:08+00:00)
Title: Extend morph form of document, not duplicate it

When a form is already contained in a document, a call to the morphology service will most likely find the same analysis again.

When this is the case, we merge the additional info the external analysis provides (such as Lexical Inventory data) with the document's original form.

Right now we compare by lemma and postag, at a later stage we can leverage the Lexical Inventory here and compare just by URI, which will be more efficient and less error prone (there might be rare edge cases where our current approach won't return nice results).

Not sure if and how a user should be notified of such a process. I guess most people won't care - and they won't be confused by the appearance of a duplicate fomr.