Sunday, April 10, 2011

Custom Dictionary with Babylon

สร้างพจนานุกรมส่วนตัว ผ่านโปรแกรม Babylon Builder http://goldendict.org/forum/viewtopic.php?f=5&t=909#p3833

หรือ manual ดังนี้

Create a plain text file in UTF-8 encoding.

The first line must be empty.

Each term or glossary entry has the following basic structure:

[blank line]
Term | Alternate1 | Alternate2| ... | AlternateK
[attributes]
Definition
[blank line]

Each entry is written on two lines and is followed by a blank line.
On the first line is the searchword.
On the second line you have to put the content of the dictionary article.
You can use HTML tags to format text and include pictures.
The file must end with two empty lines.


Sample:

incredible
เหลือเชื่อ

link
link to other words in the dictionary with bword  <a href="bword://next">next</a>


Compile เป็น BGL file ด้วย http://www.babylon.com/products/glossary-builder.html

Siripong Pongpinyopap


อ้างอิง
- http://support.babylon.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=117 (Appendix A)
- stardict-3.0.2.tar.bz2

No comments:

Post a Comment