apertium / apertium-apy

📦 Apertium HTTP Server in Python
https://wiki.apertium.org/wiki/Apertium-apy
GNU General Public License v3.0
32 stars 42 forks source link

Langid: Filter model output to languages we can translate from #212

Open unhammer opened 1 year ago

unhammer commented 1 year ago

C.f. https://github.com/apertium/apertium-apy/pull/207 the model might return languages we can't translate from – apy should filter instead of making html-tools do that. (Though for beta etc., should we include those we have analysis for? Might be cool to say "we can't translate this, but we can give you Parts of Speech!" because who wouldn't want that)