Earlier quoted context omitted.
I’ll back you up on this and add one additional point: even in the West where we have our Roman alphabet which largely works fine, and our Arabic numerals which also work fine, I’ve often thought adopting a limited number of kanji, literally less than 10, could add some important precision to our own writing. The rest of this post isn’t really for you specifically, but anyone reading through this comment thread with…
01d/01m/01y could be used just as well, no?
Sorting in Japanese – An Unsolved Problem (2011)
91–100 of 120 posts
Re: Sorting in Japanese – An Unsolved Problem (2011)
#92Blog author here. Surprised to see one of my old posts on the front page while browsing Hacker News. It's interesting to reflect on what has improved since I wrote it, and what has not. Both Android and iOS, for instance, provide mechanisms to get this right, if you know to use them and expose them for those locales (and only those locales). For example, both have a Contact object that contain corresponding phonetic-…
Sadako is Proper name of a popular iconic character in Japanese culture that embodies a little girl killer ghost and it is based on a real Japanese person that was said to be a psychic and lived in the 1900s. They made at least one horror Japanese movie out of that story and even Hollywood had a go at it! Now, how many girls you think they have been named Sadako in Japan by their parents? Once more Google translate doesn't give a damn if the person using it doesn't know what is doing.
In regular writing to mark Proper names a number of suffix are employed さま, どの, さん, くん, ちゃん and more. Every suffix has a different and unequivocal use case. It can be written in Hiragana, like I just did or by using Kanji. If the Kanji is adopted looks like 様 reads さま, 殿 reads どの etc. Also for such words there isn't a clear-cut translation, because they are employed as a result of the implications they come with. For instance 様 or さま is used when referring to customers or clients, but in a business letter you would use 殿 or どの with similar significance.
Most amusing is "淳子殿 translated to "Mr. Reiko". On Google Translate left windows in the left-bottom corner there is one of the possible correct reading of 淳子殿, namely Junko-dono. But on the right it's messing it right up. That's the demonstration that Google Translate has no brain. By the way Reiko is written 麗子 as a Proper name... and so is Rika, Akirako, Yoshiko, Urarako . Get the point? You need Furigana.
About gyoza, that's the name of a very popular kind of Chinese dumpling made in Japan, and there is no Kanji for it its written in Katakana only as チャオズ. But since it's a Chinese word you can used the two sounds ぎょう and ざ in Hiragana to write the two corresponding Kanji 餃子. To understand why, you need to read my post down the page. It seems Google translate cannot read the first Kanji right.
If you feel so inclined, mopreme, read my post down below which covers your original blog post extensively and throughout.
Re: Sorting in Japanese – An Unsolved Problem (2011)
#93https://en.m.wikipedia.org/wiki/Four-Corner_Method You can sort Chinese characters (including Kanji but i'm not sure they use the Four Corners Method) by the Four Corners method. Why would you need to sort kanji phonetically in the first place? Do Japanese users actually expect names to be sorted phonetically? English speakers don't expect names to be sorted by IPA so consistency of the sorting scheme should be all t…
> Do Japanese users actually expect names to be sorted phonetically? Yes - or that's how a human would sort them, at any rate.
Re: Sorting in Japanese – An Unsolved Problem (2011)
#94https://en.m.wikipedia.org/wiki/Four-Corner_Method You can sort Chinese characters (including Kanji but i'm not sure they use the Four Corners Method) by the Four Corners method. Why would you need to sort kanji phonetically in the first place? Do Japanese users actually expect names to be sorted phonetically? English speakers don't expect names to be sorted by IPA so consistency of the sorting scheme should be all t…
Imagine having your contact list sorted by some geometric function run on each letter of the A-Z alphabet.
Re: Sorting in Japanese – An Unsolved Problem (2011)
#95I've seen this problem solved a few different ways. 1) Have a romanized version of the value to sort. 2) Have a hiragana or katakana version of the value to sort (hiragana > katakana > roman order for sorting). Excel seems to sort things without telling it the reading for something. In JS and a few other languages Japanese is sorted based on UTF-8/16 code. This works for everything but kanji because of the reading re…
Re: Sorting in Japanese – An Unsolved Problem (2011)
#96Earlier quoted context omitted.
You know, I started by loving kanjis too. I like the way they combine, the stories they tell. And I can imagine that when becoming proficient with them, they form a nice cozy system. But face it: you say I have years to learn them. I could learn 3 languages with the effort wasted to learn kanjis (which are half a language because then you also need to learn the pronunciation of words). No, I'll perfect my English ins…
I'm not sure it's even possible to get proficient at spoken Japanese without learning kanji, past some intermediate point. You either pick them up without intending to (enough to read anyway, if not write), or you don't get proficient. The issue being that proficiency in Japanese means navigating endless homophones and kanji compounds, and kanji are what disambiguates that process. Japanese vocabulary has a huge vari…
Presumably the spoken Japanese language predates the writing system, no? Or if not, I would imagine that a couple hundred years ago, a significant portion of the population couldn't read Japanese but could speak it. How did they learn?
(Of course, let me know if both my assumptions are false—I don't know much about Japanese history beyond a single class in college, which focused on the modern era.)
Re: Sorting in Japanese – An Unsolved Problem (2011)
#97The article touches on just the tip of the iceberg. You might think that all you need to do is add an extra field for phonetic readings, and then simply sort on that field, but there are a lot of things that can go wrong. A naive sort (i.e. based simply on character code) will hit the following snags:
1) Hiragana vs Katakana
The article focuses more on Kanji vs Kana, but Japanese users will expect Hiragana and Katakana to be properly sorted together. Either you normalize your sort field (by converting everything to Hiragana, for example) or you use a Kana-insensitive collation.
2) Half-width characters
Katakana can be encoded as full-width or half-width characters (カ vs カ). Generally you want these treated as the same, so again you need to normalize or use a width-insensitive collation. There are also full-width alphabet characters (A vs A).
3) Youon
These are actual different characters (ゆ vs ゅ, つ vs っ), so you can't normalize, but you want them sorted together. Here you need a collation that's case-insensitive with respect to these.
4) Dakuten/Handakuten
Like youon, these are also different characters (は vs ば vs ぱ) so you can't normalize, but you want them sorted together (insensitively). A sensitive sort will give you (はね, ばつ, ぱすた) while an insensitive sort will give you (ぱすた, ばつ, はね).
There has been a lot of work around this, resulting in many different database collations over the years, some of which result in sorts that would greatly confuse Japanese users. As of today, you probably want to be using (in the case of MySQL) utf8mb4_0900_ai_ci or something similar.
Re: Sorting in Japanese – An Unsolved Problem (2011)
#98As a Japanese native, it pains me a lot when the westerners come upon linguistic differences like this and start calling them things like "overly odd" or "inferior" as they seem to be doing in the comments here. I can't help but smell a whiff of anglophonic condescension - I had thought political correctness have swept over the west over the last few years, but perhaps they only selectively apply to those who can tal…
Reading the article showed me how ignorant I was to this problem... so much so that I'm surprised I haven't seen more articles like this in the past. For all the talk on ML and PC here, it's surprising that language is still a huge unsolved issue. As someoneone who knows a tiny amount of Japanese, I'm surprised that a common solution is to provide the katakana equivalent. Outside of the tech realm, is this really wha…
Re: Sorting in Japanese – An Unsolved Problem (2011)
#99And I'm not even sure Amazon has an additional input field just for the sake of sorting names. Isn't this a common practice in the country ? (if I have to call a customer, how am I supposed to greet her if I can't pronounce her name ?)
Re: Sorting in Japanese – An Unsolved Problem (2011)
#100Earlier quoted context omitted.
Based on extremely limited Googling, one of the cases where these codes are still used is written colloquial Cantonese, which lacks any major official support.
Good point. Some forms of Cantonese romanization ( https://en.wikipedia.org/wiki/Hong_Kong_Government_Cantonese... ) does exist, but their use is limited to mainly language study and transliteration. And apparently, there are multiple projects to create phonetic input systems for Cantonese (see the reference section of this Cantonese Wikipedia article, https://zh-yue.wikipedia.org/wiki/%E7%B2%B5%E8%AA%9E%E6%8B%B... )…
The only people that could sort this out is a government.
- Guangdong won’t, because official Party policy at best discourages use of regional languages. There was a lot of fury back when they attempted to stop provincial broadcasts in Cantonese.
- Hong Kong won’t, because the Government likes to fumble around a lot these days, and because they have a more or less unofficial goal to integrate into China. Cantonese is not an official language, only “Chinese”.
- Macau won’t. They’re too busy trying to sweeten up China to let in more gambling tourists.
The other issue is that there are now some phonetic changes between the mainland and Hong Kong, the two places people would consider authoritative on the subject.