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 from this blog

Python 日期與時間的處理

Visual Basic 6.0 (VB6) 程式語言案例學習 (10. 條碼列印程式)

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

Python 日期與時間的處理

Image

Visual Basic 6.0 (VB6) 程式語言案例學習 (10. 條碼列印程式)

Image

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

Image

數位影像處理:最佳化處理策略之快速消除扭曲演算法

Image

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

Image

Visual Basic 6.0 (VB6) 程式語言案例學習 (04. 人事考勤管理系統)

Image

Visual Basic .Net (VB.Net) 程式語言案例學習 (06. 題庫測驗系統)

Image

Visual Basic 6.0 (VB6) 程式語言案例學習 (11. 生產線拍照程式)

Image

Visual Basic 6.0 (VB6) 程式語言案例學習 (07. 收據列印程式)

Image

Visual Basic .Net (VB.Net) 程式語言案例學習 (03. 場地預約系統)

Image