digitalfabrik / integreat-cms

Simplified content management back end for the Integreat App - a multilingual information platform for newcomers
https://digitalfabrik.github.io/integreat-cms/
Apache License 2.0
56 stars 33 forks source link

Add translation memory for SUMM.AI translations into Easy German #1722

Open timobrembeck opened 2 years ago

timobrembeck commented 2 years ago

Motivation

The translations into Easy German via the SUMM.AI API consume credits on every call, even if we translate the same sentence twice.

Proposed Solution

Add a local translation memory to keep track of the already translated texts and fetch them from the memory instead of translating them again.

Alternatives

Additional Context

How exactly we store the information is open for debate. A few ideas:

osmers commented 1 year ago

Just checking here - is there a time limit for how long the memory should be accessed? Just asking bcs I think I remember a conversation where we said that we do not want a translation memory bcs SUMM AI gets better with every translation. What I could see is that a translation memory is created and entries are accessed for a specific time after initial creation - e.g. 4 weeks After that, we assume that the translation has gotten better and ignore the TM entry? What do you think @dkehne ?

dkehne commented 7 months ago

I would even go for 90 days....same with MT on DeepL/Google