Showing posts with label dictfmt. Show all posts
Showing posts with label dictfmt. Show all posts

Saturday, October 20, 2012

dictd: Tibetan Chinese Dictionary Released

Today (Oct 20th) I issue a simple Tibetan Chinese Dictionary (containing 3063 headwords) compiled from a web resource. The hereby noticed dictionary (software) is free to use, redistribute, modify. However, the content in this software is subject to the author (not me)'s proper right. Anyone who tries to derive a new work from this software might be found guilty.

DOWNLOAD:

USE:

mv tibetan.idx tibetan.index
sudo mv tibetan.dict tibetan.index /usr/share/dictd/
sudo /usr/sbin/dictdconfig -—write
sudo /etc/init.d/dictd restart

Dictionary source: Web.

Disclaimer: The software presented is provided as "AS-IS", any cause from your use is not protected and the quality is not guaranteed. You are using it on your own risk. The author of the dictionary can claim the copyright of this work.

Thursday, July 19, 2012

Build a customized DICT database

Prepare the original word-definition pair file (foobar.txt) in the following format:
:foo:definition of foo
:bar:definition of bar
Create the database (.dict, .index) using dictfmt
dictfmt --utf8 --allchars -s "Foobar Dictionary" -j foobar < foobar.txt
Move to the proper folder, and restart the DICT server dictd
mv foobar.dict foobar.index /usr/share/dictd/
/usr/sbin/dictdconfig -—write
/etc/init.d/dictd restart
You may have DICT client dict to do such query
dict foo