Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] Re: tlug-digest Digest V2005 #2



Happy New Year everyone.

david <dariggs@example.com> wrote:
>> Is there a tool to convert a kanji string between the new kanji form 
>> used for most printing now (shinjitai) and the old forms (kyuujitai) 
>> that were used before the Showa reforms and are still used in many 
>> things now? Especially a tool in emacs would be most welcome.
>> 
>> What I need to do is to search for a string of characters in a file that 
>> may use the old forms, and I may be putting in into the computer in the 
>> new form.
>> 
>> Actually what I really really want is a way to say that I don't care 
>> whether or not the kanji is in old or new form, just like you can search 
>> ignoring capitalization.  And the ultimate would be to also ignore any 
>> new lines and punctuation in the middle of the string.  Needless to say 
>> I have searched around the tlug archives and the web in general (in 
>> Japanese and English), but nothing comes up.

Well, no tool, but there is a data souce if you want to build one.
The KANJIDIC file has the codepoint of recognized alternative kanji. For
example  仏 (JIS 4a29) has the itaiji code XJ05047, and 
佛 (JIS 5047) has the itaiji code XJ04A29.

Good luck with "case-free" search like this.

Jim

-- 
Jim Breen                                http://www.csse.monash.edu.au/~jwb/
Computer Science & Software Engineering,                Tel: +61 3 9905 9554
Monash University, VIC 3800, Australia                  Fax: +61 3 9905 5146
(Monash Provider No. 00008C)                ジム・ブリーン@モナシュ大学

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links