The author has discovered (linguistic) morphology. The `setRole` function he describes compiles to various morphemes in Japanese like は, を, etc. https://en.wikipedia.org/wiki/Morphology_(linguistics) We have this in English too except remarkably little of it actually comes out. Pluralization and possession being marked with -(e)s and -'s suffixes, and "subject-verb agreement" (one wouldn't say "the birds eat s the fo…
Japanese explained to programmers
401–410 of 416 posts
Re: Japanese explained to programmers
#402Earlier quoted context omitted.
>The "many pronunciations for one kanji" thing isn't a problem in practice, because 1) most kanji have _1_ on'yomi (Chinese) and _1_ kun'yomi (native) pronunciation, with it being obvious which one to choose from context, especially because when it's kun'yomi, the kanji are suffixed with hiragana to denote its correct pronunciation. There are however problematic kanji, such as the one you note, because there are seve…
Isn't it common in English, too? Just to mention "vague", "awe", "sigh". There are many others. I see those words and pronunciation is far from obvious to me.
The existence of furigana alone is a huge admission that Japanese a somewhat unreadable language that has somehow or other been made to work through bolting it on. So, you can imagine that if an orthographic system comes with permanent training wheels for native speakers, then non-native speakers are going to have a pretty brutal time with it.
Re: Japanese explained to programmers
#403Earlier quoted context omitted.
I can read only a limited number of kanji (or rather, words written with kanji), but even that makes reading much easier. Books for small children are written in Hiragana, with spaces, and in theory that should be as easy to read as English.. after all, it's easy to learn Hiragana, anyone can do that in a short time, and with practice you can learn to read it fast. But it's still tricky to read all-Hiragana sentences…
It's interesting to consider that Japanese's relatively low number of discrete phonemes might result in a relatively high number of homophones, but if a preponderance of homophones is the problem, wouldn't listening to spoken Japanese be just as hard as reading hiragana?
As an example, my wife owns a Japanese CD which includes a couple of songs originally from my own country, but translated to Japanese. Listening to that is very easy, I hear every word.. it's much much harder to actually get the words if I listen to the original in my own language! And these are simple songs.
EditAdd: What I said above is correct in the sense that it's easy to listen to Japanese, as in actually hearing the words, but yes there are homophones which sometimes make me, a low-intermediate speaker, not understand what I hear. I hear "another" similar-sounding word, unless there's pitch to clearly identify it, and then what I hear doesn't make sense unless it's a recording and I can re-listen.
Re: Japanese explained to programmers
#404Earlier quoted context omitted.
The Spanish sentence is exactly like the English sentence "Programming is pleasing to me", it's the same grammar and it exists
The structure is different, right? "Me gusta algo" does mean something is pleasing to me, but it's not the way how one would think in Chinese or English.
But there's other verbs, just like in English that you can use like this:
Disfruto de pasar tiempo con mi familia.
I enjoy spending time with my family
Re: Japanese explained to programmers
#405I recognize that one can’t expect English speakers to consistently pluralize foreign words in ways that match the origin language, and that it is not objectively incorrect when people just add an s. However, in my opinion, an article purporting to inform about Japanese in a programmatic way really should avoid using “hiraganas,” “kanjis” and “katakanas” as pluralization of thise terms.
Those are just plain wrong. It's like talking about "English alphabets". There's only one. What they mean is "hiragana characters", etc.
Re: Japanese explained to programmers
#406Earlier quoted context omitted.
The stereotype of Japan as technologically advanced persists in the West despite abundant evidence to the contrary. Japan still uses floppy disks and fax machines. They prefer to pay in cash and will go to the bank to get crisp, fresh notes - to give old notes would be disrespectful. Banking in Japan - indeed, experience with any kind of bureaucracy at all there - makes the US DMV, or indeed any Western bureaucracy,…
I live in Japan, they do love cash and I do too (less government control and a safety haven) but they are not way behind on tech compared to the west.
Can you name one, decent, enjoyable to use online Japanese store, or service? Maybe Line works ok? I can't think of anything else.
Ever tried to buy a Shinkansen ticket online ?
Re: Japanese explained to programmers
#407Earlier quoted context omitted.
Those are just plain wrong. It's like talking about "English alphabets". There's only one. What they mean is "hiragana characters", etc.
It looks like it’s been edited and is far more agreeable to the idea that ‘hiragana’ et al are already plural.
There's no such thing as "a hiragana".
Re: Japanese explained to programmers
#408Earlier quoted context omitted.
This is just not true let's take something very basic, the kanji 人 has two on'yomi pronunciations, jin and nin and there's no way to tell which one to use without knowing ALL of the words it will be used in 日本人 - nihonjin, so far so good 三人 - sannin, okay, I guess there's two pronunciations 二人 - futari, huh? 一人 - hitori, wat so please tell me how I am supposed to know 人生 (jinsei) from 人気 (ninki) from 恋人 (koibito) fro…
You basically have to memorise them, like with any other language (e.g. the rules and exceptions of English spelling and pronunciation). Usually it's the most common words that have weird exceptions, because we use them enough to remember them. All the words you mention are beginner words. (There's also 人気=ひとけ, just for fun). As far as jin and nin goes... (source: 漢語からみえる世界と世間) jin is more about adjectives/nouns - de…
Why is popularity "plain" and humanity is "identity"?
You just have to memorize ALL of the compounds, there's no other way
Re: Japanese explained to programmers
#409Earlier quoted context omitted.
I live in Japan, they do love cash and I do too (less government control and a safety haven) but they are not way behind on tech compared to the west.
they are not way behind on tech Can you name one, decent, enjoyable to use online Japanese store, or service? Maybe Line works ok? I can't think of anything else. Ever tried to buy a Shinkansen ticket online ?
Re: Japanese explained to programmers
#410Earlier quoted context omitted.
It looks like it’s been edited and is far more agreeable to the idea that ‘hiragana’ et al are already plural.
It's not plural at all; it doesn't even make sense. This is like debating whether the word "happiness" is singular or plural. There's no such thing as "a hiragana".
That means “Which kanji became which hiragana?” If there’s no such thing as ‘a hiragana’ that wouldn’t make sense.
As for kanji, “この漢字” also shows up all the time when referring to a specific character. References to specific amount of kanji are everywhere too, eg the “100 Kanji” here. https://www.kinokuniya.co.jp/f/dsg-08-EK-1085796