Skip to main content

How to Installation and Configuration the StarDict (A Computer Dictionary) with Pronouns in Raspbian?

How to installation and configuration the StarDict (a computer dictionary) with pronouns in Raspbian?

How to installation and configuration the StarDict (a computer dictionary) with pronouns in Raspbian?

Introduction

The StarDict is an international dictionary. There is a rich dictionaries to pronounce. It is able to scan a word in clipboard and then find out the word means is. Let me show how to install and configuration the StarDict for you. There are two things that are to install dictionaries and pronounces, respectively.

Equipment

Operation System: Raspbian (NOOBS v1.3.10)
StarDict version: StarDict 3.0.1

Usage

1.. To install StarDict
root@raspberrypi:/home/pi# aptitude install stardict
The following NEW packages will be installed:
docbook-xml{a} espeak-data{a} libespeak1{a} libestools2.1{a} librarian0{a} libsonic0{a}
rarian-compat{a} sgml-data{a} stardict stardict-common{a} stardict-gnome{a}
stardict-plugin{a} stardict-plugin-espeak{a} stardict-plugin-festival{a}
0 packages upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 4,795 kB of archives. After unpacking 13.2 MB will be used.
Do you want to continue? [Y/n/?]Y
Get: 1 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libsonic0 armhf 0.1.17-1.1 [13.2 kB]
Get: 2 http://mirrordirector.raspbian.org/raspbian/ wheezy/main espeak-data armhf 1.46.02-2 [806 kB]
Get: 3 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libespeak1 armhf 1.46.02-2 [152 kB]
Get: 4 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libestools2.1 armhf 1:2.1 ~ release-5 [1,179 kB]
Get: 5 http://mirrordirector.raspbian.org/raspbian/ wheezy/main sgml-data all 2.0.8 [284 kB]
Get: 6 http://mirrordirector.raspbian.org/raspbian/ wheezy/main docbook-xml all 4.5-7.2 [347 kB]
Get: 7 http://mirrordirector.raspbian.org/raspbian/ wheezy/main librarian0 armhf 0.8.1-5 [67.1 kB]
Get: 8 http://mirrordirector.raspbian.org/raspbian/ wheezy/main rarian-compat armhf 0.8.1-5 [111 kB]
Get: 9 http://mirrordirector.raspbian.org/raspbian/ wheezy/main stardict-common all 3.0.1-9.2 [179 kB]
Get: 10 http://mirrordirector.raspbian.org/raspbian/ wheezy/main stardict-gnome armhf 3.0.1-9.2 [995 kB]
Get: 11 http://mirrordirector.raspbian.org/raspbian/ wheezy/main stardict all 3.0.1-9.2 [15.0 kB]
Get: 12 http://mirrordirector.raspbian.org/raspbian/ wheezy/main stardict-plugin armhf 3.0.1-9.2 [99.7 kB]
Get: 13 http://mirrordirector.raspbian.org/raspbian/ wheezy/main stardict-plugin-espeak armhf 3.0.1-9.2 [19.0 kB]
Get: 14 http://mirrordirector.raspbian.org/raspbian/ wheezy/main stardict-plugin-festival armhf 3.0.1-9.2 [528 kB]
Fetched 4,795 kB in 12s (389 kB/s)
Selecting previously unselected package libsonic0:armhf.
(Reading database ... 106580 files and directories currently installed.)
Unpacking libsonic0:armhf (from .../libsonic0_0.1.17-1.1_armhf.deb) ...
Selecting previously unselected package espeak-data:armhf.
Unpacking espeak-data:armhf (from .../espeak-data_1.46.02-2_armhf.deb) ...
Selecting previously unselected package libespeak1:armhf.
Unpacking libespeak1:armhf (from .../libespeak1_1.46.02-2_armhf.deb) ...
Selecting previously unselected package libestools2.1:armhf.
Unpacking libestools2.1:armhf (from .../libestools2.1_1%3a2.1 ~ release-5_armhf.deb) ...
Selecting previously unselected package sgml-data.
Unpacking sgml-data (from .../sgml-data_2.0.8_all.deb) ...
Selecting previously unselected package docbook-xml.
Unpacking docbook-xml (from .../docbook-xml_4.5-7.2_all.deb) ...
Selecting previously unselected package librarian0.
Unpacking librarian0 (from .../librarian0_0.8.1-5_armhf.deb) ...
Selecting previously unselected package rarian-compat.
Unpacking rarian-compat (from .../rarian-compat_0.8.1-5_armhf.deb) ...
Selecting previously unselected package stardict-common.
Unpacking stardict-common (from .../stardict-common_3.0.1-9.2_all.deb) ...
Selecting previously unselected package stardict-gnome.
Unpacking stardict-gnome (from .../stardict-gnome_3.0.1-9.2_armhf.deb) ...
Selecting previously unselected package stardict.
Unpacking stardict (from .../stardict_3.0.1-9.2_all.deb) ...
Selecting previously unselected package stardict-plugin.
Unpacking stardict-plugin (from .../stardict-plugin_3.0.1-9.2_armhf.deb) ...
Selecting previously unselected package stardict-plugin-espeak.
Unpacking stardict-plugin-espeak (from .../stardict-plugin-espeak_3.0.1-9.2_armhf.deb) ...
Selecting previously unselected package stardict-plugin-festival.
Unpacking stardict-plugin-festival (from .../stardict-plugin-festival_3.0.1-9.2_armhf.deb) ...
Processing triggers for sgml-base ...
Processing triggers for desktop-file-utils ...
Processing triggers for menu ...
Processing triggers for man-db ...
Processing triggers for gconf2 ...
Setting up libsonic0:armhf (0.1.17-1.1) ...
Setting up espeak-data:armhf (1.46.02-2) ...
Setting up libespeak1:armhf (1.46.02-2) ...
Setting up libestools2.1:armhf (1:2.1~release-5) ...
Setting up sgml-data (2.0.8) ...
Setting up librarian0 (0.8.1-5) ...
Processing triggers for sgml-base ...
Setting up docbook-xml (4.5-7.2) ...
Processing triggers for sgml-base ...
Setting up rarian-compat (0.8.1-5) ...
Setting up stardict-common (3.0.1-9.2) ...
Setting up stardict-gnome (3.0.1-9.2) ...
Setting up stardict (3.0.1-9.2) ...
Setting up stardict-plugin (3.0.1-9.2) ...
Setting up stardict-plugin-espeak (3.0.1-9.2) ...
Setting up stardict-plugin-festival (3.0.1-9.2) ...
Processing triggers for menu ...

2.. Configuration dictionaries.

When you execute StarDict program on first time and then it will create a folder (. stardict) in user's home folder. We will create a folder called 'dic' and then put whole dictionaries into there. To close the StarDict program (You need to find out StarDict icon and then click right mouse key. To click 'Close' that means really quit the program).

To restart the StarDict, you can find out whole dictionaries in the 'manage dictionaries' automatically.

3.. Configuration pronounces.

To follow previous step, we create a folder called 'speech' and then copy WyabdcRealPeopleTTS (Download from StarDict web site) into there. We need to configure this pronounce, because it is not a default. We are going to Preferences → Categories → Dictionary → Sound. You can see the RealPeopleTTS search path default as below.

/usr/share/WyabdcRealPeopleTTS
/usr/share/OtdRealPeopleTTS

But it is not our pronounce folder. Therefore, we have changed it to become to as below.

/home/pi/.stardict/speech/WyabdcRealPeopleTTS

Right now, you can click 'pronounce the word' icon to pronounce.

Exception

The pronounce file is just a lot of wave files, you may copy it a long time.

Acknowledge

Thank you (StarDict, Raspbian) very much for this great tool.

Popular Posts

波蘭文學習之旅:1-1. 波蘭文字母與發音(注音版)

最佳化處理策略之快速消除扭曲演算法

Python 日期與時間的處理

波蘭文學習之旅:1-1. 波蘭文字母與發音(注音版)

Image

最佳化處理策略之快速消除扭曲演算法

Image

Python 日期與時間的處理

Image

Visual Basic 6.0 程式案例學習: 10. 條碼列印程式 (2014版)

Image

Visual Basic .Net 程式案例學習: 06. 題庫測驗系統 (2014版)

Image

修復損毀的 SQLite DB 資料庫

Image

用10種程式語言做影像二值化(Image binarization)

Image

解決 ValueError: If using all scalar values, you must pass an index

Image

Visual Basic 6.0 程式案例學習: 04. 人事考勤管理系統 (2014版)

Image

Visual Basic 6.0 程式案例學習: 07. 收據列印程式 (2014版)

Image

佑佑的 Line 貼圖創作

貼圖作者網址:

https://line.me/S/shop/sticker/author/3883362

靜態貼圖

 
 
 
 
  牡羊座:狗狗角色

作者:佑佑
依照牡羊座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
  金牛座:兔兔角色

作者:佑佑
依照金牛座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
  雙子座:貓貓角色

作者:佑佑
依照雙子座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
  巨蟹座:倉鼠角色

作者:佑佑
依照巨蟹座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
 
 
 
 
  獅子座:幼獅角色

作者:佑佑
依照獅子座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
  處女座:松鼠角色

作者:佑佑
依照處女座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
  天秤座:鴿子角色

作者:佑佑
依照天秤座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
  天蠍座:鳳凰角色

作者:佑佑
依照天蠍座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
 
 
 
 
  射手座:人馬角色

作者:佑佑
依照射手座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
  魔羯座:山羊角色

作者:佑佑
依照魔羯座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
  水瓶座:海豚角色

作者:佑佑
依照水瓶座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
  雙魚座:小丑魚角色

作者:佑佑
依照雙魚座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
 
 
 
 
  上班族都變成狒狒,心裡想要說的話。

作者:佑佑
最近在台灣走紅的狒狒,用擬人化的方式,變成上班族,畫出心裡的想說的話。
購買貼圖
  接案派遣的日常

作者:佑佑
接案派遣到其他公司的日常對話,有調皮、正經、日常對話。
購買貼圖
  貓女事務員的搞笑時刻

作者:佑佑
把行政人員在職場上遇到千奇百怪的事情畫出來,用可愛的貓女來擔任行政人員的代言人。
購買貼圖
  貓貓說每天都會用到的話

作者:佑佑
日常生活常見的短句,用小貓擬人化的方式呈現,比較親切可愛。
購買貼圖
 
     
  大人的煩惱特輯:小兔角色

作者:佑佑
錢包餓了,生活苦了。變美變健康?先讓我睡飽吧。心好累,我需要充電。
購買貼圖
     

動態貼圖

 
 
 
 
  牡羊座日常交際:狗狗角色

作者:佑佑
依照牡羊座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
  金牛座日常交際:兔兔角色

作者:佑佑
依照金牛座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
  雙子座日常交際:貓貓角色

作者:佑佑
依照雙子座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
  巨蟹座日常交際:倉鼠角色

作者:佑佑
依照巨蟹座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
 
 
 
 
  獅子座日常交際:幼獅角色

作者:佑佑
依照獅子座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
  處女座日常交際:松鼠角色

作者:佑佑
依照處女座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
  天秤座日常交際:鴿子角色

作者:佑佑
依照天秤座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
  天蠍座日常交際:鳳凰角色

作者:佑佑
依照天蠍座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
 
 
 
 
  射手座日常交際:人馬角色

作者:佑佑
依照射手座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
  魔羯座日常交際:山羊角色

作者:佑佑
依照魔羯座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
  水瓶座日常交際:海豚角色

作者:佑佑
依照水瓶座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
  雙魚座日常交際:小丑魚角色

作者:佑佑
依照雙魚座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
 
     
  厭世報:鬍渣男

作者:佑佑
厭世總有個理由跟原因,實在是令人不爽,為什麼最倒楣的總是我?真希望明天就是世界末日,讓大家都一樣慘。
購買貼圖
     

表情貼

 
 
 
 
  貓貓說每天都用得到的表情貼

作者:佑佑
日常生活常見的表情用語,用小貓擬人化的方式呈現,比較親切可愛。
購買貼圖
  天秤座的表情貼:鴿子角色

作者:佑佑
日常生活常見的表情用語,天秤座的鴿子擬人化方式呈現,比較親切可愛。
購買貼圖
  天蠍座的表情貼:鳳凰角色

作者:佑佑
日常生活常見的表情用語,天蠍座的鳳凰擬人化方式呈現,比較親切可愛。
購買貼圖
  射手座的表情貼:人馬角色

作者:佑佑
日常生活常見的表情用語,射手座的人馬擬人化方式呈現,比較親切可愛。
購買貼圖
 
 
 
 
  魔羯座的表情貼:山羊角色

作者:佑佑
日常生活常見的表情用語,魔羯座的山羊擬人化方式呈現,比較親切可愛。
購買貼圖
  水瓶座的表情貼:海豚角色

作者:佑佑
日常生活常見的表情用語,水瓶座的海豚擬人化方式呈現,比較親切可愛。
購買貼圖
  雙魚座的表情貼:小丑魚角色

作者:佑佑
日常生活常見的表情用語,雙魚座的小丑魚擬人化方式呈現,比較親切可愛。
購買貼圖