Skip to content
This repository has been archived by the owner on Sep 4, 2023. It is now read-only.

Wrong translation (repetition) #716

Closed
MarcusOtter opened this issue May 10, 2023 · 1 comment
Closed

Wrong translation (repetition) #716

MarcusOtter opened this issue May 10, 2023 · 1 comment

Comments

@MarcusOtter
Copy link

MarcusOtter commented May 10, 2023

Describe the bug

Translation of the french text:

7. QUELS COOKIES ET QUELS TRACEURS ?

Results in:

7. WHAT COOKIES AND THAT THAT THAT THAT COOKING AND THAT COOKIES AND THAT COOKIES AND THAT COOKIES AND THAT COOKS AND THAT COOK

Which is an amusing result, but incorrect.

To Reproduce

  1. Go to https://www.liberation.fr/protection-des-donnees-personnelles/
  2. Translate from french to english
  3. See problem

Expected behavior

Something along the lines of

7. WHICH COOKIES AND WHICH TRACKERS?

(I do not speak french)

Screenshots

No response

Additional context

No response

Firefox Browser version

110.0.1

Processor information

Intel(R) Core(TM) i5-9300HF CPU @ 2.40GHz, 2400 Mhz, 4 Core(s), 8 Logical Processor(s)

OS version

Microsoft Windows 10 Home 10.0.19044 Build 19044

System type

64-bit

Firefox Translation Extension version

Version 1.3.2buildid20230220.141944

Webpage on which issue was observed

https://www.liberation.fr/protection-des-donnees-personnelles/

Language of the webpage

French

Translating to (language)

English

Console logs from Web Developer Tools

Using fallback gemm implementation
Wasm Runtime initialized Successfully (preRun -> onRuntimeInitialized) in 0.007 secs
Creating Translation Service with config: {"cacheSize":0}
Translation Service created successfully
Constructing translation model fren
Translation Model config: 
            beam-size: 1
            normalize: 1.0
            word-penalty: 0
            max-length-break: 128
            mini-batch-words: 1024
            workspace: 128
            max-length-factor: 2.0
            skip-cost: true
            cpu-threads: 0
            quiet: true
            quiet-translation: true
            gemm-precision: int8shiftAlphaAll
            alignment: soft
Aligned memory sizes: Model:17140961, Shortlist:8818768,  Vocab: 831382
Model 'fren' successfully constructed. Time taken: 0.32 secs
loadLanguageModel function complete
[InPlaceTranslation] /A.margin-xs-right.border.border_all.border_solid.border_round.border_color_grey_2.padding-xs-left.padding-xs-right.padding-xxs-top.padding-xxs-bottom.font_xs.decoration_none.color_black.hover_black.white-space_nowrap.color_background_white.hover_opacity Child <a href="https://connexion.liberation.fr/?referer=https://www.liberation.fr/protection-des-donnees-personnelles/" referrerpolicy="no-referrer-when-downgrade" target="_self" class="margin-xs-right border border_all border_solid border_round border_color_grey_2 padding-xs-left padding-xs-right padding-xxs-top padding-xxs-bottom font_xs decoration_none color_black hover_black white-space_nowrap  color_background_white hover_opacity" data-x-bergamot-id="0"></a> has no text but counterpart <a href="https://connexion.liberation.fr/?referer=https://www.liberation.fr/protection-des-donnees-personnelles/" referrerpolicy="no-referrer-when-downgrade" target="_self" class="margin-xs-right border border_all border_solid border_round border_color_grey_2 padding-xs-left padding-xs-right padding-xxs-top padding-xxs-bottom font_xs decoration_none color_black hover_black white-space_nowrap  color_background_white hover_opacity" data-x-bergamot-id="0">Se connecter</a> does 
[InPlaceTranslation] /#document-fragment/LI.footer-item/A/SPAN.sr-only Cloning node <span class="sr-only" data-x-bergamot-id="20"> because it was already inserted earlier
@marco-c
Copy link
Contributor

marco-c commented Jun 8, 2023

Moved to mozilla/translations#129.

@marco-c marco-c closed this as not planned Won't fix, can't repro, duplicate, stale Jun 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants