News for hackers. Stuff that matters.
Re:Turkish Grammar by Predicate Logic by nanis on Tuesday August 14, 2018 @07:37AM (#17756963)
As I pointed before[1], Turkish and computers don't really get along. The beauty of Turkish lies in its irregularity, not the rules you learn. That irregularity is amplified by the shrinking vocabulary in use owing to the disappearance of many Arabic and Persian words which people used to use as recently as the 30s, 40s, and the 50s.

Understanding a Turkish speaker requires a grasp of the entire context at all times. "Matematikten çakmak" can mean to be good at math or to flunk math.

Another example which I noticed because it involved my name is "Uçak düşsün ama sadece Sinan ölsün!"[2] which Google Translate translates as "The plane is your dream, but only Sinan!"[3].

In fact, it means "I wish the plane crashes and only Sinan dies". Of course, "düş" as a noun is "dream" but "düşsün" is derived from the verb "düşmek" which means "to fall" but when it is coupled with a plane means "crash". Interestingly, there is not a good general purpose translation of "plane crash" to Turkish. Sure, you can get away with "uçak kazası" in most cases, but not all crashes are accidents. In fact, something as simple as "five perished in the crash" is perilous to translate. Most will translate that as "kazada beş kişi hayatını kaybetti" even in cases where the crash was not an accident. To deal with similar things, people end up over-using the word "olay" (event).

Now, ponder the difference between "Sinan bir düş" and "Sinan bir düş".

Turkish and machines don't mix.

Now, let's briefly consider the claim that Turkish pronunciation is easy compared to English. It is not. I am not even going to get into regional differences, but leave this one example which became even harder after the military junta abolished the circumflex. List the meanings of the sentence "Karı severim". Which one is pronounced differently? Note that at least one of those meanings can get you in trouble in polite company.

Edumacated Turkish native speakers always had a tendency to resort to English or French words even when completely unnecessary and I've been observing in the press and social media many examples of automated translation errors making it into daily use.

PS: A related rants[4,5].

[1]: https://news.ycombinator.com/item?id=17737333

[2]: http://www.hurriyet.com.tr/kelebek/magazin/ucak-dussun-ama-s...

[3]: https://translate.google.com/#auto/en/U%C3%A7ak%20d%C3%BC%C5...!

[4]: https://www.nu42.com/2013/04/translation-of-programming-term...

[5]: https://www.nu42.com/2014/08/replacing-hash-keys-with-values...

Re:Turkish Grammar by Predicate Logic by tehlike on Tuesday August 14, 2018 @09:57AM (#17757915)
> In fact, it means "I wish the plane crashes and only Sinan dies". Of course, "düş" as a noun is "dream" but "düşsün" is derived from the verb "düşmek" which means "to fall" but when it is coupled with a plane means "crash"

The reality, however, is that "to fall" actually does explain what it is happening to the plane, it does not mean something completely different. The word "dus" still conveys the meaning.

> I am not even going to get into regional differences.

That's called an accent, it exists almost in every language. I have a friend from work who pronounces "latency" with LAT (as in latitude) instead of LATE-ncy. He is from midwest.

Turkish pronunciation is _easier_ than English. I don't remember having a spelling competition, but it's common with american schools (and it made its way to hollywood movies). Nitpicking examples on circumflex is not fair - how many words does Turkish even have of that kind?

Re:Turkish Grammar by Predicate Logic by krmbzds on Tuesday August 14, 2018 @09:58AM (#17757923)
Foreign words still tend to follow rules and get 'Turkified' along the way. The rants are mostly related to synonyms. They are not unique to Turkish. Regional differences and slang exist in every language. I don't see a compelling reason how it makes Turkish harder to grasp compared to other languages.

> Turkish pronunciation is easy compared to English.

Yes, it is, and by a high margin! There are some exceptions. Unlike English, where almost everything is an exception.

As a bilingual person Turkish feels way more logical and structured to me. I also get frustrated when I try to map expressions from English to Turkish, which doesn't always work, but that's not the fault of the Turkish language per se.

> Turkish and machines don't mix.

That's a huge claim. I don't think enough effort has been put into it yet to make it. There's a lot of good work being done and the state of NLP in Turkish might get better soon. It's no small feat, and I'm optimistic about it.

Re:Turkish Grammar by Predicate Logic by nanis on Tuesday August 14, 2018 @08:17PM (#17762988)
> The rants are mostly related to synonyms.

Which synonyms?

Re:Turkish Grammar by Predicate Logic by delidumrul on Tuesday August 14, 2018 @08:30AM (#17757267)
Many mistranslations may be a result of lack of work/research in Turkish language. I don't agree with that Turkish language does not get along with computers well. Yet, there is not a mature work on this. If a language is understandable, analyzable, executable, expressible by humans, computers most probably can process it (this is a claim, not a fact).
Re:Turkish Grammar by Predicate Logic by nanis on Tuesday August 14, 2018 @08:43AM (#17757354)
> If a language is understandable, analyzable, executable, expressible by humans, computers most probably can process it (this is a claim, not a fact).

In English, a sentence[1] is "a set of words that is complete in itself, typically containing a subject and predicate, conveying a statement, question, exclamation, or command, ...".

In Turkish, sometimes you need a paragraph, sometimes you need a page, and sometimes you need the whole story to provide "a set of words that is complete in itself".

Try these for size[2,3].

I especially love the translations of the word "tane". Or "say" here[4].

I am going to stop before I keel over. Sure, you can try to codify a rule for each and every "set of words that is complete in itself", but I doubt that set is finite.

The way things are going I full expect to see people being required to use Turkish in a way computers can understand before computers can deal with Turkish.

[1]: https://www.google.com/search?q=define%3Asentence

[2]: https://translate.google.com/#tr/en/%C3%A7akmak%20%C3%A7akma...

[3]: https://translate.google.com/#tr/en/%C3%A7ak%20bir%20tane

[4]: https://translate.google.com/#tr/en/say%20ba%C5%9Ftan

Re:Turkish Grammar by Predicate Logic by tehlike on Tuesday August 14, 2018 @10:03AM (#17757976)
I feel like you are mixing multiple things together, and giving examples from google translate doesn't really support your argument - it just shows google translate sucks for turkish language.
Re:Turkish Grammar by Predicate Logic by egiboy on Tuesday August 14, 2018 @10:49AM (#17758424)
English is not immune to ambiguities and thus not superior to Turkish in this regard:

https://translate.google.com/#en/tr/fruit%20flies%20like%20a...

Re:Turkish Grammar by Predicate Logic by delidumrul on Tuesday August 14, 2018 @11:03AM (#17758545)
One approach to test the effectiveness of a translator is translating a passage from L1 to L2 and then its reverse. When you do this action many times, if the final version of the passage in L1 gives the meaning of the original passage in L1; then it is a stable translator. They do this test for English-German at Linguee translator. Their claim is that it is more successful than Google translate in these terms. This gives another idea that Google Translate does not give strong results for English-German translations. Considering German is much more closer language to English than Turkish, I don't expect much from Google Translate. Thus, I don't see it as a proof to any argument.
Re:Turkish Grammar by Predicate Logic by nanis on Tuesday August 14, 2018 @08:16PM (#17762985)
On Google translate, Dolar düşsün → Dollar dream → Dolar rüyası.
Re:Turkish Grammar by Predicate Logic by nanis on Tuesday August 14, 2018 @08:15PM (#17762974)
> not superior to Turkish in this regard

Computers cannot deal with the ambiguities of Turkish. That says nothing about English being superior to Turkish.

However, not having a central controlling authority and not having gone through censorship drives, English does have a much richer vocabulary in common daily use to more specifically express various subtle distinctions whereas a Turkish speaker has to rely on context that is not embedded in the grammatical structure and specific words used.

Re:Turkish Grammar by Predicate Logic by mda on Tuesday August 14, 2018 @10:04AM (#17757985)
These problems and not specific to Turkish. All languages pose different challenges, with focused research almost all are solvable.
Re:Turkish Grammar by Predicate Logic by mda on Tuesday August 14, 2018 @10:02AM (#17757966)
I agree with you, it is true that from computer linguistics perspective Turkish is more complex in general, but it is indeed possible to tackle all of these issues it given enough time and energy.

Lately there are bigger advances in the area (e.g. https://arxiv.org/pdf/1805.07946.pdf)