Page MenuHomePhabricator

List of Transkribus models is difficult to use
Open, Needs TriagePublic

Description

The list of Transkribus models in the on-wiki OCR popup is difficult to use.

Many of the names are not very descriptive. It doesn't show which language(s) or script(s) it's designed for. Some of the names are cut off.

The list is randomly ordered. It's not possible to search/filter the list.

For example:

Try to find the best option for transcribing some German text.

Try to determine when you should select options like "UCL–University of Toronto #7" or "SPJCL17C V4.2".

Screenshot showing these issues:

ocr-transkribus-list.png (489×581 px, 44 KB)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

The dropdown icon also overlaps the name.

Also, it doesn't "remember" your choice. When you finally find a good one, then the next day it will be hard to remember which one was it ;)

Change 1011681 had a related patch set uploaded (by Kolakachi; author: Kolakachi):

[mediawiki/extensions/Wikisource@master] Fix Transkribus models is difficult to use

https://gerrit.wikimedia.org/r/1011681

• JWheeler-WMF subscribed.

This is great feedback, however we are in passive maintenance for Wikimedia OCR at this time.

Also, it doesn't "remember" your choice. When you finally find a good one, then the next day it will be hard to remember which one was it ;)

This should be fixed now; see T358465.


To make it easier to find the relevant models, @KLawal-WMF is working on grouping them by language name. I think the same grouping should be done on the https://ocr.wmcloud.org/ form as well. Should we group by language name, or by applicable Wikisource (which is sort of the same thing, but conveniently we already have a listing of them grouped by Wikisource, so that might be easier!).

The example of "UCL–University of Toronto #7" is interesting because it highlights that we might not be using the right labels for these models. Although that model's name is "UCL–University of Toronto #7" it's actual title is "Medieval Latin 13th-15th Century" which I think is a lot more understandable! And we'd list it under Latin Wikisource.

If we keep the grouping per-Wikisource then we can also use the first of each group as the default for that Wikisource, which could be an improvement.

Cleaning up the names and where the data for them all is stored should probably be a separate task… :-)

• JWheeler-WMF changed the task status from Open to In Progress.Apr 4 2024, 6:55 PM
• JWheeler-WMF changed the task status from In Progress to Open.

I'm not sure grouping them by Wikisource domain is a good idea. For one thing, these do not map cleanly to languages (enWS includes "ang"; Spanish is a relevant language for multiple Wikisourcen; Norwegian has a politically-decided split between no-nb and no-nn; etc.), and for another we have Multilingual Wikisource where all languages are in scope. Latin is laWS, but also mulWS, and occurs in many in-scope works on enWS (just as quotations and such). Multilingual works. Etc. etc.

Yes, those are good points. It's a shame that there isn't a Transkribus API that will list all the models and their languages, because it means we have to do do this manually. But yeah, it does sound like grouping by language is the way to go, and doing it within langs.json in the tool (rather than also having it in EngineBase).