Closed Bug 1214719 Opened 9 years ago Closed 8 years ago

[terminology] Sort results by source

Categories

(Webtools Graveyard :: Pontoon, defect, P3)

defect

Tracking

(firefox44 affected)

RESOLVED FIXED
Tracking Status
firefox44 --- affected

People

(Reporter: mstanke, Unassigned)

Details

Attachments

(1 file)

Machinery sometimes produces duplicates in their list - same original string with the same translation and from the same source is displayed multiples. Even the combination is present multiple times in the sources, I don't see any benefit from seeing them multiple times.

Mozilla products, websites etc. should also follow the same terminology. Therefore I would prefer to sort machinery suggestions accordingly like:
1) "Translation memory"
2) "Mozilla Aurora" + "Firefox OS" + ...
3) Open source / Microsoft (?)
4) Machine Translation
Duplicates
==========
Could you please provide an example for this?

Also, what do you mean by "combination is present multiple times in the sources"?

Sorting
=======
Currently we sort by accuracy, e.g. 100% match is displayed before 80% match. Are you sure we should change this?
Attached image screenshot
Duplicates
==========
Here is a screenshot, where you can see four "Cancel" suggestions - all translated the same way and from Mozilla Aurora.

I mean the duplicates are there multiple times because the string "Cancel" is multiple times in Mozilla Aurora files, aren't they?

Sorting
=======
Err, yeah, I didn't noticed. :) But wouldn't it be fine to sort all 100% matches according to their source, than 80% again sorted by their source etc.? In fact I am not sure what's more important - to have 100% match using wrong (foreign) terminology, or the right terminology for slightly different string.
Duplicates
==========
Oh! I think that's a bug in Tranvision:
https://transvision.mozfr.org/api/v1/tm/aurora/en-US/cs/Cancel/?max_results=5&min_quality=70
https://amagama-live.translatehouse.org/api/v1/en/cs/unit/Cancel

Mind filing a bug there?
https://github.com/mozfr/transvision/issues

Sorting
=======
I agree, 2nd level sorting would approve things. Let's fix this.
Summary: Machinery should avoid duplicates and sort results according to their source → [translate] Machinery should sort results according to their source
Filed https://github.com/mozfr/transvision/issues/515 for the Transvision API. Thank you.
Priority: -- → P3
Summary: [translate] Machinery should sort results according to their source → [terminology] Sort results by source
Commits pushed to master at https://github.com/mozilla/pontoon

https://github.com/mozilla/pontoon/commit/3e61fcce06969efaa293efc5b0cc2c54731d303f
Fix bug 1214719: sort suggestions by stress and source

https://github.com/mozilla/pontoon/commit/3f89653d6e1cb136820d7e63466676a5a315da70
Merge pull request #340 from jotes/bug_1214719_sorting_by_source

Fix bug 1214719: sort suggestions by stress and source
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: