C#编写的日英字典程序 - 基于EDict

本文介绍了使用C#编写的基于EDict的日英字典程序。EDict采用EUC-JP编码,起初为MOKE字处理器设计,现已成为一个文本文件,每行一个条目。条目格式包括kanji、kana和英文解释。字典文件不保证特定顺序,通常按JIS+字母顺序排列。提供了MainForm.cs的主要代码和完整的源代码包EdictLookup.rar,其中包含了edict(完整字典)和edict_sub(常用字典)文件。

关于EDict, 详细资料可以访问 http://www.csse.monash.edu.au/~jwb/edict_doc_old.html


EDict的文件组织形式:

FORMAT

EDICT's format is that of the original "EDICT" format used by the early PC Japanese word-processor MOKE (Mark's Own Kanji Editor). It uses EUC-JP coding for kana and kanji, however this can be converted to JIS (ISO-2022-JP) or Shift-JIS by any of the several conversion programs around. It is a text file with one entry per line. The format of entries is:

KANJI [KANA] /English_1/English_2/.../

or

KANA /English_1/.../

(NB: Only the KANJI and KANA are in EUC; all the other characters, including spaces, must be ASCII.)

The English translations were initially deliberately brief, as the application of the dictionary was expected to be primarily on-line look-ups, etc. Over time the translations have become more extended.

The EDICT file is not intended to have its entries in any

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值