[Dictd] Dict and dictd for Maemo released.

0
0
2007-12-18 21:27 UTC by Vlad Vasiliev

Dict is a console program. Therefore for its use you should have a console. For example - osso-xterm. For testing how dict works you need to have connection to the Internet. Run dict with word as parameter to it : Nokia-N800-26:/etc/init.d# dict text And you should see the following lines: 6 definitions found From The Collaborative International Dictionary of English v.0.48 [gcide]: Text \Text\ (t[e^]kst), n. [F. texte, L. textus, texture, structure, context, fr. texere, textum, to weave, construct,compose; cf. Gr. te`ktwn carpenter, Skr. taksh to cut, carve, make. Cf. {Context}, {Mantle}, n., {Pretext}, {Tissue}, {Toil} a snare.] 1. A discourse or composition on which a note or commentary is written; the original words of an author, in distinction from a paraphrase, annotation, or commentary. --Chaucer. [1913 Webster] 2. (O. Eng. Law) The four Gospels, by way of distinction or eminence. [R.] [1913 Webster] 3. A verse or passage of Scripture, especially one chosen as the subject of a sermon, or in proof of a doctrine. [1913 Webster] How oft, when Paul has served us with a text, Has Epictetus, Plato, Tully, preached! --Cowper. [1913 Webster] 4. Hence, anything chosen as the subject of an argument, literary composition, or the like; topic; theme. [1913 Webster] For checking dictd you have to put the dictionary file into the dictd share directory and enter this dictionary into dictd config file. You can take dictionary from http://www.freedict.org/en/ For example you can download English->Italian http://prdownloads.sourceforge.net/freedict/eng-ita.tar.gz?download Extract the received archive tar -xfz eng-ita.tar.gz and copy extracting files to /usr/share/dictd/ Then you have to write inre /etc/dictd/dictd.conf this dictionary: { data /usr/share/dictd/eng-ita.dict.dz index /usr/share/dictd/eng-ita.index } and restart dictd: /etc/init.d/dictd restart Check up dictd: #Nokia-N800-26:/home# dict hello 1 definitions found From English-Italian Freedict dictionary [eng-ita]: hello ciao Nokia-N800-26:/home# It works. Good Luck.

Comments:

There have been no comments so far.

Comments:

You must be logged in to make comments.

Back