Incorrect double translations
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 32/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- localization
Research direction
Start by reproducing the two apertium.translate calls shown in the issue and inspect the Python translation entry point they exercise. Trace whether the changed output comes from the Python wrapper or the translation pipeline, then verify the corrected behavior with a regression test covering the English-to-Spanish-to-English example.
Written by the indexing model from the issue text.
Description
Translating from English to Spanish and using the translation back gives out a very different (and incorrect) output.
[In]: apertium.translate('en', 'spa', 'These helps of handy tool believe dummy text for all your needs of design.')
[Out]: Estas ayudas de herramienta manejable creen *dummy texto para todas vuestras necesidades de diseño.
[In]: apertium.translate('spa', 'en', 'Estas ayudas de herramienta manejable creen *dummy texto para todas vuestras necesidades de diseño.')
[Out]: These helps of handy tool believe **dummy text for all your needs of design.
- Dominant language
- Python
- Stars
- 35
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apertium/apertium-python
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
apertium/apertium-python#108 · 10 comments · 1 reaction ·
-
segfaultOpen
Difficulty 4/5 3-5 days Newbie friendliness 35/100
apertium/apertium-python#106 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
apertium/apertium-python#105 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
apertium/apertium-python#102 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
apertium/apertium-python#99 · 3 comments ·