amagama icon indicating copy to clipboard operation
amagama copied to clipboard

API queries in Turkish returns Turkish and Azerbaijani in same result

Open kozdincer opened this issue 9 years ago • 2 comments

Hi, When i query some turkish sentences/words from english, sometimes return Azerbaijani results. Example output below first sentences is not turkish, it is azerbaijani;

$ curl "https://amagama-live.translatehouse.org/api/v1/en/tr/unit/Do%20you%20want%20to%20reload%20the%20file?"
[
    {
        "quality": 96.7741935483871,
        "rank": 100,
        "source": "Do you want to reload the file?",
        "target": "Dosyeni kene yüklemege isteysiñizmi?"
    },
    {
        "quality": 96.7741935483871,
        "rank": 100,
        "source": "Do you want to reload the file?",
        "target": "Dosyayı yeniden yüklemek istiyor musunuz?"
    },
    {
        "quality": 79.41176470588235,
        "rank": 67.9649995820254,
        "source": "Do you want to reload the project?",
        "target": "Projeyi tekrar yüklemek ister misiniz?"
    },
    {
        "quality": 72.72727272727273,
        "rank": 67.9649995820254,
        "source": "Do you want to install this file?",
        "target": "Bu dosyaları yüklemek istiyor musunuz?"
    },
    {
        "quality": 72.22222222222223,
        "rank": 67.9649995820254,
        "source": "Do you want to remove this file now?",
        "target": "Şimdi dosyaları kaldırmak istiyor musunuz?"
    }
]

kozdincer avatar May 07 '15 17:05 kozdincer

@kozdincer: did you ever find out where these strings come from?

I wonder if the upstream projects had incorrect files. If so, we would have to fix it upstream.

I am rebuilding the database now, so we'll have to check if it still occurs. Maybe the problem solved itself in the meanwhile.

friedelwolff avatar Jun 07 '19 12:06 friedelwolff

@friedelwolff problem still occurs.

kozdincer avatar Jun 13 '19 08:06 kozdincer