translate / amagama

Web service for implementing a large-scale translation memory
http://amagama.translatehouse.org
GNU General Public License v3.0
90 stars 27 forks source link

API queries in Turkish returns Turkish and Azerbaijani in same result #3202

Open kozdincer opened 9 years ago

kozdincer commented 9 years ago

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?"
    }
]
friedelwolff commented 5 years ago

@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.

kozdincer commented 5 years ago

@friedelwolff problem still occurs.