Page MenuHomePhabricator

Expose section mappings via an API
Closed, ResolvedPublic

Description

Diego generated section mappings (Gdrive). We want to make these mappings available via a new section recommendation API.

A/C

Event Timeline

@leila is the task description what you had in mind when you were talking about creating an API for the paper?

@bmansurov almost. I'll open a thread about this with you, Bob, and Diego now to find out the exact format of the data and output of the API

@Pginer-WMF We will soon have a working model that aligns article sections across some/many languages. We are building an API to surface the alignment, and we'd like to understand what kind of input/output would be interesting to Content Translation (even if it's not immediately used by the tool). The data that we have, for example, can look like:

from_language, section_from, to_language, section_to, probability

we'd like to understand what kind of input/output would be interesting to Content Translation (even if it's not immediately used by the tool). The data that we have, for example, can look like:

from_language, section_from, to_language, section_to, probability

The most immediate use would be similar to a translation service. If I'm translating an article from English into Russian, when I add the "In popular culture" section from the original article, we may want to check that "В культуре" is the equivalent in Russian and add that. That would be especially useful for languages where machine translation services are currently not available.