Hello everyone!
I took a look at the source code for scim-pinyin and libchewing to see
if the idea was actually feasible, and the conclusion has to be that it
probably could be, but it might be easier to do it another way.
sicm-pinyin has a library of phrases that looks like this:
形似而实质全然不同 0 ADJ
无产阶级文化大革命 30 N
我国人民 21
我好伤心 2
scim-chewing has one like this:
一個接一個 47 ㄧ ㄍㄜ˙ ㄐㄧㄝ ㄧ ㄍㄜ˙
一個接一個 47 ㄧ ㄍㄜ˙ ㄐㄧㄝ ㄧˊ ㄍㄜ˙
It seems almost like one could get away with removing the Bopomofo and
adding a few extra spaces. Though the grammatical classes such as "ADJ"
and "N" would of course be lost.
Each one also has a table that describes the pronunciation of each
character - libchewing uses some sort of keyboard layout converted back
to QWERTY, but it seems like it could be mapped to Hanyu Pinyin fairly
easily.
However, SCIM-Pinyin also has some extra files... A "special_table" and
a "pinyin_phrase_index", both of which Chewing lacks, and it also has
binary versions of the text files, and I'm not sure what it does with
them or how to generate them.
The only problem with Chewing, as far as I can see, is that it handles
Hanyu Pinyin really clumsily and locks up all the time, probably because
people who use traditional characters tend not to use it. But perhaps a
minor change to the Hanyu Pinyin table in Chewing would be easier than
porting all of its data into scim-pinyin. I might look into that next
time.
- David Oftedal
On Wed, 28 Feb 2007 16:44:50 +0100
David Oftedal <
[hidden email]> wrote:
> I have to chime in here. It's very nice that smart pinyin can output
> traditional characters, but it's still a bit incomplete as long as it
> lacks dictionary files in traditional Chinese. Seeing as how
> simplified characters can sometimes map to several traditional
> characters (and vice versa, even), it doesn't seem enough to just use
> a filter either. Perhaps we could "borrow" the dictionary from some
> traditional Chinese input method and convert it to use with Smart
> Pinyin?
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H_______________________________________________
Scim-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/scim-user