i m translating words in terminal by this command echo باپ | apertium -d . urd-pan_Arab
and it is giving me
#پیو
which is correct but when i run
echo کبھی | apertium -d . urd-pan_Arab
it is giving me same word again as if there is no word in dict file
*کبھی
instead of #کدی
this is repository (https://github.com/hsumerf/apertium-urd-pan) and words are on line no. 266 & 267 in file apertium-urd-pan/apertium-urd-pan.urd-pan_Arab.dix , how to overcome this problem?
how to remove translation error in apertium language pair?
60 views Asked by H S Umer farooq At
1
In the
apertium-urddictionary, کبھی is an adverb, in theapertium-urd-pandictionary it is a masculine noun. As the tags don't match the word is not added to the final transducer.To fix this, either add کبھی as an adverb to the bilingual dictionary or add کبھی as a masculine noun to the Urdu monolingual dictionary.