News for hackers. Stuff that matters.
Re:Text Editing Hates You Too by kbumsik on Tuesday October 29, 2019 @05:15AM (#21385279)
Korean case is totally different from Japanese. I guess Korean is very unique in this area, because Korean Hangul characters consists of multiple small characters. Input systems needs to have a state system to allow type multiple small characters to complete a character. The problems usually come from improper state systems.
Re:Text Editing Hates You Too by hsivonen on Tuesday October 29, 2019 @10:26AM (#21387494)
Korean is different from Japanese, but as far as IME complexity goes, a Hangul IME should be extremely simple to develop compared to a Japanese IME. (The Hangul part of a Korean IME doesn't need any pop-ups like a Japanese IME does. As far as UI requirements go, the Hangul part of Korean IME can be as UIless as a Vietnamese Telex IME.) That e.g. on Ubuntu 18.04 the Korean IME is broken is not due to anything intrinsic to the writing system.
Re:Text Editing Hates You Too by oefrha on Tuesday October 29, 2019 @07:44AM (#21386026)
Yes, Korean (specifically Hangul) additionally suffers from NFC/NFD issues which is not experienced by Chinese or Japanese. I’ve had the privilege (/s) to work with Korean file names in the past and it was a nightmare.
Re:Text Editing Hates You Too by int_19h on Tuesday October 29, 2019 @05:43AM (#21385413)
It's not quite unique - there are many other scripts that behave in a similar way, e.g. for some Indian languages.
Re:Text Editing Hates You Too by Izkata on Tuesday October 29, 2019 @08:37AM (#21386416)
How is that any different from Japanese Kanji?
Re:Text Editing Hates You Too by munmaek on Tuesday October 29, 2019 @10:29AM (#21387532)
Hangeul is not an alphabet. It's an alphabetic syllabary. ㄱ is one character but it needs to be composed into a final glyph like 각, which require 2+ characters. 가, 각, 갉. 뷁.

Kanji (not to be confused with Hiragana or Katakana) are different because the characters are already composed.

Re:Text Editing Hates You Too by Izkata on Tuesday October 29, 2019 @02:04PM (#21390205)
See my other reply [0]; as far as I can tell, the typing experience is identical.

[0] https://news.ycombinator.com/item?id=21390039

Re:Text Editing Hates You Too by munmaek on Tuesday October 29, 2019 @05:36PM (#21392327)
Yeah I had a brain-fart earlier. I totally forgot about that. Typing hangeul is basically the same except there's no need to possibly choose different hanja/kanji. ...unless you press the hanja key after the glyph is typed but before moving onto the next glyph. (Usually F9 or F10, iirc Windows IME defaults to ctrl+space).
Re:Text Editing Hates You Too by Qwertystop on Tuesday October 29, 2019 @09:31AM (#21386882)
Kanji is logographic: each symbol is a complete word, phrase, or idea. Hangul is alphabetic-syllabic: each symbol is a segment (vowel-or-consonant), except that they're written in two- or three-letter blocks each representing a syllable.
Re:Text Editing Hates You Too by carlmr on Tuesday October 29, 2019 @01:18PM (#21389617)
I'm not sure it's that different IME wise. I only know Chinese pinyin IME, but I assume since Kanji in contrast to Chinese can map to multiple syllables you probably need to keep the state of the last few syllables as well and then let the user choose the appropriate Kanji (if available).

With pinyin input it's the same in Chinese. You enter the Latin characters and the IME gives you options to select from. Also even abstracting from the single syllables you often can narrow down the selection of compound words in Chinese IME if you continue typing. So again state is important.

Re:Text Editing Hates You Too by Izkata on Tuesday October 29, 2019 @01:50PM (#21390039)
Correct, this is why I'm wondering. Input is done through hiragana such as "わたし" (or even a step further removed, transliterated from "watashi") and then the IME is triggered to convert it to "私" (or other matches).

On a laptop, my experience is that romaji -> hiragana is as-you-type due to being unambiguous, while the default trigger for hiragana -> kanji is the spacebar, same as described for Korean. Hence my confusion as to how it's different - the individual characters certainly are, but it sounds functionally identical.

On my phone just now, typing this comment, the experience was switching to a Japanese keyboard and inputting the hiragana directly, then the kanji suggestions appeared where autocorrect suggestions normally would.

Re:Text Editing Hates You Too by hsivonen on Tuesday October 29, 2019 @03:06PM (#21390877)
Typing Hangul is just like typing Latin, Greek, Cyrillic, Hebrew, Arabic, etc., text: one alphabetic unit at a time. The only thing a Hangul IME does is it groups the typed jamo into syllables. The grouping is unambiguous, so there's no need for popups or space presses to guide the grouping.

(If there had been the kind of rendering technology that is used for Indic text today back when Korean text processing on computers started, chances are that the syllable grouping would be handled as rendering-time shaping and not as an input-time IME issue.)

Additionally, Korean IMEs have a feature to convert a word into Hanja, but it's something you need to take action to invoke as opposed to Japanese IMEs offering to convert to Kanji by default.

Re:Text Editing Hates You Too by Izkata on Tuesday October 29, 2019 @05:16PM (#21392132)
> The grouping is unambiguous, so there's no need for popups or space presses to guide the grouping.

...that's the opposite of the comments that triggered my question. Multiple people said space is needed to trigger it, then backspace to remove an erroneously-added space character.

Is the answer that they're using it wrong, and are actually inputting a space directly because the IME already acted for them?