|
各位大神好!
几年来,在坛子里下载了很多大神的经典学习资料,受益无限,万分感谢!
mdict的日语词库不多,有限的几个也是从EPWING转换过来的,这一点颇为遗憾!
小弟想要是可以把abbly的dsl格式的词库转换为EPWING词库,也非常不错,这也是EPWING所缺乏的。
最近看了很多大神的教程,启发很多,也想尝试转换一下。
Hugh大神的帖子可谓经典之作,小弟从中学到了很多很多,非常感谢。
EPWING的源文件可以是HTML格式的,其大致结构如下:
<dt title="abode">abode /əb'oʊd/ (abodes)</dt>
<key type="表記">abode</key>
<key type="クロス">abode</key>
<dd>
<p>1 [N-COUNT] usu poss N</p>
<p></p>
<p> Your <b>abode</b> is the place where you live. (FORMAL)</p>
<p> <i>I went round the streets and found his new abode.</i></p>
<p>2 [PHRASE] oft of PHR</p>
<p></p>
<p> If someone has <b>no fixed abode</b>, they are homeless. (LEGAL)</p>
<p> <i>30 per cent of psychiatric hospital beds are occupied by people of no fixed abode.</i></p>
</dd>
<dt title="abolish">abol・ish /əb'ɒlɪʃ/ (abolishes abolishing abolished)</dt>
<key type="表記">abolish</key>
<key type="クロス">abolish</key>
<dd>
<p>[VERB] V n</p>
<p></p>
<p> If someone in authority <b>abolishes</b> a system or practice, they formally put an end to it.</p>
<p> <i>The following year Parliament voted to abolish the death penalty for murder...</i></p>
</dd>
<dt title="abolition">abo・li・tion /'æbəl'ɪʃ<sup>ə</sup>n/</dt>
<key type="表記">abolition</key>
<key type="クロス">abolition</key>
<dd>
<p>[N-UNCOUNT] also a N, usu with supp, oft N of n</p>
<p></p>
<p> The <b>abolition</b> <b>of</b> something such as a system or practice is its formal ending.</p>
<p> <i>...the abolition of slavery in Brazil and the Caribbean.</i></p>
</dd>
参考Hugh大神的帖子可以把dsl的很多诸如[m3]之类的标签去除,但是如何添加上面词条所示的HTML标签呢?小弟纯粹小白一个,烦请各位大神指教,多谢多谢。 |
|