mark_unknown doesn't work
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
Research direction
Read the translate function in init.py and reproduce the behavior with mark_unknown set to False. Trace where that argument is handled, then verify that disabling it prevents the reported prefixes for unknown text and errors.
Written by the indexing model from the issue text.
Description
Hi,
when translating, setting mark_unknown to False, does not impact the translation at all, thus always placing a "*" in front of unknown and "@", "#" and "/" in front of errors.
Furthermore, in the translate function in __init__.py it seem that the mark_unknown argument does not do anything; it is not invoked or used anywhere.
Any idea how to fix this?
Thanks in advance,
Dimitar
- Dominant language
- Python
- Stars
- 35
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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
-
Difficulty 4/5 3-5 days Newbie friendliness 32/100
apertium/apertium-python#109 · 2 comments ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
apertium/apertium-python#108 · 10 comments · 1 reaction ·
-
segfault Open
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 ·
All issues in apertium/apertium-python
Similar issues
-
triage/confirmed
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
NousResearch/hermes-agent#118866 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100