Wednesday, August 13, 2014

Dictionaries for linux

1- dictd is the dictionary daemon (server)
2- dict is the dictionary client
3- the following is the dictionary file:
dict-freedict-ara-eng - Arabic-English dictionary for the dict server/client
dict-freedict-bre-fra - Breton-French dictionary for the dict server/client
dict-freedict-ces-eng - Czech-English dictionary for the dict server/client
dict-freedict-ckb-kmr - Central Kurdish-Northern Kurdish dictionary for the dict server/client
dict-freedict-cym-eng - Welsh-English dictionary for the dict server/client
dict-freedict-dan-eng - Danish-English dictionary for the dict server/client
dict-freedict-deu-eng - German-English dictionary for the dict server/client
dict-freedict-deu-fra - German-French dictionary for the dict server/client
dict-freedict-deu-ita - German-Italian dictionary for the dict server/client
dict-freedict-deu-kur - German-Kurdish dictionary for the dict server/client
dict-freedict-deu-nld - German-Dutch dictionary for the dict server/client
dict-freedict-deu-por - German-Portuguese dictionary for the dict server/client
dict-freedict-deu-tur - German-Turkish dictionary for the dict server/client
dict-freedict-eng-afr - English-Afrikaans dictionary for the dict server/client
dict-freedict-eng-ara - English-Arabic dictionary for the dict server/client
dict-freedict-eng-ces - English-Czech dictionary for the dict server/client
dict-freedict-eng-cym - English-Welsh dictionary for the dict server/client
dict-freedict-eng-deu - English-German dictionary for the dict server/client
dict-freedict-eng-ell - English-Modern Greek (1453-) dictionary for the dict server/client
dict-freedict-eng-fra - English-French dictionary for the dict server/client
dict-freedict-eng-gle - English-Irish dictionary for the dict server/client
dict-freedict-eng-hin - English-Hindi dictionary for the dict server/client
dict-freedict-eng-hrv - English-Croatian dictionary for the dict server/client
dict-freedict-eng-hun - English-Hungarian dictionary for the dict server/client
dict-freedict-eng-ita - English-Italian dictionary for the dict server/client
dict-freedict-eng-lat - English-Latin dictionary for the dict server/client
dict-freedict-eng-lit - English-Lithuanian dictionary for the dict server/client
dict-freedict-eng-nld - English-Dutch dictionary for the dict server/client
dict-freedict-eng-pol - English-Polish dictionary for the dict server/client
dict-freedict-eng-por - English-Portuguese dictionary for the dict server/client
dict-freedict-eng-rom - English-Romany dictionary for the dict server/client
dict-freedict-eng-rus - English-Russian dictionary for the dict server/client
dict-freedict-eng-spa - English-Spanish dictionary for the dict server/client
dict-freedict-eng-srp - English-Serbian dictionary for the dict server/client
dict-freedict-eng-swe - English-Swedish dictionary for the dict server/client
dict-freedict-eng-swh - English-Swahili (individual language) dictionary for the dict server/client
dict-freedict-eng-tur - English-Turkish dictionary for the dict server/client
dict-freedict-fra-bre - French-Breton dictionary for the dict server/client
dict-freedict-fra-deu - French-German dictionary for the dict server/client
dict-freedict-fra-eng - French-English dictionary for the dict server/client
dict-freedict-fra-nld - French-Dutch dictionary for the dict server/client
dict-freedict-gla-deu - Scottish Gaelic-German dictionary for the dict server/client
dict-freedict-gle-eng - Irish-English dictionary for the dict server/client
dict-freedict-gle-pol - Irish-Polish dictionary for the dict server/client
dict-freedict-hrv-eng - Croatian-English dictionary for the dict server/client
dict-freedict-hun-eng - Hungarian-English dictionary for the dict server/client
dict-freedict-isl-eng - Icelandic-English dictionary for the dict server/client
dict-freedict-ita-deu - Italian-German dictionary for the dict server/client
dict-freedict-ita-eng - Italian-English dictionary for the dict server/client
dict-freedict-jpn-deu - Japanese-German dictionary for the dict server/client
dict-freedict-kha-deu - Khasi-German dictionary for the dict server/client
dict-freedict-kha-eng - Khasi-English dictionary for the dict server/client
dict-freedict-kur-deu - Kurdish-German dictionary for the dict server/client
dict-freedict-kur-eng - Kurdish-English dictionary for the dict server/client
dict-freedict-kur-tur - Kurdish-Turkish dictionary for the dict server/client
dict-freedict-lat-deu - Latin-German dictionary for the dict server/client
dict-freedict-lat-eng - Latin-English dictionary for the dict server/client
dict-freedict-lit-eng - Lithuanian-English dictionary for the dict server/client
dict-freedict-mkd-bul - Macedonian-Bulgarian dictionary for the dict server/client
dict-freedict-nld-deu - Dutch-German dictionary for the dict server/client
dict-freedict-nld-eng - Dutch-English dictionary for the dict server/client
dict-freedict-nld-fra - Dutch-French dictionary for the dict server/client
dict-freedict-nno-nob - Norwegian Nynorsk-Norwegian Bokmål dictionary for the dict server/client
dict-freedict-oci-cat - Occitan (post 1500)-Catalan dictionary for the dict server/client
dict-freedict-pol-gle - Polish-Irish dictionary for the dict server/client
dict-freedict-por-deu - Portuguese-German dictionary for the dict server/client
dict-freedict-por-eng - Portuguese-English dictionary for the dict server/client
dict-freedict-san-deu - Sanskrit-German dictionary for the dict server/client
dict-freedict-slk-eng - Slovak-English dictionary for the dict server/client
dict-freedict-spa-ast - Spanish-Asturian dictionary for the dict server/client
dict-freedict-spa-eng - Spanish-English dictionary for the dict server/client
dict-freedict-srp-eng - Serbian-English dictionary for the dict server/client
dict-freedict-swe-eng - Swedish-English dictionary for the dict server/client
dict-freedict-swh-eng - Swahili (individual language)-English dictionary for the dict server/client
dict-freedict-swh-pol - Swahili (individual language)-Polish dictionary for the dict server/client
dict-freedict-tur-deu - Turkish-German dictionary for the dict server/client
dict-freedict-tur-eng - Turkish-English dictionary for the dict server/client

4- to make it work install the following package, dict-freedict-eng-deu is the dictionary file from english to german, dict-stardic is the dictionary file for english to chinese
#apt-get install dictd
#apt-get install dict
#apt-get install dict-freedict-eng-deu 
#apt-get install  dict-stardic
5- how to use it -- we want to see word apple in German or other lanaguage

#dict -h localhost apple
From Stardic English-Chinese Dictionary [stardic]:

  n. 苹果;


 #dict -h localhost -I  (list all dictionary files that we have installed)
  dictd 1.12.1/rf on Linux 3.13.0-24-generic
  On dra-pc: up 11:18, 2 forks (10.6/hour)
 
  Database      Headwords         Index          Data  Uncompressed
  wn             147311       3002 kB       9247 kB         29 MB
  stardic         51222        816 kB        621 kB       1347 kB
  fd-fra-eng       8511        131 kB        138 kB        385 kB
  fd-deu-eng      81622       1613 kB       1346 kB       4176 kB
  fd-spa-eng       4508         67 kB         77 kB        190 kB
  fd-eng-ara      87430       1404 kB        721 kB       2489 kB
  fd-ara-eng      53002       1270 kB        657 kB       1958 kB



6- other dictionary application (GUI)
#apt-get install stardict
#stardict

7- dictionary application that support many dictionary format -- goldedictionary
  • Babylon .BGL files, complete with images and resources
  • StarDict .ifo/.dict./.idx/.syn dictionaries
  • Dictd .index/.dict(.dz) dictionary files
  • ABBYY Lingvo .dsl source files, together with abbreviations. The files can be optionally compressed with dictzip. Dictionary resources can be packed together into a .zip file.
  • ABBYY Lingvo .lsa/.dat audio archives. Those can be indexed separately, or be referred to from .dsl files.
   7.1 Install
   #apt-get install goldendict
   7.2 download dictionary database
     download BGL from http://www.babylon.com/free-dictionaries/
     download lingvo from http://abloz.com/huzheng/stardict-dic/lingvo/
   7.3 install the dictionary file
      copy the BGL (for babylon), dz  dix and ifo (for lingvo) to /usr/share/dictd/
     # cp  *.BGL /usr/share/dictd
   7.4 run
    #goldendict
   




------------------------------------------------------------------------------------------
the good thing about this dictionary is you only need to add dictionary file for the language that we want to know.

1 comment:

  1. 吀栀攀愀洀 甀瀀搀愀琀攀搀 栀椀猀 猀琀愀琀甀猀㨀 ∀輗븗 鬗쐗耗똗騗렗輗 鐗툗騗븗託븗頗툗鐗렗鈗툗鰗븗ꈗ툗鰗렗㼀∀ 匀攀攀 琀栀攀 爀攀猀琀 愀琀 栀琀琀瀀猀㨀⼀⼀昀戀⸀挀漀洀⼀氀⼀㄀刀椀瀀攀㤀甀刀䘀匀䔀㄀刀䄀㐀 ⸀ ਀਀刀攀瀀氀礀 眀椀琀栀 礀漀甀爀 挀漀洀洀攀渀琀 漀爀 ∀氀椀欀攀∀⸀

    ReplyDelete