9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Jacob Moody <moody@posixcafe.org>
To: 9fans@9fans.net
Subject: Re: [9fans] Re: ctrans - Chinese language input for Plan9
Date: Fri, 22 Jul 2022 13:13:41 -0600	[thread overview]
Message-ID: <a371f0b7-905f-5dd9-4343-dd850f7a2b04@posixcafe.org> (raw)
In-Reply-To: <TYYP286MB1955DD09E0F84ABBCBD1B9A4CC909@TYYP286MB1955.JPNP286.PROD.OUTLOOK.COM>

On 7/22/22 12:06, Sebastian Higgins wrote:
> A few things:
> 
> 1.  Cangjie is still widely used in places that uses traditional Chinese characters. You would still be required to be good at it if you apply for text-heavy office jobs in these places.
> 2.  Radical-based/shape-based methods were extremely popular when the prediction technology wasn't as good (which means Pinyin was significantly slower). It wasn't until late 2000s to early 2010s before this situation has changed.
> 3.  Pinyin without prediction is slow because of what we called the 重码 (lit. "overlap of encoding") problem. For Pinyin the encoding overlaps because many characters may have the same Pinyin; the purpose of all shape-based method is to reduce the overlap problem and thus increase the input speed.
> 4.  ctrans uses cangjie because (1) implementing shape-based methods was much, much more simpler than phonetic-based methods because most (if not all) of the job is table lookup; (2) if we were to use the same UI (or lack thereof) as ktrans the overlap-of-encoding problem of Pinyin would very probably drive you nuts when using it; (3) it is the input method the author uses, however I do admit using Cangjie for simplified Chinese input is kinda peculiar.
> 
> Source: me who is a native Chinese speaker and have learned Wubi (a shape-based method for simplified Chinese) in primary school.

I had taken a naive attempt at trying getting ktrans to support a form
of Chinese input. Admitably, my interest was mostly in stress testing
my rewrite of the hashmap used in ktrans, throwing a ~100k character
dictionary at it seemed like a fun way to test it. The dictionary I
imported was one that used Wubi based mapping for charters, posted
by jxy to the 9front mailing list a week or so ago.

If anyone is curious the dictionary itself can be found here:
https://raw.githubusercontent.com/fcitx/fcitx-table-data/master/wbx.txt

This has been super interesting to me from a learning perspective.

Thanks for the insight!
Jacob Moody

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tba6835d445e07919-Mcf3888dbfc4013192d8c471e
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

  parent reply	other threads:[~2022-07-22 19:14 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-20  3:20 [9fans] " smj
2022-07-20  3:54 ` Lucio De Re
2022-07-20  6:50   ` sirjofri
2022-07-21  2:44     ` [9fans] " cigar562hfsp952fans
2022-07-21  6:57       ` sirjofri
2022-07-21  9:46         ` adr
2022-07-21  9:45       ` Lucio De Re
2022-07-21 10:20         ` adr
2022-07-22 12:30           ` Silvan Jegen
2022-07-22 14:43             ` adr
2022-07-22 18:06             ` Sebastian Higgins
2022-07-22 19:09               ` Silvan Jegen
2022-07-22 19:13               ` Jacob Moody [this message]
2022-07-22 19:14       ` andpuke
2022-07-22 19:24         ` andpuke
2022-07-22 20:37           ` Silvan Jegen
2022-07-22 22:29             ` LdBeth
2022-07-26 12:29               ` adr
2022-07-29  8:04                 ` Silvan Jegen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a371f0b7-905f-5dd9-4343-dd850f7a2b04@posixcafe.org \
    --to=moody@posixcafe.org \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).